From f23db9440fd4735e63bf066cfa55c490e9a9bfa5 Mon Sep 17 00:00:00 2001 From: Petru Conduraru Date: Sun, 19 Jul 2026 12:58:23 +0300 Subject: [PATCH] ifcparse: widen all integer attribute types to int64_t for consistency Follow-up to the scalar-only fix in #8754, per aothms's direct request on that PR ("Please do make all int types consistent") and his own original 2023 design intent on issue #3058 ("make all integers (incl. schema namespaces) an int64_t"). Widens the remaining inconsistent spots now that compatibility isn't a constraint on this v0.9 branch: - Integer aggregates (IfcTriangulatedFaceSet.CoordIndex and similar List attributes), including the SWIG to_vec_int/to_vec_vec_int helpers, which previously silently truncated via static_cast on the Python-set path - the same bug class as the original scalar issue. - The schema code generator (express/mapping.py's integer type mapping), and all 12 generated schema header/source pairs regenerated to match, so every schema-typed getter/setter (e.g. IfcOwnerHistory::CreationDate) is int64_t end to end, not just the dynamic attribute-value path. Instance/reference identifiers (STEP #123 ids) are deliberately left at 32-bit: they're a file-local index into internal maps, not an EXPRESS domain value an application chooses, and no realistic STEP file has billions of entities. The lexer's Token_IDENTIFIER parsing still funnels through a 32-bit int for this reason - flagged as a known, low-risk gap rather than fixed, since fixing it would mean touching indexing/hashing code for no realistic benefit. Verified: original PR's round-trip tests extended with aggregate cases (IfcTriangulatedFaceSet.CoordIndex, InnerCoordIndices) at 64-bit boundary values, in memory and through STEP text, IFC2X3 and IFC4. A standalone C++ program exercising the generated schema API directly (Ifc4::IfcOwnerHistory ::setCreationDate/CreationDate, IfcTriangulatedFaceSet::setCoordIndex/ CoordIndex) confirms int64_t end to end, bypassing SWIG. Full build (BUILD_IFCGEOM, WITH_OPENCASCADE, BUILD_IFCPYTHON, IFC2X3+IFC4) clean. test/util/test_attribute.py and test_file.py pass unchanged. This contribution was produced with the assistance of an AI coding tool. --- src/helpers/geolocation.cpp | 2 +- src/helpers/pset.cpp | 4 +- src/ifcconvert/IfcConvert.cpp | 4 +- .../Serialization/schema/Serialization.cpp | 8 +- .../mapping/IfcBSplineCurveWithKnots.cpp | 5 +- .../mapping/IfcBSplineSurfaceWithKnots.cpp | 7 +- src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp | 8 +- src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp | 4 +- .../mapping/IfcTriangulatedFaceSet.cpp | 4 +- .../ifcopenshell/express/mapping.py | 3 +- src/ifcparse/entity_instance_data.cpp | 25 +- src/ifcparse/instance_data.h | 16 +- src/ifcparse/parse.cpp | 70 ++-- src/ifcparse/schemas/Ifc2x3.cpp | 204 +++++------ src/ifcparse/schemas/Ifc2x3.h | 204 +++++------ src/ifcparse/schemas/Ifc4.cpp | 286 ++++++++-------- src/ifcparse/schemas/Ifc4.h | 286 ++++++++-------- src/ifcparse/schemas/Ifc4x1.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x1.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x2.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x2.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3.cpp | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3.h | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_add1.cpp | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_add1.h | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_add2.cpp | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_add2.h | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_rc1.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc1.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc2.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc2.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc3.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc3.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc4.cpp | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc4.h | 292 ++++++++-------- src/ifcparse/schemas/Ifc4x3_tc1.cpp | 320 +++++++++--------- src/ifcparse/schemas/Ifc4x3_tc1.h | 320 +++++++++--------- src/ifcwrap/IfcParseWrapper.i | 10 +- src/serializers/GltfSerializer.cpp | 6 +- .../schema_dependent/XmlSerializer.cpp | 2 +- 40 files changed, 3605 insertions(+), 3617 deletions(-) diff --git a/src/helpers/geolocation.cpp b/src/helpers/geolocation.cpp index 6fbb4c29fc..d65ca09892 100644 --- a/src/helpers/geolocation.cpp +++ b/src/helpers/geolocation.cpp @@ -95,7 +95,7 @@ double selected_number(const express::Base& selected, double fallback) { return static_cast(value); } if (value.type() == ifcopenshell::Argument_INT) { - return static_cast(static_cast(value)); + return static_cast(static_cast(value)); } return fallback; } diff --git a/src/helpers/pset.cpp b/src/helpers/pset.cpp index 628e0309ae..4ddeb3fd59 100644 --- a/src/helpers/pset.cpp +++ b/src/helpers/pset.cpp @@ -88,7 +88,7 @@ property_value from_attribute(const attribute_value& value) { switch (value.type()) { case ifcopenshell::Argument_INT: - return static_cast(value); + return static_cast(value); case ifcopenshell::Argument_BOOL: return static_cast(value); case ifcopenshell::Argument_LOGICAL: { @@ -120,7 +120,7 @@ property_value from_attribute(const attribute_value& value) { return instance; } case ifcopenshell::Argument_AGGREGATE_OF_INT: - return scalar_list(static_cast>(value)); + return scalar_list(static_cast>(value)); case ifcopenshell::Argument_AGGREGATE_OF_DOUBLE: return scalar_list(static_cast>(value)); case ifcopenshell::Argument_AGGREGATE_OF_STRING: diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index 2637552d7d..d1473d7a7f 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -1411,7 +1411,7 @@ void fix_quantities(ifcopenshell::file& f, bool no_progress, bool quiet, bool st latebound_access::set(ownerhist, "OwningUser", pando); latebound_access::set(ownerhist, "OwningApplication", application); latebound_access::set(ownerhist, "ChangeAction", std::string("MODIFIED")); - latebound_access::set(ownerhist, "CreationDate", (int)time(0)); + latebound_access::set(ownerhist, "CreationDate", (int64_t)time(0)); express::Base quantity; std::vector objects; @@ -1476,7 +1476,7 @@ void fix_quantities(ifcopenshell::file& f, bool no_progress, bool quiet, bool st auto quantity_count = latebound_access::create(f, "IfcQuantityCount"); latebound_access::set(quantity_count, "Name", std::string("Surface Genus")); latebound_access::set(quantity_count, "Description", '#' + boost::lexical_cast(part.ItemId())); - latebound_access::set(quantity_count, "CountValue", part.Shape()->surface_genus()); + latebound_access::set(quantity_count, "CountValue", (int64_t) part.Shape()->surface_genus()); quantities_2.push_back(quantity_count); } diff --git a/src/ifcgeom/Serialization/schema/Serialization.cpp b/src/ifcgeom/Serialization/schema/Serialization.cpp index f7436342d2..d6115c675b 100644 --- a/src/ifcgeom/Serialization/schema/Serialization.cpp +++ b/src/ifcgeom/Serialization/schema/Serialization.cpp @@ -169,7 +169,7 @@ int convert_to_ifc(ifcopenshell::file& f, const opencascade::handle& else if (c->DynamicType() == STANDARD_TYPE(Geom_BezierCurve)) { opencascade::handle bezier = opencascade::handle::DownCast(c); - std::vector mults; + std::vector mults; std::vector knots; std::vector weights; @@ -227,7 +227,7 @@ int convert_to_ifc(ifcopenshell::file& f, const opencascade::handle& } IfcSchema::IfcKnotType::Value knot_spec = opencascade_knotspec_to_ifc(bspline->KnotDistribution()); - std::vector mults; + std::vector mults; std::vector knots; std::vector weights; @@ -340,8 +340,8 @@ int convert_to_ifc(ifcopenshell::file& f, const opencascade::handle umults; - std::vector vmults; + std::vector umults; + std::vector vmults; std::vector uknots; std::vector vknots; std::vector< std::vector > weights; diff --git a/src/ifcgeom/mapping/IfcBSplineCurveWithKnots.cpp b/src/ifcgeom/mapping/IfcBSplineCurveWithKnots.cpp index 199e1cafee..ac1ee91d0c 100644 --- a/src/ifcgeom/mapping/IfcBSplineCurveWithKnots.cpp +++ b/src/ifcgeom/mapping/IfcBSplineCurveWithKnots.cpp @@ -33,12 +33,13 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcBSplineCurveWithKnots& inst) std::transform(cps.begin(), cps.end(), std::back_inserter(points), [this](const IfcSchema::IfcCartesianPoint& cp) { return taxonomy::cast(map(cp)); }); bc->control_points = points; - bc->multiplicities = inst.KnotMultiplicities(); + auto knot_multiplicities = inst.KnotMultiplicities(); + bc->multiplicities.assign(knot_multiplicities.begin(), knot_multiplicities.end()); bc->knots = inst.Knots(); if (inst.as()) { bc->weights = inst.as().WeightsData(); } - bc->degree = inst.Degree(); + bc->degree = (int) inst.Degree(); return bc; } diff --git a/src/ifcgeom/mapping/IfcBSplineSurfaceWithKnots.cpp b/src/ifcgeom/mapping/IfcBSplineSurfaceWithKnots.cpp index e09f948b58..786d427c65 100644 --- a/src/ifcgeom/mapping/IfcBSplineSurfaceWithKnots.cpp +++ b/src/ifcgeom/mapping/IfcBSplineSurfaceWithKnots.cpp @@ -35,12 +35,15 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcBSplineSurfaceWithKnots& ins return ps; }); - bs->multiplicities = { inst.UMultiplicities(), inst.VMultiplicities() }; + auto to_int_vector = [](const std::vector& v) { + return std::vector(v.begin(), v.end()); + }; + bs->multiplicities = { to_int_vector(inst.UMultiplicities()), to_int_vector(inst.VMultiplicities()) }; bs->knots = { inst.UKnots(), inst.VKnots() }; if (inst.as()) { bs->weights = inst.as().WeightsData(); } - bs->degree = { inst.UDegree(), inst.VDegree() }; + bs->degree = { (int) inst.UDegree(), (int) inst.VDegree() }; return bs; } diff --git a/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp b/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp index 4327e94388..b935803e13 100644 --- a/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp +++ b/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp @@ -54,9 +54,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { auto segments = inst.Segments(); for (auto& segment : *segments) { if (auto line = segment.as()) { - std::vector indices = line; + std::vector indices = line; taxonomy::point3::ptr previous; - for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { + for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { throw ifcopenshell::exception("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(*jt)); } @@ -67,12 +67,12 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { previous = current; } } else if (auto arc = segment.as()) { - std::vector indices = arc; + std::vector indices = arc; if (indices.size() != 3) { throw ifcopenshell::exception("Invalid IfcArcIndex encountered"); } for (int i = 0; i < 3; ++i) { - const int& idx = indices[i]; + const int64_t& idx = indices[i]; if (idx < 1 || idx > max_index) { throw ifcopenshell::exception("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(idx)); } diff --git a/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp b/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp index c4f5bd46a4..eb38834ee9 100644 --- a/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp +++ b/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp @@ -51,7 +51,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolygonalFaceSet& inst) { loop->external = true; auto indices = f.CoordIndex(); taxonomy::point3::ptr previous; - for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { + for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { throw ifcopenshell::exception("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } @@ -76,7 +76,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolygonalFaceSet& inst) { fa->children.push_back(loop); loop->external = false; - for (std::vector::const_iterator jt = li.begin(); jt != li.end(); ++jt) { + for (std::vector::const_iterator jt = li.begin(); jt != li.end(); ++jt) { if (*jt < 1 || *jt > max_index) { throw ifcopenshell::exception("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } diff --git a/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp b/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp index 7dd733c5c4..ce4f2fb7a6 100644 --- a/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp +++ b/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp @@ -26,7 +26,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTriangulatedFaceSet& inst) { auto point_list = inst.Coordinates(); auto coordinates = point_list.CoordList(); - std::vector> indices_list = inst.CoordIndex(); + std::vector> indices_list = inst.CoordIndex(); std::vector points; points.reserve(coordinates.size()); @@ -50,7 +50,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTriangulatedFaceSet& inst) { fa->children = { loop }; loop->external = true; taxonomy::point3::ptr first, previous; - for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { + for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { throw ifcopenshell::exception("IfcTriangulatedFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } diff --git a/src/ifcopenshell-python/ifcopenshell/express/mapping.py b/src/ifcopenshell-python/ifcopenshell/express/mapping.py index 82a8e7ccbd..29c79fc219 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/mapping.py +++ b/src/ifcopenshell-python/ifcopenshell/express/mapping.py @@ -23,12 +23,13 @@ import nodes import templates import schema + class Mapping: express_to_cpp_typemapping = { "boolean": "bool", "logical": "boost::logic::tribool", - "integer": "int", + "integer": "int64_t", "real": "double", "number": "double", "string": "std::string", diff --git a/src/ifcparse/entity_instance_data.cpp b/src/ifcparse/entity_instance_data.cpp index 64e9eb5855..9c5a806bf3 100644 --- a/src/ifcparse/entity_instance_data.cpp +++ b/src/ifcparse/entity_instance_data.cpp @@ -18,9 +18,9 @@ public: int operator()(const boost::dynamic_bitset<>& /*i*/) const { return -1; } int operator()(const empty_aggregate_t& /*unused*/) const { return 0; } int operator()(const empty_aggregate_of_aggregate_t& /*unused*/) const { return 0; } - 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 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 std::vector& i) const { return (int)i.size(); } int operator()(const std::vector>& i) const { return (int)i.size(); } @@ -124,11 +124,6 @@ namespace { } } -attribute_value::operator int() const -{ - return (int)dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); -} - attribute_value::operator int64_t() const { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); @@ -234,9 +229,9 @@ attribute_value::operator express::Base () const #endif } -attribute_value::operator std::vector() const +attribute_value::operator std::vector() const { - return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); + return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } attribute_value::operator std::vector() const @@ -259,9 +254,9 @@ attribute_value::operator std::vector() const return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -attribute_value::operator std::vector>() const +attribute_value::operator std::vector>() const { - return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); + return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); } attribute_value::operator std::vector>() const @@ -536,12 +531,12 @@ template IFC_PARSE_API void rocks_db_attribute_storage::set(void* s 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); 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); @@ -559,12 +554,12 @@ template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* s 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; diff --git a/src/ifcparse/instance_data.h b/src/ifcparse/instance_data.h index 0b6fec6a91..46bd1f4580 100644 --- a/src/ifcparse/instance_data.h +++ b/src/ifcparse/instance_data.h @@ -186,8 +186,9 @@ typedef parameter_pack < // AGGREGATES: empty_aggregate_t, - // An aggregate of integers, e.g. (1,2,3) - std::vector, + // An aggregate of integers, e.g. (1,2,3). Stored as int64_t for the + // same reason as the scalar int64_t above. + std::vector, // An aggregate of floats, e.g. (12.3,4.) std::vector, // An aggregate of strings, e.g. ('Ifc','Open','Shell') @@ -202,7 +203,7 @@ typedef parameter_pack < // AGGREGATES OF AGGREGATES: empty_aggregate_of_aggregate_t, // An aggregate of an aggregate of ints. E.g. ((1, 2), (3)) - std::vector>, + std::vector>, // An aggregate of an aggregate of floats. E.g. ((1., 2.3), (4.)) std::vector>, // An aggregate of an aggregate of entities. E.g. ((#1, #2), (#3)) @@ -401,7 +402,6 @@ public: , array_(storage) {} - operator int() const; operator int64_t() const; operator bool() const; operator boost::logic::tribool() const; @@ -410,13 +410,13 @@ public: operator boost::dynamic_bitset<>() const; operator express::Base() const; - operator std::vector() const; + operator std::vector() const; operator std::vector() const; operator std::vector() const; operator std::vector>() const; operator std::vector() const; - operator std::vector>() const; + operator std::vector>() const; operator std::vector>() const; operator std::vector>() const; @@ -451,7 +451,7 @@ public: case ifcopenshell::Argument_ENTITY_INSTANCE: return visitor((express::Base) * this); case ifcopenshell::Argument_AGGREGATE_OF_INT: - return visitor((std::vector)*this); + return visitor((std::vector)*this); case ifcopenshell::Argument_AGGREGATE_OF_DOUBLE: return visitor((std::vector)*this); case ifcopenshell::Argument_AGGREGATE_OF_STRING: @@ -461,7 +461,7 @@ public: case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: return visitor((std::vector)*this); case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT: - return visitor((std::vector>)*this); + return visitor((std::vector>)*this); case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE: return visitor((std::vector>)*this); case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: diff --git a/src/ifcparse/parse.cpp b/src/ifcparse/parse.cpp index b26e25b9a4..248e4791bc 100644 --- a/src/ifcparse/parse.cpp +++ b/src/ifcparse/parse.cpp @@ -684,13 +684,13 @@ void dispatch_token_direct(ifcopenshell::token token, ifcopenshell::declaration* typedef std::variant< blank, - std::vector, + std::vector, std::vector, std::vector, std::vector>, std::vector, - std::vector>, + std::vector>, std::vector>, std::vector> > direct_aggregate_storage; @@ -709,7 +709,7 @@ struct direct_aggregate { ++values; if constexpr (is_type_in_variant_v>>) { if constexpr ( - std::is_same_v, std::vector> || + std::is_same_v, std::vector> || std::is_same_v, std::vector> || std::is_same_v, std::vector> ) { @@ -736,7 +736,7 @@ struct direct_aggregate { void append_empty_nested() { ++values; - if (auto* int_vector = std::get_if>>(&storage)) { + if (auto* int_vector = std::get_if>>(&storage)) { int_vector->emplace_back(); } else if (auto* double_vector = std::get_if>>(&storage)) { double_vector->emplace_back(); @@ -752,29 +752,29 @@ struct direct_aggregate { private: template void append_promoted(const T& value) { - if constexpr (std::is_same_v, int>) { + if constexpr (std::is_same_v, int64_t>) { if (auto* vector = std::get_if>(&storage)) { vector->push_back((double) value); return; } } if constexpr (std::is_same_v, double>) { - if (auto* vector = std::get_if>(&storage)) { + if (auto* vector = std::get_if>(&storage)) { std::vector promoted(vector->begin(), vector->end()); promoted.push_back(value); storage = std::move(promoted); return; } } - if constexpr (std::is_same_v, std::vector>) { + if constexpr (std::is_same_v, std::vector>) { if (storage.index() == 0) { - std::vector> promoted(pending_empty_aggregates); + std::vector> promoted(pending_empty_aggregates); pending_empty_aggregates = 0; promoted.push_back(value); storage = std::move(promoted); return; } - if (auto* vector = std::get_if>>(&storage)) { + if (auto* vector = std::get_if>>(&storage)) { vector->push_back(value); return; } @@ -796,7 +796,7 @@ private: vector->push_back(value); return; } - if (auto* vector = std::get_if>>(&storage)) { + if (auto* vector = std::get_if>>(&storage)) { std::vector> promoted; promoted.reserve(vector->size() + 1); for (const auto& nested : *vector) { @@ -840,7 +840,7 @@ void append_empty_direct_aggregate(const ifcopenshell::aggregation_type* aggrega auto argument_type = ifcopenshell::make_aggregate(ifcopenshell::from_parameter_type(aggregate_type->type_of_element())); if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_INT) { - target.storage = std::vector{}; + target.storage = std::vector{}; } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_DOUBLE) { target.storage = std::vector{}; } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_STRING) { @@ -850,7 +850,7 @@ void append_empty_direct_aggregate(const ifcopenshell::aggregation_type* aggrega } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE) { target.storage = std::vector{}; } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT) { - target.storage = std::vector>{}; + target.storage = std::vector>{}; } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE) { target.storage = std::vector>{}; } else if (argument_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE) { @@ -948,12 +948,7 @@ direct_aggregate read_direct_aggregate( storage.register_inverse((unsigned)*entity_instance_name, entity, next.value_int, attribute_index); } dispatch_token_direct(next, aggregate_type && aggregate_type->type_of_element()->as_named_type() ? aggregate_type->type_of_element()->as_named_type()->declared_type() : nullptr, attribute_index, logger, [&aggregate](const auto& value) { - // Scalar integers are parsed as int64_t, but integer aggregates remain 32-bit; narrow here. - if constexpr (std::is_same_v, int64_t>) { - aggregate.append((int)value); - } else { - aggregate.append(value); - } + aggregate.append(value); }); } next = tokens->next(); @@ -1255,7 +1250,7 @@ namespace { data_ << '\'' << s << '\''; } } - void operator()(const std::vector& i); + void operator()(const std::vector& i); void operator()(const std::vector& i); void operator()(const std::vector& i); void operator()(const std::vector>& i); @@ -1279,7 +1274,7 @@ namespace { } data_ << ")"; } - void operator()(const std::vector>& i); + void operator()(const std::vector>& i); void operator()(const std::vector>& i); void operator()(const std::vector>& i) { data_ << "("; @@ -1339,13 +1334,13 @@ namespace { data_ << ")"; } - void StringBuilderVisitor::operator()(const std::vector& i) { serialize(i); } + void StringBuilderVisitor::operator()(const std::vector& i) { serialize(i); } void StringBuilderVisitor::operator()(const std::vector& i) { serialize(i); } void StringBuilderVisitor::operator()(const std::vector& i) { serialize(i); } void StringBuilderVisitor::operator()(const std::vector>& i) { serialize(i); } - void StringBuilderVisitor::operator()(const std::vector>& i) { + void StringBuilderVisitor::operator()(const std::vector>& i) { data_ << "("; - for (std::vector>::const_iterator it = i.begin(); it != i.end(); ++it) { + for (std::vector>::const_iterator it = i.begin(); it != i.end(); ++it) { if (it != i.begin()) { data_ << ","; } @@ -1583,12 +1578,7 @@ express::Base::set_attribute_value(size_t i, const T& t) { { void* const storage = std::visit([](const auto& m) { return (void*)&m; }, file()->storage_); - if constexpr (std::is_same_v, int>) { - // Integer attributes are stored as int64_t; widen the schema-generated int here. - data()->set_attribute_value(i, (int64_t)t); - } else { - data()->set_attribute_value(i, t); - } + data()->set_attribute_value(i, t); } auto new_attribute = get_attribute_value(i); @@ -3430,7 +3420,6 @@ void express::Base::set_attribute_value(const std::string& name, const express:: 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 int64_t& 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); @@ -3438,18 +3427,17 @@ template void IFC_PARSE_API express::Base::set_attribute_value(size_t in 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 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); 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); -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); 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 int& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const int64_t& 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); @@ -3457,12 +3445,12 @@ template void IFC_PARSE_API express::Base::set_attribute_value(const std 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 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); 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); -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); template void IFC_PARSE_API express::Base::set_attribute_value>>(const std::string& name, const std::vector>& value); @@ -3485,7 +3473,7 @@ T Entity::get_value(const std::string& name, const T& default_value) const { } } // namespace express -template int IFC_PARSE_API express::Entity::get_value(const std::string&) const; +template int64_t IFC_PARSE_API express::Entity::get_value(const std::string&) const; template bool IFC_PARSE_API express::Entity::get_value(const std::string&) const; template boost::logic::tribool IFC_PARSE_API express::Entity::get_value(const std::string&) const; template double IFC_PARSE_API express::Entity::get_value(const std::string&) const; @@ -3493,16 +3481,16 @@ template std::string IFC_PARSE_API express::Entity::get_value(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 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; 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; -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; template std::vector> IFC_PARSE_API express::Entity::get_value>>(const std::string&) const; -template int IFC_PARSE_API express::Entity::get_value(const std::string&, const int&) const; +template int64_t IFC_PARSE_API express::Entity::get_value(const std::string&, const int64_t&) const; template bool IFC_PARSE_API express::Entity::get_value(const std::string&, const bool&) const; template boost::logic::tribool IFC_PARSE_API express::Entity::get_value(const std::string&, const boost::logic::tribool&) const; template double IFC_PARSE_API express::Entity::get_value(const std::string&, const double&) const; @@ -3510,11 +3498,11 @@ template std::string IFC_PARSE_API express::Entity::get_value(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 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; 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; -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; template std::vector> IFC_PARSE_API express::Entity::get_value>>(const std::string&, const std::vector>&) const; diff --git a/src/ifcparse/schemas/Ifc2x3.cpp b/src/ifcparse/schemas/Ifc2x3.cpp index 1c1d34e3ed..93ddfc0d32 100644 --- a/src/ifcparse/schemas/Ifc2x3.cpp +++ b/src/ifcparse/schemas/Ifc2x3.cpp @@ -4930,8 +4930,8 @@ Ifc2x3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { ret // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[135]); } -Ifc2x3::IfcCompoundPlaneAngleMeasure Ifc2x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc2x3::IfcCompoundPlaneAngleMeasure Ifc2x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[161]); } @@ -4950,13 +4950,13 @@ Ifc2x3::IfcCurvatureMeasure::operator double() const { return get_attribute_valu // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc2x3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[207]); } -Ifc2x3::IfcDayInMonthNumber Ifc2x3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcDayInMonthNumber Ifc2x3::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDaylightSavingHour const ifcopenshell::type_declaration& Ifc2x3::IfcDaylightSavingHour::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[208]); } -Ifc2x3::IfcDaylightSavingHour Ifc2x3::IfcDaylightSavingHour::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcDaylightSavingHour::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcDaylightSavingHour Ifc2x3::IfcDaylightSavingHour::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcDaylightSavingHour::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[216]); } @@ -4965,8 +4965,8 @@ Ifc2x3::IfcDescriptiveMeasure::operator std::string() const { return get_attribu // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc2x3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[220]); } -Ifc2x3::IfcDimensionCount Ifc2x3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcDimensionCount Ifc2x3::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[255]); } @@ -5055,8 +5055,8 @@ Ifc2x3::IfcHeatingValueMeasure::operator double() const { return get_attribute_v // Function implementations for IfcHourInDay const ifcopenshell::type_declaration& Ifc2x3::IfcHourInDay::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[408]); } -Ifc2x3::IfcHourInDay Ifc2x3::IfcHourInDay::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcHourInDay::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcHourInDay Ifc2x3::IfcHourInDay::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcHourInDay::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier const ifcopenshell::type_declaration& Ifc2x3::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[412]); } @@ -5075,13 +5075,13 @@ Ifc2x3::IfcInductanceMeasure::operator double() const { return get_attribute_val // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc2x3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[416]); } -Ifc2x3::IfcInteger Ifc2x3::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcInteger Ifc2x3::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[417]); } -Ifc2x3::IfcIntegerCountRateMeasure Ifc2x3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcIntegerCountRateMeasure Ifc2x3::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[421]); } @@ -5180,8 +5180,8 @@ Ifc2x3::IfcMassPerLengthMeasure::operator double() const { return get_attribute_ // Function implementations for IfcMinuteInHour const ifcopenshell::type_declaration& Ifc2x3::IfcMinuteInHour::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[497]); } -Ifc2x3::IfcMinuteInHour Ifc2x3::IfcMinuteInHour::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcMinuteInHour::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcMinuteInHour Ifc2x3::IfcMinuteInHour::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcMinuteInHour::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[498]); } @@ -5225,8 +5225,8 @@ Ifc2x3::IfcMonetaryMeasure::operator double() const { return get_attribute_value // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc2x3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[507]); } -Ifc2x3::IfcMonthInYearNumber Ifc2x3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcMonthInYearNumber Ifc2x3::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[512]); } @@ -5435,8 +5435,8 @@ Ifc2x3::IfcTimeMeasure::operator double() const { return get_attribute_value(0); // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc2x3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[914]); } -Ifc2x3::IfcTimeStamp Ifc2x3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcTimeStamp Ifc2x3::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc2x3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[917]); } @@ -5470,8 +5470,8 @@ Ifc2x3::IfcWarpingMomentMeasure::operator double() const { return get_attribute_ // Function implementations for IfcYearNumber const ifcopenshell::type_declaration& Ifc2x3::IfcYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[977]); } -Ifc2x3::IfcYearNumber Ifc2x3::IfcYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc2x3::IfcYearNumber::operator int() const { return get_attribute_value(0); } +Ifc2x3::IfcYearNumber Ifc2x3::IfcYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc2x3::IfcYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for Ifc2DCompositeCurve @@ -5835,8 +5835,8 @@ const ifcopenshell::entity& Ifc2x3::IfcAxis2Placement3D::Class() { return *((ifc Ifc2x3::IfcAxis2Placement3D 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc2x3::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc2x3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc2x3::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc2x3::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -5848,7 +5848,7 @@ void Ifc2x3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { const ifcopenshell::entity& Ifc2x3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[80]); } -Ifc2x3::IfcBSplineCurve 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));; return *this; } +Ifc2x3::IfcBSplineCurve Ifc2x3::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBeam @@ -5868,7 +5868,7 @@ Ifc2x3::IfcBeamType Ifc2x3::IfcBeamType::initialize(std::string v1_GlobalId, ::I const ifcopenshell::entity& Ifc2x3::IfcBezierCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[60]); } -Ifc2x3::IfcBezierCurve 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));; return *this; } +Ifc2x3::IfcBezierCurve Ifc2x3::IfcBezierCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBlobTexture std::string Ifc2x3::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(4); return v; } @@ -6119,16 +6119,16 @@ const ifcopenshell::entity& Ifc2x3::IfcCableSegmentType::Class() { return *((ifc Ifc2x3::IfcCableSegmentType 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)));; return *this; } // Function implementations for IfcCalendarDate -int Ifc2x3::IfcCalendarDate::DayComponent() const { int v = get_attribute_value(0); return v; } -void Ifc2x3::IfcCalendarDate::setDayComponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc2x3::IfcCalendarDate::MonthComponent() const { int v = get_attribute_value(1); return v; } -void Ifc2x3::IfcCalendarDate::setMonthComponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc2x3::IfcCalendarDate::YearComponent() const { int v = get_attribute_value(2); return v; } -void Ifc2x3::IfcCalendarDate::setYearComponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc2x3::IfcCalendarDate::DayComponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc2x3::IfcCalendarDate::setDayComponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc2x3::IfcCalendarDate::MonthComponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc2x3::IfcCalendarDate::setMonthComponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc2x3::IfcCalendarDate::YearComponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc2x3::IfcCalendarDate::setYearComponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc2x3::IfcCalendarDate::Class() { return *((ifcopenshell::entity*)IFC2X3_types[97]); } -Ifc2x3::IfcCalendarDate 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));; return *this; } +Ifc2x3::IfcCalendarDate Ifc2x3::IfcCalendarDate::initialize(int64_t v1_DayComponent, int64_t v2_MonthComponent, int64_t v3_YearComponent) { set_attribute_value(0, (v1_DayComponent));set_attribute_value(1, (v2_MonthComponent));set_attribute_value(2, (v3_YearComponent));; return *this; } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc2x3::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } @@ -6648,16 +6648,16 @@ const ifcopenshell::entity& Ifc2x3::IfcCoolingTowerType::Class() { return *((ifc Ifc2x3::IfcCoolingTowerType 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)));; return *this; } // Function implementations for IfcCoordinatedUniversalTimeOffset -int Ifc2x3::IfcCoordinatedUniversalTimeOffset::HourOffset() const { int v = get_attribute_value(0); return v; } -void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setHourOffset(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -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);} } +int64_t Ifc2x3::IfcCoordinatedUniversalTimeOffset::HourOffset() const { int64_t v = get_attribute_value(0); return v; } +void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setHourOffset(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::optional< int64_t > Ifc2x3::IfcCoordinatedUniversalTimeOffset::MinuteOffset() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setMinuteOffset(const std::optional< int64_t >& 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, enumeration_reference(&::Ifc2x3::IfcAheadOrBehind::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc2x3::IfcCoordinatedUniversalTimeOffset::Class() { return *((ifcopenshell::entity*)IFC2X3_types[171]); } -Ifc2x3::IfcCoordinatedUniversalTimeOffset 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)));; return *this; } +Ifc2x3::IfcCoordinatedUniversalTimeOffset Ifc2x3::IfcCoordinatedUniversalTimeOffset::initialize(int64_t v1_HourOffset, std::optional< int64_t > 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)));; return *this; } // Function implementations for IfcCostItem @@ -6938,12 +6938,12 @@ Ifc2x3::IfcDerivedUnit Ifc2x3::IfcDerivedUnit::initialize(std::vector< ::Ifc2x3: // Function implementations for IfcDerivedUnitElement ::Ifc2x3::IfcNamedUnit Ifc2x3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcNamedUnit>(); } void Ifc2x3::IfcDerivedUnitElement::setUnit(const ::Ifc2x3::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc2x3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc2x3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc2x3::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc2x3::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc2x3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[214]); } -Ifc2x3::IfcDerivedUnitElement Ifc2x3::IfcDerivedUnitElement::initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc2x3::IfcDerivedUnitElement Ifc2x3::IfcDerivedUnitElement::initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDiameterDimension @@ -6985,24 +6985,24 @@ const ifcopenshell::entity& Ifc2x3::IfcDimensionPair::Class() { return *((ifcope Ifc2x3::IfcDimensionPair 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));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc2x3::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc2x3::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc2x3::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc2x3::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc2x3::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc2x3::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc2x3::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc2x3::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc2x3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc2x3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc2x3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc2x3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc2x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc2x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc2x3::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc2x3::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc2x3::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc2x3::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc2x3::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc2x3::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc2x3::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc2x3::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc2x3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc2x3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc2x3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc2x3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc2x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc2x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc2x3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC2X3_types[218]); } -Ifc2x3::IfcDimensionalExponents 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));; return *this; } +Ifc2x3::IfcDimensionalExponents Ifc2x3::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc2x3::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -7402,12 +7402,12 @@ std::optional< double > Ifc2x3::IfcElectricalBaseProperties::MaximumPowerInput() void Ifc2x3::IfcElectricalBaseProperties::setMaximumPowerInput(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< double > Ifc2x3::IfcElectricalBaseProperties::RatedPowerInput() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc2x3::IfcElectricalBaseProperties::setRatedPowerInput(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -int Ifc2x3::IfcElectricalBaseProperties::InputPhase() const { int v = get_attribute_value(13); return v; } -void Ifc2x3::IfcElectricalBaseProperties::setInputPhase(const int& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } +int64_t Ifc2x3::IfcElectricalBaseProperties::InputPhase() const { int64_t v = get_attribute_value(13); return v; } +void Ifc2x3::IfcElectricalBaseProperties::setInputPhase(const int64_t& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } const ifcopenshell::entity& Ifc2x3::IfcElectricalBaseProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[273]); } -Ifc2x3::IfcElectricalBaseProperties 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));; return *this; } +Ifc2x3::IfcElectricalBaseProperties 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, int64_t 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));; return *this; } // Function implementations for IfcElectricalCircuit @@ -8030,8 +8030,8 @@ const ifcopenshell::entity& Ifc2x3::IfcGeometricCurveSet::Class() { return *((if Ifc2x3::IfcGeometricCurveSet Ifc2x3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc2x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc2x3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc2x3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc2x3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc2x3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc2x3::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc2x3::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc2x3::IfcAxis2Placement Ifc2x3::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcAxis2Placement>(); } @@ -8042,7 +8042,7 @@ void Ifc2x3::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc2x3::Ifc std::vector<::Ifc2x3::IfcGeometricRepresentationSubContext> Ifc2x3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[393], 6)); } const ifcopenshell::entity& Ifc2x3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC2X3_types[391]); } -Ifc2x3::IfcGeometricRepresentationContext 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));; return *this; } +Ifc2x3::IfcGeometricRepresentationContext Ifc2x3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -8422,20 +8422,20 @@ const ifcopenshell::entity& Ifc2x3::IfcLocalPlacement::Class() { return *((ifcop Ifc2x3::IfcLocalPlacement Ifc2x3::IfcLocalPlacement::initialize(::Ifc2x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc2x3::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));; return *this; } // Function implementations for IfcLocalTime -int Ifc2x3::IfcLocalTime::HourComponent() const { int v = get_attribute_value(0); return v; } -void Ifc2x3::IfcLocalTime::setHourComponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc2x3::IfcLocalTime::MinuteComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc2x3::IfcLocalTime::setMinuteComponent(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +int64_t Ifc2x3::IfcLocalTime::HourComponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc2x3::IfcLocalTime::setHourComponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::optional< int64_t > Ifc2x3::IfcLocalTime::MinuteComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc2x3::IfcLocalTime::setMinuteComponent(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc2x3::IfcLocalTime::SecondComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc2x3::IfcLocalTime::setSecondComponent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc2x3::IfcCoordinatedUniversalTimeOffset Ifc2x3::IfcLocalTime::Zone() const { if(get_attribute_value(3).isNull()) { return ::Ifc2x3::IfcCoordinatedUniversalTimeOffset{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc2x3::IfcCoordinatedUniversalTimeOffset>(); } void Ifc2x3::IfcLocalTime::setZone(const ::Ifc2x3::IfcCoordinatedUniversalTimeOffset& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc2x3::IfcLocalTime::DaylightSavingOffset() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc2x3::IfcLocalTime::setDaylightSavingOffset(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc2x3::IfcLocalTime::DaylightSavingOffset() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc2x3::IfcLocalTime::setDaylightSavingOffset(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc2x3::IfcLocalTime::Class() { return *((ifcopenshell::entity*)IFC2X3_types[460]); } -Ifc2x3::IfcLocalTime 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)); }; return *this; } +Ifc2x3::IfcLocalTime Ifc2x3::IfcLocalTime::initialize(int64_t v1_HourComponent, std::optional< int64_t > v2_MinuteComponent, std::optional< double > v3_SecondComponent, ::Ifc2x3::IfcCoordinatedUniversalTimeOffset v4_Zone, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcLoop @@ -8674,7 +8674,7 @@ void Ifc2x3::IfcMove::setPunchList(const std::optional< std::vector< std::string const ifcopenshell::entity& Ifc2x3::IfcMove::Class() { return *((ifcopenshell::entity*)IFC2X3_types[510]); } -Ifc2x3::IfcMove 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)); }; return *this; } +Ifc2x3::IfcMove 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< int64_t > 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)); }; return *this; } // Function implementations for IfcNamedUnit ::Ifc2x3::IfcDimensionalExponents Ifc2x3::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcDimensionalExponents>(); } @@ -8812,7 +8812,7 @@ void Ifc2x3::IfcOrderAction::setActionID(const std::string& v) { set_attribute_v const ifcopenshell::entity& Ifc2x3::IfcOrderAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[530]); } -Ifc2x3::IfcOrderAction 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));; return *this; } +Ifc2x3::IfcOrderAction 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< int64_t > 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));; return *this; } // Function implementations for IfcOrganization std::optional< std::string > Ifc2x3::IfcOrganization::Id() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8874,18 +8874,18 @@ std::optional< ::Ifc2x3::IfcStateEnum::Value > Ifc2x3::IfcOwnerHistory::State() 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, 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);} } +std::optional< int64_t > Ifc2x3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc2x3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc2x3::IfcOwnerHistory::setLastModifyingUser(const ::Ifc2x3::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcApplication Ifc2x3::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcApplication>(); } void Ifc2x3::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc2x3::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc2x3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc2x3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc2x3::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc2x3::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc2x3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC2X3_types[537]); } -Ifc2x3::IfcOwnerHistory 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));; return *this; } +Ifc2x3::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc2x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc2x3::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // Function implementations for IfcParameterizedProfileDef ::Ifc2x3::IfcAxis2Placement2D Ifc2x3::IfcParameterizedProfileDef::Position() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcAxis2Placement2D>(); } @@ -9030,18 +9030,18 @@ const ifcopenshell::entity& Ifc2x3::IfcPipeSegmentType::Class() { return *((ifco Ifc2x3::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc2x3::IfcPixelTexture::Width() const { int v = get_attribute_value(4); return v; } -void Ifc2x3::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc2x3::IfcPixelTexture::Height() const { int v = get_attribute_value(5); return v; } -void Ifc2x3::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc2x3::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(6); return v; } -void Ifc2x3::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc2x3::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(4); return v; } +void Ifc2x3::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc2x3::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(5); return v; } +void Ifc2x3::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc2x3::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(6); return v; } +void Ifc2x3::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc2x3::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(7); return v; } 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 ifcopenshell::entity& Ifc2x3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC2X3_types[559]); } -Ifc2x3::IfcPixelTexture 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));; return *this; } +Ifc2x3::IfcPixelTexture Ifc2x3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, int64_t v5_Width, int64_t v6_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc2x3::IfcCartesianPoint Ifc2x3::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCartesianPoint>(); } @@ -9670,7 +9670,7 @@ void Ifc2x3::IfcRationalBezierCurve::setWeightsData(const std::vector< double > const ifcopenshell::entity& Ifc2x3::IfcRationalBezierCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[651]); } -Ifc2x3::IfcRationalBezierCurve 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));; return *this; } +Ifc2x3::IfcRationalBezierCurve Ifc2x3::IfcRationalBezierCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc2x3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -10003,10 +10003,10 @@ const ifcopenshell::entity& Ifc2x3::IfcRelConnectsElements::Class() { return *(( Ifc2x3::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc2x3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc2x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc2x3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc2x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc2x3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc2x3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -10014,7 +10014,7 @@ void Ifc2x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc2x const ifcopenshell::entity& Ifc2x3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[690]); } -Ifc2x3::IfcRelConnectsPathElements 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)));; return *this; } +Ifc2x3::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc2x3::IfcPort Ifc2x3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcPort>(); } @@ -10623,10 +10623,10 @@ const ifcopenshell::entity& Ifc2x3::IfcSimpleProperty::Class() { return *((ifcop Ifc2x3::IfcSimpleProperty 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc2x3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc2x3::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc2x3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc2x3::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc2x3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc2x3::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc2x3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc2x3::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc2x3::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc2x3::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc2x3::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -10636,7 +10636,7 @@ void Ifc2x3::IfcSite::setSiteAddress(const ::Ifc2x3::IfcPostalAddress& v) { set_ const ifcopenshell::entity& Ifc2x3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC2X3_types[764]); } -Ifc2x3::IfcSite 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));; return *this; } +Ifc2x3::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -10812,10 +10812,10 @@ const ifcopenshell::entity& Ifc2x3::IfcStair::Class() { return *((ifcopenshell:: Ifc2x3::IfcStair 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)));; return *this; } // 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; } -void Ifc2x3::IfcStairFlight::setNumberOfRiser(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc2x3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc2x3::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc2x3::IfcStairFlight::NumberOfRiser() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc2x3::IfcStairFlight::setNumberOfRiser(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc2x3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc2x3::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc2x3::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc2x3::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc2x3::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -10823,7 +10823,7 @@ void Ifc2x3::IfcStairFlight::setTreadLength(const std::optional< double >& v) { const ifcopenshell::entity& Ifc2x3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC2X3_types[796]); } -Ifc2x3::IfcStairFlight 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)); }; return *this; } +Ifc2x3::IfcStairFlight 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< int64_t > v9_NumberOfRiser, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc2x3::IfcStairFlightTypeEnum::Value Ifc2x3::IfcStairFlightType::PredefinedType() const { return ::Ifc2x3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -11499,12 +11499,12 @@ std::optional< std::string > Ifc2x3::IfcTask::WorkMethod() const { if(get_attrib void Ifc2x3::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } bool Ifc2x3::IfcTask::IsMilestone() const { bool v = get_attribute_value(8); return v; } void Ifc2x3::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::optional< int > Ifc2x3::IfcTask::Priority() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc2x3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc2x3::IfcTask::Priority() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc2x3::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } const ifcopenshell::entity& Ifc2x3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC2X3_types[872]); } -Ifc2x3::IfcTask 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)); }; return *this; } +Ifc2x3::IfcTask 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< int64_t > 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)); }; return *this; } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc2x3::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } diff --git a/src/ifcparse/schemas/Ifc2x3.h b/src/ifcparse/schemas/Ifc2x3.h index 351e557a2d..f93ff073cf 100644 --- a/src/ifcparse/schemas/Ifc2x3.h +++ b/src/ifcparse/schemas/Ifc2x3.h @@ -8092,8 +8092,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -8155,8 +8155,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; class IFC_SCHEMA_API IfcDaylightSavingHour : public express::DeclaredType { @@ -8164,8 +8164,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDaylightSavingHour initialize(int v); - operator int() const; + IfcDaylightSavingHour initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -8193,8 +8193,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -8466,8 +8466,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcHourInDay initialize(int v); - operator int() const; + IfcHourInDay initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: An identifier is an alphanumeric string which allows an individual thing to be identified. It may not provide natural-language meaning. /// @@ -8529,8 +8529,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -8544,8 +8544,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -8817,8 +8817,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMinuteInHour initialize(int v); - operator int() const; + IfcMinuteInHour initialize(int64_t v); + operator int64_t() const; }; /// IfcModulusOfElasticityMeasure is a measure of modulus of elasticity. /// Usually measured in N/m2. @@ -8988,8 +8988,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A numeric measure is the numeric value of a physical quantity. /// Type: NUMBER @@ -9572,8 +9572,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -9661,8 +9661,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcYearNumber initialize(int v); - operator int() const; + IfcYearNumber initialize(int64_t v); + operator int64_t() const; }; /// The box alignment specifies the alignment of the text box relative to its position. The following string values shall be used: /// @@ -10129,15 +10129,15 @@ class IFC_SCHEMA_API IfcCalendarDate : public express::Entity { public: using express::Entity::Entity; - int DayComponent() const; - void setDayComponent(const int& v); - int MonthComponent() const; - void setMonthComponent(const int& v); - int YearComponent() const; - void setYearComponent(const int& v); + int64_t DayComponent() const; + void setDayComponent(const int64_t& v); + int64_t MonthComponent() const; + void setMonthComponent(const int64_t& v); + int64_t YearComponent() const; + void setYearComponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcCalendarDate initialize(int v1_DayComponent, int v2_MonthComponent, int v3_YearComponent); + IfcCalendarDate initialize(int64_t v1_DayComponent, int64_t v2_MonthComponent, int64_t 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 /// characteristics. A classification in the sense of IfcClassification is taxonomy, or taxonomic scheme, arranged in a hierarchical structure. A category of objects relates to other categories in a generalization-specialization relationship. Therefore the classification items in an @@ -10472,15 +10472,15 @@ class IFC_SCHEMA_API IfcCoordinatedUniversalTimeOffset : public express::Entity public: using express::Entity::Entity; - int HourOffset() const; - void setHourOffset(const int& v); - std::optional< int > MinuteOffset() const; - void setMinuteOffset(const std::optional< int >& v); + int64_t HourOffset() const; + void setHourOffset(const int64_t& v); + std::optional< int64_t > MinuteOffset() const; + void setMinuteOffset(const std::optional< int64_t >& v); ::Ifc2x3::IfcAheadOrBehind::Value Sense() const; void setSense(const ::Ifc2x3::IfcAheadOrBehind::Value& v); static const ifcopenshell::entity& Class(); - IfcCoordinatedUniversalTimeOffset initialize(int v1_HourOffset, std::optional< int > v2_MinuteOffset, ::Ifc2x3::IfcAheadOrBehind::Value v3_Sense); + IfcCoordinatedUniversalTimeOffset initialize(int64_t v1_HourOffset, std::optional< int64_t > v2_MinuteOffset, ::Ifc2x3::IfcAheadOrBehind::Value v3_Sense); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. /// @@ -10701,11 +10701,11 @@ public: ::Ifc2x3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc2x3::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -10729,29 +10729,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t v7_LuminousIntensityExponent); }; /// IfcDocumentElectronicFormat captures the type of document being referenced as an external source, and for which metadata is specified by IfcDocumentInformation. /// @@ -11160,19 +11160,19 @@ class IFC_SCHEMA_API IfcLocalTime : public express::Entity { public: using express::Entity::Entity; - int HourComponent() const; - void setHourComponent(const int& v); - std::optional< int > MinuteComponent() const; - void setMinuteComponent(const std::optional< int >& v); + int64_t HourComponent() const; + void setHourComponent(const int64_t& v); + std::optional< int64_t > MinuteComponent() const; + void setMinuteComponent(const std::optional< int64_t >& v); std::optional< double > SecondComponent() const; void setSecondComponent(const std::optional< double >& v); ::Ifc2x3::IfcCoordinatedUniversalTimeOffset Zone() const; void setZone(const ::Ifc2x3::IfcCoordinatedUniversalTimeOffset& v); - std::optional< int > DaylightSavingOffset() const; - void setDaylightSavingOffset(const std::optional< int >& v); + std::optional< int64_t > DaylightSavingOffset() const; + void setDaylightSavingOffset(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - IfcLocalTime initialize(int v1_HourComponent, std::optional< int > v2_MinuteComponent, std::optional< double > v3_SecondComponent, ::Ifc2x3::IfcCoordinatedUniversalTimeOffset v4_Zone, std::optional< int > v5_DaylightSavingOffset); + IfcLocalTime initialize(int64_t v1_HourComponent, std::optional< int64_t > v2_MinuteComponent, std::optional< double > v3_SecondComponent, ::Ifc2x3::IfcCoordinatedUniversalTimeOffset v4_Zone, std::optional< int64_t > v5_DaylightSavingOffset); }; /// IfcMaterial is a homogeneous or inhomogeneous /// substance that can be used to form elements (physical products or @@ -11855,8 +11855,8 @@ public: ::Ifc2x3::IfcChangeActionEnum::Value ChangeAction() const; void setChangeAction(const ::Ifc2x3::IfcChangeActionEnum::Value& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc2x3::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc2x3::IfcPersonAndOrganization& v); @@ -11864,11 +11864,11 @@ public: ::Ifc2x3::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc2x3::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + IfcOwnerHistory initialize(::Ifc2x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc2x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc2x3::IfcStateEnum::Value > v3_State, ::Ifc2x3::IfcChangeActionEnum::Value v4_ChangeAction, std::optional< int64_t > v5_LastModifiedDate, ::Ifc2x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc2x3::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15616,8 +15616,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -15632,7 +15632,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -16561,14 +16561,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -16576,7 +16576,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcPixelTexture initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, int64_t v5_Width, int64_t v6_Height, int64_t 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. /// @@ -22452,11 +22452,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc2x3::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v); @@ -22465,7 +22465,7 @@ public: void setRelatingConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc2x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc2x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -24855,11 +24855,11 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v10_Priority); }; /// Definition from IAI: The element type /// IfcTransportElementType defines commonly shared @@ -26489,11 +26489,11 @@ public: void setMaximumPowerInput(const std::optional< double >& v); std::optional< double > RatedPowerInput() const; void setRatedPowerInput(const std::optional< double >& v); - int InputPhase() const; - void setInputPhase(const int& v); + int64_t InputPhase() const; + void setInputPhase(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v14_InputPhase); }; /// Definition from IAI: Generalization of all components /// that make up an AEC product. Those elements can be logically @@ -28315,7 +28315,7 @@ public: void setPunchList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -28557,7 +28557,7 @@ public: void setActionID(const std::string& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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: /// @@ -29737,13 +29737,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -29755,7 +29755,7 @@ public: void setSiteAddress(const ::Ifc2x3::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -32116,8 +32116,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc2x3::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v); @@ -32132,7 +32132,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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 /// IfcBeamType defines commonly shared information for @@ -32250,7 +32250,7 @@ public: static const ifcopenshell::entity& Class(); - 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); + IfcBezierCurve initialize(int64_t 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: /// @@ -37099,7 +37099,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBezierCurve initialize(int64_t 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. /// @@ -38015,13 +38015,13 @@ public: /// Number of the risers included in the stair flight /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfRisers instead. - std::optional< int > NumberOfRiser() const; - void setNumberOfRiser(const std::optional< int >& v); + std::optional< int64_t > NumberOfRiser() const; + void setNumberOfRiser(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -38034,7 +38034,7 @@ public: void setTreadLength(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRiser, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4.cpp b/src/ifcparse/schemas/Ifc4.cpp index 771903519a..09b84b981d 100644 --- a/src/ifcparse/schemas/Ifc4.cpp +++ b/src/ifcparse/schemas/Ifc4.cpp @@ -6185,8 +6185,8 @@ Ifc4::IfcAngularVelocityMeasure::operator double() const { return get_attribute_ // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[43]); } -Ifc4::IfcArcIndex Ifc4::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4::IfcArcIndex Ifc4::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[44]); } @@ -6215,8 +6215,8 @@ Ifc4::IfcBoxAlignment::operator std::string() const { return get_attribute_value // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[118]); } -Ifc4::IfcCardinalPointReference Ifc4::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4::IfcCardinalPointReference Ifc4::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[161]); } @@ -6225,8 +6225,8 @@ Ifc4::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { retur // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[169]); } -Ifc4::IfcCompoundPlaneAngleMeasure Ifc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4::IfcCompoundPlaneAngleMeasure Ifc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[199]); } @@ -6255,13 +6255,13 @@ Ifc4::IfcDateTime::operator std::string() const { return get_attribute_value(0); // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[256]); } -Ifc4::IfcDayInMonthNumber Ifc4::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4::IfcDayInMonthNumber Ifc4::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[257]); } -Ifc4::IfcDayInWeekNumber Ifc4::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4::IfcDayInWeekNumber Ifc4::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[264]); } @@ -6270,8 +6270,8 @@ Ifc4::IfcDescriptiveMeasure::operator std::string() const { return get_attribute // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[266]); } -Ifc4::IfcDimensionCount Ifc4::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4::IfcDimensionCount Ifc4::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[304]); } @@ -6380,13 +6380,13 @@ Ifc4::IfcInductanceMeasure::operator double() const { return get_attribute_value // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[486]); } -Ifc4::IfcInteger Ifc4::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4::IfcInteger Ifc4::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[487]); } -Ifc4::IfcIntegerCountRateMeasure Ifc4::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4::IfcIntegerCountRateMeasure Ifc4::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[495]); } @@ -6420,8 +6420,8 @@ Ifc4::IfcLengthMeasure::operator double() const { return get_attribute_value(0); // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[539]); } -Ifc4::IfcLineIndex Ifc4::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4::IfcLineIndex Ifc4::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[535]); } @@ -6535,8 +6535,8 @@ Ifc4::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0 // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[605]); } -Ifc4::IfcMonthInYearNumber Ifc4::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4::IfcMonthInYearNumber Ifc4::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[610]); } @@ -6575,8 +6575,8 @@ Ifc4::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[684]); } -Ifc4::IfcPositiveInteger Ifc4::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4::IfcPositiveInteger Ifc4::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[685]); } @@ -6775,8 +6775,8 @@ Ifc4::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1084]); } -Ifc4::IfcTimeStamp Ifc4::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4::IfcTimeStamp Ifc4::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1088]); } @@ -7180,8 +7180,8 @@ const ifcopenshell::entity& Ifc4::IfcAxis2Placement3D::Class() { return *((ifcop Ifc4::IfcAxis2Placement3D 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -7193,11 +7193,11 @@ void Ifc4::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { s const ifcopenshell::entity& Ifc4::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[85]); } -Ifc4::IfcBSplineCurve 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));; return *this; } +Ifc4::IfcBSplineCurve Ifc4::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -7205,13 +7205,13 @@ void Ifc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Valu const ifcopenshell::entity& Ifc4::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[87]); } -Ifc4::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4::IfcBSplineCurveWithKnots Ifc4::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_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)); } @@ -7225,13 +7225,13 @@ void Ifc4::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { const ifcopenshell::entity& Ifc4::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[88]); } -Ifc4::IfcBSplineSurface 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));; return *this; } +Ifc4::IfcBSplineSurface Ifc4::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -7241,7 +7241,7 @@ void Ifc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Va const ifcopenshell::entity& Ifc4::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[90]); } -Ifc4::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4::IfcBSplineSurfaceWithKnots Ifc4::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -8499,32 +8499,32 @@ Ifc4::IfcDerivedUnit Ifc4::IfcDerivedUnit::initialize(std::vector< ::Ifc4::IfcDe // Function implementations for IfcDerivedUnitElement ::Ifc4::IfcNamedUnit Ifc4::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcNamedUnit>(); } void Ifc4::IfcDerivedUnitElement::setUnit(const ::Ifc4::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4_types[262]); } -Ifc4::IfcDerivedUnitElement Ifc4::IfcDerivedUnitElement::initialize(::Ifc4::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4::IfcDerivedUnitElement Ifc4::IfcDerivedUnitElement::initialize(::Ifc4::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4_types[265]); } -Ifc4::IfcDimensionalExponents 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));; return *this; } +Ifc4::IfcDimensionalExponents Ifc4::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -9666,8 +9666,8 @@ const ifcopenshell::entity& Ifc4::IfcGeometricCurveSet::Class() { return *((ifco Ifc4::IfcGeometricCurveSet Ifc4::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4::IfcAxis2Placement Ifc4::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcAxis2Placement>(); } @@ -9679,7 +9679,7 @@ std::vector<::Ifc4::IfcGeometricRepresentationSubContext> Ifc4::IfcGeometricRepr std::vector<::Ifc4::IfcCoordinateOperation> Ifc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[213], 0)); } const ifcopenshell::entity& Ifc4::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4_types[453]); } -Ifc4::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4::IfcGeometricRepresentationContext Ifc4::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -9834,12 +9834,12 @@ std::optional< double > Ifc4::IfcIndexedColourMap::Opacity() const { if(get_attr void Ifc4::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4::IfcColourRgbList Ifc4::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcColourRgbList>(); } void Ifc4::IfcIndexedColourMap::setColours(const ::Ifc4::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4_types[479]); } -Ifc4::IfcIndexedColourMap 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));; return *this; } +Ifc4::IfcIndexedColourMap Ifc4::IfcIndexedColourMap::initialize(::Ifc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4::IfcCartesianPointList Ifc4::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCartesianPointList>(); } @@ -9854,21 +9854,21 @@ const ifcopenshell::entity& Ifc4::IfcIndexedPolyCurve::Class() { return *((ifcop Ifc4::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4_types[680], 2)); } const ifcopenshell::entity& Ifc4::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4_types[481]); } -Ifc4::IfcIndexedPolygonalFace Ifc4::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4::IfcIndexedPolygonalFace Ifc4::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4_types[482]); } -Ifc4::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4::IfcIndexedPolygonalFaceWithVoids Ifc4::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4::IfcTessellatedFaceSet Ifc4::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcTessellatedFaceSet>(); } @@ -9881,12 +9881,12 @@ const ifcopenshell::entity& Ifc4::IfcIndexedTextureMap::Class() { return *((ifco Ifc4::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4_types[484]); } -Ifc4::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4::IfcIndexedTriangleTextureMap Ifc4::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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)); }; return *this; } // 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)); } @@ -10315,13 +10315,13 @@ std::optional< std::string > Ifc4::IfcMaterialLayer::Description() const { if(ge void Ifc4::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4_types[565], 0)); } const ifcopenshell::entity& Ifc4::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4_types[564]); } -Ifc4::IfcMaterialLayer 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)); }; return *this; } +Ifc4::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4::IfcMaterialLayer > Ifc4::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcMaterialLayer>(es); } @@ -10359,7 +10359,7 @@ void Ifc4::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< doubl const ifcopenshell::entity& Ifc4::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4_types[567]); } -Ifc4::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -10378,15 +10378,15 @@ void Ifc4::IfcMaterialProfile::setDescription(const std::optional< std::string > void Ifc4::IfcMaterialProfile::setMaterial(const ::Ifc4::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4::IfcProfileDef Ifc4::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcProfileDef>(); } void Ifc4::IfcMaterialProfile::setProfile(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4_types[570], 2)); } const ifcopenshell::entity& Ifc4::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4_types[569]); } -Ifc4::IfcMaterialProfile 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)); }; return *this; } +Ifc4::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10405,24 +10405,24 @@ Ifc4::IfcMaterialProfileSet Ifc4::IfcMaterialProfileSet::initialize(std::optiona // Function implementations for IfcMaterialProfileSetUsage ::Ifc4::IfcMaterialProfileSet Ifc4::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcMaterialProfileSet>(); } void Ifc4::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4_types[571]); } -Ifc4::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4::IfcMaterialProfileSetUsage Ifc4::IfcMaterialProfileSetUsage::initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4::IfcMaterialProfileSet Ifc4::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcMaterialProfileSet>(); } void Ifc4::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4_types[572]); } -Ifc4::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4::IfcMaterialProfileSetUsageTapering Ifc4::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -10430,7 +10430,7 @@ void Ifc4::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< dou const ifcopenshell::entity& Ifc4::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4_types[573]); } -Ifc4::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4::IfcMaterialDefinition Ifc4::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcMaterialDefinition>(); } @@ -10757,18 +10757,18 @@ std::optional< ::Ifc4::IfcStateEnum::Value > Ifc4::IfcOwnerHistory::State() cons 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, 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);} } +std::optional< int64_t > Ifc4::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4::IfcApplication Ifc4::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcApplication>(); } void Ifc4::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4_types[636]); } -Ifc4::IfcOwnerHistory 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));; return *this; } +Ifc4::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -10954,18 +10954,18 @@ const ifcopenshell::entity& Ifc4::IfcPipeSegmentType::Class() { return *((ifcope Ifc4::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4_types[664]); } -Ifc4::IfcPixelTexture 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));; return *this; } +Ifc4::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4::IfcCartesianPoint Ifc4::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCartesianPoint>(); } @@ -11072,12 +11072,12 @@ std::optional< bool > Ifc4::IfcPolygonalFaceSet::Closed() const { if(get_attribu void Ifc4::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4::IfcIndexedPolygonalFace > Ifc4::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4::IfcIndexedPolygonalFace>(es); } void Ifc4::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[680]); } -Ifc4::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4::IfcPolygonalFaceSet Ifc4::IfcPolygonalFaceSet::initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4::IfcCartesianPoint > Ifc4::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcCartesianPoint>(es); } @@ -11677,7 +11677,7 @@ void Ifc4::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< d const ifcopenshell::entity& Ifc4::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[773]); } -Ifc4::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4::IfcRationalBSplineCurveWithKnots Ifc4::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -11685,7 +11685,7 @@ void Ifc4::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< const ifcopenshell::entity& Ifc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[774]); } -Ifc4::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4::IfcRationalBSplineSurfaceWithKnots Ifc4::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -11744,24 +11744,24 @@ Ifc4::IfcRectangularTrimmedSurface Ifc4::IfcRectangularTrimmedSurface::initializ // 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, 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; } -void Ifc4::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4::IfcTimePeriod > > Ifc4::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4_types[780]); } -Ifc4::IfcRecurrencePattern 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)); }; return *this; } +Ifc4::IfcRecurrencePattern Ifc4::IfcRecurrencePattern::initialize(::Ifc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -11770,14 +11770,14 @@ std::optional< std::string > Ifc4::IfcReference::AttributeIdentifier() const { i void Ifc4::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4::IfcReference Ifc4::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcReference>(); } void Ifc4::IfcReference::setInnerReference(const ::Ifc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4_types[782]); } -Ifc4::IfcReference 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));; return *this; } +Ifc4::IfcReference 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< int64_t > /*[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));; return *this; } // Function implementations for IfcRegularTimeSeries double Ifc4::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -12076,10 +12076,10 @@ const ifcopenshell::entity& Ifc4::IfcRelConnectsElements::Class() { return *((if Ifc4::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -12087,7 +12087,7 @@ void Ifc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4::I const ifcopenshell::entity& Ifc4::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4_types[816]); } -Ifc4::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4::IfcPort Ifc4::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcPort>(); } @@ -12784,10 +12784,10 @@ const ifcopenshell::entity& Ifc4::IfcSimplePropertyTemplate::Class() { return *( Ifc4::IfcSimplePropertyTemplate 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))); }; return *this; } // 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; } -void Ifc4::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -12797,7 +12797,7 @@ void Ifc4::IfcSite::setSiteAddress(const ::Ifc4::IfcPostalAddress& v) { set_attr const ifcopenshell::entity& Ifc4::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4_types[901]); } -Ifc4::IfcSite 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));; return *this; } +Ifc4::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -12991,10 +12991,10 @@ const ifcopenshell::entity& Ifc4::IfcStair::Class() { return *((ifcopenshell::en Ifc4::IfcStair 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))); }; return *this; } // 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; } -void Ifc4::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13004,7 +13004,7 @@ void Ifc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4::IfcSta const ifcopenshell::entity& Ifc4::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4_types[945]); } -Ifc4::IfcStairFlight 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))); }; return *this; } +Ifc4::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4::IfcStairFlightTypeEnum::Value Ifc4::IfcStairFlightType::PredefinedType() const { return ::Ifc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -13747,8 +13747,8 @@ std::optional< std::string > Ifc4::IfcTask::WorkMethod() const { if(get_attribut void Ifc4::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -13756,7 +13756,7 @@ void Ifc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4::IfcTaskTypeEn const ifcopenshell::entity& Ifc4::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4_types[1036]); } -Ifc4::IfcTask 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))); }; return *this; } +Ifc4::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -14142,14 +14142,14 @@ std::optional< std::vector< std::vector< double > > > Ifc4::IfcTriangulatedFaceS void Ifc4::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -void Ifc4::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::vector< std::vector< int64_t > > Ifc4::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[1098]); } -Ifc4::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4::IfcCurve Ifc4::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4.h b/src/ifcparse/schemas/Ifc4.h index e93932d17e..a4de34638c 100644 --- a/src/ifcparse/schemas/Ifc4.h +++ b/src/ifcparse/schemas/Ifc4.h @@ -11361,8 +11361,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11458,8 +11458,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11533,8 +11533,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11636,8 +11636,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11678,8 +11678,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11707,8 +11707,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12047,8 +12047,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12062,8 +12062,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12163,8 +12163,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12524,8 +12524,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12618,8 +12618,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13177,8 +13177,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14013,11 +14013,11 @@ public: ::Ifc4::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14041,29 +14041,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14494,12 +14494,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14608,7 +14608,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14660,15 +14660,15 @@ public: ::Ifc4::IfcProfileDef Profile() const; void setProfile(const ::Ifc4::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfile initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int64_t > 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. /// @@ -14712,7 +14712,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileWithOffsets initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -14995,8 +14995,8 @@ public: std::optional< ::Ifc4::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4::IfcPersonAndOrganization& v); @@ -15004,11 +15004,11 @@ public: ::Ifc4::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15755,31 +15755,31 @@ public: ::Ifc4::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -15787,7 +15787,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -15800,13 +15800,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19003,8 +19003,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19020,7 +19020,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19257,11 +19257,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4::IfcColourRgbList Colours() const; void setColours(const ::Ifc4::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19281,11 +19281,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcIndexedTriangleTextureMap initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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. /// @@ -19972,8 +19972,8 @@ public: ::Ifc4::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -19984,7 +19984,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20019,11 +20019,11 @@ public: ::Ifc4::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20418,14 +20418,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20433,7 +20433,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -24432,23 +24432,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -26717,11 +26717,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v); @@ -26730,7 +26730,7 @@ public: void setRelatingConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -29800,8 +29800,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -29815,7 +29815,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -29981,13 +29981,13 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedFaceSet initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -30564,11 +30564,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4::IfcCartesianPoint > >& v); @@ -30586,7 +30586,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -30600,11 +30600,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -30616,7 +30616,7 @@ public: void setKnotSpec(const ::Ifc4::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35580,11 +35580,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36194,7 +36194,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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. /// @@ -36693,13 +36693,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -36711,7 +36711,7 @@ public: void setSiteAddress(const ::Ifc4::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -39783,8 +39783,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4::IfcCartesianPoint >& v); @@ -39799,7 +39799,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -39823,8 +39823,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -39833,7 +39833,7 @@ public: void setKnotSpec(const ::Ifc4::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -47187,7 +47187,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[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, /// used in concrete and masonry construction to provide additional strength. A single instance @@ -48728,13 +48728,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuildingElement { public: using IfcBuildingElement::IfcBuildingElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -48753,7 +48753,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x1.cpp b/src/ifcparse/schemas/Ifc4x1.cpp index 18e6979607..4e0011a30e 100644 --- a/src/ifcparse/schemas/Ifc4x1.cpp +++ b/src/ifcparse/schemas/Ifc4x1.cpp @@ -6272,8 +6272,8 @@ Ifc4x1::IfcAngularVelocityMeasure::operator double() const { return get_attribut // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[54]); } -Ifc4x1::IfcArcIndex Ifc4x1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x1::IfcArcIndex Ifc4x1::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[55]); } @@ -6302,8 +6302,8 @@ Ifc4x1::IfcBoxAlignment::operator std::string() const { return get_attribute_val // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[129]); } -Ifc4x1::IfcCardinalPointReference Ifc4x1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcCardinalPointReference Ifc4x1::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[173]); } @@ -6312,8 +6312,8 @@ Ifc4x1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { ret // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[181]); } -Ifc4x1::IfcCompoundPlaneAngleMeasure Ifc4x1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x1::IfcCompoundPlaneAngleMeasure Ifc4x1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[211]); } @@ -6342,13 +6342,13 @@ Ifc4x1::IfcDateTime::operator std::string() const { return get_attribute_value(0 // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[269]); } -Ifc4x1::IfcDayInMonthNumber Ifc4x1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcDayInMonthNumber Ifc4x1::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[270]); } -Ifc4x1::IfcDayInWeekNumber Ifc4x1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcDayInWeekNumber Ifc4x1::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[277]); } @@ -6357,8 +6357,8 @@ Ifc4x1::IfcDescriptiveMeasure::operator std::string() const { return get_attribu // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[279]); } -Ifc4x1::IfcDimensionCount Ifc4x1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcDimensionCount Ifc4x1::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[318]); } @@ -6467,13 +6467,13 @@ Ifc4x1::IfcInductanceMeasure::operator double() const { return get_attribute_val // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[500]); } -Ifc4x1::IfcInteger Ifc4x1::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcInteger Ifc4x1::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[501]); } -Ifc4x1::IfcIntegerCountRateMeasure Ifc4x1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcIntegerCountRateMeasure Ifc4x1::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[509]); } @@ -6507,8 +6507,8 @@ Ifc4x1::IfcLengthMeasure::operator double() const { return get_attribute_value(0 // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[555]); } -Ifc4x1::IfcLineIndex Ifc4x1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x1::IfcLineIndex Ifc4x1::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[549]); } @@ -6622,8 +6622,8 @@ Ifc4x1::IfcMonetaryMeasure::operator double() const { return get_attribute_value // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[622]); } -Ifc4x1::IfcMonthInYearNumber Ifc4x1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcMonthInYearNumber Ifc4x1::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[627]); } @@ -6662,8 +6662,8 @@ Ifc4x1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_val // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[705]); } -Ifc4x1::IfcPositiveInteger Ifc4x1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcPositiveInteger Ifc4x1::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[706]); } @@ -6862,8 +6862,8 @@ Ifc4x1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1109]); } -Ifc4x1::IfcTimeStamp Ifc4x1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x1::IfcTimeStamp Ifc4x1::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x1::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1113]); } @@ -7369,8 +7369,8 @@ const ifcopenshell::entity& Ifc4x1::IfcAxis2Placement3D::Class() { return *((ifc Ifc4x1::IfcAxis2Placement3D 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x1::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x1::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x1::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -7382,11 +7382,11 @@ void Ifc4x1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { const ifcopenshell::entity& Ifc4x1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[96]); } -Ifc4x1::IfcBSplineCurve 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));; return *this; } +Ifc4x1::IfcBSplineCurve Ifc4x1::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -7394,13 +7394,13 @@ void Ifc4x1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType:: const ifcopenshell::entity& Ifc4x1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[98]); } -Ifc4x1::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x1::IfcBSplineCurveWithKnots Ifc4x1::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x1::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x1::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x1::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x1::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x1::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x1::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_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)); } @@ -7414,13 +7414,13 @@ void Ifc4x1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) const ifcopenshell::entity& Ifc4x1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[99]); } -Ifc4x1::IfcBSplineSurface 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));; return *this; } +Ifc4x1::IfcBSplineSurface Ifc4x1::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -7430,7 +7430,7 @@ void Ifc4x1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType const ifcopenshell::entity& Ifc4x1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[101]); } -Ifc4x1::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x1::IfcBSplineSurfaceWithKnots Ifc4x1::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -8714,32 +8714,32 @@ Ifc4x1::IfcDerivedUnit Ifc4x1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x1: // Function implementations for IfcDerivedUnitElement ::Ifc4x1::IfcNamedUnit Ifc4x1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcNamedUnit>(); } void Ifc4x1::IfcDerivedUnitElement::setUnit(const ::Ifc4x1::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x1::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x1::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[275]); } -Ifc4x1::IfcDerivedUnitElement Ifc4x1::IfcDerivedUnitElement::initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x1::IfcDerivedUnitElement Ifc4x1::IfcDerivedUnitElement::initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x1::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x1::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x1::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x1::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x1::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x1::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x1::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x1::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x1::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x1::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x1::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x1::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x1::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x1::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x1::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x1::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x1::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x1::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x1::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X1_types[278]); } -Ifc4x1::IfcDimensionalExponents 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));; return *this; } +Ifc4x1::IfcDimensionalExponents Ifc4x1::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x1::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -9897,8 +9897,8 @@ const ifcopenshell::entity& Ifc4x1::IfcGeometricCurveSet::Class() { return *((if Ifc4x1::IfcGeometricCurveSet Ifc4x1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x1::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x1::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x1::IfcAxis2Placement Ifc4x1::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcAxis2Placement>(); } @@ -9910,7 +9910,7 @@ std::vector<::Ifc4x1::IfcGeometricRepresentationSubContext> Ifc4x1::IfcGeometric std::vector<::Ifc4x1::IfcCoordinateOperation> Ifc4x1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[225], 0)); } const ifcopenshell::entity& Ifc4x1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X1_types[467]); } -Ifc4x1::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x1::IfcGeometricRepresentationContext Ifc4x1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -10064,12 +10064,12 @@ std::optional< double > Ifc4x1::IfcIndexedColourMap::Opacity() const { if(get_at void Ifc4x1::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x1::IfcColourRgbList Ifc4x1::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcColourRgbList>(); } void Ifc4x1::IfcIndexedColourMap::setColours(const ::Ifc4x1::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x1::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x1::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x1::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[493]); } -Ifc4x1::IfcIndexedColourMap 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));; return *this; } +Ifc4x1::IfcIndexedColourMap Ifc4x1::IfcIndexedColourMap::initialize(::Ifc4x1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x1::IfcCartesianPointList Ifc4x1::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCartesianPointList>(); } @@ -10084,21 +10084,21 @@ const ifcopenshell::entity& Ifc4x1::IfcIndexedPolyCurve::Class() { return *((ifc Ifc4x1::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X1_types[700], 2)); } const ifcopenshell::entity& Ifc4x1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[495]); } -Ifc4x1::IfcIndexedPolygonalFace Ifc4x1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x1::IfcIndexedPolygonalFace Ifc4x1::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X1_types[496]); } -Ifc4x1::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x1::IfcIndexedPolygonalFaceWithVoids Ifc4x1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x1::IfcTessellatedFaceSet Ifc4x1::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcTessellatedFaceSet>(); } @@ -10111,12 +10111,12 @@ const ifcopenshell::entity& Ifc4x1::IfcIndexedTextureMap::Class() { return *((if Ifc4x1::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[498]); } -Ifc4x1::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x1::IfcIndexedTriangleTextureMap Ifc4x1::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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)); }; return *this; } // 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)); } @@ -10573,13 +10573,13 @@ std::optional< std::string > Ifc4x1::IfcMaterialLayer::Description() const { if( void Ifc4x1::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x1::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x1::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X1_types[582], 0)); } const ifcopenshell::entity& Ifc4x1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X1_types[581]); } -Ifc4x1::IfcMaterialLayer 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)); }; return *this; } +Ifc4x1::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x1::IfcMaterialLayer > Ifc4x1::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcMaterialLayer>(es); } @@ -10617,7 +10617,7 @@ void Ifc4x1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< dou const ifcopenshell::entity& Ifc4x1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X1_types[584]); } -Ifc4x1::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x1::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -10636,15 +10636,15 @@ void Ifc4x1::IfcMaterialProfile::setDescription(const std::optional< std::string void Ifc4x1::IfcMaterialProfile::setMaterial(const ::Ifc4x1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x1::IfcProfileDef Ifc4x1::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcProfileDef>(); } void Ifc4x1::IfcMaterialProfile::setProfile(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x1::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x1::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X1_types[587], 2)); } const ifcopenshell::entity& Ifc4x1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X1_types[586]); } -Ifc4x1::IfcMaterialProfile 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)); }; return *this; } +Ifc4x1::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x1::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10663,24 +10663,24 @@ Ifc4x1::IfcMaterialProfileSet Ifc4x1::IfcMaterialProfileSet::initialize(std::opt // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x1::IfcMaterialProfileSet Ifc4x1::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcMaterialProfileSet>(); } void Ifc4x1::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x1::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x1::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X1_types[588]); } -Ifc4x1::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x1::IfcMaterialProfileSetUsage Ifc4x1::IfcMaterialProfileSetUsage::initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x1::IfcMaterialProfileSet Ifc4x1::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcMaterialProfileSet>(); } void Ifc4x1::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x1::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X1_types[589]); } -Ifc4x1::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x1::IfcMaterialProfileSetUsageTapering Ifc4x1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x1::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -10688,7 +10688,7 @@ void Ifc4x1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< d const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X1_types[590]); } -Ifc4x1::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x1::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x1::IfcMaterialDefinition Ifc4x1::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcMaterialDefinition>(); } @@ -11039,18 +11039,18 @@ std::optional< ::Ifc4x1::IfcStateEnum::Value > Ifc4x1::IfcOwnerHistory::State() 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, 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);} } +std::optional< int64_t > Ifc4x1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x1::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x1::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x1::IfcApplication Ifc4x1::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcApplication>(); } void Ifc4x1::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x1::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x1::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x1::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X1_types[656]); } -Ifc4x1::IfcOwnerHistory 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));; return *this; } +Ifc4x1::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x1::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -11236,18 +11236,18 @@ const ifcopenshell::entity& Ifc4x1::IfcPipeSegmentType::Class() { return *((ifco Ifc4x1::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x1::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x1::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x1::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x1::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x1::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x1::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x1::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x1::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x1::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x1::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x1::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x1::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[684]); } -Ifc4x1::IfcPixelTexture 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));; return *this; } +Ifc4x1::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x1::IfcCartesianPoint Ifc4x1::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCartesianPoint>(); } @@ -11354,12 +11354,12 @@ std::optional< bool > Ifc4x1::IfcPolygonalFaceSet::Closed() const { if(get_attri void Ifc4x1::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > Ifc4x1::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x1::IfcIndexedPolygonalFace>(es); } void Ifc4x1::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x1::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[700]); } -Ifc4x1::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x1::IfcPolygonalFaceSet Ifc4x1::IfcPolygonalFaceSet::initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x1::IfcCartesianPoint > Ifc4x1::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcCartesianPoint>(es); } @@ -11966,7 +11966,7 @@ void Ifc4x1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< const ifcopenshell::entity& Ifc4x1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[794]); } -Ifc4x1::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x1::IfcRationalBSplineCurveWithKnots Ifc4x1::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -11974,7 +11974,7 @@ void Ifc4x1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vecto const ifcopenshell::entity& Ifc4x1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[795]); } -Ifc4x1::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x1::IfcRationalBSplineSurfaceWithKnots Ifc4x1::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -12033,24 +12033,24 @@ Ifc4x1::IfcRectangularTrimmedSurface Ifc4x1::IfcRectangularTrimmedSurface::initi // 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, 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; } -void Ifc4x1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x1::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x1::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x1::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x1::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x1::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x1::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > Ifc4x1::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X1_types[801]); } -Ifc4x1::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x1::IfcRecurrencePattern Ifc4x1::IfcRecurrencePattern::initialize(::Ifc4x1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -12059,14 +12059,14 @@ std::optional< std::string > Ifc4x1::IfcReference::AttributeIdentifier() const { void Ifc4x1::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x1::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x1::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x1::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x1::IfcReference Ifc4x1::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x1::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcReference>(); } void Ifc4x1::IfcReference::setInnerReference(const ::Ifc4x1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[803]); } -Ifc4x1::IfcReference 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));; return *this; } +Ifc4x1::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -12375,10 +12375,10 @@ const ifcopenshell::entity& Ifc4x1::IfcRelConnectsElements::Class() { return *(( Ifc4x1::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -12386,7 +12386,7 @@ void Ifc4x1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x const ifcopenshell::entity& Ifc4x1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[839]); } -Ifc4x1::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x1::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x1::IfcPort Ifc4x1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcPort>(); } @@ -13104,10 +13104,10 @@ const ifcopenshell::entity& Ifc4x1::IfcSimplePropertyTemplate::Class() { return Ifc4x1::IfcSimplePropertyTemplate 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))); }; return *this; } // 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; } -void Ifc4x1::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x1::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x1::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x1::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x1::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x1::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -13117,7 +13117,7 @@ void Ifc4x1::IfcSite::setSiteAddress(const ::Ifc4x1::IfcPostalAddress& v) { set_ const ifcopenshell::entity& Ifc4x1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X1_types[926]); } -Ifc4x1::IfcSite 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));; return *this; } +Ifc4x1::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -13311,10 +13311,10 @@ const ifcopenshell::entity& Ifc4x1::IfcStair::Class() { return *((ifcopenshell:: Ifc4x1::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x1::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x1::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x1::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x1::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x1::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13324,7 +13324,7 @@ void Ifc4x1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x1::If const ifcopenshell::entity& Ifc4x1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X1_types[970]); } -Ifc4x1::IfcStairFlight 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))); }; return *this; } +Ifc4x1::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x1::IfcStairFlightTypeEnum::Value Ifc4x1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -14067,8 +14067,8 @@ std::optional< std::string > Ifc4x1::IfcTask::WorkMethod() const { if(get_attrib void Ifc4x1::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x1::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x1::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x1::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -14076,7 +14076,7 @@ void Ifc4x1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x1::IfcTaskTy const ifcopenshell::entity& Ifc4x1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1061]); } -Ifc4x1::IfcTask 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))); }; return *this; } +Ifc4x1::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -14478,22 +14478,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x1::IfcTriangulatedFac void Ifc4x1::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x1::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x1::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -void Ifc4x1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::vector< std::vector< int64_t > > Ifc4x1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1125]); } -Ifc4x1::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x1::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1126]); } -Ifc4x1::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x1::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x1::IfcCurve Ifc4x1::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x1.h b/src/ifcparse/schemas/Ifc4x1.h index b16a197e40..4820c934ee 100644 --- a/src/ifcparse/schemas/Ifc4x1.h +++ b/src/ifcparse/schemas/Ifc4x1.h @@ -11409,8 +11409,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11506,8 +11506,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11581,8 +11581,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11684,8 +11684,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11726,8 +11726,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11755,8 +11755,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12095,8 +12095,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12110,8 +12110,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12211,8 +12211,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12572,8 +12572,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12666,8 +12666,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13225,8 +13225,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14061,11 +14061,11 @@ public: ::Ifc4x1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x1::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14089,29 +14089,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14542,12 +14542,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14656,7 +14656,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14708,15 +14708,15 @@ public: ::Ifc4x1::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x1::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfile initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int64_t > 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. /// @@ -14760,7 +14760,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileWithOffsets initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15043,8 +15043,8 @@ public: std::optional< ::Ifc4x1::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x1::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x1::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x1::IfcPersonAndOrganization& v); @@ -15052,11 +15052,11 @@ public: ::Ifc4x1::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x1::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x1::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15803,31 +15803,31 @@ public: ::Ifc4x1::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x1::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -15835,7 +15835,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -15848,13 +15848,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x1::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19052,8 +19052,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19069,7 +19069,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19306,11 +19306,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x1::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x1::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19330,11 +19330,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcIndexedTriangleTextureMap initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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. /// @@ -20038,8 +20038,8 @@ public: ::Ifc4x1::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20050,7 +20050,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20085,11 +20085,11 @@ public: ::Ifc4x1::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20497,14 +20497,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20512,7 +20512,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -24593,23 +24593,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -26896,11 +26896,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x1::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v); @@ -26909,7 +26909,7 @@ public: void setRelatingConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30005,8 +30005,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30020,7 +30020,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30186,24 +30186,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedFaceSet initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedIrregularNetwork initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -30827,11 +30827,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > >& v); @@ -30849,7 +30849,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -30863,11 +30863,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -30879,7 +30879,7 @@ public: void setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35751,11 +35751,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x1::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36375,7 +36375,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -36887,13 +36887,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -36905,7 +36905,7 @@ public: void setSiteAddress(const ::Ifc4x1::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40011,8 +40011,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x1::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v); @@ -40027,7 +40027,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40051,8 +40051,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40061,7 +40061,7 @@ public: void setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -47554,7 +47554,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[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, /// used in concrete and masonry construction to provide additional strength. A single instance @@ -49095,13 +49095,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuildingElement { public: using IfcBuildingElement::IfcBuildingElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -49120,7 +49120,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x2.cpp b/src/ifcparse/schemas/Ifc4x2.cpp index d03e059dac..2f19d0c8a7 100644 --- a/src/ifcparse/schemas/Ifc4x2.cpp +++ b/src/ifcparse/schemas/Ifc4x2.cpp @@ -6475,8 +6475,8 @@ Ifc4x2::IfcAngularVelocityMeasure::operator double() const { return get_attribut // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[54]); } -Ifc4x2::IfcArcIndex Ifc4x2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x2::IfcArcIndex Ifc4x2::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[55]); } @@ -6505,8 +6505,8 @@ Ifc4x2::IfcBoxAlignment::operator std::string() const { return get_attribute_val // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[140]); } -Ifc4x2::IfcCardinalPointReference Ifc4x2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcCardinalPointReference Ifc4x2::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[184]); } @@ -6515,8 +6515,8 @@ Ifc4x2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { ret // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[192]); } -Ifc4x2::IfcCompoundPlaneAngleMeasure Ifc4x2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x2::IfcCompoundPlaneAngleMeasure Ifc4x2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[222]); } @@ -6545,13 +6545,13 @@ Ifc4x2::IfcDateTime::operator std::string() const { return get_attribute_value(0 // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[280]); } -Ifc4x2::IfcDayInMonthNumber Ifc4x2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcDayInMonthNumber Ifc4x2::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[281]); } -Ifc4x2::IfcDayInWeekNumber Ifc4x2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcDayInWeekNumber Ifc4x2::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[290]); } @@ -6560,8 +6560,8 @@ Ifc4x2::IfcDescriptiveMeasure::operator std::string() const { return get_attribu // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[292]); } -Ifc4x2::IfcDimensionCount Ifc4x2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcDimensionCount Ifc4x2::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[331]); } @@ -6670,13 +6670,13 @@ Ifc4x2::IfcInductanceMeasure::operator double() const { return get_attribute_val // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[515]); } -Ifc4x2::IfcInteger Ifc4x2::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcInteger Ifc4x2::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[516]); } -Ifc4x2::IfcIntegerCountRateMeasure Ifc4x2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcIntegerCountRateMeasure Ifc4x2::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[524]); } @@ -6710,8 +6710,8 @@ Ifc4x2::IfcLengthMeasure::operator double() const { return get_attribute_value(0 // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[570]); } -Ifc4x2::IfcLineIndex Ifc4x2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x2::IfcLineIndex Ifc4x2::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[564]); } @@ -6825,8 +6825,8 @@ Ifc4x2::IfcMonetaryMeasure::operator double() const { return get_attribute_value // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[637]); } -Ifc4x2::IfcMonthInYearNumber Ifc4x2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcMonthInYearNumber Ifc4x2::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[642]); } @@ -6865,8 +6865,8 @@ Ifc4x2::IfcPlaneAngleMeasure::operator double() const { return get_attribute_val // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[720]); } -Ifc4x2::IfcPositiveInteger Ifc4x2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcPositiveInteger Ifc4x2::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[721]); } @@ -7065,8 +7065,8 @@ Ifc4x2::IfcTimeMeasure::operator double() const { return get_attribute_value(0); // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1128]); } -Ifc4x2::IfcTimeStamp Ifc4x2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x2::IfcTimeStamp Ifc4x2::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x2::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1132]); } @@ -7572,8 +7572,8 @@ const ifcopenshell::entity& Ifc4x2::IfcAxis2Placement3D::Class() { return *((ifc Ifc4x2::IfcAxis2Placement3D 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x2::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x2::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x2::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -7585,11 +7585,11 @@ void Ifc4x2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { const ifcopenshell::entity& Ifc4x2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[104]); } -Ifc4x2::IfcBSplineCurve 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));; return *this; } +Ifc4x2::IfcBSplineCurve Ifc4x2::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -7597,13 +7597,13 @@ void Ifc4x2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType:: const ifcopenshell::entity& Ifc4x2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[106]); } -Ifc4x2::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x2::IfcBSplineCurveWithKnots Ifc4x2::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x2::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x2::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x2::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x2::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x2::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x2::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_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)); } @@ -7617,13 +7617,13 @@ void Ifc4x2::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) const ifcopenshell::entity& Ifc4x2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[107]); } -Ifc4x2::IfcBSplineSurface 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));; return *this; } +Ifc4x2::IfcBSplineSurface Ifc4x2::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -7633,7 +7633,7 @@ void Ifc4x2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType const ifcopenshell::entity& Ifc4x2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[109]); } -Ifc4x2::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x2::IfcBSplineSurfaceWithKnots Ifc4x2::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -8978,32 +8978,32 @@ Ifc4x2::IfcDerivedUnit Ifc4x2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x2: // Function implementations for IfcDerivedUnitElement ::Ifc4x2::IfcNamedUnit Ifc4x2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcNamedUnit>(); } void Ifc4x2::IfcDerivedUnitElement::setUnit(const ::Ifc4x2::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x2::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x2::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x2::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[288]); } -Ifc4x2::IfcDerivedUnitElement Ifc4x2::IfcDerivedUnitElement::initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x2::IfcDerivedUnitElement Ifc4x2::IfcDerivedUnitElement::initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x2::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x2::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x2::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x2::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x2::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x2::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x2::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x2::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x2::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x2::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x2::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x2::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x2::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x2::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x2::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x2::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x2::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x2::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x2::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X2_types[291]); } -Ifc4x2::IfcDimensionalExponents 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));; return *this; } +Ifc4x2::IfcDimensionalExponents Ifc4x2::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x2::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -10173,8 +10173,8 @@ const ifcopenshell::entity& Ifc4x2::IfcGeometricCurveSet::Class() { return *((if Ifc4x2::IfcGeometricCurveSet Ifc4x2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x2::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x2::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x2::IfcAxis2Placement Ifc4x2::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcAxis2Placement>(); } @@ -10186,7 +10186,7 @@ std::vector<::Ifc4x2::IfcGeometricRepresentationSubContext> Ifc4x2::IfcGeometric std::vector<::Ifc4x2::IfcCoordinateOperation> Ifc4x2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[236], 0)); } const ifcopenshell::entity& Ifc4x2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X2_types[482]); } -Ifc4x2::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x2::IfcGeometricRepresentationContext Ifc4x2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -10340,12 +10340,12 @@ std::optional< double > Ifc4x2::IfcIndexedColourMap::Opacity() const { if(get_at void Ifc4x2::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x2::IfcColourRgbList Ifc4x2::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcColourRgbList>(); } void Ifc4x2::IfcIndexedColourMap::setColours(const ::Ifc4x2::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x2::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x2::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x2::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[508]); } -Ifc4x2::IfcIndexedColourMap 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));; return *this; } +Ifc4x2::IfcIndexedColourMap Ifc4x2::IfcIndexedColourMap::initialize(::Ifc4x2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x2::IfcCartesianPointList Ifc4x2::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCartesianPointList>(); } @@ -10360,21 +10360,21 @@ const ifcopenshell::entity& Ifc4x2::IfcIndexedPolyCurve::Class() { return *((ifc Ifc4x2::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X2_types[715], 2)); } const ifcopenshell::entity& Ifc4x2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[510]); } -Ifc4x2::IfcIndexedPolygonalFace Ifc4x2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x2::IfcIndexedPolygonalFace Ifc4x2::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X2_types[511]); } -Ifc4x2::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x2::IfcIndexedPolygonalFaceWithVoids Ifc4x2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x2::IfcTessellatedFaceSet Ifc4x2::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcTessellatedFaceSet>(); } @@ -10387,12 +10387,12 @@ const ifcopenshell::entity& Ifc4x2::IfcIndexedTextureMap::Class() { return *((if Ifc4x2::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[513]); } -Ifc4x2::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x2::IfcIndexedTriangleTextureMap Ifc4x2::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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)); }; return *this; } // 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)); } @@ -10847,13 +10847,13 @@ std::optional< std::string > Ifc4x2::IfcMaterialLayer::Description() const { if( void Ifc4x2::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x2::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x2::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X2_types[597], 0)); } const ifcopenshell::entity& Ifc4x2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X2_types[596]); } -Ifc4x2::IfcMaterialLayer 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)); }; return *this; } +Ifc4x2::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x2::IfcMaterialLayer > Ifc4x2::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcMaterialLayer>(es); } @@ -10891,7 +10891,7 @@ void Ifc4x2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< dou const ifcopenshell::entity& Ifc4x2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X2_types[599]); } -Ifc4x2::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x2::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -10910,15 +10910,15 @@ void Ifc4x2::IfcMaterialProfile::setDescription(const std::optional< std::string void Ifc4x2::IfcMaterialProfile::setMaterial(const ::Ifc4x2::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x2::IfcProfileDef Ifc4x2::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcProfileDef>(); } void Ifc4x2::IfcMaterialProfile::setProfile(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x2::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x2::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X2_types[602], 2)); } const ifcopenshell::entity& Ifc4x2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X2_types[601]); } -Ifc4x2::IfcMaterialProfile 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)); }; return *this; } +Ifc4x2::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x2::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10937,24 +10937,24 @@ Ifc4x2::IfcMaterialProfileSet Ifc4x2::IfcMaterialProfileSet::initialize(std::opt // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x2::IfcMaterialProfileSet Ifc4x2::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcMaterialProfileSet>(); } void Ifc4x2::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x2::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x2::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X2_types[603]); } -Ifc4x2::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x2::IfcMaterialProfileSetUsage Ifc4x2::IfcMaterialProfileSetUsage::initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x2::IfcMaterialProfileSet Ifc4x2::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcMaterialProfileSet>(); } void Ifc4x2::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x2::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X2_types[604]); } -Ifc4x2::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x2::IfcMaterialProfileSetUsageTapering Ifc4x2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x2::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -10962,7 +10962,7 @@ void Ifc4x2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< d const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X2_types[605]); } -Ifc4x2::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x2::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x2::IfcMaterialDefinition Ifc4x2::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcMaterialDefinition>(); } @@ -11314,18 +11314,18 @@ std::optional< ::Ifc4x2::IfcStateEnum::Value > Ifc4x2::IfcOwnerHistory::State() 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, 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);} } +std::optional< int64_t > Ifc4x2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x2::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x2::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x2::IfcApplication Ifc4x2::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcApplication>(); } void Ifc4x2::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x2::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x2::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x2::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X2_types[671]); } -Ifc4x2::IfcOwnerHistory 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));; return *this; } +Ifc4x2::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x2::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -11511,18 +11511,18 @@ const ifcopenshell::entity& Ifc4x2::IfcPipeSegmentType::Class() { return *((ifco Ifc4x2::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x2::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x2::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x2::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x2::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x2::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x2::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x2::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x2::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x2::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x2::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x2::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x2::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[699]); } -Ifc4x2::IfcPixelTexture 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));; return *this; } +Ifc4x2::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x2::IfcCartesianPoint Ifc4x2::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCartesianPoint>(); } @@ -11629,12 +11629,12 @@ std::optional< bool > Ifc4x2::IfcPolygonalFaceSet::Closed() const { if(get_attri void Ifc4x2::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > Ifc4x2::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x2::IfcIndexedPolygonalFace>(es); } void Ifc4x2::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x2::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[715]); } -Ifc4x2::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x2::IfcPolygonalFaceSet Ifc4x2::IfcPolygonalFaceSet::initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x2::IfcCartesianPoint > Ifc4x2::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcCartesianPoint>(es); } @@ -12243,7 +12243,7 @@ void Ifc4x2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< const ifcopenshell::entity& Ifc4x2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[809]); } -Ifc4x2::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x2::IfcRationalBSplineCurveWithKnots Ifc4x2::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -12251,7 +12251,7 @@ void Ifc4x2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vecto const ifcopenshell::entity& Ifc4x2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[810]); } -Ifc4x2::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x2::IfcRationalBSplineSurfaceWithKnots Ifc4x2::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -12310,24 +12310,24 @@ Ifc4x2::IfcRectangularTrimmedSurface Ifc4x2::IfcRectangularTrimmedSurface::initi // 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, 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; } -void Ifc4x2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x2::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x2::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x2::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x2::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x2::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x2::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > Ifc4x2::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X2_types[816]); } -Ifc4x2::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x2::IfcRecurrencePattern Ifc4x2::IfcRecurrencePattern::initialize(::Ifc4x2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -12336,14 +12336,14 @@ std::optional< std::string > Ifc4x2::IfcReference::AttributeIdentifier() const { void Ifc4x2::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x2::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x2::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x2::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x2::IfcReference Ifc4x2::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x2::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcReference>(); } void Ifc4x2::IfcReference::setInnerReference(const ::Ifc4x2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[818]); } -Ifc4x2::IfcReference 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));; return *this; } +Ifc4x2::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -12652,10 +12652,10 @@ const ifcopenshell::entity& Ifc4x2::IfcRelConnectsElements::Class() { return *(( Ifc4x2::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -12663,7 +12663,7 @@ void Ifc4x2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x const ifcopenshell::entity& Ifc4x2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[854]); } -Ifc4x2::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x2::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x2::IfcPort Ifc4x2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcPort>(); } @@ -13391,10 +13391,10 @@ const ifcopenshell::entity& Ifc4x2::IfcSimplePropertyTemplate::Class() { return Ifc4x2::IfcSimplePropertyTemplate 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))); }; return *this; } // 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; } -void Ifc4x2::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x2::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x2::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x2::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x2::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x2::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -13404,7 +13404,7 @@ void Ifc4x2::IfcSite::setSiteAddress(const ::Ifc4x2::IfcPostalAddress& v) { set_ const ifcopenshell::entity& Ifc4x2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X2_types[942]); } -Ifc4x2::IfcSite 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));; return *this; } +Ifc4x2::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -13598,10 +13598,10 @@ const ifcopenshell::entity& Ifc4x2::IfcStair::Class() { return *((ifcopenshell:: Ifc4x2::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x2::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x2::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x2::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x2::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x2::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13611,7 +13611,7 @@ void Ifc4x2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x2::If const ifcopenshell::entity& Ifc4x2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X2_types[986]); } -Ifc4x2::IfcStairFlight 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))); }; return *this; } +Ifc4x2::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x2::IfcStairFlightTypeEnum::Value Ifc4x2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -14354,8 +14354,8 @@ std::optional< std::string > Ifc4x2::IfcTask::WorkMethod() const { if(get_attrib void Ifc4x2::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x2::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x2::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x2::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x2::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -14363,7 +14363,7 @@ void Ifc4x2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x2::IfcTaskTy const ifcopenshell::entity& Ifc4x2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1077]); } -Ifc4x2::IfcTask 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))); }; return *this; } +Ifc4x2::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -14781,22 +14781,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x2::IfcTriangulatedFac void Ifc4x2::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x2::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x2::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -void Ifc4x2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::vector< std::vector< int64_t > > Ifc4x2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1144]); } -Ifc4x2::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x2::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1145]); } -Ifc4x2::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x2::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x2::IfcCurve Ifc4x2::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x2.h b/src/ifcparse/schemas/Ifc4x2.h index 7d7622a5be..2732a036cf 100644 --- a/src/ifcparse/schemas/Ifc4x2.h +++ b/src/ifcparse/schemas/Ifc4x2.h @@ -11507,8 +11507,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11604,8 +11604,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11679,8 +11679,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11782,8 +11782,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11824,8 +11824,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11853,8 +11853,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12193,8 +12193,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12208,8 +12208,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12309,8 +12309,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12670,8 +12670,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12764,8 +12764,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13323,8 +13323,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14159,11 +14159,11 @@ public: ::Ifc4x2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x2::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14187,29 +14187,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14640,12 +14640,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14754,7 +14754,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14806,15 +14806,15 @@ public: ::Ifc4x2::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x2::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfile initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int64_t > 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. /// @@ -14858,7 +14858,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileWithOffsets initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15142,8 +15142,8 @@ public: std::optional< ::Ifc4x2::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x2::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x2::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x2::IfcPersonAndOrganization& v); @@ -15151,11 +15151,11 @@ public: ::Ifc4x2::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x2::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x2::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15902,31 +15902,31 @@ public: ::Ifc4x2::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x2::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -15934,7 +15934,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -15947,13 +15947,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x2::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19151,8 +19151,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19168,7 +19168,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19405,11 +19405,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x2::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x2::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19429,11 +19429,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcIndexedTriangleTextureMap initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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. /// @@ -20134,8 +20134,8 @@ public: ::Ifc4x2::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20146,7 +20146,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20181,11 +20181,11 @@ public: ::Ifc4x2::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20593,14 +20593,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20608,7 +20608,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -24689,23 +24689,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -26993,11 +26993,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x2::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v); @@ -27006,7 +27006,7 @@ public: void setRelatingConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30115,8 +30115,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30130,7 +30130,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30296,24 +30296,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedFaceSet initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedIrregularNetwork initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -30937,11 +30937,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > >& v); @@ -30959,7 +30959,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -30973,11 +30973,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -30989,7 +30989,7 @@ public: void setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35510,11 +35510,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x2::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36135,7 +36135,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -36647,13 +36647,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -36665,7 +36665,7 @@ public: void setSiteAddress(const ::Ifc4x2::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -39815,8 +39815,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x2::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v); @@ -39831,7 +39831,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -39855,8 +39855,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -39865,7 +39865,7 @@ public: void setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -47790,7 +47790,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[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, /// used in concrete and masonry construction to provide additional strength. A single instance @@ -49331,13 +49331,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuildingElement { public: using IfcBuildingElement::IfcBuildingElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -49356,7 +49356,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3.cpp b/src/ifcparse/schemas/Ifc4x3.cpp index 59aef2de51..0daf872670 100644 --- a/src/ifcparse/schemas/Ifc4x3.cpp +++ b/src/ifcparse/schemas/Ifc4x3.cpp @@ -7376,8 +7376,8 @@ Ifc4x3::IfcAngularVelocityMeasure::operator double() const { return get_attribut // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[57]); } -Ifc4x3::IfcArcIndex Ifc4x3::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3::IfcArcIndex Ifc4x3::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[58]); } @@ -7406,8 +7406,8 @@ Ifc4x3::IfcBoxAlignment::operator std::string() const { return get_attribute_val // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[146]); } -Ifc4x3::IfcCardinalPointReference Ifc4x3::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcCardinalPointReference Ifc4x3::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[189]); } @@ -7416,8 +7416,8 @@ Ifc4x3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { ret // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[197]); } -Ifc4x3::IfcCompoundPlaneAngleMeasure Ifc4x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3::IfcCompoundPlaneAngleMeasure Ifc4x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[227]); } @@ -7426,8 +7426,8 @@ Ifc4x3::IfcContextDependentMeasure::operator double() const { return get_attribu // Function implementations for IfcCountMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[253]); } -Ifc4x3::IfcCountMeasure Ifc4x3::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcCountMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcCountMeasure Ifc4x3::IfcCountMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcCountMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[271]); } @@ -7446,13 +7446,13 @@ Ifc4x3::IfcDateTime::operator std::string() const { return get_attribute_value(0 // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[293]); } -Ifc4x3::IfcDayInMonthNumber Ifc4x3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcDayInMonthNumber Ifc4x3::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[294]); } -Ifc4x3::IfcDayInWeekNumber Ifc4x3::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcDayInWeekNumber Ifc4x3::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[303]); } @@ -7461,8 +7461,8 @@ Ifc4x3::IfcDescriptiveMeasure::operator std::string() const { return get_attribu // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[305]); } -Ifc4x3::IfcDimensionCount Ifc4x3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcDimensionCount Ifc4x3::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[346]); } @@ -7571,13 +7571,13 @@ Ifc4x3::IfcInductanceMeasure::operator double() const { return get_attribute_val // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[552]); } -Ifc4x3::IfcInteger Ifc4x3::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcInteger Ifc4x3::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[553]); } -Ifc4x3::IfcIntegerCountRateMeasure Ifc4x3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcIntegerCountRateMeasure Ifc4x3::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[562]); } @@ -7611,8 +7611,8 @@ Ifc4x3::IfcLengthMeasure::operator double() const { return get_attribute_value(0 // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[611]); } -Ifc4x3::IfcLineIndex Ifc4x3::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3::IfcLineIndex Ifc4x3::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[605]); } @@ -7726,8 +7726,8 @@ Ifc4x3::IfcMonetaryMeasure::operator double() const { return get_attribute_value // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[686]); } -Ifc4x3::IfcMonthInYearNumber Ifc4x3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcMonthInYearNumber Ifc4x3::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[697]); } @@ -7766,8 +7766,8 @@ Ifc4x3::IfcPlaneAngleMeasure::operator double() const { return get_attribute_val // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[777]); } -Ifc4x3::IfcPositiveInteger Ifc4x3::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcPositiveInteger Ifc4x3::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[778]); } @@ -7966,8 +7966,8 @@ Ifc4x3::IfcTimeMeasure::operator double() const { return get_attribute_value(0); // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1212]); } -Ifc4x3::IfcTimeStamp Ifc4x3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3::IfcTimeStamp Ifc4x3::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1216]); } @@ -8489,8 +8489,8 @@ const ifcopenshell::entity& Ifc4x3::IfcAxis2PlacementLinear::Class() { return *( Ifc4x3::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8502,11 +8502,11 @@ void Ifc4x3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { const ifcopenshell::entity& Ifc4x3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[108]); } -Ifc4x3::IfcBSplineCurve 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));; return *this; } +Ifc4x3::IfcBSplineCurve Ifc4x3::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8514,13 +8514,13 @@ void Ifc4x3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType:: const ifcopenshell::entity& Ifc4x3::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[110]); } -Ifc4x3::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3::IfcBSplineCurveWithKnots Ifc4x3::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_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)); } @@ -8534,13 +8534,13 @@ void Ifc4x3::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) const ifcopenshell::entity& Ifc4x3::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[111]); } -Ifc4x3::IfcBSplineSurface 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));; return *this; } +Ifc4x3::IfcBSplineSurface Ifc4x3::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8550,7 +8550,7 @@ void Ifc4x3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType const ifcopenshell::entity& Ifc4x3::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[113]); } -Ifc4x3::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3::IfcBSplineSurfaceWithKnots Ifc4x3::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9939,32 +9939,32 @@ Ifc4x3::IfcDerivedUnit Ifc4x3::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3: // Function implementations for IfcDerivedUnitElement ::Ifc4x3::IfcNamedUnit Ifc4x3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcNamedUnit>(); } void Ifc4x3::IfcDerivedUnitElement::setUnit(const ::Ifc4x3::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[301]); } -Ifc4x3::IfcDerivedUnitElement Ifc4x3::IfcDerivedUnitElement::initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3::IfcDerivedUnitElement Ifc4x3::IfcDerivedUnitElement::initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_types[304]); } -Ifc4x3::IfcDimensionalExponents 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));; return *this; } +Ifc4x3::IfcDimensionalExponents Ifc4x3::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11174,8 +11174,8 @@ const ifcopenshell::entity& Ifc4x3::IfcGeometricCurveSet::Class() { return *((if Ifc4x3::IfcGeometricCurveSet Ifc4x3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3::IfcAxis2Placement Ifc4x3::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcAxis2Placement>(); } @@ -11187,7 +11187,7 @@ std::vector<::Ifc4x3::IfcGeometricRepresentationSubContext> Ifc4x3::IfcGeometric std::vector<::Ifc4x3::IfcCoordinateOperation> Ifc4x3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[244], 0)); } const ifcopenshell::entity& Ifc4x3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_types[508]); } -Ifc4x3::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3::IfcGeometricRepresentationContext Ifc4x3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11400,12 +11400,12 @@ std::optional< double > Ifc4x3::IfcIndexedColourMap::Opacity() const { if(get_at void Ifc4x3::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3::IfcColourRgbList Ifc4x3::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcColourRgbList>(); } void Ifc4x3::IfcIndexedColourMap::setColours(const ::Ifc4x3::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[544]); } -Ifc4x3::IfcIndexedColourMap 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));; return *this; } +Ifc4x3::IfcIndexedColourMap Ifc4x3::IfcIndexedColourMap::initialize(::Ifc4x3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3::IfcCartesianPointList Ifc4x3::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCartesianPointList>(); } @@ -11420,22 +11420,22 @@ const ifcopenshell::entity& Ifc4x3::IfcIndexedPolyCurve::Class() { return *((ifc Ifc4x3::IfcIndexedPolyCurve 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));; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->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 ifcopenshell::entity& Ifc4x3::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[546]); } -Ifc4x3::IfcIndexedPolygonalFace Ifc4x3::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3::IfcIndexedPolygonalFace Ifc4x3::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[547]); } -Ifc4x3::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3::IfcIndexedPolygonalFaceWithVoids Ifc4x3::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedPolygonalTextureMap std::vector< ::Ifc4x3::IfcTextureCoordinateIndices > Ifc4x3::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3::IfcTextureCoordinateIndices>(es); } @@ -11456,12 +11456,12 @@ const ifcopenshell::entity& Ifc4x3::IfcIndexedTextureMap::Class() { return *((if Ifc4x3::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[550]); } -Ifc4x3::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3::IfcIndexedTriangleTextureMap Ifc4x3::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11962,13 +11962,13 @@ std::optional< std::string > Ifc4x3::IfcMaterialLayer::Description() const { if( void Ifc4x3::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_types[644], 0)); } const ifcopenshell::entity& Ifc4x3::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_types[643]); } -Ifc4x3::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3::IfcMaterialLayer > Ifc4x3::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcMaterialLayer>(es); } @@ -12006,7 +12006,7 @@ void Ifc4x3::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< dou const ifcopenshell::entity& Ifc4x3::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_types[646]); } -Ifc4x3::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -12025,15 +12025,15 @@ void Ifc4x3::IfcMaterialProfile::setDescription(const std::optional< std::string void Ifc4x3::IfcMaterialProfile::setMaterial(const ::Ifc4x3::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3::IfcProfileDef Ifc4x3::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcProfileDef>(); } void Ifc4x3::IfcMaterialProfile::setProfile(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_types[649], 2)); } const ifcopenshell::entity& Ifc4x3::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_types[648]); } -Ifc4x3::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12052,24 +12052,24 @@ Ifc4x3::IfcMaterialProfileSet Ifc4x3::IfcMaterialProfileSet::initialize(std::opt // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3::IfcMaterialProfileSet Ifc4x3::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcMaterialProfileSet>(); } void Ifc4x3::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_types[650]); } -Ifc4x3::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3::IfcMaterialProfileSetUsage Ifc4x3::IfcMaterialProfileSetUsage::initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3::IfcMaterialProfileSet Ifc4x3::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcMaterialProfileSet>(); } void Ifc4x3::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_types[651]); } -Ifc4x3::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3::IfcMaterialProfileSetUsageTapering Ifc4x3::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -12077,7 +12077,7 @@ void Ifc4x3::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< d const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_types[652]); } -Ifc4x3::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3::IfcMaterialDefinition Ifc4x3::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcMaterialDefinition>(); } @@ -12472,18 +12472,18 @@ std::optional< ::Ifc4x3::IfcStateEnum::Value > Ifc4x3::IfcOwnerHistory::State() 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, 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);} } +std::optional< int64_t > Ifc4x3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3::IfcApplication Ifc4x3::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcApplication>(); } void Ifc4x3::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_types[724]); } -Ifc4x3::IfcOwnerHistory 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));; return *this; } +Ifc4x3::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12685,18 +12685,18 @@ const ifcopenshell::entity& Ifc4x3::IfcPipeSegmentType::Class() { return *((ifco Ifc4x3::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[755]); } -Ifc4x3::IfcPixelTexture 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));; return *this; } +Ifc4x3::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3::IfcPoint Ifc4x3::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcPoint>(); } @@ -12811,12 +12811,12 @@ Ifc4x3::IfcPolygonalBoundedHalfSpace Ifc4x3::IfcPolygonalBoundedHalfSpace::initi // Function implementations for IfcPolygonalFaceSet std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > Ifc4x3::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3::IfcIndexedPolygonalFace>(es); } void Ifc4x3::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[771]); } -Ifc4x3::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3::IfcPolygonalFaceSet Ifc4x3::IfcPolygonalFaceSet::initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3::IfcCartesianPoint > Ifc4x3::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcCartesianPoint>(es); } @@ -13313,14 +13313,14 @@ const ifcopenshell::entity& Ifc4x3::IfcQuantityArea::Class() { return *((ifcopen Ifc4x3::IfcQuantityArea 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)); }; return *this; } // Function implementations for IfcQuantityCount -int Ifc4x3::IfcQuantityCount::CountValue() const { int v = get_attribute_value(3); return v; } -void Ifc4x3::IfcQuantityCount::setCountValue(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3::IfcQuantityCount::CountValue() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3::IfcQuantityCount::setCountValue(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< std::string > Ifc4x3::IfcQuantityCount::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_types[846]); } -Ifc4x3::IfcQuantityCount 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)); }; return *this; } +Ifc4x3::IfcQuantityCount Ifc4x3::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, int64_t 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)); }; return *this; } // Function implementations for IfcQuantityLength double Ifc4x3::IfcQuantityLength::LengthValue() const { double v = get_attribute_value(3); return v; } @@ -13464,7 +13464,7 @@ void Ifc4x3::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< const ifcopenshell::entity& Ifc4x3::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[871]); } -Ifc4x3::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3::IfcRationalBSplineCurveWithKnots Ifc4x3::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13472,7 +13472,7 @@ void Ifc4x3::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vecto const ifcopenshell::entity& Ifc4x3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[872]); } -Ifc4x3::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3::IfcRationalBSplineSurfaceWithKnots Ifc4x3::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13531,24 +13531,24 @@ Ifc4x3::IfcRectangularTrimmedSurface Ifc4x3::IfcRectangularTrimmedSurface::initi // 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, 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; } -void Ifc4x3::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > Ifc4x3::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_types[878]); } -Ifc4x3::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3::IfcRecurrencePattern Ifc4x3::IfcRecurrencePattern::initialize(::Ifc4x3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13557,14 +13557,14 @@ std::optional< std::string > Ifc4x3::IfcReference::AttributeIdentifier() const { void Ifc4x3::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3::IfcReference Ifc4x3::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcReference>(); } void Ifc4x3::IfcReference::setInnerReference(const ::Ifc4x3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[880]); } -Ifc4x3::IfcReference 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));; return *this; } +Ifc4x3::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13603,12 +13603,12 @@ std::optional< double > Ifc4x3::IfcReinforcementBarProperties::EffectiveDepth() 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; } void Ifc4x3::IfcReinforcementBarProperties::setNominalBarDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3::IfcReinforcementBarProperties::setBarCount(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } const ifcopenshell::entity& Ifc4x3::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[887]); } -Ifc4x3::IfcReinforcementBarProperties 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)); }; return *this; } +Ifc4x3::IfcReinforcementBarProperties 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< int64_t > 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)); }; return *this; } // 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; } @@ -13897,10 +13897,10 @@ const ifcopenshell::entity& Ifc4x3::IfcRelConnectsElements::Class() { return *(( Ifc4x3::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13908,7 +13908,7 @@ void Ifc4x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x const ifcopenshell::entity& Ifc4x3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[920]); } -Ifc4x3::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3::IfcPort Ifc4x3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcPort>(); } @@ -14761,10 +14761,10 @@ const ifcopenshell::entity& Ifc4x3::IfcSineSpiral::Class() { return *((ifcopensh Ifc4x3::IfcSineSpiral 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14774,7 +14774,7 @@ void Ifc4x3::IfcSite::setSiteAddress(const ::Ifc4x3::IfcPostalAddress& v) { set_ const ifcopenshell::entity& Ifc4x3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1024]); } -Ifc4x3::IfcSite 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));; return *this; } +Ifc4x3::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14966,10 +14966,10 @@ const ifcopenshell::entity& Ifc4x3::IfcStair::Class() { return *((ifcopenshell:: Ifc4x3::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -14979,7 +14979,7 @@ void Ifc4x3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3::If const ifcopenshell::entity& Ifc4x3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1068]); } -Ifc4x3::IfcStairFlight 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))); }; return *this; } +Ifc4x3::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3::IfcStairFlightTypeEnum::Value Ifc4x3::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15718,8 +15718,8 @@ std::optional< std::string > Ifc4x3::IfcTask::WorkMethod() const { if(get_attrib void Ifc4x3::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15727,7 +15727,7 @@ void Ifc4x3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3::IfcTaskTy const ifcopenshell::entity& Ifc4x3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1158]); } -Ifc4x3::IfcTask 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))); }; return *this; } +Ifc4x3::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -15992,23 +15992,23 @@ const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateGenerator::Class() { ret Ifc4x3::IfcTextureCoordinateGenerator 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)); }; return *this; } // Function implementations for IfcTextureCoordinateIndices -std::vector< int > /*[3:?]*/ Ifc4x3::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } -void Ifc4x3::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::vector< int64_t > /*[3:?]*/ Ifc4x3::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::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()->get_inverse(data()->id(), IFC4X3_types[548], 3)); } const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1193]); } -Ifc4x3::IfcTextureCoordinateIndices 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));; return *this; } +Ifc4x3::IfcTextureCoordinateIndices Ifc4x3::IfcTextureCoordinateIndices::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));; return *this; } // Function implementations for IfcTextureCoordinateIndicesWithVoids -std::vector< std::vector< int > > Ifc4x3::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(2); return v; } -void Ifc4x3::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +std::vector< std::vector< int64_t > > Ifc4x3::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(2); return v; } +void Ifc4x3::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1194]); } -Ifc4x3::IfcTextureCoordinateIndicesWithVoids 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));; return *this; } +Ifc4x3::IfcTextureCoordinateIndicesWithVoids Ifc4x3::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices));; return *this; } // Function implementations for IfcTextureMap std::vector< ::Ifc4x3::IfcTextureVertex > Ifc4x3::IfcTextureMap::Vertices() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3::IfcTextureVertex>(es); } @@ -16190,22 +16190,22 @@ Ifc4x3::IfcTrapeziumProfileDef Ifc4x3::IfcTrapeziumProfileDef::initialize(::Ifc4 // 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; } void Ifc4x3::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -void Ifc4x3::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::vector< std::vector< int64_t > > Ifc4x3::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1231]); } -Ifc4x3::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1232]); } -Ifc4x3::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3::IfcCurve Ifc4x3::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3.h b/src/ifcparse/schemas/Ifc4x3.h index fa24f44cea..e80aa93d63 100644 --- a/src/ifcparse/schemas/Ifc4x3.h +++ b/src/ifcparse/schemas/Ifc4x3.h @@ -11919,8 +11919,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -12016,8 +12016,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -12091,8 +12091,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -12119,8 +12119,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCountMeasure initialize(int v); - operator int() const; + IfcCountMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcCurvatureMeasure is a measure for curvature, which is defined as the change of slope per length. /// This is typically a computed value in structural analysis. @@ -12194,8 +12194,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -12236,8 +12236,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -12265,8 +12265,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12605,8 +12605,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12620,8 +12620,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12721,8 +12721,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -13082,8 +13082,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -13176,8 +13176,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13735,8 +13735,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14609,11 +14609,11 @@ public: ::Ifc4x3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14637,29 +14637,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -15094,12 +15094,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15208,7 +15208,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -15260,15 +15260,15 @@ public: ::Ifc4x3::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfile initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int64_t > 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. /// @@ -15312,7 +15312,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileWithOffsets initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15597,8 +15597,8 @@ public: std::optional< ::Ifc4x3::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3::IfcPersonAndOrganization& v); @@ -15606,11 +15606,11 @@ public: ::Ifc4x3::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -16229,8 +16229,8 @@ public: using IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity; /// Count measure value of this quantity. - int CountValue() const; - void setCountValue(const int& v); + int64_t CountValue() const; + void setCountValue(const int64_t& v); /// A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only. /// /// IFC2x4 CHANGE Attribute added to the end of the attribute list. @@ -16238,7 +16238,7 @@ public: void setFormula(const std::optional< std::string >& v); static const ifcopenshell::entity& Class(); - 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); + IfcQuantityCount initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, int64_t 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. /// @@ -16354,31 +16354,31 @@ public: ::Ifc4x3::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16386,7 +16386,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16399,13 +16399,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -17810,25 +17810,25 @@ class IFC_SCHEMA_API IfcTextureCoordinateIndices : public express::Entity { public: using express::Entity::Entity; - std::vector< int > /*[3:?]*/ TexCoordIndex() const; - void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ TexCoordIndex() const; + void setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); ::Ifc4x3::IfcIndexedPolygonalFace TexCoordsOf() const; void setTexCoordsOf(const ::Ifc4x3::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndices initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf); + IfcTextureCoordinateIndices initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_SCHEMA_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: using IfcTextureCoordinateIndices::IfcTextureCoordinateIndices; - std::vector< std::vector< int > > InnerTexCoordIndices() const; - void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerTexCoordIndices() const; + void setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); + IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the /// 2-dimensional texture coordinates to the surface onto which it is @@ -19666,8 +19666,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19683,7 +19683,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19920,11 +19920,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19944,11 +19944,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcIndexedTriangleTextureMap initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int64_t > > > 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. /// @@ -20645,8 +20645,8 @@ public: ::Ifc4x3::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20657,7 +20657,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20692,11 +20692,11 @@ public: ::Ifc4x3::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -21109,14 +21109,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -21124,7 +21124,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -21752,11 +21752,11 @@ public: std::optional< double > NominalBarDiameter() const; void setNominalBarDiameter(const std::optional< double >& v); /// The number of bars with identical nominal diameter and steel grade included in the specific reinforcement configuration. - std::optional< int > BarCount() const; - void setBarCount(const std::optional< int >& v); + std::optional< int64_t > BarCount() const; + void setBarCount(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -25105,24 +25105,24 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; class IFC_SCHEMA_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { @@ -27420,11 +27420,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v); @@ -27433,7 +27433,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30557,8 +30557,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30572,7 +30572,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30690,24 +30690,24 @@ public: std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedFaceSet initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcTriangulatedIrregularNetwork initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; class IFC_SCHEMA_API IfcVehicleType : public IfcTransportationDeviceType { @@ -31297,11 +31297,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > >& v); @@ -31319,7 +31319,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31333,11 +31333,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31349,7 +31349,7 @@ public: void setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -36112,11 +36112,11 @@ public: 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); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36770,7 +36770,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37416,13 +37416,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37434,7 +37434,7 @@ public: void setSiteAddress(const ::Ifc4x3::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40567,8 +40567,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v); @@ -40583,7 +40583,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40607,8 +40607,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40617,7 +40617,7 @@ public: void setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -47178,7 +47178,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -48483,13 +48483,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -48508,7 +48508,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_add1.cpp b/src/ifcparse/schemas/Ifc4x3_add1.cpp index fc80044f27..91ee2ed512 100644 --- a/src/ifcparse/schemas/Ifc4x3_add1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add1.cpp @@ -7231,8 +7231,8 @@ Ifc4x3_add1::IfcAngularVelocityMeasure::operator double() const { return get_att // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_add1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[57]); } -Ifc4x3_add1::IfcArcIndex Ifc4x3_add1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcArcIndex Ifc4x3_add1::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[58]); } @@ -7261,8 +7261,8 @@ Ifc4x3_add1::IfcBoxAlignment::operator std::string() const { return get_attribut // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[145]); } -Ifc4x3_add1::IfcCardinalPointReference Ifc4x3_add1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcCardinalPointReference Ifc4x3_add1::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_add1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[188]); } @@ -7271,8 +7271,8 @@ Ifc4x3_add1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[196]); } -Ifc4x3_add1::IfcCompoundPlaneAngleMeasure Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcCompoundPlaneAngleMeasure Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[226]); } @@ -7281,8 +7281,8 @@ Ifc4x3_add1::IfcContextDependentMeasure::operator double() const { return get_at // Function implementations for IfcCountMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[252]); } -Ifc4x3_add1::IfcCountMeasure Ifc4x3_add1::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcCountMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcCountMeasure Ifc4x3_add1::IfcCountMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcCountMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[270]); } @@ -7301,13 +7301,13 @@ Ifc4x3_add1::IfcDateTime::operator std::string() const { return get_attribute_va // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[292]); } -Ifc4x3_add1::IfcDayInMonthNumber Ifc4x3_add1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcDayInMonthNumber Ifc4x3_add1::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[293]); } -Ifc4x3_add1::IfcDayInWeekNumber Ifc4x3_add1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcDayInWeekNumber Ifc4x3_add1::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[302]); } @@ -7316,8 +7316,8 @@ Ifc4x3_add1::IfcDescriptiveMeasure::operator std::string() const { return get_at // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[304]); } -Ifc4x3_add1::IfcDimensionCount Ifc4x3_add1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcDimensionCount Ifc4x3_add1::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[343]); } @@ -7426,13 +7426,13 @@ Ifc4x3_add1::IfcInductanceMeasure::operator double() const { return get_attribut // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_add1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[550]); } -Ifc4x3_add1::IfcInteger Ifc4x3_add1::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcInteger Ifc4x3_add1::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[551]); } -Ifc4x3_add1::IfcIntegerCountRateMeasure Ifc4x3_add1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcIntegerCountRateMeasure Ifc4x3_add1::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[560]); } @@ -7466,8 +7466,8 @@ Ifc4x3_add1::IfcLengthMeasure::operator double() const { return get_attribute_va // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[610]); } -Ifc4x3_add1::IfcLineIndex Ifc4x3_add1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcLineIndex Ifc4x3_add1::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[604]); } @@ -7581,8 +7581,8 @@ Ifc4x3_add1::IfcMonetaryMeasure::operator double() const { return get_attribute_ // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[686]); } -Ifc4x3_add1::IfcMonthInYearNumber Ifc4x3_add1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcMonthInYearNumber Ifc4x3_add1::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[697]); } @@ -7621,8 +7621,8 @@ Ifc4x3_add1::IfcPlaneAngleMeasure::operator double() const { return get_attribut // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[776]); } -Ifc4x3_add1::IfcPositiveInteger Ifc4x3_add1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcPositiveInteger Ifc4x3_add1::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[777]); } @@ -7826,8 +7826,8 @@ Ifc4x3_add1::IfcTimeMeasure::operator double() const { return get_attribute_valu // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1213]); } -Ifc4x3_add1::IfcTimeStamp Ifc4x3_add1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_add1::IfcTimeStamp Ifc4x3_add1::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add1::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1217]); } @@ -8354,8 +8354,8 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcAxis2PlacementLinear::Class() { retu Ifc4x3_add1::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_add1::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add1::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add1::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8367,11 +8367,11 @@ void Ifc4x3_add1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[107]); } -Ifc4x3_add1::IfcBSplineCurve 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));; return *this; } +Ifc4x3_add1::IfcBSplineCurve Ifc4x3_add1::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_add1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8379,13 +8379,13 @@ void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add1::Ifc const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[109]); } -Ifc4x3_add1::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_add1::IfcBSplineCurveWithKnots Ifc4x3_add1::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_add1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add1::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add1::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add1::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add1::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add1::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8399,13 +8399,13 @@ void Ifc4x3_add1::IfcBSplineSurface::setSelfIntersect(const boost::logic::triboo const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[110]); } -Ifc4x3_add1::IfcBSplineSurface 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));; return *this; } +Ifc4x3_add1::IfcBSplineSurface Ifc4x3_add1::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8415,7 +8415,7 @@ void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add1::I const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[112]); } -Ifc4x3_add1::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_add1::IfcBSplineSurfaceWithKnots Ifc4x3_add1::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9801,32 +9801,32 @@ Ifc4x3_add1::IfcDerivedUnit Ifc4x3_add1::IfcDerivedUnit::initialize(std::vector< // Function implementations for IfcDerivedUnitElement ::Ifc4x3_add1::IfcNamedUnit Ifc4x3_add1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcNamedUnit>(); } void Ifc4x3_add1::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add1::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_add1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[300]); } -Ifc4x3_add1::IfcDerivedUnitElement Ifc4x3_add1::IfcDerivedUnitElement::initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_add1::IfcDerivedUnitElement Ifc4x3_add1::IfcDerivedUnitElement::initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_add1::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add1::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_add1::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_add1::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_add1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_add1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_add1::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_add1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_add1::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add1::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_add1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[303]); } -Ifc4x3_add1::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_add1::IfcDimensionalExponents Ifc4x3_add1::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_add1::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11048,8 +11048,8 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricCurveSet::Class() { return Ifc4x3_add1::IfcGeometricCurveSet Ifc4x3_add1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_add1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_add1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_add1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_add1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_add1::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add1::IfcAxis2Placement Ifc4x3_add1::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcAxis2Placement>(); } @@ -11061,7 +11061,7 @@ std::vector<::Ifc4x3_add1::IfcGeometricRepresentationSubContext> Ifc4x3_add1::If std::vector<::Ifc4x3_add1::IfcCoordinateOperation> Ifc4x3_add1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[243], 0)); } const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[506]); } -Ifc4x3_add1::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_add1::IfcGeometricRepresentationContext Ifc4x3_add1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11274,12 +11274,12 @@ std::optional< double > Ifc4x3_add1::IfcIndexedColourMap::Opacity() const { if(g void Ifc4x3_add1::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_add1::IfcColourRgbList Ifc4x3_add1::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcColourRgbList>(); } void Ifc4x3_add1::IfcIndexedColourMap::setColours(const ::Ifc4x3_add1::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_add1::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_add1::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[542]); } -Ifc4x3_add1::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_add1::IfcIndexedColourMap Ifc4x3_add1::IfcIndexedColourMap::initialize(::Ifc4x3_add1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_add1::IfcCartesianPointList Ifc4x3_add1::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCartesianPointList>(); } @@ -11294,22 +11294,22 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolyCurve::Class() { return * Ifc4x3_add1::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_add1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_add1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->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 ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[544]); } -Ifc4x3_add1::IfcIndexedPolygonalFace Ifc4x3_add1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_add1::IfcIndexedPolygonalFace Ifc4x3_add1::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[545]); } -Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedPolygonalTextureMap std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices > Ifc4x3_add1::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add1::IfcTextureCoordinateIndices>(es); } @@ -11330,12 +11330,12 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedTextureMap::Class() { return Ifc4x3_add1::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_add1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_add1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[548]); } -Ifc4x3_add1::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_add1::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11844,13 +11844,13 @@ std::optional< std::string > Ifc4x3_add1::IfcMaterialLayer::Description() const void Ifc4x3_add1::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add1::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_add1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add1::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_ADD1_types[644], 0)); } const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[643]); } -Ifc4x3_add1::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_add1::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_add1::IfcMaterialLayer > Ifc4x3_add1::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcMaterialLayer>(es); } @@ -11888,7 +11888,7 @@ void Ifc4x3_add1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[646]); } -Ifc4x3_add1::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_add1::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11907,15 +11907,15 @@ void Ifc4x3_add1::IfcMaterialProfile::setDescription(const std::optional< std::s void Ifc4x3_add1::IfcMaterialProfile::setMaterial(const ::Ifc4x3_add1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_add1::IfcProfileDef Ifc4x3_add1::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcProfileDef>(); } void Ifc4x3_add1::IfcMaterialProfile::setProfile(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_add1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add1::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_ADD1_types[649], 2)); } const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[648]); } -Ifc4x3_add1::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_add1::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_add1::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11934,24 +11934,24 @@ Ifc4x3_add1::IfcMaterialProfileSet Ifc4x3_add1::IfcMaterialProfileSet::initializ // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_add1::IfcMaterialProfileSet Ifc4x3_add1::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcMaterialProfileSet>(); } void Ifc4x3_add1::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_add1::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_add1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_add1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_add1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_add1::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[650]); } -Ifc4x3_add1::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_add1::IfcMaterialProfileSetUsage Ifc4x3_add1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_add1::IfcMaterialProfileSet Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcMaterialProfileSet>(); } void Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_add1::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[651]); } -Ifc4x3_add1::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_add1::IfcMaterialProfileSetUsageTapering Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_add1::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -11959,7 +11959,7 @@ void Ifc4x3_add1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vect const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[652]); } -Ifc4x3_add1::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_add1::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_add1::IfcMaterialDefinition Ifc4x3_add1::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcMaterialDefinition>(); } @@ -12354,18 +12354,18 @@ std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > Ifc4x3_add1::IfcOwnerHistory 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, 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);} } +std::optional< int64_t > Ifc4x3_add1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_add1::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_add1::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add1::IfcApplication Ifc4x3_add1::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcApplication>(); } void Ifc4x3_add1::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_add1::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_add1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_add1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_add1::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_add1::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_add1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[723]); } -Ifc4x3_add1::IfcOwnerHistory 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));; return *this; } +Ifc4x3_add1::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_add1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add1::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12567,18 +12567,18 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcPipeSegmentType::Class() { return *( Ifc4x3_add1::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_add1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_add1::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_add1::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_add1::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_add1::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_add1::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_add1::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add1::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_add1::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_add1::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_add1::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_add1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[754]); } -Ifc4x3_add1::IfcPixelTexture 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));; return *this; } +Ifc4x3_add1::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_add1::IfcPoint Ifc4x3_add1::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcPoint>(); } @@ -12695,12 +12695,12 @@ std::optional< bool > Ifc4x3_add1::IfcPolygonalFaceSet::Closed() const { if(get_ void Ifc4x3_add1::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace > Ifc4x3_add1::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add1::IfcIndexedPolygonalFace>(es); } void Ifc4x3_add1::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_add1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[770]); } -Ifc4x3_add1::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_add1::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Ifc4x3_add1::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcCartesianPoint>(es); } @@ -13201,14 +13201,14 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityArea::Class() { return *((if Ifc4x3_add1::IfcQuantityArea 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)); }; return *this; } // Function implementations for IfcQuantityCount -int Ifc4x3_add1::IfcQuantityCount::CountValue() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcQuantityCount::setCountValue(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_add1::IfcQuantityCount::CountValue() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcQuantityCount::setCountValue(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< std::string > Ifc4x3_add1::IfcQuantityCount::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[845]); } -Ifc4x3_add1::IfcQuantityCount 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)); }; return *this; } +Ifc4x3_add1::IfcQuantityCount Ifc4x3_add1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, int64_t 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)); }; return *this; } // Function implementations for IfcQuantityLength double Ifc4x3_add1::IfcQuantityLength::LengthValue() const { double v = get_attribute_value(3); return v; } @@ -13352,7 +13352,7 @@ void Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::ve const ifcopenshell::entity& Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[870]); } -Ifc4x3_add1::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_add1::IfcRationalBSplineCurveWithKnots Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13360,7 +13360,7 @@ void Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std:: const ifcopenshell::entity& Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[871]); } -Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_add1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13419,24 +13419,24 @@ Ifc4x3_add1::IfcRectangularTrimmedSurface Ifc4x3_add1::IfcRectangularTrimmedSurf // 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, 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; } -void Ifc4x3_add1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_add1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add1::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_add1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_add1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_add1::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_add1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_add1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add1::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > Ifc4x3_add1::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_add1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[877]); } -Ifc4x3_add1::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_add1::IfcRecurrencePattern Ifc4x3_add1::IfcRecurrencePattern::initialize(::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13445,14 +13445,14 @@ std::optional< std::string > Ifc4x3_add1::IfcReference::AttributeIdentifier() co void Ifc4x3_add1::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add1::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add1::IfcReference Ifc4x3_add1::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add1::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcReference>(); } void Ifc4x3_add1::IfcReference::setInnerReference(const ::Ifc4x3_add1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_add1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[879]); } -Ifc4x3_add1::IfcReference 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));; return *this; } +Ifc4x3_add1::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13491,12 +13491,12 @@ std::optional< double > Ifc4x3_add1::IfcReinforcementBarProperties::EffectiveDep 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; } void Ifc4x3_add1::IfcReinforcementBarProperties::setNominalBarDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_add1::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_add1::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcReinforcementBarProperties::setBarCount(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[886]); } -Ifc4x3_add1::IfcReinforcementBarProperties 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)); }; return *this; } +Ifc4x3_add1::IfcReinforcementBarProperties 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< int64_t > 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)); }; return *this; } // 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; } @@ -13785,10 +13785,10 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsElements::Class() { retur Ifc4x3_add1::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_add1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_add1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_add1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13796,7 +13796,7 @@ void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingConnectionType(const :: const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[919]); } -Ifc4x3_add1::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_add1::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_add1::IfcPort Ifc4x3_add1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcPort>(); } @@ -14661,10 +14661,10 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcSineSpiral::Class() { return *((ifco Ifc4x3_add1::IfcSineSpiral 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_add1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3_add1::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_add1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_add1::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_add1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_add1::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_add1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_add1::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add1::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14674,7 +14674,7 @@ void Ifc4x3_add1::IfcSite::setSiteAddress(const ::Ifc4x3_add1::IfcPostalAddress& const ifcopenshell::entity& Ifc4x3_add1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1024]); } -Ifc4x3_add1::IfcSite 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));; return *this; } +Ifc4x3_add1::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14866,10 +14866,10 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcStair::Class() { return *((ifcopensh Ifc4x3_add1::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_add1::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_add1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_add1::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_add1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_add1::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_add1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_add1::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add1::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14879,7 +14879,7 @@ void Ifc4x3_add1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x const ifcopenshell::entity& Ifc4x3_add1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1068]); } -Ifc4x3_add1::IfcStairFlight 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))); }; return *this; } +Ifc4x3_add1::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value Ifc4x3_add1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_add1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15618,8 +15618,8 @@ std::optional< std::string > Ifc4x3_add1::IfcTask::WorkMethod() const { if(get_a void Ifc4x3_add1::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_add1::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_add1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_add1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_add1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_add1::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15627,7 +15627,7 @@ void Ifc4x3_add1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add1: const ifcopenshell::entity& Ifc4x3_add1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1159]); } -Ifc4x3_add1::IfcTask 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))); }; return *this; } +Ifc4x3_add1::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -15890,23 +15890,23 @@ const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateGenerator::Class() Ifc4x3_add1::IfcTextureCoordinateGenerator 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)); }; return *this; } // Function implementations for IfcTextureCoordinateIndices -std::vector< int > /*[3:?]*/ Ifc4x3_add1::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } -void Ifc4x3_add1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::vector< int64_t > /*[3:?]*/ Ifc4x3_add1::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_add1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::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()->get_inverse(data()->id(), IFC4X3_ADD1_types[546], 3)); } const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1194]); } -Ifc4x3_add1::IfcTextureCoordinateIndices 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));; return *this; } +Ifc4x3_add1::IfcTextureCoordinateIndices Ifc4x3_add1::IfcTextureCoordinateIndices::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));; return *this; } // Function implementations for IfcTextureCoordinateIndicesWithVoids -std::vector< std::vector< int > > Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(2); return v; } -void Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +std::vector< std::vector< int64_t > > Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(2); return v; } +void Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1195]); } -Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids 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));; return *this; } +Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices));; return *this; } // Function implementations for IfcTextureMap std::vector< ::Ifc4x3_add1::IfcTextureVertex > Ifc4x3_add1::IfcTextureMap::Vertices() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add1::IfcTextureVertex>(es); } @@ -16090,22 +16090,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_add1::IfcTriangulat void Ifc4x3_add1::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_add1::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_add1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_add1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_add1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_add1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_add1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1232]); } -Ifc4x3_add1::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_add1::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_add1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_add1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1233]); } -Ifc4x3_add1::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_add1::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_add1::IfcCurve Ifc4x3_add1::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_add1.h b/src/ifcparse/schemas/Ifc4x3_add1.h index e2e9a354f9..3600ef177c 100644 --- a/src/ifcparse/schemas/Ifc4x3_add1.h +++ b/src/ifcparse/schemas/Ifc4x3_add1.h @@ -11594,8 +11594,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11691,8 +11691,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11766,8 +11766,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11794,8 +11794,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCountMeasure initialize(int v); - operator int() const; + IfcCountMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcCurvatureMeasure is a measure for curvature, which is defined as the change of slope per length. /// This is typically a computed value in structural analysis. @@ -11869,8 +11869,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11911,8 +11911,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11940,8 +11940,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12280,8 +12280,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12295,8 +12295,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12396,8 +12396,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12757,8 +12757,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12851,8 +12851,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13419,8 +13419,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14290,11 +14290,11 @@ public: ::Ifc4x3_add1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14318,29 +14318,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14801,12 +14801,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14915,7 +14915,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14967,15 +14967,15 @@ public: ::Ifc4x3_add1::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_add1::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15019,7 +15019,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15304,8 +15304,8 @@ public: std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_add1::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_add1::IfcPersonAndOrganization& v); @@ -15313,11 +15313,11 @@ public: ::Ifc4x3_add1::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_add1::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_add1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add1::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15940,8 +15940,8 @@ public: using IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity; /// Count measure value of this quantity. - int CountValue() const; - void setCountValue(const int& v); + int64_t CountValue() const; + void setCountValue(const int64_t& v); /// A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only. /// /// IFC2x4 CHANGE Attribute added to the end of the attribute list. @@ -15949,7 +15949,7 @@ public: void setFormula(const std::optional< std::string >& v); static const ifcopenshell::entity& Class(); - 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); + IfcQuantityCount initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, int64_t 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. /// @@ -16065,31 +16065,31 @@ public: ::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16097,7 +16097,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16110,13 +16110,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_add1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_add1::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -17536,25 +17536,25 @@ class IFC_SCHEMA_API IfcTextureCoordinateIndices : public express::Entity { public: using express::Entity::Entity; - std::vector< int > /*[3:?]*/ TexCoordIndex() const; - void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ TexCoordIndex() const; + void setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); ::Ifc4x3_add1::IfcIndexedPolygonalFace TexCoordsOf() const; void setTexCoordsOf(const ::Ifc4x3_add1::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndices initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf); + IfcTextureCoordinateIndices initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_SCHEMA_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: using IfcTextureCoordinateIndices::IfcTextureCoordinateIndices; - std::vector< std::vector< int > > InnerTexCoordIndices() const; - void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerTexCoordIndices() const; + void setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); + IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the /// 2-dimensional texture coordinates to the surface onto which it is @@ -19405,8 +19405,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19422,7 +19422,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19659,11 +19659,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_add1::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_add1::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_add1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_add1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19683,11 +19683,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20384,8 +20384,8 @@ public: ::Ifc4x3_add1::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_add1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20396,7 +20396,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20431,11 +20431,11 @@ public: ::Ifc4x3_add1::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_add1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20848,14 +20848,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20863,7 +20863,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -21491,11 +21491,11 @@ public: std::optional< double > NominalBarDiameter() const; void setNominalBarDiameter(const std::optional< double >& v); /// The number of bars with identical nominal diameter and steel grade included in the specific reinforcement configuration. - std::optional< int > BarCount() const; - void setBarCount(const std::optional< int >& v); + std::optional< int64_t > BarCount() const; + void setBarCount(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -24844,24 +24844,24 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; class IFC_SCHEMA_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { @@ -27159,11 +27159,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_add1::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v); @@ -27172,7 +27172,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30296,8 +30296,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30311,7 +30311,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_add1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30429,24 +30429,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; class IFC_SCHEMA_API IfcVehicleType : public IfcTransportationDeviceType { @@ -31036,11 +31036,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > >& v); @@ -31058,7 +31058,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31072,11 +31072,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31088,7 +31088,7 @@ public: void setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35853,11 +35853,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36511,7 +36511,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37157,13 +37157,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37175,7 +37175,7 @@ public: void setSiteAddress(const ::Ifc4x3_add1::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40308,8 +40308,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_add1::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v); @@ -40324,7 +40324,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40348,8 +40348,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40358,7 +40358,7 @@ public: void setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -46919,7 +46919,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -48224,13 +48224,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -48249,7 +48249,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_add2.cpp b/src/ifcparse/schemas/Ifc4x3_add2.cpp index ac3e1e7861..e0186226bd 100644 --- a/src/ifcparse/schemas/Ifc4x3_add2.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add2.cpp @@ -7231,8 +7231,8 @@ Ifc4x3_add2::IfcAngularVelocityMeasure::operator double() const { return get_att // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_add2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[57]); } -Ifc4x3_add2::IfcArcIndex Ifc4x3_add2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcArcIndex Ifc4x3_add2::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[58]); } @@ -7261,8 +7261,8 @@ Ifc4x3_add2::IfcBoxAlignment::operator std::string() const { return get_attribut // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[145]); } -Ifc4x3_add2::IfcCardinalPointReference Ifc4x3_add2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcCardinalPointReference Ifc4x3_add2::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_add2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[188]); } @@ -7271,8 +7271,8 @@ Ifc4x3_add2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[196]); } -Ifc4x3_add2::IfcCompoundPlaneAngleMeasure Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcCompoundPlaneAngleMeasure Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[226]); } @@ -7281,8 +7281,8 @@ Ifc4x3_add2::IfcContextDependentMeasure::operator double() const { return get_at // Function implementations for IfcCountMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[252]); } -Ifc4x3_add2::IfcCountMeasure Ifc4x3_add2::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcCountMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcCountMeasure Ifc4x3_add2::IfcCountMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcCountMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[270]); } @@ -7301,13 +7301,13 @@ Ifc4x3_add2::IfcDateTime::operator std::string() const { return get_attribute_va // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[292]); } -Ifc4x3_add2::IfcDayInMonthNumber Ifc4x3_add2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcDayInMonthNumber Ifc4x3_add2::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[293]); } -Ifc4x3_add2::IfcDayInWeekNumber Ifc4x3_add2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcDayInWeekNumber Ifc4x3_add2::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[302]); } @@ -7316,8 +7316,8 @@ Ifc4x3_add2::IfcDescriptiveMeasure::operator std::string() const { return get_at // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[304]); } -Ifc4x3_add2::IfcDimensionCount Ifc4x3_add2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcDimensionCount Ifc4x3_add2::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[343]); } @@ -7426,13 +7426,13 @@ Ifc4x3_add2::IfcInductanceMeasure::operator double() const { return get_attribut // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_add2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[550]); } -Ifc4x3_add2::IfcInteger Ifc4x3_add2::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcInteger Ifc4x3_add2::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[551]); } -Ifc4x3_add2::IfcIntegerCountRateMeasure Ifc4x3_add2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcIntegerCountRateMeasure Ifc4x3_add2::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[560]); } @@ -7466,8 +7466,8 @@ Ifc4x3_add2::IfcLengthMeasure::operator double() const { return get_attribute_va // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[610]); } -Ifc4x3_add2::IfcLineIndex Ifc4x3_add2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcLineIndex Ifc4x3_add2::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[604]); } @@ -7581,8 +7581,8 @@ Ifc4x3_add2::IfcMonetaryMeasure::operator double() const { return get_attribute_ // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[686]); } -Ifc4x3_add2::IfcMonthInYearNumber Ifc4x3_add2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcMonthInYearNumber Ifc4x3_add2::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[697]); } @@ -7621,8 +7621,8 @@ Ifc4x3_add2::IfcPlaneAngleMeasure::operator double() const { return get_attribut // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[776]); } -Ifc4x3_add2::IfcPositiveInteger Ifc4x3_add2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcPositiveInteger Ifc4x3_add2::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[777]); } @@ -7826,8 +7826,8 @@ Ifc4x3_add2::IfcTimeMeasure::operator double() const { return get_attribute_valu // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1213]); } -Ifc4x3_add2::IfcTimeStamp Ifc4x3_add2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_add2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_add2::IfcTimeStamp Ifc4x3_add2::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_add2::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1217]); } @@ -8354,8 +8354,8 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcAxis2PlacementLinear::Class() { retu Ifc4x3_add2::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_add2::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add2::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add2::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8367,11 +8367,11 @@ void Ifc4x3_add2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[107]); } -Ifc4x3_add2::IfcBSplineCurve 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));; return *this; } +Ifc4x3_add2::IfcBSplineCurve Ifc4x3_add2::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8379,13 +8379,13 @@ void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add2::Ifc const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[109]); } -Ifc4x3_add2::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_add2::IfcBSplineCurveWithKnots Ifc4x3_add2::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_add2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add2::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add2::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add2::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add2::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add2::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8399,13 +8399,13 @@ void Ifc4x3_add2::IfcBSplineSurface::setSelfIntersect(const boost::logic::triboo const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[110]); } -Ifc4x3_add2::IfcBSplineSurface 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));; return *this; } +Ifc4x3_add2::IfcBSplineSurface Ifc4x3_add2::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8415,7 +8415,7 @@ void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add2::I const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[112]); } -Ifc4x3_add2::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_add2::IfcBSplineSurfaceWithKnots Ifc4x3_add2::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9803,32 +9803,32 @@ Ifc4x3_add2::IfcDerivedUnit Ifc4x3_add2::IfcDerivedUnit::initialize(std::vector< // Function implementations for IfcDerivedUnitElement ::Ifc4x3_add2::IfcNamedUnit Ifc4x3_add2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcNamedUnit>(); } void Ifc4x3_add2::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_add2::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add2::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add2::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_add2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[300]); } -Ifc4x3_add2::IfcDerivedUnitElement Ifc4x3_add2::IfcDerivedUnitElement::initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_add2::IfcDerivedUnitElement Ifc4x3_add2::IfcDerivedUnitElement::initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_add2::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_add2::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_add2::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_add2::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_add2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_add2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_add2::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_add2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_add2::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add2::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_add2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[303]); } -Ifc4x3_add2::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_add2::IfcDimensionalExponents Ifc4x3_add2::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_add2::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11050,8 +11050,8 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricCurveSet::Class() { return Ifc4x3_add2::IfcGeometricCurveSet Ifc4x3_add2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_add2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_add2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_add2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_add2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_add2::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add2::IfcAxis2Placement Ifc4x3_add2::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcAxis2Placement>(); } @@ -11063,7 +11063,7 @@ std::vector<::Ifc4x3_add2::IfcGeometricRepresentationSubContext> Ifc4x3_add2::If std::vector<::Ifc4x3_add2::IfcCoordinateOperation> Ifc4x3_add2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[243], 0)); } const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[506]); } -Ifc4x3_add2::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_add2::IfcGeometricRepresentationContext Ifc4x3_add2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11276,12 +11276,12 @@ std::optional< double > Ifc4x3_add2::IfcIndexedColourMap::Opacity() const { if(g void Ifc4x3_add2::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_add2::IfcColourRgbList Ifc4x3_add2::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcColourRgbList>(); } void Ifc4x3_add2::IfcIndexedColourMap::setColours(const ::Ifc4x3_add2::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_add2::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_add2::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[542]); } -Ifc4x3_add2::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_add2::IfcIndexedColourMap Ifc4x3_add2::IfcIndexedColourMap::initialize(::Ifc4x3_add2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_add2::IfcCartesianPointList Ifc4x3_add2::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCartesianPointList>(); } @@ -11296,22 +11296,22 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolyCurve::Class() { return * Ifc4x3_add2::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_add2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_add2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->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 ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[544]); } -Ifc4x3_add2::IfcIndexedPolygonalFace Ifc4x3_add2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_add2::IfcIndexedPolygonalFace Ifc4x3_add2::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[545]); } -Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedPolygonalTextureMap std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices > Ifc4x3_add2::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add2::IfcTextureCoordinateIndices>(es); } @@ -11332,12 +11332,12 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedTextureMap::Class() { return Ifc4x3_add2::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_add2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_add2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[548]); } -Ifc4x3_add2::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_add2::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11846,13 +11846,13 @@ std::optional< std::string > Ifc4x3_add2::IfcMaterialLayer::Description() const void Ifc4x3_add2::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add2::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_add2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add2::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_ADD2_types[644], 0)); } const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[643]); } -Ifc4x3_add2::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_add2::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_add2::IfcMaterialLayer > Ifc4x3_add2::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcMaterialLayer>(es); } @@ -11890,7 +11890,7 @@ void Ifc4x3_add2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[646]); } -Ifc4x3_add2::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_add2::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11909,15 +11909,15 @@ void Ifc4x3_add2::IfcMaterialProfile::setDescription(const std::optional< std::s void Ifc4x3_add2::IfcMaterialProfile::setMaterial(const ::Ifc4x3_add2::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_add2::IfcProfileDef Ifc4x3_add2::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcProfileDef>(); } void Ifc4x3_add2::IfcMaterialProfile::setProfile(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_add2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add2::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_ADD2_types[649], 2)); } const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[648]); } -Ifc4x3_add2::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_add2::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_add2::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11936,24 +11936,24 @@ Ifc4x3_add2::IfcMaterialProfileSet Ifc4x3_add2::IfcMaterialProfileSet::initializ // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_add2::IfcMaterialProfileSet Ifc4x3_add2::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcMaterialProfileSet>(); } void Ifc4x3_add2::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_add2::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_add2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_add2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_add2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_add2::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[650]); } -Ifc4x3_add2::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_add2::IfcMaterialProfileSetUsage Ifc4x3_add2::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_add2::IfcMaterialProfileSet Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcMaterialProfileSet>(); } void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_add2::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[651]); } -Ifc4x3_add2::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_add2::IfcMaterialProfileSetUsageTapering Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_add2::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -11961,7 +11961,7 @@ void Ifc4x3_add2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vect const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[652]); } -Ifc4x3_add2::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_add2::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_add2::IfcMaterialDefinition Ifc4x3_add2::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcMaterialDefinition>(); } @@ -12356,18 +12356,18 @@ std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > Ifc4x3_add2::IfcOwnerHistory 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, 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);} } +std::optional< int64_t > Ifc4x3_add2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_add2::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_add2::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add2::IfcApplication Ifc4x3_add2::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcApplication>(); } void Ifc4x3_add2::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_add2::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_add2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_add2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_add2::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_add2::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_add2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[723]); } -Ifc4x3_add2::IfcOwnerHistory 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));; return *this; } +Ifc4x3_add2::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12569,18 +12569,18 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcPipeSegmentType::Class() { return *( Ifc4x3_add2::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_add2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_add2::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_add2::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_add2::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_add2::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_add2::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_add2::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add2::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_add2::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_add2::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_add2::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_add2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[754]); } -Ifc4x3_add2::IfcPixelTexture 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));; return *this; } +Ifc4x3_add2::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_add2::IfcPoint Ifc4x3_add2::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcPoint>(); } @@ -12697,12 +12697,12 @@ std::optional< bool > Ifc4x3_add2::IfcPolygonalFaceSet::Closed() const { if(get_ void Ifc4x3_add2::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace > Ifc4x3_add2::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add2::IfcIndexedPolygonalFace>(es); } void Ifc4x3_add2::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_add2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[770]); } -Ifc4x3_add2::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_add2::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Ifc4x3_add2::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcCartesianPoint>(es); } @@ -13201,14 +13201,14 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityArea::Class() { return *((if Ifc4x3_add2::IfcQuantityArea 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)); }; return *this; } // Function implementations for IfcQuantityCount -int Ifc4x3_add2::IfcQuantityCount::CountValue() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcQuantityCount::setCountValue(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_add2::IfcQuantityCount::CountValue() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcQuantityCount::setCountValue(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< std::string > Ifc4x3_add2::IfcQuantityCount::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[845]); } -Ifc4x3_add2::IfcQuantityCount 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)); }; return *this; } +Ifc4x3_add2::IfcQuantityCount Ifc4x3_add2::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, int64_t 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)); }; return *this; } // Function implementations for IfcQuantityLength double Ifc4x3_add2::IfcQuantityLength::LengthValue() const { double v = get_attribute_value(3); return v; } @@ -13352,7 +13352,7 @@ void Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::ve const ifcopenshell::entity& Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[870]); } -Ifc4x3_add2::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_add2::IfcRationalBSplineCurveWithKnots Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13360,7 +13360,7 @@ void Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std:: const ifcopenshell::entity& Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[871]); } -Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_add2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13419,24 +13419,24 @@ Ifc4x3_add2::IfcRectangularTrimmedSurface Ifc4x3_add2::IfcRectangularTrimmedSurf // 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, 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; } -void Ifc4x3_add2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_add2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_add2::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_add2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_add2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_add2::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_add2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_add2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_add2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_add2::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > Ifc4x3_add2::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_add2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[877]); } -Ifc4x3_add2::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_add2::IfcRecurrencePattern Ifc4x3_add2::IfcRecurrencePattern::initialize(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13445,14 +13445,14 @@ std::optional< std::string > Ifc4x3_add2::IfcReference::AttributeIdentifier() co void Ifc4x3_add2::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add2::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add2::IfcReference Ifc4x3_add2::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add2::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcReference>(); } void Ifc4x3_add2::IfcReference::setInnerReference(const ::Ifc4x3_add2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_add2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[879]); } -Ifc4x3_add2::IfcReference 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));; return *this; } +Ifc4x3_add2::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13491,12 +13491,12 @@ std::optional< double > Ifc4x3_add2::IfcReinforcementBarProperties::EffectiveDep 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; } void Ifc4x3_add2::IfcReinforcementBarProperties::setNominalBarDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_add2::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_add2::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcReinforcementBarProperties::setBarCount(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[886]); } -Ifc4x3_add2::IfcReinforcementBarProperties 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)); }; return *this; } +Ifc4x3_add2::IfcReinforcementBarProperties 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< int64_t > 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)); }; return *this; } // 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; } @@ -13785,10 +13785,10 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsElements::Class() { retur Ifc4x3_add2::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_add2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_add2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_add2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13796,7 +13796,7 @@ void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingConnectionType(const :: const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[919]); } -Ifc4x3_add2::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_add2::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_add2::IfcPort Ifc4x3_add2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcPort>(); } @@ -14661,10 +14661,10 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcSineSpiral::Class() { return *((ifco Ifc4x3_add2::IfcSineSpiral 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_add2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3_add2::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_add2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_add2::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_add2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_add2::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_add2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_add2::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add2::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14674,7 +14674,7 @@ void Ifc4x3_add2::IfcSite::setSiteAddress(const ::Ifc4x3_add2::IfcPostalAddress& const ifcopenshell::entity& Ifc4x3_add2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1024]); } -Ifc4x3_add2::IfcSite 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));; return *this; } +Ifc4x3_add2::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14866,10 +14866,10 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcStair::Class() { return *((ifcopensh Ifc4x3_add2::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_add2::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_add2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_add2::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_add2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_add2::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_add2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_add2::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add2::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14879,7 +14879,7 @@ void Ifc4x3_add2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x const ifcopenshell::entity& Ifc4x3_add2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1068]); } -Ifc4x3_add2::IfcStairFlight 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))); }; return *this; } +Ifc4x3_add2::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value Ifc4x3_add2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_add2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15618,8 +15618,8 @@ std::optional< std::string > Ifc4x3_add2::IfcTask::WorkMethod() const { if(get_a void Ifc4x3_add2::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_add2::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_add2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_add2::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_add2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_add2::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15627,7 +15627,7 @@ void Ifc4x3_add2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add2: const ifcopenshell::entity& Ifc4x3_add2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1159]); } -Ifc4x3_add2::IfcTask 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))); }; return *this; } +Ifc4x3_add2::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -15890,23 +15890,23 @@ const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateGenerator::Class() Ifc4x3_add2::IfcTextureCoordinateGenerator 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)); }; return *this; } // Function implementations for IfcTextureCoordinateIndices -std::vector< int > /*[3:?]*/ Ifc4x3_add2::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } -void Ifc4x3_add2::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::vector< int64_t > /*[3:?]*/ Ifc4x3_add2::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_add2::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::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()->get_inverse(data()->id(), IFC4X3_ADD2_types[546], 3)); } const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1194]); } -Ifc4x3_add2::IfcTextureCoordinateIndices 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));; return *this; } +Ifc4x3_add2::IfcTextureCoordinateIndices Ifc4x3_add2::IfcTextureCoordinateIndices::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));; return *this; } // Function implementations for IfcTextureCoordinateIndicesWithVoids -std::vector< std::vector< int > > Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(2); return v; } -void Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +std::vector< std::vector< int64_t > > Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(2); return v; } +void Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1195]); } -Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids 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));; return *this; } +Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices));; return *this; } // Function implementations for IfcTextureMap std::vector< ::Ifc4x3_add2::IfcTextureVertex > Ifc4x3_add2::IfcTextureMap::Vertices() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add2::IfcTextureVertex>(es); } @@ -16090,22 +16090,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_add2::IfcTriangulat void Ifc4x3_add2::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_add2::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_add2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_add2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_add2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_add2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_add2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_add2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_add2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1232]); } -Ifc4x3_add2::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_add2::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_add2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_add2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1233]); } -Ifc4x3_add2::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_add2::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_add2::IfcCurve Ifc4x3_add2::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_add2.h b/src/ifcparse/schemas/Ifc4x3_add2.h index 58dc3df94c..791243e7c0 100644 --- a/src/ifcparse/schemas/Ifc4x3_add2.h +++ b/src/ifcparse/schemas/Ifc4x3_add2.h @@ -11618,8 +11618,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11715,8 +11715,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11790,8 +11790,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11818,8 +11818,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCountMeasure initialize(int v); - operator int() const; + IfcCountMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcCurvatureMeasure is a measure for curvature, which is defined as the change of slope per length. /// This is typically a computed value in structural analysis. @@ -11893,8 +11893,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11935,8 +11935,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11964,8 +11964,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12304,8 +12304,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12319,8 +12319,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12420,8 +12420,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12781,8 +12781,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12875,8 +12875,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13443,8 +13443,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14321,11 +14321,11 @@ public: ::Ifc4x3_add2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_add2::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14349,29 +14349,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14832,12 +14832,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14946,7 +14946,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14998,15 +14998,15 @@ public: ::Ifc4x3_add2::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_add2::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15050,7 +15050,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15335,8 +15335,8 @@ public: std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_add2::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_add2::IfcPersonAndOrganization& v); @@ -15344,11 +15344,11 @@ public: ::Ifc4x3_add2::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_add2::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15969,8 +15969,8 @@ public: using IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity; /// Count measure value of this quantity. - int CountValue() const; - void setCountValue(const int& v); + int64_t CountValue() const; + void setCountValue(const int64_t& v); /// A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only. /// /// IFC2x4 CHANGE Attribute added to the end of the attribute list. @@ -15978,7 +15978,7 @@ public: void setFormula(const std::optional< std::string >& v); static const ifcopenshell::entity& Class(); - 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); + IfcQuantityCount initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, int64_t 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. /// @@ -16094,31 +16094,31 @@ public: ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16126,7 +16126,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16139,13 +16139,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_add2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_add2::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -17565,25 +17565,25 @@ class IFC_SCHEMA_API IfcTextureCoordinateIndices : public express::Entity { public: using express::Entity::Entity; - std::vector< int > /*[3:?]*/ TexCoordIndex() const; - void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ TexCoordIndex() const; + void setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); ::Ifc4x3_add2::IfcIndexedPolygonalFace TexCoordsOf() const; void setTexCoordsOf(const ::Ifc4x3_add2::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndices initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf); + IfcTextureCoordinateIndices initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_SCHEMA_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: using IfcTextureCoordinateIndices::IfcTextureCoordinateIndices; - std::vector< std::vector< int > > InnerTexCoordIndices() const; - void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerTexCoordIndices() const; + void setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); + IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the /// 2-dimensional texture coordinates to the surface onto which it is @@ -19434,8 +19434,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19451,7 +19451,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19688,11 +19688,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_add2::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_add2::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_add2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_add2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19712,11 +19712,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20413,8 +20413,8 @@ public: ::Ifc4x3_add2::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_add2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20425,7 +20425,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20460,11 +20460,11 @@ public: ::Ifc4x3_add2::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_add2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20877,14 +20877,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20892,7 +20892,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -21520,11 +21520,11 @@ public: std::optional< double > NominalBarDiameter() const; void setNominalBarDiameter(const std::optional< double >& v); /// The number of bars with identical nominal diameter and steel grade included in the specific reinforcement configuration. - std::optional< int > BarCount() const; - void setBarCount(const std::optional< int >& v); + std::optional< int64_t > BarCount() const; + void setBarCount(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -24873,24 +24873,24 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; class IFC_SCHEMA_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { @@ -27188,11 +27188,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_add2::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v); @@ -27201,7 +27201,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30325,8 +30325,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30340,7 +30340,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_add2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30458,24 +30458,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; class IFC_SCHEMA_API IfcVehicleType : public IfcTransportationDeviceType { @@ -31065,11 +31065,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > >& v); @@ -31087,7 +31087,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31101,11 +31101,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31117,7 +31117,7 @@ public: void setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35882,11 +35882,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36540,7 +36540,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37186,13 +37186,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37204,7 +37204,7 @@ public: void setSiteAddress(const ::Ifc4x3_add2::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40337,8 +40337,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_add2::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v); @@ -40353,7 +40353,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40377,8 +40377,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40387,7 +40387,7 @@ public: void setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -46948,7 +46948,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_add2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -48253,13 +48253,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -48278,7 +48278,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_rc1.cpp b/src/ifcparse/schemas/Ifc4x3_rc1.cpp index 5578534fc4..49ac12655c 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc1.cpp @@ -7212,8 +7212,8 @@ Ifc4x3_rc1::IfcAngularVelocityMeasure::operator double() const { return get_attr // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[60]); } -Ifc4x3_rc1::IfcArcIndex Ifc4x3_rc1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcArcIndex Ifc4x3_rc1::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[61]); } @@ -7242,8 +7242,8 @@ Ifc4x3_rc1::IfcBoxAlignment::operator std::string() const { return get_attribute // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[150]); } -Ifc4x3_rc1::IfcCardinalPointReference Ifc4x3_rc1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcCardinalPointReference Ifc4x3_rc1::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[194]); } @@ -7252,8 +7252,8 @@ Ifc4x3_rc1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[202]); } -Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[232]); } @@ -7282,13 +7282,13 @@ Ifc4x3_rc1::IfcDateTime::operator std::string() const { return get_attribute_val // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[296]); } -Ifc4x3_rc1::IfcDayInMonthNumber Ifc4x3_rc1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcDayInMonthNumber Ifc4x3_rc1::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[297]); } -Ifc4x3_rc1::IfcDayInWeekNumber Ifc4x3_rc1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcDayInWeekNumber Ifc4x3_rc1::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[306]); } @@ -7297,8 +7297,8 @@ Ifc4x3_rc1::IfcDescriptiveMeasure::operator std::string() const { return get_att // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[308]); } -Ifc4x3_rc1::IfcDimensionCount Ifc4x3_rc1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcDimensionCount Ifc4x3_rc1::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[352]); } @@ -7407,13 +7407,13 @@ Ifc4x3_rc1::IfcInductanceMeasure::operator double() const { return get_attribute // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[557]); } -Ifc4x3_rc1::IfcInteger Ifc4x3_rc1::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcInteger Ifc4x3_rc1::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[558]); } -Ifc4x3_rc1::IfcIntegerCountRateMeasure Ifc4x3_rc1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcIntegerCountRateMeasure Ifc4x3_rc1::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[567]); } @@ -7447,8 +7447,8 @@ Ifc4x3_rc1::IfcLengthMeasure::operator double() const { return get_attribute_val // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[619]); } -Ifc4x3_rc1::IfcLineIndex Ifc4x3_rc1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcLineIndex Ifc4x3_rc1::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[611]); } @@ -7562,8 +7562,8 @@ Ifc4x3_rc1::IfcMonetaryMeasure::operator double() const { return get_attribute_v // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[695]); } -Ifc4x3_rc1::IfcMonthInYearNumber Ifc4x3_rc1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcMonthInYearNumber Ifc4x3_rc1::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[706]); } @@ -7602,8 +7602,8 @@ Ifc4x3_rc1::IfcPlaneAngleMeasure::operator double() const { return get_attribute // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[788]); } -Ifc4x3_rc1::IfcPositiveInteger Ifc4x3_rc1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcPositiveInteger Ifc4x3_rc1::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[789]); } @@ -7802,8 +7802,8 @@ Ifc4x3_rc1::IfcTimeMeasure::operator double() const { return get_attribute_value // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1215]); } -Ifc4x3_rc1::IfcTimeStamp Ifc4x3_rc1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc1::IfcTimeStamp Ifc4x3_rc1::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc1::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1219]); } @@ -8385,8 +8385,8 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcAxisLateralInclination::Class() { ret Ifc4x3_rc1::IfcAxisLateralInclination Ifc4x3_rc1::IfcAxisLateralInclination::initialize() { ; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_rc1::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc1::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc1::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8398,11 +8398,11 @@ void Ifc4x3_rc1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[112]); } -Ifc4x3_rc1::IfcBSplineCurve 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));; return *this; } +Ifc4x3_rc1::IfcBSplineCurve Ifc4x3_rc1::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8410,13 +8410,13 @@ void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc1::IfcKn const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[114]); } -Ifc4x3_rc1::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_rc1::IfcBSplineCurveWithKnots Ifc4x3_rc1::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_rc1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc1::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc1::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc1::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc1::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc1::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8430,13 +8430,13 @@ void Ifc4x3_rc1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[115]); } -Ifc4x3_rc1::IfcBSplineSurface 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));; return *this; } +Ifc4x3_rc1::IfcBSplineSurface Ifc4x3_rc1::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8446,7 +8446,7 @@ void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc1::Ifc const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[117]); } -Ifc4x3_rc1::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_rc1::IfcBSplineSurfaceWithKnots Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9837,32 +9837,32 @@ Ifc4x3_rc1::IfcDerivedUnit Ifc4x3_rc1::IfcDerivedUnit::initialize(std::vector< : // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc1::IfcNamedUnit Ifc4x3_rc1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcNamedUnit>(); } void Ifc4x3_rc1::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc1::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[304]); } -Ifc4x3_rc1::IfcDerivedUnitElement Ifc4x3_rc1::IfcDerivedUnitElement::initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_rc1::IfcDerivedUnitElement Ifc4x3_rc1::IfcDerivedUnitElement::initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_rc1::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc1::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_rc1::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_rc1::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_rc1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_rc1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc1::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc1::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_rc1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[307]); } -Ifc4x3_rc1::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_rc1::IfcDimensionalExponents Ifc4x3_rc1::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_rc1::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11107,8 +11107,8 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricCurveSet::Class() { return * Ifc4x3_rc1::IfcGeometricCurveSet Ifc4x3_rc1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_rc1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_rc1::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc1::IfcAxis2Placement Ifc4x3_rc1::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcAxis2Placement>(); } @@ -11120,7 +11120,7 @@ std::vector<::Ifc4x3_rc1::IfcGeometricRepresentationSubContext> Ifc4x3_rc1::IfcG std::vector<::Ifc4x3_rc1::IfcCoordinateOperation> Ifc4x3_rc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[249], 0)); } const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[514]); } -Ifc4x3_rc1::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_rc1::IfcGeometricRepresentationContext Ifc4x3_rc1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11330,12 +11330,12 @@ std::optional< double > Ifc4x3_rc1::IfcIndexedColourMap::Opacity() const { if(ge void Ifc4x3_rc1::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc1::IfcColourRgbList Ifc4x3_rc1::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcColourRgbList>(); } void Ifc4x3_rc1::IfcIndexedColourMap::setColours(const ::Ifc4x3_rc1::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_rc1::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc1::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[550]); } -Ifc4x3_rc1::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_rc1::IfcIndexedColourMap Ifc4x3_rc1::IfcIndexedColourMap::initialize(::Ifc4x3_rc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_rc1::IfcCartesianPointList Ifc4x3_rc1::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCartesianPointList>(); } @@ -11350,21 +11350,21 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolyCurve::Class() { return *( Ifc4x3_rc1::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_rc1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_rc1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X3_RC1_types[783], 2)); } const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[552]); } -Ifc4x3_rc1::IfcIndexedPolygonalFace Ifc4x3_rc1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_rc1::IfcIndexedPolygonalFace Ifc4x3_rc1::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[553]); } -Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x3_rc1::IfcTessellatedFaceSet Ifc4x3_rc1::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcTessellatedFaceSet>(); } @@ -11377,12 +11377,12 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedTextureMap::Class() { return * Ifc4x3_rc1::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_rc1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_rc1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[555]); } -Ifc4x3_rc1::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_rc1::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11903,13 +11903,13 @@ std::optional< std::string > Ifc4x3_rc1::IfcMaterialLayer::Description() const { void Ifc4x3_rc1::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc1::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_rc1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc1::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_RC1_types[652], 0)); } const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[651]); } -Ifc4x3_rc1::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_rc1::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_rc1::IfcMaterialLayer > Ifc4x3_rc1::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcMaterialLayer>(es); } @@ -11947,7 +11947,7 @@ void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[654]); } -Ifc4x3_rc1::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_rc1::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11966,15 +11966,15 @@ void Ifc4x3_rc1::IfcMaterialProfile::setDescription(const std::optional< std::st void Ifc4x3_rc1::IfcMaterialProfile::setMaterial(const ::Ifc4x3_rc1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc1::IfcProfileDef Ifc4x3_rc1::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcProfileDef>(); } void Ifc4x3_rc1::IfcMaterialProfile::setProfile(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc1::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_RC1_types[657], 2)); } const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[656]); } -Ifc4x3_rc1::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_rc1::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_rc1::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11993,24 +11993,24 @@ Ifc4x3_rc1::IfcMaterialProfileSet Ifc4x3_rc1::IfcMaterialProfileSet::initialize( // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_rc1::IfcMaterialProfileSet Ifc4x3_rc1::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcMaterialProfileSet>(); } void Ifc4x3_rc1::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_rc1::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_rc1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_rc1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_rc1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_rc1::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[658]); } -Ifc4x3_rc1::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_rc1::IfcMaterialProfileSetUsage Ifc4x3_rc1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_rc1::IfcMaterialProfileSet Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcMaterialProfileSet>(); } void Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_rc1::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[659]); } -Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_rc1::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -12018,7 +12018,7 @@ void Ifc4x3_rc1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vecto const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[660]); } -Ifc4x3_rc1::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_rc1::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_rc1::IfcMaterialDefinition Ifc4x3_rc1::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcMaterialDefinition>(); } @@ -12432,18 +12432,18 @@ std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > Ifc4x3_rc1::IfcOwnerHistory:: 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, 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);} } +std::optional< int64_t > Ifc4x3_rc1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_rc1::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_rc1::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc1::IfcApplication Ifc4x3_rc1::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcApplication>(); } void Ifc4x3_rc1::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_rc1::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc1::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc1::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_rc1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[736]); } -Ifc4x3_rc1::IfcOwnerHistory 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));; return *this; } +Ifc4x3_rc1::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc1::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12645,18 +12645,18 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcPipeSegmentType::Class() { return *(( Ifc4x3_rc1::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_rc1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc1::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc1::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc1::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc1::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc1::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc1::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc1::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc1::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc1::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc1::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc1::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc1::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_rc1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[766]); } -Ifc4x3_rc1::IfcPixelTexture 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));; return *this; } +Ifc4x3_rc1::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_rc1::IfcCartesianPoint Ifc4x3_rc1::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCartesianPoint>(); } @@ -12769,12 +12769,12 @@ std::optional< bool > Ifc4x3_rc1::IfcPolygonalFaceSet::Closed() const { if(get_a void Ifc4x3_rc1::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace > Ifc4x3_rc1::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc1::IfcIndexedPolygonalFace>(es); } void Ifc4x3_rc1::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[783]); } -Ifc4x3_rc1::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_rc1::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Ifc4x3_rc1::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcCartesianPoint>(es); } @@ -13406,7 +13406,7 @@ void Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vec const ifcopenshell::entity& Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[882]); } -Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13414,7 +13414,7 @@ void Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::v const ifcopenshell::entity& Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[883]); } -Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13473,24 +13473,24 @@ Ifc4x3_rc1::IfcRectangularTrimmedSurface Ifc4x3_rc1::IfcRectangularTrimmedSurfac // 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, 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; } -void Ifc4x3_rc1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_rc1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc1::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_rc1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_rc1::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_rc1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_rc1::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_rc1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_rc1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc1::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > Ifc4x3_rc1::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_rc1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[889]); } -Ifc4x3_rc1::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_rc1::IfcRecurrencePattern Ifc4x3_rc1::IfcRecurrencePattern::initialize(::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13499,14 +13499,14 @@ std::optional< std::string > Ifc4x3_rc1::IfcReference::AttributeIdentifier() con void Ifc4x3_rc1::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc1::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc1::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc1::IfcReference Ifc4x3_rc1::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc1::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcReference>(); } void Ifc4x3_rc1::IfcReference::setInnerReference(const ::Ifc4x3_rc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_rc1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[891]); } -Ifc4x3_rc1::IfcReference 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));; return *this; } +Ifc4x3_rc1::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13831,10 +13831,10 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsElements::Class() { return Ifc4x3_rc1::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_rc1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13842,7 +13842,7 @@ void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::I const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[930]); } -Ifc4x3_rc1::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_rc1::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc1::IfcPort Ifc4x3_rc1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcPort>(); } @@ -14622,10 +14622,10 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcSimplePropertyTemplate::Class() { ret Ifc4x3_rc1::IfcSimplePropertyTemplate 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))); }; return *this; } // 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; } -void Ifc4x3_rc1::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_rc1::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_rc1::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_rc1::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc1::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14635,7 +14635,7 @@ void Ifc4x3_rc1::IfcSite::setSiteAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v const ifcopenshell::entity& Ifc4x3_rc1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1027]); } -Ifc4x3_rc1::IfcSite 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));; return *this; } +Ifc4x3_rc1::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14835,10 +14835,10 @@ const ifcopenshell::entity& Ifc4x3_rc1::IfcStair::Class() { return *((ifcopenshe Ifc4x3_rc1::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_rc1::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_rc1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_rc1::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_rc1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_rc1::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_rc1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_rc1::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc1::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14848,7 +14848,7 @@ void Ifc4x3_rc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3 const ifcopenshell::entity& Ifc4x3_rc1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1073]); } -Ifc4x3_rc1::IfcStairFlight 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))); }; return *this; } +Ifc4x3_rc1::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value Ifc4x3_rc1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15586,8 +15586,8 @@ std::optional< std::string > Ifc4x3_rc1::IfcTask::WorkMethod() const { if(get_at void Ifc4x3_rc1::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_rc1::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_rc1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_rc1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_rc1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_rc1::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15595,7 +15595,7 @@ void Ifc4x3_rc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc1::I const ifcopenshell::entity& Ifc4x3_rc1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1164]); } -Ifc4x3_rc1::IfcTask 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))); }; return *this; } +Ifc4x3_rc1::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -16029,22 +16029,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc1::IfcTriangulate void Ifc4x3_rc1::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_rc1::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_rc1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_rc1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_rc1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_rc1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1236]); } -Ifc4x3_rc1::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_rc1::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1237]); } -Ifc4x3_rc1::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_rc1::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_rc1::IfcCurve Ifc4x3_rc1::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_rc1.h b/src/ifcparse/schemas/Ifc4x3_rc1.h index 76dca55781..3b617cec35 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc1.h +++ b/src/ifcparse/schemas/Ifc4x3_rc1.h @@ -11972,8 +11972,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -12069,8 +12069,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -12144,8 +12144,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -12247,8 +12247,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -12289,8 +12289,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -12318,8 +12318,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12658,8 +12658,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12673,8 +12673,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12774,8 +12774,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -13135,8 +13135,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -13229,8 +13229,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13788,8 +13788,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14624,11 +14624,11 @@ public: ::Ifc4x3_rc1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14652,29 +14652,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -15105,12 +15105,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15219,7 +15219,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -15271,15 +15271,15 @@ public: ::Ifc4x3_rc1::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_rc1::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15323,7 +15323,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15607,8 +15607,8 @@ public: std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_rc1::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_rc1::IfcPersonAndOrganization& v); @@ -15616,11 +15616,11 @@ public: ::Ifc4x3_rc1::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_rc1::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc1::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -16367,31 +16367,31 @@ public: ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16399,7 +16399,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16412,13 +16412,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_rc1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc1::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19616,8 +19616,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19633,7 +19633,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19870,11 +19870,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_rc1::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_rc1::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_rc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_rc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19894,11 +19894,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20634,8 +20634,8 @@ public: ::Ifc4x3_rc1::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_rc1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20646,7 +20646,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20681,11 +20681,11 @@ public: ::Ifc4x3_rc1::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_rc1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -21110,14 +21110,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -21125,7 +21125,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -25250,23 +25250,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -27566,11 +27566,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v); @@ -27579,7 +27579,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30692,8 +30692,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30707,7 +30707,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_rc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30873,24 +30873,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -31570,11 +31570,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > >& v); @@ -31592,7 +31592,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31606,11 +31606,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31622,7 +31622,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -36443,11 +36443,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -37088,7 +37088,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37642,13 +37642,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37660,7 +37660,7 @@ public: void setSiteAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40877,8 +40877,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v); @@ -40893,7 +40893,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40917,8 +40917,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40927,7 +40927,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -48274,7 +48274,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -49837,13 +49837,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -49862,7 +49862,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_rc2.cpp b/src/ifcparse/schemas/Ifc4x3_rc2.cpp index f3833a0b00..f57f0a58d7 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc2.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc2.cpp @@ -7301,8 +7301,8 @@ Ifc4x3_rc2::IfcAngularVelocityMeasure::operator double() const { return get_attr // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[61]); } -Ifc4x3_rc2::IfcArcIndex Ifc4x3_rc2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcArcIndex Ifc4x3_rc2::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[62]); } @@ -7331,8 +7331,8 @@ Ifc4x3_rc2::IfcBoxAlignment::operator std::string() const { return get_attribute // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[153]); } -Ifc4x3_rc2::IfcCardinalPointReference Ifc4x3_rc2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcCardinalPointReference Ifc4x3_rc2::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[198]); } @@ -7341,8 +7341,8 @@ Ifc4x3_rc2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[206]); } -Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[236]); } @@ -7371,13 +7371,13 @@ Ifc4x3_rc2::IfcDateTime::operator std::string() const { return get_attribute_val // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[302]); } -Ifc4x3_rc2::IfcDayInMonthNumber Ifc4x3_rc2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcDayInMonthNumber Ifc4x3_rc2::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[303]); } -Ifc4x3_rc2::IfcDayInWeekNumber Ifc4x3_rc2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcDayInWeekNumber Ifc4x3_rc2::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[312]); } @@ -7386,8 +7386,8 @@ Ifc4x3_rc2::IfcDescriptiveMeasure::operator std::string() const { return get_att // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[314]); } -Ifc4x3_rc2::IfcDimensionCount Ifc4x3_rc2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcDimensionCount Ifc4x3_rc2::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[357]); } @@ -7496,13 +7496,13 @@ Ifc4x3_rc2::IfcInductanceMeasure::operator double() const { return get_attribute // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[563]); } -Ifc4x3_rc2::IfcInteger Ifc4x3_rc2::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcInteger Ifc4x3_rc2::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[564]); } -Ifc4x3_rc2::IfcIntegerCountRateMeasure Ifc4x3_rc2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcIntegerCountRateMeasure Ifc4x3_rc2::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[573]); } @@ -7536,8 +7536,8 @@ Ifc4x3_rc2::IfcLengthMeasure::operator double() const { return get_attribute_val // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[626]); } -Ifc4x3_rc2::IfcLineIndex Ifc4x3_rc2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcLineIndex Ifc4x3_rc2::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[618]); } @@ -7651,8 +7651,8 @@ Ifc4x3_rc2::IfcMonetaryMeasure::operator double() const { return get_attribute_v // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[702]); } -Ifc4x3_rc2::IfcMonthInYearNumber Ifc4x3_rc2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcMonthInYearNumber Ifc4x3_rc2::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[713]); } @@ -7691,8 +7691,8 @@ Ifc4x3_rc2::IfcPlaneAngleMeasure::operator double() const { return get_attribute // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[795]); } -Ifc4x3_rc2::IfcPositiveInteger Ifc4x3_rc2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcPositiveInteger Ifc4x3_rc2::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[796]); } @@ -7891,8 +7891,8 @@ Ifc4x3_rc2::IfcTimeMeasure::operator double() const { return get_attribute_value // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1225]); } -Ifc4x3_rc2::IfcTimeStamp Ifc4x3_rc2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc2::IfcTimeStamp Ifc4x3_rc2::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc2::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1229]); } @@ -8469,8 +8469,8 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcAxisLateralInclination::Class() { ret Ifc4x3_rc2::IfcAxisLateralInclination Ifc4x3_rc2::IfcAxisLateralInclination::initialize() { ; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_rc2::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc2::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc2::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8482,11 +8482,11 @@ void Ifc4x3_rc2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[115]); } -Ifc4x3_rc2::IfcBSplineCurve 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));; return *this; } +Ifc4x3_rc2::IfcBSplineCurve Ifc4x3_rc2::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8494,13 +8494,13 @@ void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc2::IfcKn const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[117]); } -Ifc4x3_rc2::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_rc2::IfcBSplineCurveWithKnots Ifc4x3_rc2::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_rc2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc2::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc2::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc2::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc2::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc2::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8514,13 +8514,13 @@ void Ifc4x3_rc2::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[118]); } -Ifc4x3_rc2::IfcBSplineSurface 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));; return *this; } +Ifc4x3_rc2::IfcBSplineSurface Ifc4x3_rc2::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8530,7 +8530,7 @@ void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc2::Ifc const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[120]); } -Ifc4x3_rc2::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_rc2::IfcBSplineSurfaceWithKnots Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9953,32 +9953,32 @@ Ifc4x3_rc2::IfcDerivedUnit Ifc4x3_rc2::IfcDerivedUnit::initialize(std::vector< : // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc2::IfcNamedUnit Ifc4x3_rc2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcNamedUnit>(); } void Ifc4x3_rc2::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc2::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc2::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[310]); } -Ifc4x3_rc2::IfcDerivedUnitElement Ifc4x3_rc2::IfcDerivedUnitElement::initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_rc2::IfcDerivedUnitElement Ifc4x3_rc2::IfcDerivedUnitElement::initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_rc2::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc2::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_rc2::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_rc2::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_rc2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_rc2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc2::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc2::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc2::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_rc2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[313]); } -Ifc4x3_rc2::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_rc2::IfcDimensionalExponents Ifc4x3_rc2::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_rc2::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11207,8 +11207,8 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricCurveSet::Class() { return * Ifc4x3_rc2::IfcGeometricCurveSet Ifc4x3_rc2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_rc2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc2::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc2::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_rc2::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc2::IfcAxis2Placement Ifc4x3_rc2::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcAxis2Placement>(); } @@ -11220,7 +11220,7 @@ std::vector<::Ifc4x3_rc2::IfcGeometricRepresentationSubContext> Ifc4x3_rc2::IfcG std::vector<::Ifc4x3_rc2::IfcCoordinateOperation> Ifc4x3_rc2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[253], 0)); } const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[519]); } -Ifc4x3_rc2::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_rc2::IfcGeometricRepresentationContext Ifc4x3_rc2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11442,12 +11442,12 @@ std::optional< double > Ifc4x3_rc2::IfcIndexedColourMap::Opacity() const { if(ge void Ifc4x3_rc2::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc2::IfcColourRgbList Ifc4x3_rc2::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcColourRgbList>(); } void Ifc4x3_rc2::IfcIndexedColourMap::setColours(const ::Ifc4x3_rc2::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_rc2::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc2::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[556]); } -Ifc4x3_rc2::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_rc2::IfcIndexedColourMap Ifc4x3_rc2::IfcIndexedColourMap::initialize(::Ifc4x3_rc2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_rc2::IfcCartesianPointList Ifc4x3_rc2::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCartesianPointList>(); } @@ -11462,21 +11462,21 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolyCurve::Class() { return *( Ifc4x3_rc2::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_rc2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_rc2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X3_RC2_types[790], 2)); } const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[558]); } -Ifc4x3_rc2::IfcIndexedPolygonalFace Ifc4x3_rc2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_rc2::IfcIndexedPolygonalFace Ifc4x3_rc2::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[559]); } -Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x3_rc2::IfcTessellatedFaceSet Ifc4x3_rc2::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcTessellatedFaceSet>(); } @@ -11489,12 +11489,12 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedTextureMap::Class() { return * Ifc4x3_rc2::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_rc2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_rc2::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[561]); } -Ifc4x3_rc2::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_rc2::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -12021,13 +12021,13 @@ std::optional< std::string > Ifc4x3_rc2::IfcMaterialLayer::Description() const { void Ifc4x3_rc2::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc2::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_rc2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc2::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_RC2_types[659], 0)); } const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[658]); } -Ifc4x3_rc2::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_rc2::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_rc2::IfcMaterialLayer > Ifc4x3_rc2::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcMaterialLayer>(es); } @@ -12065,7 +12065,7 @@ void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[661]); } -Ifc4x3_rc2::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_rc2::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -12084,15 +12084,15 @@ void Ifc4x3_rc2::IfcMaterialProfile::setDescription(const std::optional< std::st void Ifc4x3_rc2::IfcMaterialProfile::setMaterial(const ::Ifc4x3_rc2::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc2::IfcProfileDef Ifc4x3_rc2::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcProfileDef>(); } void Ifc4x3_rc2::IfcMaterialProfile::setProfile(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc2::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc2::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_RC2_types[664], 2)); } const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[663]); } -Ifc4x3_rc2::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_rc2::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_rc2::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12111,24 +12111,24 @@ Ifc4x3_rc2::IfcMaterialProfileSet Ifc4x3_rc2::IfcMaterialProfileSet::initialize( // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_rc2::IfcMaterialProfileSet Ifc4x3_rc2::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcMaterialProfileSet>(); } void Ifc4x3_rc2::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_rc2::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_rc2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_rc2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_rc2::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_rc2::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[665]); } -Ifc4x3_rc2::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_rc2::IfcMaterialProfileSetUsage Ifc4x3_rc2::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_rc2::IfcMaterialProfileSet Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcMaterialProfileSet>(); } void Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_rc2::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[666]); } -Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_rc2::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -12136,7 +12136,7 @@ void Ifc4x3_rc2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vecto const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[667]); } -Ifc4x3_rc2::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_rc2::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_rc2::IfcMaterialDefinition Ifc4x3_rc2::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcMaterialDefinition>(); } @@ -12540,18 +12540,18 @@ std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > Ifc4x3_rc2::IfcOwnerHistory:: 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, 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);} } +std::optional< int64_t > Ifc4x3_rc2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_rc2::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_rc2::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc2::IfcApplication Ifc4x3_rc2::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcApplication>(); } void Ifc4x3_rc2::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_rc2::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc2::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc2::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_rc2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[742]); } -Ifc4x3_rc2::IfcOwnerHistory 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));; return *this; } +Ifc4x3_rc2::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc2::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12753,18 +12753,18 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcPipeSegmentType::Class() { return *(( Ifc4x3_rc2::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_rc2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc2::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc2::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc2::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc2::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc2::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc2::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc2::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc2::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc2::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc2::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc2::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc2::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_rc2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[772]); } -Ifc4x3_rc2::IfcPixelTexture 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));; return *this; } +Ifc4x3_rc2::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_rc2::IfcPoint Ifc4x3_rc2::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcPoint>(); } @@ -12893,12 +12893,12 @@ std::optional< bool > Ifc4x3_rc2::IfcPolygonalFaceSet::Closed() const { if(get_a void Ifc4x3_rc2::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace > Ifc4x3_rc2::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc2::IfcIndexedPolygonalFace>(es); } void Ifc4x3_rc2::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[790]); } -Ifc4x3_rc2::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_rc2::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Ifc4x3_rc2::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcCartesianPoint>(es); } @@ -13530,7 +13530,7 @@ void Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vec const ifcopenshell::entity& Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[889]); } -Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13538,7 +13538,7 @@ void Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::v const ifcopenshell::entity& Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[890]); } -Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13597,24 +13597,24 @@ Ifc4x3_rc2::IfcRectangularTrimmedSurface Ifc4x3_rc2::IfcRectangularTrimmedSurfac // 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, 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; } -void Ifc4x3_rc2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_rc2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc2::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_rc2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_rc2::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_rc2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_rc2::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_rc2::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc2::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_rc2::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc2::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > Ifc4x3_rc2::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_rc2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[896]); } -Ifc4x3_rc2::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_rc2::IfcRecurrencePattern Ifc4x3_rc2::IfcRecurrencePattern::initialize(::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13623,14 +13623,14 @@ std::optional< std::string > Ifc4x3_rc2::IfcReference::AttributeIdentifier() con void Ifc4x3_rc2::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc2::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc2::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc2::IfcReference Ifc4x3_rc2::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc2::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcReference>(); } void Ifc4x3_rc2::IfcReference::setInnerReference(const ::Ifc4x3_rc2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_rc2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[898]); } -Ifc4x3_rc2::IfcReference 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));; return *this; } +Ifc4x3_rc2::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13955,10 +13955,10 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsElements::Class() { return Ifc4x3_rc2::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_rc2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc2::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13966,7 +13966,7 @@ void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::I const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[937]); } -Ifc4x3_rc2::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_rc2::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc2::IfcPort Ifc4x3_rc2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcPort>(); } @@ -14778,10 +14778,10 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcSimplePropertyTemplate::Class() { ret Ifc4x3_rc2::IfcSimplePropertyTemplate 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))); }; return *this; } // 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; } -void Ifc4x3_rc2::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_rc2::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_rc2::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc2::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_rc2::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc2::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14791,7 +14791,7 @@ void Ifc4x3_rc2::IfcSite::setSiteAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v const ifcopenshell::entity& Ifc4x3_rc2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1037]); } -Ifc4x3_rc2::IfcSite 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));; return *this; } +Ifc4x3_rc2::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14991,10 +14991,10 @@ const ifcopenshell::entity& Ifc4x3_rc2::IfcStair::Class() { return *((ifcopenshe Ifc4x3_rc2::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_rc2::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_rc2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_rc2::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_rc2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_rc2::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_rc2::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_rc2::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc2::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -15004,7 +15004,7 @@ void Ifc4x3_rc2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3 const ifcopenshell::entity& Ifc4x3_rc2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1083]); } -Ifc4x3_rc2::IfcStairFlight 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))); }; return *this; } +Ifc4x3_rc2::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value Ifc4x3_rc2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15742,8 +15742,8 @@ std::optional< std::string > Ifc4x3_rc2::IfcTask::WorkMethod() const { if(get_at void Ifc4x3_rc2::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_rc2::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_rc2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_rc2::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_rc2::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_rc2::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15751,7 +15751,7 @@ void Ifc4x3_rc2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc2::I const ifcopenshell::entity& Ifc4x3_rc2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1174]); } -Ifc4x3_rc2::IfcTask 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))); }; return *this; } +Ifc4x3_rc2::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -16185,22 +16185,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc2::IfcTriangulate void Ifc4x3_rc2::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_rc2::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_rc2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_rc2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_rc2::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc2::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc2::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_rc2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1246]); } -Ifc4x3_rc2::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_rc2::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1247]); } -Ifc4x3_rc2::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_rc2::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_rc2::IfcCurve Ifc4x3_rc2::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_rc2.h b/src/ifcparse/schemas/Ifc4x3_rc2.h index 61dad07fd6..8e0b0ebb5c 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc2.h +++ b/src/ifcparse/schemas/Ifc4x3_rc2.h @@ -12033,8 +12033,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -12130,8 +12130,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -12205,8 +12205,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -12308,8 +12308,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -12350,8 +12350,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -12379,8 +12379,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12719,8 +12719,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12734,8 +12734,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12835,8 +12835,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -13196,8 +13196,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -13290,8 +13290,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13849,8 +13849,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14721,11 +14721,11 @@ public: ::Ifc4x3_rc2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14749,29 +14749,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -15202,12 +15202,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15316,7 +15316,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -15368,15 +15368,15 @@ public: ::Ifc4x3_rc2::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_rc2::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15420,7 +15420,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15704,8 +15704,8 @@ public: std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_rc2::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_rc2::IfcPersonAndOrganization& v); @@ -15713,11 +15713,11 @@ public: ::Ifc4x3_rc2::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_rc2::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc2::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -16464,31 +16464,31 @@ public: ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16496,7 +16496,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16509,13 +16509,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_rc2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc2::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19796,8 +19796,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19813,7 +19813,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -20050,11 +20050,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_rc2::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_rc2::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_rc2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_rc2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc2::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -20074,11 +20074,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20814,8 +20814,8 @@ public: ::Ifc4x3_rc2::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_rc2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20826,7 +20826,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20861,11 +20861,11 @@ public: ::Ifc4x3_rc2::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_rc2::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -21277,14 +21277,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -21292,7 +21292,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -25394,23 +25394,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -27710,11 +27710,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v); @@ -27723,7 +27723,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30851,8 +30851,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30866,7 +30866,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_rc2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -31032,24 +31032,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -31628,11 +31628,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > >& v); @@ -31650,7 +31650,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31664,11 +31664,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31680,7 +31680,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -36553,11 +36553,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -37198,7 +37198,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37767,13 +37767,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37785,7 +37785,7 @@ public: void setSiteAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -41022,8 +41022,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v); @@ -41038,7 +41038,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -41062,8 +41062,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -41072,7 +41072,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc2::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -48419,7 +48419,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -49982,13 +49982,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -50007,7 +50007,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_rc3.cpp b/src/ifcparse/schemas/Ifc4x3_rc3.cpp index 16795ed874..e2482b7c8b 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc3.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc3.cpp @@ -7324,8 +7324,8 @@ Ifc4x3_rc3::IfcAngularVelocityMeasure::operator double() const { return get_attr // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[57]); } -Ifc4x3_rc3::IfcArcIndex Ifc4x3_rc3::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcArcIndex Ifc4x3_rc3::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[58]); } @@ -7354,8 +7354,8 @@ Ifc4x3_rc3::IfcBoxAlignment::operator std::string() const { return get_attribute // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[146]); } -Ifc4x3_rc3::IfcCardinalPointReference Ifc4x3_rc3::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcCardinalPointReference Ifc4x3_rc3::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[190]); } @@ -7364,8 +7364,8 @@ Ifc4x3_rc3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[198]); } -Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[228]); } @@ -7394,13 +7394,13 @@ Ifc4x3_rc3::IfcDateTime::operator std::string() const { return get_attribute_val // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[294]); } -Ifc4x3_rc3::IfcDayInMonthNumber Ifc4x3_rc3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcDayInMonthNumber Ifc4x3_rc3::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[295]); } -Ifc4x3_rc3::IfcDayInWeekNumber Ifc4x3_rc3::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcDayInWeekNumber Ifc4x3_rc3::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[304]); } @@ -7409,8 +7409,8 @@ Ifc4x3_rc3::IfcDescriptiveMeasure::operator std::string() const { return get_att // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[306]); } -Ifc4x3_rc3::IfcDimensionCount Ifc4x3_rc3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcDimensionCount Ifc4x3_rc3::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[350]); } @@ -7519,13 +7519,13 @@ Ifc4x3_rc3::IfcInductanceMeasure::operator double() const { return get_attribute // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[556]); } -Ifc4x3_rc3::IfcInteger Ifc4x3_rc3::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcInteger Ifc4x3_rc3::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[557]); } -Ifc4x3_rc3::IfcIntegerCountRateMeasure Ifc4x3_rc3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcIntegerCountRateMeasure Ifc4x3_rc3::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[566]); } @@ -7559,8 +7559,8 @@ Ifc4x3_rc3::IfcLengthMeasure::operator double() const { return get_attribute_val // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[615]); } -Ifc4x3_rc3::IfcLineIndex Ifc4x3_rc3::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcLineIndex Ifc4x3_rc3::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[609]); } @@ -7674,8 +7674,8 @@ Ifc4x3_rc3::IfcMonetaryMeasure::operator double() const { return get_attribute_v // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[690]); } -Ifc4x3_rc3::IfcMonthInYearNumber Ifc4x3_rc3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcMonthInYearNumber Ifc4x3_rc3::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[701]); } @@ -7714,8 +7714,8 @@ Ifc4x3_rc3::IfcPlaneAngleMeasure::operator double() const { return get_attribute // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[784]); } -Ifc4x3_rc3::IfcPositiveInteger Ifc4x3_rc3::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcPositiveInteger Ifc4x3_rc3::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[785]); } @@ -7914,8 +7914,8 @@ Ifc4x3_rc3::IfcTimeMeasure::operator double() const { return get_attribute_value // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1216]); } -Ifc4x3_rc3::IfcTimeStamp Ifc4x3_rc3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc3::IfcTimeStamp Ifc4x3_rc3::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc3::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1220]); } @@ -8437,8 +8437,8 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcAxis2PlacementLinear::Class() { retur Ifc4x3_rc3::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_rc3::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc3::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc3::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8450,11 +8450,11 @@ void Ifc4x3_rc3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[108]); } -Ifc4x3_rc3::IfcBSplineCurve 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));; return *this; } +Ifc4x3_rc3::IfcBSplineCurve Ifc4x3_rc3::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8462,13 +8462,13 @@ void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc3::IfcKn const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[110]); } -Ifc4x3_rc3::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_rc3::IfcBSplineCurveWithKnots Ifc4x3_rc3::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_rc3::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc3::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc3::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc3::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc3::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc3::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc3::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8482,13 +8482,13 @@ void Ifc4x3_rc3::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[111]); } -Ifc4x3_rc3::IfcBSplineSurface 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));; return *this; } +Ifc4x3_rc3::IfcBSplineSurface Ifc4x3_rc3::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8498,7 +8498,7 @@ void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc3::Ifc const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[113]); } -Ifc4x3_rc3::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_rc3::IfcBSplineSurfaceWithKnots Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9889,32 +9889,32 @@ Ifc4x3_rc3::IfcDerivedUnit Ifc4x3_rc3::IfcDerivedUnit::initialize(std::vector< : // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc3::IfcNamedUnit Ifc4x3_rc3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcNamedUnit>(); } void Ifc4x3_rc3::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc3::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[302]); } -Ifc4x3_rc3::IfcDerivedUnitElement Ifc4x3_rc3::IfcDerivedUnitElement::initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_rc3::IfcDerivedUnitElement Ifc4x3_rc3::IfcDerivedUnitElement::initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_rc3::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc3::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_rc3::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_rc3::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_rc3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_rc3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc3::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc3::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc3::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_rc3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[305]); } -Ifc4x3_rc3::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_rc3::IfcDimensionalExponents Ifc4x3_rc3::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_rc3::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11149,8 +11149,8 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricCurveSet::Class() { return * Ifc4x3_rc3::IfcGeometricCurveSet Ifc4x3_rc3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_rc3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc3::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc3::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_rc3::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc3::IfcAxis2Placement Ifc4x3_rc3::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcAxis2Placement>(); } @@ -11162,7 +11162,7 @@ std::vector<::Ifc4x3_rc3::IfcGeometricRepresentationSubContext> Ifc4x3_rc3::IfcG std::vector<::Ifc4x3_rc3::IfcCoordinateOperation> Ifc4x3_rc3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[245], 0)); } const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[512]); } -Ifc4x3_rc3::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_rc3::IfcGeometricRepresentationContext Ifc4x3_rc3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11380,12 +11380,12 @@ std::optional< double > Ifc4x3_rc3::IfcIndexedColourMap::Opacity() const { if(ge void Ifc4x3_rc3::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc3::IfcColourRgbList Ifc4x3_rc3::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcColourRgbList>(); } void Ifc4x3_rc3::IfcIndexedColourMap::setColours(const ::Ifc4x3_rc3::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_rc3::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc3::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc3::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[549]); } -Ifc4x3_rc3::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_rc3::IfcIndexedColourMap Ifc4x3_rc3::IfcIndexedColourMap::initialize(::Ifc4x3_rc3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc3::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_rc3::IfcCartesianPointList Ifc4x3_rc3::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCartesianPointList>(); } @@ -11400,21 +11400,21 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolyCurve::Class() { return *( Ifc4x3_rc3::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_rc3::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_rc3::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X3_RC3_types[778], 2)); } const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[551]); } -Ifc4x3_rc3::IfcIndexedPolygonalFace Ifc4x3_rc3::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_rc3::IfcIndexedPolygonalFace Ifc4x3_rc3::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[552]); } -Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x3_rc3::IfcTessellatedFaceSet Ifc4x3_rc3::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcTessellatedFaceSet>(); } @@ -11427,12 +11427,12 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedTextureMap::Class() { return * Ifc4x3_rc3::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_rc3::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_rc3::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[554]); } -Ifc4x3_rc3::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_rc3::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11925,13 +11925,13 @@ std::optional< std::string > Ifc4x3_rc3::IfcMaterialLayer::Description() const { void Ifc4x3_rc3::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc3::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_rc3::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc3::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_RC3_types[647], 0)); } const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[646]); } -Ifc4x3_rc3::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_rc3::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_rc3::IfcMaterialLayer > Ifc4x3_rc3::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcMaterialLayer>(es); } @@ -11969,7 +11969,7 @@ void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[649]); } -Ifc4x3_rc3::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_rc3::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11988,15 +11988,15 @@ void Ifc4x3_rc3::IfcMaterialProfile::setDescription(const std::optional< std::st void Ifc4x3_rc3::IfcMaterialProfile::setMaterial(const ::Ifc4x3_rc3::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc3::IfcProfileDef Ifc4x3_rc3::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcProfileDef>(); } void Ifc4x3_rc3::IfcMaterialProfile::setProfile(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc3::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc3::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc3::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_RC3_types[652], 2)); } const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[651]); } -Ifc4x3_rc3::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_rc3::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_rc3::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12015,24 +12015,24 @@ Ifc4x3_rc3::IfcMaterialProfileSet Ifc4x3_rc3::IfcMaterialProfileSet::initialize( // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_rc3::IfcMaterialProfileSet Ifc4x3_rc3::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcMaterialProfileSet>(); } void Ifc4x3_rc3::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_rc3::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_rc3::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_rc3::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_rc3::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_rc3::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[653]); } -Ifc4x3_rc3::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_rc3::IfcMaterialProfileSetUsage Ifc4x3_rc3::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_rc3::IfcMaterialProfileSet Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcMaterialProfileSet>(); } void Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_rc3::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[654]); } -Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_rc3::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -12040,7 +12040,7 @@ void Ifc4x3_rc3::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vecto const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[655]); } -Ifc4x3_rc3::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_rc3::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_rc3::IfcMaterialDefinition Ifc4x3_rc3::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcMaterialDefinition>(); } @@ -12444,18 +12444,18 @@ std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > Ifc4x3_rc3::IfcOwnerHistory:: 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, 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);} } +std::optional< int64_t > Ifc4x3_rc3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_rc3::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_rc3::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc3::IfcApplication Ifc4x3_rc3::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcApplication>(); } void Ifc4x3_rc3::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_rc3::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc3::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc3::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_rc3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[729]); } -Ifc4x3_rc3::IfcOwnerHistory 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));; return *this; } +Ifc4x3_rc3::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc3::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12657,18 +12657,18 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcPipeSegmentType::Class() { return *(( Ifc4x3_rc3::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_rc3::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc3::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc3::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc3::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc3::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc3::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc3::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc3::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc3::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc3::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc3::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc3::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc3::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_rc3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[760]); } -Ifc4x3_rc3::IfcPixelTexture 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));; return *this; } +Ifc4x3_rc3::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_rc3::IfcPoint Ifc4x3_rc3::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcPoint>(); } @@ -12797,12 +12797,12 @@ std::optional< bool > Ifc4x3_rc3::IfcPolygonalFaceSet::Closed() const { if(get_a void Ifc4x3_rc3::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace > Ifc4x3_rc3::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc3::IfcIndexedPolygonalFace>(es); } void Ifc4x3_rc3::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc3::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[778]); } -Ifc4x3_rc3::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_rc3::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Ifc4x3_rc3::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcCartesianPoint>(es); } @@ -13442,7 +13442,7 @@ void Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vec const ifcopenshell::entity& Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[877]); } -Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13450,7 +13450,7 @@ void Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::v const ifcopenshell::entity& Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[878]); } -Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13509,24 +13509,24 @@ Ifc4x3_rc3::IfcRectangularTrimmedSurface Ifc4x3_rc3::IfcRectangularTrimmedSurfac // 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, 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; } -void Ifc4x3_rc3::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc3::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_rc3::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc3::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_rc3::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_rc3::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_rc3::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_rc3::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_rc3::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc3::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_rc3::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc3::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > Ifc4x3_rc3::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_rc3::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[884]); } -Ifc4x3_rc3::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_rc3::IfcRecurrencePattern Ifc4x3_rc3::IfcRecurrencePattern::initialize(::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13535,14 +13535,14 @@ std::optional< std::string > Ifc4x3_rc3::IfcReference::AttributeIdentifier() con void Ifc4x3_rc3::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc3::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc3::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc3::IfcReference Ifc4x3_rc3::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc3::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcReference>(); } void Ifc4x3_rc3::IfcReference::setInnerReference(const ::Ifc4x3_rc3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_rc3::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[886]); } -Ifc4x3_rc3::IfcReference 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));; return *this; } +Ifc4x3_rc3::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13867,10 +13867,10 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsElements::Class() { return Ifc4x3_rc3::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_rc3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc3::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13878,7 +13878,7 @@ void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::I const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[925]); } -Ifc4x3_rc3::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_rc3::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc3::IfcPort Ifc4x3_rc3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcPort>(); } @@ -14701,10 +14701,10 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcSine::Class() { return *((ifcopenshel Ifc4x3_rc3::IfcSine 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));; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3_rc3::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_rc3::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc3::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_rc3::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc3::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_rc3::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc3::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14714,7 +14714,7 @@ void Ifc4x3_rc3::IfcSite::setSiteAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v const ifcopenshell::entity& Ifc4x3_rc3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1027]); } -Ifc4x3_rc3::IfcSite 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));; return *this; } +Ifc4x3_rc3::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14922,10 +14922,10 @@ const ifcopenshell::entity& Ifc4x3_rc3::IfcStair::Class() { return *((ifcopenshe Ifc4x3_rc3::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_rc3::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_rc3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_rc3::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_rc3::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_rc3::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_rc3::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_rc3::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc3::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14935,7 +14935,7 @@ void Ifc4x3_rc3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3 const ifcopenshell::entity& Ifc4x3_rc3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1074]); } -Ifc4x3_rc3::IfcStairFlight 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))); }; return *this; } +Ifc4x3_rc3::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value Ifc4x3_rc3::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15673,8 +15673,8 @@ std::optional< std::string > Ifc4x3_rc3::IfcTask::WorkMethod() const { if(get_at void Ifc4x3_rc3::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_rc3::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_rc3::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_rc3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_rc3::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_rc3::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15682,7 +15682,7 @@ void Ifc4x3_rc3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc3::I const ifcopenshell::entity& Ifc4x3_rc3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1164]); } -Ifc4x3_rc3::IfcTask 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))); }; return *this; } +Ifc4x3_rc3::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -16114,22 +16114,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc3::IfcTriangulate void Ifc4x3_rc3::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_rc3::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_rc3::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_rc3::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_rc3::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc3::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc3::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_rc3::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc3::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1235]); } -Ifc4x3_rc3::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_rc3::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1236]); } -Ifc4x3_rc3::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_rc3::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_rc3::IfcCurve Ifc4x3_rc3::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_rc3.h b/src/ifcparse/schemas/Ifc4x3_rc3.h index cc83253e2f..21732a6679 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc3.h +++ b/src/ifcparse/schemas/Ifc4x3_rc3.h @@ -11949,8 +11949,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -12046,8 +12046,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -12121,8 +12121,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -12224,8 +12224,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -12266,8 +12266,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -12295,8 +12295,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12635,8 +12635,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12650,8 +12650,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12751,8 +12751,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -13112,8 +13112,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -13206,8 +13206,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13765,8 +13765,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14637,11 +14637,11 @@ public: ::Ifc4x3_rc3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14665,29 +14665,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -15122,12 +15122,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15236,7 +15236,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -15288,15 +15288,15 @@ public: ::Ifc4x3_rc3::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_rc3::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15340,7 +15340,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15624,8 +15624,8 @@ public: std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_rc3::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_rc3::IfcPersonAndOrganization& v); @@ -15633,11 +15633,11 @@ public: ::Ifc4x3_rc3::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_rc3::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc3::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -16368,31 +16368,31 @@ public: ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16400,7 +16400,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16413,13 +16413,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_rc3::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc3::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc3::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19663,8 +19663,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19680,7 +19680,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19917,11 +19917,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_rc3::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_rc3::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_rc3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_rc3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc3::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19941,11 +19941,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20642,8 +20642,8 @@ public: ::Ifc4x3_rc3::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_rc3::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20654,7 +20654,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20689,11 +20689,11 @@ public: ::Ifc4x3_rc3::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_rc3::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -21105,14 +21105,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -21120,7 +21120,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -25212,23 +25212,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -27545,11 +27545,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v); @@ -27558,7 +27558,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30682,8 +30682,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30697,7 +30697,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_rc3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30880,24 +30880,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -31476,11 +31476,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > >& v); @@ -31498,7 +31498,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31512,11 +31512,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31528,7 +31528,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -36379,11 +36379,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -37026,7 +37026,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37623,13 +37623,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37641,7 +37641,7 @@ public: void setSiteAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40853,8 +40853,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v); @@ -40869,7 +40869,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40893,8 +40893,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40903,7 +40903,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc3::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -48226,7 +48226,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc3::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -49789,13 +49789,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -49814,7 +49814,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_rc4.cpp b/src/ifcparse/schemas/Ifc4x3_rc4.cpp index f070bc8f84..f0f2adaecf 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc4.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc4.cpp @@ -7324,8 +7324,8 @@ Ifc4x3_rc4::IfcAngularVelocityMeasure::operator double() const { return get_attr // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[57]); } -Ifc4x3_rc4::IfcArcIndex Ifc4x3_rc4::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcArcIndex Ifc4x3_rc4::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[58]); } @@ -7354,8 +7354,8 @@ Ifc4x3_rc4::IfcBoxAlignment::operator std::string() const { return get_attribute // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[146]); } -Ifc4x3_rc4::IfcCardinalPointReference Ifc4x3_rc4::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcCardinalPointReference Ifc4x3_rc4::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[190]); } @@ -7364,8 +7364,8 @@ Ifc4x3_rc4::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[198]); } -Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[228]); } @@ -7394,13 +7394,13 @@ Ifc4x3_rc4::IfcDateTime::operator std::string() const { return get_attribute_val // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[294]); } -Ifc4x3_rc4::IfcDayInMonthNumber Ifc4x3_rc4::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcDayInMonthNumber Ifc4x3_rc4::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[295]); } -Ifc4x3_rc4::IfcDayInWeekNumber Ifc4x3_rc4::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcDayInWeekNumber Ifc4x3_rc4::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[304]); } @@ -7409,8 +7409,8 @@ Ifc4x3_rc4::IfcDescriptiveMeasure::operator std::string() const { return get_att // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[306]); } -Ifc4x3_rc4::IfcDimensionCount Ifc4x3_rc4::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcDimensionCount Ifc4x3_rc4::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[349]); } @@ -7519,13 +7519,13 @@ Ifc4x3_rc4::IfcInductanceMeasure::operator double() const { return get_attribute // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[554]); } -Ifc4x3_rc4::IfcInteger Ifc4x3_rc4::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcInteger Ifc4x3_rc4::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[555]); } -Ifc4x3_rc4::IfcIntegerCountRateMeasure Ifc4x3_rc4::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcIntegerCountRateMeasure Ifc4x3_rc4::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[564]); } @@ -7559,8 +7559,8 @@ Ifc4x3_rc4::IfcLengthMeasure::operator double() const { return get_attribute_val // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[613]); } -Ifc4x3_rc4::IfcLineIndex Ifc4x3_rc4::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcLineIndex Ifc4x3_rc4::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[607]); } @@ -7674,8 +7674,8 @@ Ifc4x3_rc4::IfcMonetaryMeasure::operator double() const { return get_attribute_v // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[688]); } -Ifc4x3_rc4::IfcMonthInYearNumber Ifc4x3_rc4::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcMonthInYearNumber Ifc4x3_rc4::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[699]); } @@ -7714,8 +7714,8 @@ Ifc4x3_rc4::IfcPlaneAngleMeasure::operator double() const { return get_attribute // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[782]); } -Ifc4x3_rc4::IfcPositiveInteger Ifc4x3_rc4::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcPositiveInteger Ifc4x3_rc4::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[783]); } @@ -7914,8 +7914,8 @@ Ifc4x3_rc4::IfcTimeMeasure::operator double() const { return get_attribute_value // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1216]); } -Ifc4x3_rc4::IfcTimeStamp Ifc4x3_rc4::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_rc4::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_rc4::IfcTimeStamp Ifc4x3_rc4::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_rc4::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1220]); } @@ -8437,8 +8437,8 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcAxis2PlacementLinear::Class() { retur Ifc4x3_rc4::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_rc4::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc4::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc4::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc4::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8450,11 +8450,11 @@ void Ifc4x3_rc4::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[108]); } -Ifc4x3_rc4::IfcBSplineCurve 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));; return *this; } +Ifc4x3_rc4::IfcBSplineCurve Ifc4x3_rc4::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8462,13 +8462,13 @@ void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc4::IfcKn const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[110]); } -Ifc4x3_rc4::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_rc4::IfcBSplineCurveWithKnots Ifc4x3_rc4::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_rc4::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc4::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc4::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc4::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc4::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc4::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc4::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8482,13 +8482,13 @@ void Ifc4x3_rc4::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[111]); } -Ifc4x3_rc4::IfcBSplineSurface 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));; return *this; } +Ifc4x3_rc4::IfcBSplineSurface Ifc4x3_rc4::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8498,7 +8498,7 @@ void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc4::Ifc const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[113]); } -Ifc4x3_rc4::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_rc4::IfcBSplineSurfaceWithKnots Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9889,32 +9889,32 @@ Ifc4x3_rc4::IfcDerivedUnit Ifc4x3_rc4::IfcDerivedUnit::initialize(std::vector< : // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc4::IfcNamedUnit Ifc4x3_rc4::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcNamedUnit>(); } void Ifc4x3_rc4::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc4::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc4::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc4::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc4::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[302]); } -Ifc4x3_rc4::IfcDerivedUnitElement Ifc4x3_rc4::IfcDerivedUnitElement::initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_rc4::IfcDerivedUnitElement Ifc4x3_rc4::IfcDerivedUnitElement::initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_rc4::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_rc4::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_rc4::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_rc4::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_rc4::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_rc4::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc4::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc4::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_rc4::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[305]); } -Ifc4x3_rc4::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_rc4::IfcDimensionalExponents Ifc4x3_rc4::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_rc4::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11138,8 +11138,8 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricCurveSet::Class() { return * Ifc4x3_rc4::IfcGeometricCurveSet Ifc4x3_rc4::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_rc4::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_rc4::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_rc4::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_rc4::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_rc4::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc4::IfcAxis2Placement Ifc4x3_rc4::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcAxis2Placement>(); } @@ -11151,7 +11151,7 @@ std::vector<::Ifc4x3_rc4::IfcGeometricRepresentationSubContext> Ifc4x3_rc4::IfcG std::vector<::Ifc4x3_rc4::IfcCoordinateOperation> Ifc4x3_rc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[245], 0)); } const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[511]); } -Ifc4x3_rc4::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_rc4::IfcGeometricRepresentationContext Ifc4x3_rc4::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11361,12 +11361,12 @@ std::optional< double > Ifc4x3_rc4::IfcIndexedColourMap::Opacity() const { if(ge void Ifc4x3_rc4::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc4::IfcColourRgbList Ifc4x3_rc4::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcColourRgbList>(); } void Ifc4x3_rc4::IfcIndexedColourMap::setColours(const ::Ifc4x3_rc4::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_rc4::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc4::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc4::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[547]); } -Ifc4x3_rc4::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_rc4::IfcIndexedColourMap Ifc4x3_rc4::IfcIndexedColourMap::initialize(::Ifc4x3_rc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc4::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_rc4::IfcCartesianPointList Ifc4x3_rc4::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCartesianPointList>(); } @@ -11381,21 +11381,21 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolyCurve::Class() { return *( Ifc4x3_rc4::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_rc4::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_rc4::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->get_inverse(data()->id(), IFC4X3_RC4_types[776], 2)); } const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[549]); } -Ifc4x3_rc4::IfcIndexedPolygonalFace Ifc4x3_rc4::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_rc4::IfcIndexedPolygonalFace Ifc4x3_rc4::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[550]); } -Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedTextureMap ::Ifc4x3_rc4::IfcTessellatedFaceSet Ifc4x3_rc4::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcTessellatedFaceSet>(); } @@ -11408,12 +11408,12 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedTextureMap::Class() { return * Ifc4x3_rc4::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_rc4::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_rc4::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[552]); } -Ifc4x3_rc4::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_rc4::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11906,13 +11906,13 @@ std::optional< std::string > Ifc4x3_rc4::IfcMaterialLayer::Description() const { void Ifc4x3_rc4::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc4::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_rc4::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc4::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_RC4_types[645], 0)); } const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[644]); } -Ifc4x3_rc4::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_rc4::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_rc4::IfcMaterialLayer > Ifc4x3_rc4::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcMaterialLayer>(es); } @@ -11950,7 +11950,7 @@ void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[647]); } -Ifc4x3_rc4::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_rc4::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11969,15 +11969,15 @@ void Ifc4x3_rc4::IfcMaterialProfile::setDescription(const std::optional< std::st void Ifc4x3_rc4::IfcMaterialProfile::setMaterial(const ::Ifc4x3_rc4::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc4::IfcProfileDef Ifc4x3_rc4::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcProfileDef>(); } void Ifc4x3_rc4::IfcMaterialProfile::setProfile(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc4::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc4::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc4::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_RC4_types[650], 2)); } const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[649]); } -Ifc4x3_rc4::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_rc4::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_rc4::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11996,24 +11996,24 @@ Ifc4x3_rc4::IfcMaterialProfileSet Ifc4x3_rc4::IfcMaterialProfileSet::initialize( // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_rc4::IfcMaterialProfileSet Ifc4x3_rc4::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcMaterialProfileSet>(); } void Ifc4x3_rc4::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_rc4::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_rc4::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_rc4::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_rc4::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_rc4::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[651]); } -Ifc4x3_rc4::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_rc4::IfcMaterialProfileSetUsage Ifc4x3_rc4::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_rc4::IfcMaterialProfileSet Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcMaterialProfileSet>(); } void Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_rc4::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[652]); } -Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_rc4::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -12021,7 +12021,7 @@ void Ifc4x3_rc4::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vecto const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[653]); } -Ifc4x3_rc4::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_rc4::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_rc4::IfcMaterialDefinition Ifc4x3_rc4::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcMaterialDefinition>(); } @@ -12425,18 +12425,18 @@ std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > Ifc4x3_rc4::IfcOwnerHistory:: 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, 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);} } +std::optional< int64_t > Ifc4x3_rc4::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_rc4::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_rc4::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc4::IfcApplication Ifc4x3_rc4::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcApplication>(); } void Ifc4x3_rc4::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_rc4::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc4::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc4::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc4::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc4::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_rc4::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[727]); } -Ifc4x3_rc4::IfcOwnerHistory 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));; return *this; } +Ifc4x3_rc4::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc4::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12638,18 +12638,18 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcPipeSegmentType::Class() { return *(( Ifc4x3_rc4::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_rc4::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_rc4::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_rc4::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_rc4::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_rc4::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_rc4::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_rc4::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc4::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_rc4::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc4::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_rc4::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_rc4::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc4::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_rc4::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[758]); } -Ifc4x3_rc4::IfcPixelTexture 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));; return *this; } +Ifc4x3_rc4::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_rc4::IfcPoint Ifc4x3_rc4::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcPoint>(); } @@ -12778,12 +12778,12 @@ std::optional< bool > Ifc4x3_rc4::IfcPolygonalFaceSet::Closed() const { if(get_a void Ifc4x3_rc4::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace > Ifc4x3_rc4::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc4::IfcIndexedPolygonalFace>(es); } void Ifc4x3_rc4::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_rc4::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[776]); } -Ifc4x3_rc4::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_rc4::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Ifc4x3_rc4::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcCartesianPoint>(es); } @@ -13423,7 +13423,7 @@ void Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vec const ifcopenshell::entity& Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[875]); } -Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13431,7 +13431,7 @@ void Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::v const ifcopenshell::entity& Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[876]); } -Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc4::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13490,24 +13490,24 @@ Ifc4x3_rc4::IfcRectangularTrimmedSurface Ifc4x3_rc4::IfcRectangularTrimmedSurfac // 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, 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; } -void Ifc4x3_rc4::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc4::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_rc4::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_rc4::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_rc4::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_rc4::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_rc4::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_rc4::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_rc4::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_rc4::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_rc4::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_rc4::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > Ifc4x3_rc4::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_rc4::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[882]); } -Ifc4x3_rc4::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_rc4::IfcRecurrencePattern Ifc4x3_rc4::IfcRecurrencePattern::initialize(::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13516,14 +13516,14 @@ std::optional< std::string > Ifc4x3_rc4::IfcReference::AttributeIdentifier() con void Ifc4x3_rc4::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc4::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_rc4::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc4::IfcReference Ifc4x3_rc4::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc4::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcReference>(); } void Ifc4x3_rc4::IfcReference::setInnerReference(const ::Ifc4x3_rc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_rc4::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[884]); } -Ifc4x3_rc4::IfcReference 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));; return *this; } +Ifc4x3_rc4::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13858,10 +13858,10 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsElements::Class() { return Ifc4x3_rc4::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_rc4::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc4::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_rc4::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13869,7 +13869,7 @@ void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::I const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[924]); } -Ifc4x3_rc4::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_rc4::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc4::IfcPort Ifc4x3_rc4::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcPort>(); } @@ -14718,10 +14718,10 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcSine::Class() { return *((ifcopenshel Ifc4x3_rc4::IfcSine 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc4::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3_rc4::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc4::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_rc4::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc4::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_rc4::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_rc4::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_rc4::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc4::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14731,7 +14731,7 @@ void Ifc4x3_rc4::IfcSite::setSiteAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v const ifcopenshell::entity& Ifc4x3_rc4::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1027]); } -Ifc4x3_rc4::IfcSite 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));; return *this; } +Ifc4x3_rc4::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14939,10 +14939,10 @@ const ifcopenshell::entity& Ifc4x3_rc4::IfcStair::Class() { return *((ifcopenshe Ifc4x3_rc4::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_rc4::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_rc4::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_rc4::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_rc4::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_rc4::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_rc4::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_rc4::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc4::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14952,7 +14952,7 @@ void Ifc4x3_rc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3 const ifcopenshell::entity& Ifc4x3_rc4::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1074]); } -Ifc4x3_rc4::IfcStairFlight 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))); }; return *this; } +Ifc4x3_rc4::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value Ifc4x3_rc4::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15691,8 +15691,8 @@ std::optional< std::string > Ifc4x3_rc4::IfcTask::WorkMethod() const { if(get_at void Ifc4x3_rc4::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_rc4::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_rc4::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_rc4::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_rc4::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_rc4::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15700,7 +15700,7 @@ void Ifc4x3_rc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc4::I const ifcopenshell::entity& Ifc4x3_rc4::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1164]); } -Ifc4x3_rc4::IfcTask 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))); }; return *this; } +Ifc4x3_rc4::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -16132,22 +16132,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc4::IfcTriangulate void Ifc4x3_rc4::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_rc4::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_rc4::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_rc4::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_rc4::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_rc4::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_rc4::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_rc4::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_rc4::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1235]); } -Ifc4x3_rc4::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_rc4::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1236]); } -Ifc4x3_rc4::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_rc4::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_rc4::IfcCurve Ifc4x3_rc4::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_rc4.h b/src/ifcparse/schemas/Ifc4x3_rc4.h index 4bd59b423b..3250b95661 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc4.h +++ b/src/ifcparse/schemas/Ifc4x3_rc4.h @@ -11949,8 +11949,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -12046,8 +12046,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -12121,8 +12121,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -12224,8 +12224,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -12266,8 +12266,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -12295,8 +12295,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12635,8 +12635,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12650,8 +12650,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12751,8 +12751,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -13112,8 +13112,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -13206,8 +13206,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13765,8 +13765,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14637,11 +14637,11 @@ public: ::Ifc4x3_rc4::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14665,29 +14665,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -15122,12 +15122,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15236,7 +15236,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -15288,15 +15288,15 @@ public: ::Ifc4x3_rc4::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_rc4::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -15340,7 +15340,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15624,8 +15624,8 @@ public: std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_rc4::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_rc4::IfcPersonAndOrganization& v); @@ -15633,11 +15633,11 @@ public: ::Ifc4x3_rc4::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_rc4::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_rc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc4::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -16368,31 +16368,31 @@ public: ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16400,7 +16400,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16413,13 +16413,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_rc4::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc4::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc4::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -19663,8 +19663,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19680,7 +19680,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19917,11 +19917,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_rc4::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_rc4::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_rc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_rc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc4::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19941,11 +19941,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20642,8 +20642,8 @@ public: ::Ifc4x3_rc4::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_rc4::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20654,7 +20654,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20689,11 +20689,11 @@ public: ::Ifc4x3_rc4::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_rc4::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -21105,14 +21105,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -21120,7 +21120,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -25186,23 +25186,23 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -27519,11 +27519,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v); @@ -27532,7 +27532,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30658,8 +30658,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30673,7 +30673,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_rc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30856,24 +30856,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -31452,11 +31452,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > >& v); @@ -31474,7 +31474,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31488,11 +31488,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31504,7 +31504,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -36356,11 +36356,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -37003,7 +37003,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37640,13 +37640,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37658,7 +37658,7 @@ public: void setSiteAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40854,8 +40854,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v); @@ -40870,7 +40870,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40894,8 +40894,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40904,7 +40904,7 @@ public: void setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc4::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -48227,7 +48227,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_rc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -49790,13 +49790,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -49815,7 +49815,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcparse/schemas/Ifc4x3_tc1.cpp b/src/ifcparse/schemas/Ifc4x3_tc1.cpp index 667e4fb6a8..a93b9d669e 100644 --- a/src/ifcparse/schemas/Ifc4x3_tc1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_tc1.cpp @@ -7231,8 +7231,8 @@ Ifc4x3_tc1::IfcAngularVelocityMeasure::operator double() const { return get_attr // Function implementations for IfcArcIndex const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[57]); } -Ifc4x3_tc1::IfcArcIndex Ifc4x3_tc1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcArcIndex Ifc4x3_tc1::IfcArcIndex::initialize(std::vector< int64_t > /*[3:3]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcArcIndex::operator std::vector< int64_t > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[58]); } @@ -7261,8 +7261,8 @@ Ifc4x3_tc1::IfcBoxAlignment::operator std::string() const { return get_attribute // Function implementations for IfcCardinalPointReference const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[145]); } -Ifc4x3_tc1::IfcCardinalPointReference Ifc4x3_tc1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcCardinalPointReference Ifc4x3_tc1::IfcCardinalPointReference::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcCardinalPointReference::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[188]); } @@ -7271,8 +7271,8 @@ Ifc4x3_tc1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { // Function implementations for IfcCompoundPlaneAngleMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[196]); } -Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int64_t > /*[3:4]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int64_t > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[226]); } @@ -7281,8 +7281,8 @@ Ifc4x3_tc1::IfcContextDependentMeasure::operator double() const { return get_att // Function implementations for IfcCountMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[252]); } -Ifc4x3_tc1::IfcCountMeasure Ifc4x3_tc1::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcCountMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcCountMeasure Ifc4x3_tc1::IfcCountMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcCountMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[270]); } @@ -7301,13 +7301,13 @@ Ifc4x3_tc1::IfcDateTime::operator std::string() const { return get_attribute_val // Function implementations for IfcDayInMonthNumber const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[292]); } -Ifc4x3_tc1::IfcDayInMonthNumber Ifc4x3_tc1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcDayInMonthNumber Ifc4x3_tc1::IfcDayInMonthNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcDayInMonthNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[293]); } -Ifc4x3_tc1::IfcDayInWeekNumber Ifc4x3_tc1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcDayInWeekNumber Ifc4x3_tc1::IfcDayInWeekNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcDayInWeekNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[302]); } @@ -7316,8 +7316,8 @@ Ifc4x3_tc1::IfcDescriptiveMeasure::operator std::string() const { return get_att // Function implementations for IfcDimensionCount const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[304]); } -Ifc4x3_tc1::IfcDimensionCount Ifc4x3_tc1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcDimensionCount Ifc4x3_tc1::IfcDimensionCount::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcDimensionCount::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[343]); } @@ -7426,13 +7426,13 @@ Ifc4x3_tc1::IfcInductanceMeasure::operator double() const { return get_attribute // Function implementations for IfcInteger const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[549]); } -Ifc4x3_tc1::IfcInteger Ifc4x3_tc1::IfcInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcInteger Ifc4x3_tc1::IfcInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[550]); } -Ifc4x3_tc1::IfcIntegerCountRateMeasure Ifc4x3_tc1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcIntegerCountRateMeasure Ifc4x3_tc1::IfcIntegerCountRateMeasure::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcIntegerCountRateMeasure::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[559]); } @@ -7466,8 +7466,8 @@ Ifc4x3_tc1::IfcLengthMeasure::operator double() const { return get_attribute_val // Function implementations for IfcLineIndex const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[609]); } -Ifc4x3_tc1::IfcLineIndex Ifc4x3_tc1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcLineIndex Ifc4x3_tc1::IfcLineIndex::initialize(std::vector< int64_t > /*[2:?]*/ v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcLineIndex::operator std::vector< int64_t > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[603]); } @@ -7581,8 +7581,8 @@ Ifc4x3_tc1::IfcMonetaryMeasure::operator double() const { return get_attribute_v // Function implementations for IfcMonthInYearNumber const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[684]); } -Ifc4x3_tc1::IfcMonthInYearNumber Ifc4x3_tc1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcMonthInYearNumber Ifc4x3_tc1::IfcMonthInYearNumber::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcMonthInYearNumber::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[695]); } @@ -7621,8 +7621,8 @@ Ifc4x3_tc1::IfcPlaneAngleMeasure::operator double() const { return get_attribute // Function implementations for IfcPositiveInteger const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[774]); } -Ifc4x3_tc1::IfcPositiveInteger Ifc4x3_tc1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcPositiveInteger Ifc4x3_tc1::IfcPositiveInteger::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcPositiveInteger::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[775]); } @@ -7826,8 +7826,8 @@ Ifc4x3_tc1::IfcTimeMeasure::operator double() const { return get_attribute_value // Function implementations for IfcTimeStamp const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1210]); } -Ifc4x3_tc1::IfcTimeStamp Ifc4x3_tc1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v));; return *this; } -Ifc4x3_tc1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } +Ifc4x3_tc1::IfcTimeStamp Ifc4x3_tc1::IfcTimeStamp::initialize(int64_t v) { set_attribute_value(0, (v));; return *this; } +Ifc4x3_tc1::IfcTimeStamp::operator int64_t() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1214]); } @@ -8349,8 +8349,8 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2PlacementLinear::Class() { retur Ifc4x3_tc1::IfcAxis2PlacementLinear 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));; return *this; } // Function implementations for IfcBSplineCurve -int Ifc4x3_tc1::IfcBSplineCurve::Degree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_tc1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_tc1::IfcBSplineCurve::Degree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_tc1::IfcBSplineCurve::setDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } 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)); } @@ -8362,11 +8362,11 @@ void Ifc4x3_tc1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[107]); } -Ifc4x3_tc1::IfcBSplineCurve 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));; return *this; } +Ifc4x3_tc1::IfcBSplineCurve Ifc4x3_tc1::IfcBSplineCurve::initialize(int64_t 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));; return *this; } // Function implementations for IfcBSplineCurveWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } 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)); } @@ -8374,13 +8374,13 @@ void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKn const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[109]); } -Ifc4x3_tc1::IfcBSplineCurveWithKnots 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)));; return *this; } +Ifc4x3_tc1::IfcBSplineCurveWithKnots Ifc4x3_tc1::IfcBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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)));; return *this; } // Function implementations for IfcBSplineSurface -int Ifc4x3_tc1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_tc1::IfcBSplineSurface::setUDegree(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_tc1::IfcBSplineSurface::VDegree() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_tc1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_tc1::IfcBSplineSurface::UDegree() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_tc1::IfcBSplineSurface::setUDegree(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_tc1::IfcBSplineSurface::VDegree() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcBSplineSurface::setVDegree(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } 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)); } @@ -8394,13 +8394,13 @@ void Ifc4x3_tc1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[110]); } -Ifc4x3_tc1::IfcBSplineSurface 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));; return *this; } +Ifc4x3_tc1::IfcBSplineSurface Ifc4x3_tc1::IfcBSplineSurface::initialize(int64_t v1_UDegree, int64_t 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));; return *this; } // Function implementations for IfcBSplineSurfaceWithKnots -std::vector< int > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector< int > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(8); return v; } -void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::VMultiplicities() const { std::vector< int64_t > /*[2:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::UKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } @@ -8410,7 +8410,7 @@ void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_tc1::Ifc const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[112]); } -Ifc4x3_tc1::IfcBSplineSurfaceWithKnots 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)));; return *this; } +Ifc4x3_tc1::IfcBSplineSurfaceWithKnots Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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)));; return *this; } // 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)); } @@ -9799,32 +9799,32 @@ Ifc4x3_tc1::IfcDerivedUnit Ifc4x3_tc1::IfcDerivedUnit::initialize(std::vector< : // Function implementations for IfcDerivedUnitElement ::Ifc4x3_tc1::IfcNamedUnit Ifc4x3_tc1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcNamedUnit>(); } void Ifc4x3_tc1::IfcDerivedUnitElement::setUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_tc1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_tc1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_tc1::IfcDerivedUnitElement::Exponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcDerivedUnitElement::setExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[300]); } -Ifc4x3_tc1::IfcDerivedUnitElement Ifc4x3_tc1::IfcDerivedUnitElement::initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } +Ifc4x3_tc1::IfcDerivedUnitElement Ifc4x3_tc1::IfcDerivedUnitElement::initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int64_t v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent));; return *this; } // Function implementations for IfcDimensionalExponents -int Ifc4x3_tc1::IfcDimensionalExponents::LengthExponent() const { int v = get_attribute_value(0); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setLengthExponent(const int& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -int Ifc4x3_tc1::IfcDimensionalExponents::MassExponent() const { int v = get_attribute_value(1); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setMassExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -int Ifc4x3_tc1::IfcDimensionalExponents::TimeExponent() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setTimeExponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -int Ifc4x3_tc1::IfcDimensionalExponents::ElectricCurrentExponent() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setElectricCurrentExponent(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -int Ifc4x3_tc1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int v = get_attribute_value(4); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -int Ifc4x3_tc1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_tc1::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_tc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::LengthExponent() const { int64_t v = get_attribute_value(0); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setLengthExponent(const int64_t& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::MassExponent() const { int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setMassExponent(const int64_t& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::TimeExponent() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setTimeExponent(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::ElectricCurrentExponent() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setElectricCurrentExponent(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::ThermodynamicTemperatureExponent() const { int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setThermodynamicTemperatureExponent(const int64_t& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::AmountOfSubstanceExponent() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setAmountOfSubstanceExponent(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_tc1::IfcDimensionalExponents::LuminousIntensityExponent() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_tc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } const ifcopenshell::entity& Ifc4x3_tc1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[303]); } -Ifc4x3_tc1::IfcDimensionalExponents 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));; return *this; } +Ifc4x3_tc1::IfcDimensionalExponents Ifc4x3_tc1::IfcDimensionalExponents::initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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));; return *this; } // Function implementations for IfcDirection std::vector< double > /*[2:3]*/ Ifc4x3_tc1::IfcDirection::DirectionRatios() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(0); return v; } @@ -11034,8 +11034,8 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricCurveSet::Class() { return * Ifc4x3_tc1::IfcGeometricCurveSet Ifc4x3_tc1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements));; return *this; } // Function implementations for IfcGeometricRepresentationContext -int Ifc4x3_tc1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int v = get_attribute_value(2); return v; } -void Ifc4x3_tc1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +int64_t Ifc4x3_tc1::IfcGeometricRepresentationContext::CoordinateSpaceDimension() const { int64_t v = get_attribute_value(2); return v; } +void Ifc4x3_tc1::IfcGeometricRepresentationContext::setCoordinateSpaceDimension(const int64_t& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } std::optional< double > Ifc4x3_tc1::IfcGeometricRepresentationContext::Precision() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcGeometricRepresentationContext::setPrecision(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcGeometricRepresentationContext::WorldCoordinateSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); } @@ -11047,7 +11047,7 @@ std::vector<::Ifc4x3_tc1::IfcGeometricRepresentationSubContext> Ifc4x3_tc1::IfcG std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[243], 0)); } const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[505]); } -Ifc4x3_tc1::IfcGeometricRepresentationContext 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));; return *this; } +Ifc4x3_tc1::IfcGeometricRepresentationContext Ifc4x3_tc1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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));; return *this; } // Function implementations for IfcGeometricRepresentationItem @@ -11260,12 +11260,12 @@ std::optional< double > Ifc4x3_tc1::IfcIndexedColourMap::Opacity() const { if(ge void Ifc4x3_tc1::IfcIndexedColourMap::setOpacity(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_tc1::IfcColourRgbList Ifc4x3_tc1::IfcIndexedColourMap::Colours() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcColourRgbList>(); } void Ifc4x3_tc1::IfcIndexedColourMap::setColours(const ::Ifc4x3_tc1::IfcColourRgbList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector< int > /*[1:?]*/ Ifc4x3_tc1::IfcIndexedColourMap::ColourIndex() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_tc1::IfcIndexedColourMap::ColourIndex() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcIndexedColourMap::setColourIndex(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[541]); } -Ifc4x3_tc1::IfcIndexedColourMap 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));; return *this; } +Ifc4x3_tc1::IfcIndexedColourMap Ifc4x3_tc1::IfcIndexedColourMap::initialize(::Ifc4x3_tc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_tc1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcIndexedPolyCurve ::Ifc4x3_tc1::IfcCartesianPointList Ifc4x3_tc1::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPointList>(); } @@ -11280,22 +11280,22 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolyCurve::Class() { return *( Ifc4x3_tc1::IfcIndexedPolyCurve 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)); }; return *this; } // 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< int64_t > /*[3:?]*/ Ifc4x3_tc1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_tc1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int64_t > /*[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()->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 ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[543]); } -Ifc4x3_tc1::IfcIndexedPolygonalFace Ifc4x3_tc1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } +Ifc4x3_tc1::IfcIndexedPolygonalFace Ifc4x3_tc1::IfcIndexedPolygonalFace::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex));; return *this; } // Function implementations for IfcIndexedPolygonalFaceWithVoids -std::vector< std::vector< int > > Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(1); return v; } -void Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } +std::vector< std::vector< int64_t > > Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::InnerCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[544]); } -Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids 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));; return *this; } +Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices));; return *this; } // Function implementations for IfcIndexedPolygonalTextureMap std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcTextureCoordinateIndices>(es); } @@ -11316,12 +11316,12 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedTextureMap::Class() { return * Ifc4x3_tc1::IfcIndexedTextureMap 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));; return *this; } // Function implementations for IfcIndexedTriangleTextureMap -std::optional< std::vector< std::vector< int > > > Ifc4x3_tc1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< std::vector< int64_t > > > Ifc4x3_tc1::IfcIndexedTriangleTextureMap::TexCoordIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[547]); } -Ifc4x3_tc1::IfcIndexedTriangleTextureMap 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)); }; return *this; } +Ifc4x3_tc1::IfcIndexedTriangleTextureMap 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< int64_t > > > 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)); }; return *this; } // 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)); } @@ -11822,13 +11822,13 @@ std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayer::Description() const { void Ifc4x3_tc1::IfcMaterialLayer::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayer::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -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::optional< int64_t > Ifc4x3_tc1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_tc1::IfcMaterialLayer::setPriority(const std::optional< int64_t >& 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()->get_inverse(data()->id(), IFC4X3_TC1_types[642], 0)); } const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[641]); } -Ifc4x3_tc1::IfcMaterialLayer 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)); }; return *this; } +Ifc4x3_tc1::IfcMaterialLayer 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialLayerSet std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > Ifc4x3_tc1::IfcMaterialLayerSet::MaterialLayers() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcMaterialLayer>(es); } @@ -11866,7 +11866,7 @@ void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[644]); } -Ifc4x3_tc1::IfcMaterialLayerWithOffsets 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));; return *this; } +Ifc4x3_tc1::IfcMaterialLayerWithOffsets 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< int64_t > 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));; return *this; } // 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); } @@ -11885,15 +11885,15 @@ void Ifc4x3_tc1::IfcMaterialProfile::setDescription(const std::optional< std::st void Ifc4x3_tc1::IfcMaterialProfile::setMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcMaterialProfile::Profile() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcProfileDef>(); } void Ifc4x3_tc1::IfcMaterialProfile::setProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_tc1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_tc1::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_tc1::IfcMaterialProfile::Priority() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcMaterialProfile::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } 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()->get_inverse(data()->id(), IFC4X3_TC1_types[647], 2)); } const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[646]); } -Ifc4x3_tc1::IfcMaterialProfile 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)); }; return *this; } +Ifc4x3_tc1::IfcMaterialProfile 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< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSet std::optional< std::string > Ifc4x3_tc1::IfcMaterialProfileSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11912,24 +11912,24 @@ Ifc4x3_tc1::IfcMaterialProfileSet Ifc4x3_tc1::IfcMaterialProfileSet::initialize( // Function implementations for IfcMaterialProfileSetUsage ::Ifc4x3_tc1::IfcMaterialProfileSet Ifc4x3_tc1::IfcMaterialProfileSetUsage::ForProfileSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcMaterialProfileSet>(); } void Ifc4x3_tc1::IfcMaterialProfileSetUsage::setForProfileSet(const ::Ifc4x3_tc1::IfcMaterialProfileSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::optional< int > Ifc4x3_tc1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } -void Ifc4x3_tc1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< int64_t > Ifc4x3_tc1::IfcMaterialProfileSetUsage::CardinalPoint() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcMaterialProfileSetUsage::setCardinalPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< double > Ifc4x3_tc1::IfcMaterialProfileSetUsage::ReferenceExtent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[648]); } -Ifc4x3_tc1::IfcMaterialProfileSetUsage 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)); }; return *this; } +Ifc4x3_tc1::IfcMaterialProfileSetUsage Ifc4x3_tc1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileSetUsageTapering ::Ifc4x3_tc1::IfcMaterialProfileSet Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::ForProfileEndSet() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMaterialProfileSet>(); } void Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::setForProfileEndSet(const ::Ifc4x3_tc1::IfcMaterialProfileSet& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< int > Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::CardinalEndPoint() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[649]); } -Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering 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)); }; return *this; } +Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_tc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > 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)); }; return *this; } // Function implementations for IfcMaterialProfileWithOffsets std::vector< double > /*[1:2]*/ Ifc4x3_tc1::IfcMaterialProfileWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(6); return v; } @@ -11937,7 +11937,7 @@ void Ifc4x3_tc1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vecto const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[650]); } -Ifc4x3_tc1::IfcMaterialProfileWithOffsets 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));; return *this; } +Ifc4x3_tc1::IfcMaterialProfileWithOffsets 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< int64_t > 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));; return *this; } // Function implementations for IfcMaterialProperties ::Ifc4x3_tc1::IfcMaterialDefinition Ifc4x3_tc1::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMaterialDefinition>(); } @@ -12332,18 +12332,18 @@ std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > Ifc4x3_tc1::IfcOwnerHistory:: 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, 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);} } +std::optional< int64_t > Ifc4x3_tc1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int64_t >& 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>(); } void Ifc4x3_tc1::IfcOwnerHistory::setLastModifyingUser(const ::Ifc4x3_tc1::IfcPersonAndOrganization& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_tc1::IfcApplication Ifc4x3_tc1::IfcOwnerHistory::LastModifyingApplication() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcApplication{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcApplication>(); } void Ifc4x3_tc1::IfcOwnerHistory::setLastModifyingApplication(const ::Ifc4x3_tc1::IfcApplication& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_tc1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_tc1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_tc1::IfcOwnerHistory::CreationDate() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_tc1::IfcOwnerHistory::setCreationDate(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } const ifcopenshell::entity& Ifc4x3_tc1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[721]); } -Ifc4x3_tc1::IfcOwnerHistory 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));; return *this; } +Ifc4x3_tc1::IfcOwnerHistory 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_tc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_tc1::IfcApplication v7_LastModifyingApplication, int64_t 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));; return *this; } // 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>(); } @@ -12545,18 +12545,18 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeSegmentType::Class() { return *(( Ifc4x3_tc1::IfcPipeSegmentType 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)));; return *this; } // Function implementations for IfcPixelTexture -int Ifc4x3_tc1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcPixelTexture::setWidth(const int& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -int Ifc4x3_tc1::IfcPixelTexture::Height() const { int v = get_attribute_value(6); return v; } -void Ifc4x3_tc1::IfcPixelTexture::setHeight(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -int Ifc4x3_tc1::IfcPixelTexture::ColourComponents() const { int v = get_attribute_value(7); return v; } -void Ifc4x3_tc1::IfcPixelTexture::setColourComponents(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +int64_t Ifc4x3_tc1::IfcPixelTexture::Width() const { int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcPixelTexture::setWidth(const int64_t& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +int64_t Ifc4x3_tc1::IfcPixelTexture::Height() const { int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_tc1::IfcPixelTexture::setHeight(const int64_t& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } +int64_t Ifc4x3_tc1::IfcPixelTexture::ColourComponents() const { int64_t v = get_attribute_value(7); return v; } +void Ifc4x3_tc1::IfcPixelTexture::setColourComponents(const int64_t& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_tc1::IfcPixelTexture::Pixel() const { std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v = get_attribute_value(8); return v; } 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 ifcopenshell::entity& Ifc4x3_tc1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[752]); } -Ifc4x3_tc1::IfcPixelTexture 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));; return *this; } +Ifc4x3_tc1::IfcPixelTexture 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, int64_t v6_Width, int64_t v7_Height, int64_t 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));; return *this; } // Function implementations for IfcPlacement ::Ifc4x3_tc1::IfcPoint Ifc4x3_tc1::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPoint>(); } @@ -12673,12 +12673,12 @@ std::optional< bool > Ifc4x3_tc1::IfcPolygonalFaceSet::Closed() const { if(get_a void Ifc4x3_tc1::IfcPolygonalFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace > Ifc4x3_tc1::IfcPolygonalFaceSet::Faces() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcIndexedPolygonalFace>(es); } void Ifc4x3_tc1::IfcPolygonalFaceSet::setFaces(const std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -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);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcPolygonalFaceSet::PnIndex() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[768]); } -Ifc4x3_tc1::IfcPolygonalFaceSet 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)); }; return *this; } +Ifc4x3_tc1::IfcPolygonalFaceSet 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< int64_t > /*[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)); }; return *this; } // Function implementations for IfcPolyline std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcPolyline::Points() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcCartesianPoint>(es); } @@ -13175,14 +13175,14 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityArea::Class() { return *((ifc Ifc4x3_tc1::IfcQuantityArea 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)); }; return *this; } // Function implementations for IfcQuantityCount -int Ifc4x3_tc1::IfcQuantityCount::CountValue() const { int v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcQuantityCount::setCountValue(const int& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +int64_t Ifc4x3_tc1::IfcQuantityCount::CountValue() const { int64_t v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcQuantityCount::setCountValue(const int64_t& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< std::string > Ifc4x3_tc1::IfcQuantityCount::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[843]); } -Ifc4x3_tc1::IfcQuantityCount 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)); }; return *this; } +Ifc4x3_tc1::IfcQuantityCount Ifc4x3_tc1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, int64_t 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)); }; return *this; } // Function implementations for IfcQuantityLength double Ifc4x3_tc1::IfcQuantityLength::LengthValue() const { double v = get_attribute_value(3); return v; } @@ -13326,7 +13326,7 @@ void Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vec const ifcopenshell::entity& Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[868]); } -Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots 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));; return *this; } +Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::initialize(int64_t 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< int64_t > /*[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));; return *this; } // 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; } @@ -13334,7 +13334,7 @@ void Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::v const ifcopenshell::entity& Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[869]); } -Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots 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));; return *this; } +Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_tc1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13393,24 +13393,24 @@ Ifc4x3_tc1::IfcRectangularTrimmedSurface Ifc4x3_tc1::IfcRectangularTrimmedSurfac // 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, 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; } -void Ifc4x3_tc1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::optional< int > Ifc4x3_tc1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } -void Ifc4x3_tc1::IfcRecurrencePattern::setPosition(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_tc1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcRecurrencePattern::setInterval(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::optional< int > Ifc4x3_tc1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } -void Ifc4x3_tc1::IfcRecurrencePattern::setOccurrences(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(1); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(2); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::MonthComponent() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< int64_t > Ifc4x3_tc1::IfcRecurrencePattern::Position() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setPosition(const std::optional< int64_t >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } +std::optional< int64_t > Ifc4x3_tc1::IfcRecurrencePattern::Interval() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setInterval(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_tc1::IfcRecurrencePattern::Occurrences() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(6); return v; } +void Ifc4x3_tc1::IfcRecurrencePattern::setOccurrences(const std::optional< int64_t >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > Ifc4x3_tc1::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcTimePeriod>(es); } 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 ifcopenshell::entity& Ifc4x3_tc1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[875]); } -Ifc4x3_tc1::IfcRecurrencePattern 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)); }; return *this; } +Ifc4x3_tc1::IfcRecurrencePattern Ifc4x3_tc1::IfcRecurrencePattern::initialize(::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > 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)); }; return *this; } // 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; } @@ -13419,14 +13419,14 @@ std::optional< std::string > Ifc4x3_tc1::IfcReference::AttributeIdentifier() con void Ifc4x3_tc1::IfcReference::setAttributeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_tc1::IfcReference::InstanceName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcReference::setInstanceName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcReference::setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcReference::ListPositions() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcReference::setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_tc1::IfcReference Ifc4x3_tc1::IfcReference::InnerReference() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcReference{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcReference>(); } void Ifc4x3_tc1::IfcReference::setInnerReference(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } const ifcopenshell::entity& Ifc4x3_tc1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[877]); } -Ifc4x3_tc1::IfcReference 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));; return *this; } +Ifc4x3_tc1::IfcReference 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< int64_t > /*[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));; return *this; } // 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)); } @@ -13465,12 +13465,12 @@ std::optional< double > Ifc4x3_tc1::IfcReinforcementBarProperties::EffectiveDept 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; } void Ifc4x3_tc1::IfcReinforcementBarProperties::setNominalBarDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::optional< int > Ifc4x3_tc1::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } +std::optional< int64_t > Ifc4x3_tc1::IfcReinforcementBarProperties::BarCount() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarCount(const std::optional< int64_t >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[884]); } -Ifc4x3_tc1::IfcReinforcementBarProperties 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)); }; return *this; } +Ifc4x3_tc1::IfcReinforcementBarProperties 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< int64_t > 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)); }; return *this; } // 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; } @@ -13759,10 +13759,10 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsElements::Class() { return Ifc4x3_tc1::IfcRelConnectsElements 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));; return *this; } // Function implementations for IfcRelConnectsPathElements -std::vector< int > /*[0:?]*/ Ifc4x3_tc1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(7); return v; } -void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -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); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_tc1::IfcRelConnectsPathElements::RelatingPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(7); return v; } +void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } +std::vector< int64_t > /*[0:?]*/ Ifc4x3_tc1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int64_t > /*[0:?]*/ v = get_attribute_value(8); return v; } +void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int64_t > /*[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, 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)); } @@ -13770,7 +13770,7 @@ void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::I const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[917]); } -Ifc4x3_tc1::IfcRelConnectsPathElements 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)));; return *this; } +Ifc4x3_tc1::IfcRelConnectsPathElements 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[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)));; return *this; } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcPort>(); } @@ -14623,10 +14623,10 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcSineSpiral::Class() { return *((ifcop Ifc4x3_tc1::IfcSineSpiral 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)); }; return *this; } // Function implementations for IfcSite -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_tc1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } -void Ifc4x3_tc1::IfcSite::setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_tc1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(10); return v; } -void Ifc4x3_tc1::IfcSite::setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_tc1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(9); return v; } +void Ifc4x3_tc1::IfcSite::setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< std::vector< int64_t > /*[3:4]*/ > Ifc4x3_tc1::IfcSite::RefLongitude() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< int64_t > /*[3:4]*/ v = get_attribute_value(10); return v; } +void Ifc4x3_tc1::IfcSite::setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcSite::RefElevation() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcSite::setRefElevation(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_tc1::IfcSite::LandTitleNumber() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } @@ -14636,7 +14636,7 @@ void Ifc4x3_tc1::IfcSite::setSiteAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v const ifcopenshell::entity& Ifc4x3_tc1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1021]); } -Ifc4x3_tc1::IfcSite 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));; return *this; } +Ifc4x3_tc1::IfcSite 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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));; return *this; } // 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)); } @@ -14828,10 +14828,10 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcStair::Class() { return *((ifcopenshe Ifc4x3_tc1::IfcStair 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))); }; return *this; } // 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; } -void Ifc4x3_tc1::IfcStairFlight::setNumberOfRisers(const std::optional< int >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::optional< int > Ifc4x3_tc1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int v = get_attribute_value(9); return v; } -void Ifc4x3_tc1::IfcStairFlight::setNumberOfTreads(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } +std::optional< int64_t > Ifc4x3_tc1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(8); return v; } +void Ifc4x3_tc1::IfcStairFlight::setNumberOfRisers(const std::optional< int64_t >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } +std::optional< int64_t > Ifc4x3_tc1::IfcStairFlight::NumberOfTreads() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(9); return v; } +void Ifc4x3_tc1::IfcStairFlight::setNumberOfTreads(const std::optional< int64_t >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_tc1::IfcStairFlight::RiserHeight() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } 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; } @@ -14841,7 +14841,7 @@ void Ifc4x3_tc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3 const ifcopenshell::entity& Ifc4x3_tc1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1065]); } -Ifc4x3_tc1::IfcStairFlight 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))); }; return *this; } +Ifc4x3_tc1::IfcStairFlight 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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))); }; return *this; } // Function implementations for IfcStairFlightType ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value Ifc4x3_tc1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } @@ -15580,8 +15580,8 @@ std::optional< std::string > Ifc4x3_tc1::IfcTask::WorkMethod() const { if(get_at void Ifc4x3_tc1::IfcTask::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } bool Ifc4x3_tc1::IfcTask::IsMilestone() const { bool v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcTask::setIsMilestone(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::optional< int > Ifc4x3_tc1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int v = get_attribute_value(10); return v; } -void Ifc4x3_tc1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } +std::optional< int64_t > Ifc4x3_tc1::IfcTask::Priority() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } int64_t v = get_attribute_value(10); return v; } +void Ifc4x3_tc1::IfcTask::setPriority(const std::optional< int64_t >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } ::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)); } @@ -15589,7 +15589,7 @@ void Ifc4x3_tc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_tc1::I const ifcopenshell::entity& Ifc4x3_tc1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1156]); } -Ifc4x3_tc1::IfcTask 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))); }; return *this; } +Ifc4x3_tc1::IfcTask 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< int64_t > 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))); }; return *this; } // 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)); } @@ -15852,23 +15852,23 @@ const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateGenerator::Class() { Ifc4x3_tc1::IfcTextureCoordinateGenerator 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)); }; return *this; } // Function implementations for IfcTextureCoordinateIndices -std::vector< int > /*[3:?]*/ Ifc4x3_tc1::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } -void Ifc4x3_tc1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } +std::vector< int64_t > /*[3:?]*/ Ifc4x3_tc1::IfcTextureCoordinateIndices::TexCoordIndex() const { std::vector< int64_t > /*[3:?]*/ v = get_attribute_value(0); return v; } +void Ifc4x3_tc1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::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()->get_inverse(data()->id(), IFC4X3_TC1_types[545], 3)); } const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1191]); } -Ifc4x3_tc1::IfcTextureCoordinateIndices 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));; return *this; } +Ifc4x3_tc1::IfcTextureCoordinateIndices Ifc4x3_tc1::IfcTextureCoordinateIndices::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));; return *this; } // Function implementations for IfcTextureCoordinateIndicesWithVoids -std::vector< std::vector< int > > Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int > > v = get_attribute_value(2); return v; } -void Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } +std::vector< std::vector< int64_t > > Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::InnerTexCoordIndices() const { std::vector< std::vector< int64_t > > v = get_attribute_value(2); return v; } +void Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1192]); } -Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids 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));; return *this; } +Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices));; return *this; } // Function implementations for IfcTextureMap std::vector< ::Ifc4x3_tc1::IfcTextureVertex > Ifc4x3_tc1::IfcTextureMap::Vertices() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcTextureVertex>(es); } @@ -16052,22 +16052,22 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_tc1::IfcTriangulate void Ifc4x3_tc1::IfcTriangulatedFaceSet::setNormals(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< bool > Ifc4x3_tc1::IfcTriangulatedFaceSet::Closed() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcTriangulatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector< std::vector< int > > Ifc4x3_tc1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int > > v = get_attribute_value(3); return v; } -void Ifc4x3_tc1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(4); return v; } -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);} } +std::vector< std::vector< int64_t > > Ifc4x3_tc1::IfcTriangulatedFaceSet::CoordIndex() const { std::vector< std::vector< int64_t > > v = get_attribute_value(3); return v; } +void Ifc4x3_tc1::IfcTriangulatedFaceSet::setCoordIndex(const std::vector< std::vector< int64_t > >& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } +std::optional< std::vector< int64_t > /*[1:?]*/ > Ifc4x3_tc1::IfcTriangulatedFaceSet::PnIndex() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(4); return v; } +void Ifc4x3_tc1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } const ifcopenshell::entity& Ifc4x3_tc1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1229]); } -Ifc4x3_tc1::IfcTriangulatedFaceSet 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)); }; return *this; } +Ifc4x3_tc1::IfcTriangulatedFaceSet 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[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)); }; return *this; } // Function implementations for IfcTriangulatedIrregularNetwork -std::vector< int > /*[1:?]*/ Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int > /*[1:?]*/ v = get_attribute_value(5); return v; } -void Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } +std::vector< int64_t > /*[1:?]*/ Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Flags() const { std::vector< int64_t > /*[1:?]*/ v = get_attribute_value(5); return v; } +void Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int64_t > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } const ifcopenshell::entity& Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1230]); } -Ifc4x3_tc1::IfcTriangulatedIrregularNetwork 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));; return *this; } +Ifc4x3_tc1::IfcTriangulatedIrregularNetwork 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[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));; return *this; } // Function implementations for IfcTrimmedCurve ::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); } diff --git a/src/ifcparse/schemas/Ifc4x3_tc1.h b/src/ifcparse/schemas/Ifc4x3_tc1.h index 7f092d2fe0..df5c478715 100644 --- a/src/ifcparse/schemas/Ifc4x3_tc1.h +++ b/src/ifcparse/schemas/Ifc4x3_tc1.h @@ -11594,8 +11594,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcArcIndex initialize(std::vector< int > /*[3:3]*/ v); - operator std::vector< int > /*[3:3]*/() const; + IfcArcIndex initialize(std::vector< int64_t > /*[3:3]*/ v); + operator std::vector< int64_t > /*[3:3]*/() const; }; class IFC_SCHEMA_API IfcAreaDensityMeasure : public express::DeclaredType { @@ -11691,8 +11691,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCardinalPointReference initialize(int v); - operator int() const; + IfcCardinalPointReference initialize(int64_t v); + operator int64_t() const; }; /// IfcComplexNumber is a representation of a complex number expressed as an array with two elements. /// The first element (index 1) denotes the real component which is the numerical @@ -11766,8 +11766,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCompoundPlaneAngleMeasure initialize(std::vector< int > /*[3:4]*/ v); - operator std::vector< int > /*[3:4]*/() const; + IfcCompoundPlaneAngleMeasure initialize(std::vector< int64_t > /*[3:4]*/ v); + operator std::vector< int64_t > /*[3:4]*/() const; }; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL @@ -11794,8 +11794,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcCountMeasure initialize(int v); - operator int() const; + IfcCountMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcCurvatureMeasure is a measure for curvature, which is defined as the change of slope per length. /// This is typically a computed value in structural analysis. @@ -11869,8 +11869,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInMonthNumber initialize(int v); - operator int() const; + IfcDayInMonthNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from IAI: The IfcDayInWeekNumber is /// an integer that defines the position of the specified day in a @@ -11911,8 +11911,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDayInWeekNumber initialize(int v); - operator int() const; + IfcDayInWeekNumber initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A descriptive measure is a human interpretable definition of a quantifiable value. /// Type: STRING @@ -11940,8 +11940,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcDimensionCount initialize(int v); - operator int() const; + IfcDimensionCount initialize(int64_t v); + operator int64_t() const; }; /// IfcDoseEquivalentMeasure is a measure of the radioactive dose equivalent. /// Usually measured in Sievert (Sv, J/kg). @@ -12280,8 +12280,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcInteger initialize(int v); - operator int() const; + IfcInteger initialize(int64_t v); + operator int64_t() const; }; /// IfcIntegerCountRateMeasure is a measure of the integer number of units flowing per unit time. /// @@ -12295,8 +12295,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcIntegerCountRateMeasure initialize(int v); - operator int() const; + IfcIntegerCountRateMeasure initialize(int64_t v); + operator int64_t() const; }; /// IfcIonConcentrationMeasure is a measure of particular ion concentration in a liquid, given in mg/L. /// @@ -12396,8 +12396,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcLineIndex initialize(std::vector< int > /*[2:?]*/ v); - operator std::vector< int > /*[2:?]*/() const; + IfcLineIndex initialize(std::vector< int64_t > /*[2:?]*/ v); + operator std::vector< int64_t > /*[2:?]*/() const; }; /// IfcLinearForceMeasure is a measure of linear force. /// Usually measured in N/m. @@ -12757,8 +12757,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcMonthInYearNumber initialize(int v); - operator int() const; + IfcMonthInYearNumber initialize(int64_t v); + operator int64_t() const; }; /// A non-negative length measure is a length measure that is greater than or equal to zero. /// @@ -12851,8 +12851,8 @@ public: using IfcInteger::IfcInteger; static const ifcopenshell::type_declaration& Class(); - IfcPositiveInteger initialize(int v); - operator int() const; + IfcPositiveInteger initialize(int64_t v); + operator int64_t() const; }; /// Definition from ISO/CD 10303-41:1992: A positive length measure is a length measure that is greater than zero. /// Type: IfcLengthMeasure @@ -13419,8 +13419,8 @@ public: using express::DeclaredType::DeclaredType; static const ifcopenshell::type_declaration& Class(); - IfcTimeStamp initialize(int v); - operator int() const; + IfcTimeStamp initialize(int64_t v); + operator int64_t() const; }; /// IfcTorqueMeasure is a measure of the torque or moment of a couple. /// Usually measured in N m. @@ -14293,11 +14293,11 @@ public: ::Ifc4x3_tc1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v); /// The power that is applied to the unit attribute. - int Exponent() const; - void setExponent(const int& v); + int64_t Exponent() const; + void setExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDerivedUnitElement initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int v2_Exponent); + IfcDerivedUnitElement initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int64_t 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. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -14321,29 +14321,29 @@ public: using express::Entity::Entity; /// The power of the length base quantity. - int LengthExponent() const; - void setLengthExponent(const int& v); + int64_t LengthExponent() const; + void setLengthExponent(const int64_t& v); /// The power of the mass base quantity. - int MassExponent() const; - void setMassExponent(const int& v); + int64_t MassExponent() const; + void setMassExponent(const int64_t& v); /// The power of the time base quantity. - int TimeExponent() const; - void setTimeExponent(const int& v); + int64_t TimeExponent() const; + void setTimeExponent(const int64_t& v); /// The power of the electric current base quantity. - int ElectricCurrentExponent() const; - void setElectricCurrentExponent(const int& v); + int64_t ElectricCurrentExponent() const; + void setElectricCurrentExponent(const int64_t& v); /// The power of the thermodynamic temperature base quantity. - int ThermodynamicTemperatureExponent() const; - void setThermodynamicTemperatureExponent(const int& v); + int64_t ThermodynamicTemperatureExponent() const; + void setThermodynamicTemperatureExponent(const int64_t& v); /// The power of the amount of substance base quantity. - int AmountOfSubstanceExponent() const; - void setAmountOfSubstanceExponent(const int& v); + int64_t AmountOfSubstanceExponent() const; + void setAmountOfSubstanceExponent(const int64_t& v); /// The power of the luminous intensity base quantity. - int LuminousIntensityExponent() const; - void setLuminousIntensityExponent(const int& v); + int64_t LuminousIntensityExponent() const; + void setLuminousIntensityExponent(const int64_t& v); static const ifcopenshell::entity& Class(); - IfcDimensionalExponents initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); + IfcDimensionalExponents initialize(int64_t v1_LengthExponent, int64_t v2_MassExponent, int64_t v3_TimeExponent, int64_t v4_ElectricCurrentExponent, int64_t v5_ThermodynamicTemperatureExponent, int64_t v6_AmountOfSubstanceExponent, int64_t 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 /// @@ -14778,12 +14778,12 @@ public: std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); /// The relative priority of the layer, expressed as ratio measure, normalised to 0..1. Controls how layers intersect in connections and corners of building elements: a layer from one element protrudes into (i.e. displaces) a layer from another element in a joint of these elements if the former element's layer has higher priority than the latter. The priorty value for a material layer in an element has to be set and maintained by software applications, in relation to the material layers in connected elements. The usage has to be further specified for each element, especially to avoid simultanious use with IfcLayerOffset. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14892,7 +14892,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v7_Priority, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -14944,15 +14944,15 @@ public: ::Ifc4x3_tc1::IfcProfileDef Profile() const; void setProfile(const ::Ifc4x3_tc1::IfcProfileDef& v); /// The relative priority of the profile, expressed as ratio measure, normalised to 0..1. Controls how profiles intersect in connections and corners of building elements: a profile from one element protrudes into (i.e. displaces) a profile from another element in a joint of these elements if the former element's profile has higher priority than the latter. The priorty value for a material profile in an element has to be set and maintained by software applications, in relation to the material profiles in connected elements. - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Category of the material profile, e.g. the role it has in the profile set it belongs to. std::optional< std::string > Category() const; void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -14996,7 +14996,7 @@ public: void setOffsetValues(const std::vector< double > /*[1:2]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all /// material related information items in IFC that have occurrence @@ -15281,8 +15281,8 @@ public: std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value > ChangeAction() const; void setChangeAction(const std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value >& v); /// Date and Time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) at which the last modification was made by LastModifyingUser and LastModifyingApplication. - std::optional< int > LastModifiedDate() const; - void setLastModifiedDate(const std::optional< int >& v); + std::optional< int64_t > LastModifiedDate() const; + void setLastModifiedDate(const std::optional< int64_t >& v); /// User who carried out the last modification using LastModifyingApplication. ::Ifc4x3_tc1::IfcPersonAndOrganization LastModifyingUser() const; void setLastModifyingUser(const ::Ifc4x3_tc1::IfcPersonAndOrganization& v); @@ -15290,11 +15290,11 @@ public: ::Ifc4x3_tc1::IfcApplication LastModifyingApplication() const; void setLastModifyingApplication(const ::Ifc4x3_tc1::IfcApplication& v); /// The date and time expressed in UTC (Universal Time Coordinated, formerly Greenwich Mean Time or GMT) when first created by the original OwningApplication. Once defined this value remains unchanged through the lifetime of the entity. - int CreationDate() const; - void setCreationDate(const int& v); + int64_t CreationDate() const; + void setCreationDate(const int64_t& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v5_LastModifiedDate, ::Ifc4x3_tc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_tc1::IfcApplication v7_LastModifyingApplication, int64_t v8_CreationDate); }; /// Definition: an individual human being. /// @@ -15913,8 +15913,8 @@ public: using IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity; /// Count measure value of this quantity. - int CountValue() const; - void setCountValue(const int& v); + int64_t CountValue() const; + void setCountValue(const int64_t& v); /// A formula by which the quantity has been calculated. It can be assigned in addition to the actual value of the quantity. Formulas could be mathematic calculations (like width x height), database links, or a combination. The formula is for informational purposes only. /// /// IFC2x4 CHANGE Attribute added to the end of the attribute list. @@ -15922,7 +15922,7 @@ public: void setFormula(const std::optional< std::string >& v); static const ifcopenshell::entity& Class(); - 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); + IfcQuantityCount initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, int64_t 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. /// @@ -16038,31 +16038,31 @@ public: ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value RecurrenceType() const; void setRecurrenceType(const ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value& v); /// The position of the specified day in a month. - std::optional< std::vector< int > /*[1:?]*/ > DayComponent() const; - void setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > DayComponent() const; + void setDayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The weekday name of the specified day in a week. - std::optional< std::vector< int > /*[1:?]*/ > WeekdayComponent() const; - void setWeekdayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > WeekdayComponent() const; + void setWeekdayComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified month in a year. - std::optional< std::vector< int > /*[1:?]*/ > MonthComponent() const; - void setMonthComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > MonthComponent() const; + void setMonthComponent(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); /// The position of the specified component, e.g. the 3rd /// (position=3) Tuesday (weekday component) in a month. A /// negative position value is used to define the last position /// of the component (-1), the next to last position (-2) etc. - std::optional< int > Position() const; - void setPosition(const std::optional< int >& v); + std::optional< int64_t > Position() const; + void setPosition(const std::optional< int64_t >& v); /// An interval can be given according to the pattern type. An /// interval value of 2 can for instance every two days, weeks, /// months, years. An empty interval value is regarded as 1. The /// used interval values should be in a reasonable range, e.g. /// not 0 or <0. - std::optional< int > Interval() const; - void setInterval(const std::optional< int >& v); + std::optional< int64_t > Interval() const; + void setInterval(const std::optional< int64_t >& v); /// Defines the number of occurrences of this pattern, e.g. a weekly /// event might be defined to occur 5 times before it stops. - std::optional< int > Occurrences() const; - void setOccurrences(const std::optional< int >& v); + std::optional< int64_t > Occurrences() const; + void setOccurrences(const std::optional< int64_t >& v); /// List of time periods that are defined by a start and end time /// of the recurring element (day). The order of the list should /// reflect the sequence of the time periods. @@ -16070,7 +16070,7 @@ public: void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRecurrencePattern initialize(::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int64_t > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_MonthComponent, std::optional< int64_t > v5_Position, std::optional< int64_t > v6_Interval, std::optional< int64_t > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_SCHEMA_API IfcReference : public express::Entity { @@ -16083,13 +16083,13 @@ public: void setAttributeIdentifier(const std::optional< std::string >& v); std::optional< std::string > InstanceName() const; void setInstanceName(const std::optional< std::string >& v); - std::optional< std::vector< int > /*[1:?]*/ > ListPositions() const; - void setListPositions(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > ListPositions() const; + void setListPositions(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); ::Ifc4x3_tc1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_tc1::IfcReference& v); static const ifcopenshell::entity& Class(); - 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); + IfcReference initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_tc1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -17494,25 +17494,25 @@ class IFC_SCHEMA_API IfcTextureCoordinateIndices : public express::Entity { public: using express::Entity::Entity; - std::vector< int > /*[3:?]*/ TexCoordIndex() const; - void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ TexCoordIndex() const; + void setTexCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); ::Ifc4x3_tc1::IfcIndexedPolygonalFace TexCoordsOf() const; void setTexCoordsOf(const ::Ifc4x3_tc1::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndices initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf); + IfcTextureCoordinateIndices initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_SCHEMA_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: using IfcTextureCoordinateIndices::IfcTextureCoordinateIndices; - std::vector< std::vector< int > > InnerTexCoordIndices() const; - void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerTexCoordIndices() const; + void setInnerTexCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); + IfcTextureCoordinateIndicesWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int64_t > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the /// 2-dimensional texture coordinates to the surface onto which it is @@ -19350,8 +19350,8 @@ public: using IfcRepresentationContext::IfcRepresentationContext; /// The integer dimension count of the coordinate space modeled in a geometric representation context. - int CoordinateSpaceDimension() const; - void setCoordinateSpaceDimension(const int& v); + int64_t CoordinateSpaceDimension() const; + void setCoordinateSpaceDimension(const int64_t& v); /// Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical. The value can be used e.g. to sets the maximum distance from an edge curve to the underlying face surface in brep models. std::optional< double > Precision() const; void setPrecision(const std::optional< double >& v); @@ -19367,7 +19367,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS static const ifcopenshell::entity& Class(); - 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); + IfcGeometricRepresentationContext initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int64_t 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: /// @@ -19604,11 +19604,11 @@ public: void setOpacity(const std::optional< double >& v); ::Ifc4x3_tc1::IfcColourRgbList Colours() const; void setColours(const ::Ifc4x3_tc1::IfcColourRgbList& v); - std::vector< int > /*[1:?]*/ ColourIndex() const; - void setColourIndex(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ ColourIndex() const; + void setColourIndex(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - IfcIndexedColourMap initialize(::Ifc4x3_tc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_tc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); + IfcIndexedColourMap initialize(::Ifc4x3_tc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_tc1::IfcColourRgbList v3_Colours, std::vector< int64_t > /*[1:?]*/ v4_ColourIndex); }; class IFC_SCHEMA_API IfcIndexedTextureMap : public IfcTextureCoordinate { @@ -19628,11 +19628,11 @@ class IFC_SCHEMA_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap public: using IfcIndexedTextureMap::IfcIndexedTextureMap; - std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; - void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); + std::optional< std::vector< std::vector< int64_t > > > TexCoordIndex() const; + void setTexCoordIndex(const std::optional< std::vector< std::vector< int64_t > > >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > > 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. /// @@ -20329,8 +20329,8 @@ public: ::Ifc4x3_tc1::IfcMaterialProfileSet ForProfileSet() const; void setForProfileSet(const ::Ifc4x3_tc1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the section profile. Describes how the section is aligned relative to the (longitudinal) axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalPoint() const; - void setCardinalPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalPoint() const; + void setCardinalPoint(const std::optional< int64_t >& v); /// EPM-HTML> /// Extent of the extrusion of the elements body shape representation to which the IfcMaterialProfileSetUsage applies. It is used as the reference value for the upper OffsetValues[2] provided by the IfcMaterialProfileSetWithOffsets subtype for included material profiles. /// @@ -20341,7 +20341,7 @@ public: void setReferenceExtent(const std::optional< double >& v); static const ifcopenshell::entity& Class(); - IfcMaterialProfileSetUsage initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); + IfcMaterialProfileSetUsage initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. /// @@ -20376,11 +20376,11 @@ public: ::Ifc4x3_tc1::IfcMaterialProfileSet ForProfileEndSet() const; void setForProfileEndSet(const ::Ifc4x3_tc1::IfcMaterialProfileSet& v); /// Index reference to a significant point in the second section profile. Describes how this section is aligned relative to the axis of the member it is associated with. This parametric specification of profile alignment can be provided redundantly to the explicit alignment defined by ForProfileSet.MaterialProfiles[*].Profile. - std::optional< int > CardinalEndPoint() const; - void setCardinalEndPoint(const std::optional< int >& v); + std::optional< int64_t > CardinalEndPoint() const; + void setCardinalEndPoint(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + IfcMaterialProfileSetUsageTapering initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int64_t > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_tc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int64_t > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -20793,14 +20793,14 @@ public: using IfcSurfaceTexture::IfcSurfaceTexture; /// The number of pixels in width (S) direction. - int Width() const; - void setWidth(const int& v); + int64_t Width() const; + void setWidth(const int64_t& v); /// The number of pixels in height (T) direction. - int Height() const; - void setHeight(const int& v); + int64_t Height() const; + void setHeight(const int64_t& v); /// Indication whether the pixel values contain a 1, 2, 3, or 4 colour component. - int ColourComponents() const; - void setColourComponents(const int& v); + int64_t ColourComponents() const; + void setColourComponents(const int64_t& v); /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGEĀ  The data type has been changed from STRING to BINARY. @@ -20808,7 +20808,7 @@ public: void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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, int64_t v6_Width, int64_t v7_Height, int64_t 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. /// @@ -21436,11 +21436,11 @@ public: std::optional< double > NominalBarDiameter() const; void setNominalBarDiameter(const std::optional< double >& v); /// The number of bars with identical nominal diameter and steel grade included in the specific reinforcement configuration. - std::optional< int > BarCount() const; - void setBarCount(const std::optional< int >& v); + std::optional< int64_t > BarCount() const; + void setBarCount(const std::optional< int64_t >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > 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. /// @@ -24789,24 +24789,24 @@ class IFC_SCHEMA_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: using IfcTessellatedItem::IfcTessellatedItem; - std::vector< int > /*[3:?]*/ CoordIndex() const; - void setCoordIndex(const std::vector< int > /*[3:?]*/& v); + std::vector< int64_t > /*[3:?]*/ CoordIndex() const; + void setCoordIndex(const std::vector< int64_t > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFace initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); + IfcIndexedPolygonalFace initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex); }; class IFC_SCHEMA_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: using IfcIndexedPolygonalFace::IfcIndexedPolygonalFace; - std::vector< std::vector< int > > InnerCoordIndices() const; - void setInnerCoordIndices(const std::vector< std::vector< int > >& v); + std::vector< std::vector< int64_t > > InnerCoordIndices() const; + void setInnerCoordIndices(const std::vector< std::vector< int64_t > >& v); static const ifcopenshell::entity& Class(); - IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); + IfcIndexedPolygonalFaceWithVoids initialize(std::vector< int64_t > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int64_t > > v2_InnerCoordIndices); }; class IFC_SCHEMA_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { @@ -27104,11 +27104,11 @@ public: using IfcRelConnectsElements::IfcRelConnectsElements; /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector< int > /*[0:?]*/ RelatingPriorities() const; - void setRelatingPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatingPriorities() const; + void setRelatingPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector< int > /*[0:?]*/ RelatedPriorities() const; - void setRelatedPriorities(const std::vector< int > /*[0:?]*/& v); + std::vector< int64_t > /*[0:?]*/ RelatedPriorities() const; + void setRelatedPriorities(const std::vector< int64_t > /*[0:?]*/& v); /// Indication of the connection type in relation to the path of the RelatingObject. ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value RelatedConnectionType() const; void setRelatedConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v); @@ -27117,7 +27117,7 @@ public: void setRelatingConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[0:?]*/ v8_RelatingPriorities, std::vector< int64_t > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -30241,8 +30241,8 @@ public: void setIsMilestone(const bool& v); /// A value that indicates the relative priority of the task (in /// comparison to the priorities of other tasks). - std::optional< int > Priority() const; - void setPriority(const std::optional< int >& v); + std::optional< int64_t > Priority() const; + void setPriority(const std::optional< int64_t >& v); /// Time related information for the task. /// /// Added in IFC 2x4 @@ -30256,7 +30256,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v11_Priority, ::Ifc4x3_tc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a /// particular type of task that may be specified for use @@ -30374,24 +30374,24 @@ public: void setNormals(const std::optional< std::vector< std::vector< double > > >& v); std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); - std::vector< std::vector< int > > CoordIndex() const; - void setCoordIndex(const std::vector< std::vector< int > >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::vector< std::vector< int64_t > > CoordIndex() const; + void setCoordIndex(const std::vector< std::vector< int64_t > >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex); }; class IFC_SCHEMA_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: using IfcTriangulatedFaceSet::IfcTriangulatedFaceSet; - std::vector< int > /*[1:?]*/ Flags() const; - void setFlags(const std::vector< int > /*[1:?]*/& v); + std::vector< int64_t > /*[1:?]*/ Flags() const; + void setFlags(const std::vector< int64_t > /*[1:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > > v4_CoordIndex, std::optional< std::vector< int64_t > /*[1:?]*/ > v5_PnIndex, std::vector< int64_t > /*[1:?]*/ v6_Flags); }; class IFC_SCHEMA_API IfcVehicleType : public IfcTransportationDeviceType { @@ -30981,11 +30981,11 @@ public: using IfcBoundedSurface::IfcBoundedSurface; /// Algebraic degree of basis functions in u. - int UDegree() const; - void setUDegree(const int& v); + int64_t UDegree() const; + void setUDegree(const int64_t& v); /// Algebraic degree of basis functions in v. - int VDegree() const; - void setVDegree(const int& v); + int64_t VDegree() const; + void setVDegree(const int64_t& v); /// This is a list of lists of control points. std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > ControlPointsList() const; void setControlPointsList(const std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > >& v); @@ -31003,7 +31003,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurface initialize(int64_t v1_UDegree, int64_t 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. /// @@ -31017,11 +31017,11 @@ public: using IfcBSplineSurface::IfcBSplineSurface; /// The multiplicities of the knots in the u parameter direction. - std::vector< int > /*[2:?]*/ UMultiplicities() const; - void setUMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ UMultiplicities() const; + void setUMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The multiplicities of the knots in the v parameter direction. - std::vector< int > /*[2:?]*/ VMultiplicities() const; - void setVMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ VMultiplicities() const; + void setVMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of the distinct knots in the u parameter direction. std::vector< double > /*[2:?]*/ UKnots() const; void setUKnots(const std::vector< double > /*[2:?]*/& v); @@ -31033,7 +31033,7 @@ public: void setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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 /// primitive. It is defined by a position and a positve distance along @@ -35798,11 +35798,11 @@ public: void setClosed(const std::optional< bool >& v); std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace >& v); - std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; - void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); + std::optional< std::vector< int64_t > /*[1:?]*/ > PnIndex() const; + void setPnIndex(const std::optional< std::vector< int64_t > /*[1:?]*/ >& v); static const ifcopenshell::entity& Class(); - 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); + IfcPolygonalFaceSet initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int64_t > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -36456,7 +36456,7 @@ public: void setWeightsData(const std::vector< std::vector< double > >& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineSurfaceWithKnots initialize(int64_t v1_UDegree, int64_t 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< int64_t > /*[2:?]*/ v8_UMultiplicities, std::vector< int64_t > /*[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_SCHEMA_API IfcReferent : public IfcPositioningElement { @@ -37102,13 +37102,13 @@ public: /// 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. - std::optional< std::vector< int > /*[3:4]*/ > RefLatitude() const; - void setRefLatitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLatitude() const; + void setRefLatitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// World Longitude 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. /// Longitudes are measured relative to the geodetic zero meridian, nominally the same as the Greenwich prime meridian: longitudes west of the zero meridian have negative values - from 0 till -180, longitudes east of the zero meridian have positive values - from 0 till -180. /// Example: Chicago Harbor Light has according to WGS84 a longitude -87.35.40 (or 87.35.40W) and a latitude 41.53.30 (or 41.53.30N). - std::optional< std::vector< int > /*[3:4]*/ > RefLongitude() const; - void setRefLongitude(const std::optional< std::vector< int > /*[3:4]*/ >& v); + std::optional< std::vector< int64_t > /*[3:4]*/ > RefLongitude() const; + void setRefLongitude(const std::optional< std::vector< int64_t > /*[3:4]*/ >& v); /// Datum elevation relative to sea level. std::optional< double > RefElevation() const; void setRefElevation(const std::optional< double >& v); @@ -37120,7 +37120,7 @@ public: void setSiteAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int64_t > /*[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 /// information for occurrences of slabs. The set of shared information @@ -40253,8 +40253,8 @@ public: using IfcBoundedCurve::IfcBoundedCurve; /// The algebraic degree of the basis functions. - int Degree() const; - void setDegree(const int& v); + int64_t Degree() const; + void setDegree(const int64_t& v); /// The list of control points for the curve. std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > ControlPointsList() const; void setControlPointsList(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v); @@ -40269,7 +40269,7 @@ public: void setSelfIntersect(const boost::logic::tribool& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurve initialize(int64_t 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. /// @@ -40293,8 +40293,8 @@ public: using IfcBSplineCurve::IfcBSplineCurve; /// 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; - void setKnotMultiplicities(const std::vector< int > /*[2:?]*/& v); + std::vector< int64_t > /*[2:?]*/ KnotMultiplicities() const; + void setKnotMultiplicities(const std::vector< int64_t > /*[2:?]*/& v); /// The list of distinct knots used to define the B-spline basis functions. std::vector< double > /*[2:?]*/ Knots() const; void setKnots(const std::vector< double > /*[2:?]*/& v); @@ -40303,7 +40303,7 @@ public: void setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v); static const ifcopenshell::entity& Class(); - 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); + IfcBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_tc1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -46864,7 +46864,7 @@ public: void setWeightsData(const std::vector< double > /*[2:?]*/& v); static const ifcopenshell::entity& Class(); - 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); + IfcRationalBSplineCurveWithKnots initialize(int64_t 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< int64_t > /*[2:?]*/ v6_KnotMultiplicities, std::vector< double > /*[2:?]*/ v7_Knots, ::Ifc4x3_tc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_SCHEMA_API IfcReinforcedSoil : public IfcEarthworksElement { @@ -48169,13 +48169,13 @@ class IFC_SCHEMA_API IfcStairFlight : public IfcBuiltElement { public: using IfcBuiltElement::IfcBuiltElement; - std::optional< int > NumberOfRisers() const; - void setNumberOfRisers(const std::optional< int >& v); + std::optional< int64_t > NumberOfRisers() const; + void setNumberOfRisers(const std::optional< int64_t >& v); /// Number of treads included in the stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.NumberOfTreads instead. - std::optional< int > NumberOfTreads() const; - void setNumberOfTreads(const std::optional< int >& v); + std::optional< int64_t > NumberOfTreads() const; + void setNumberOfTreads(const std::optional< int64_t >& v); /// Vertical distance from tread to tread. The riser height is supposed to be equal for all stairs in a stair flight. /// /// IFC2x4 CHANGE The attribute has been deprecated it shall only be exposed with a NIL value. Use Pset_StairFlightCommon.RiserHeight instead. @@ -48194,7 +48194,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value >& v); static const ifcopenshell::entity& Class(); - 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); + 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< int64_t > v9_NumberOfRisers, std::optional< int64_t > 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. /// diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 8b64de41f8..99f0a86404 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -701,15 +701,15 @@ private: return fast; // new ref }; - auto to_vec_int = [&](PyObject* o) -> std::vector { + auto to_vec_int = [&](PyObject* o) -> std::vector { PyObject* fast = seq_fast(o); Py_ssize_t n = PySequence_Fast_GET_SIZE(fast); PyObject** items = PySequence_Fast_ITEMS(fast); - std::vector out; + std::vector out; out.reserve(static_cast(n)); for (Py_ssize_t k = 0; k < n; ++k) { - out.push_back(static_cast(to_index_long(items[k]))); + out.push_back(static_cast(to_index_i64(items[k]))); } Py_DECREF(fast); @@ -784,12 +784,12 @@ private: return out; }; - auto to_vec_vec_int = [&](PyObject* o) -> std::vector> { + auto to_vec_vec_int = [&](PyObject* o) -> std::vector> { PyObject* fast = seq_fast(o); Py_ssize_t n = PySequence_Fast_GET_SIZE(fast); PyObject** items = PySequence_Fast_ITEMS(fast); - std::vector> out; + std::vector> out; out.reserve(static_cast(n)); for (Py_ssize_t k = 0; k < n; ++k) { out.push_back(to_vec_int(items[k])); diff --git a/src/serializers/GltfSerializer.cpp b/src/serializers/GltfSerializer.cpp index 04144438e7..196ee4ba5c 100644 --- a/src/serializers/GltfSerializer.cpp +++ b/src/serializers/GltfSerializer.cpp @@ -585,10 +585,10 @@ void GltfSerializer::setFile(ifcopenshell::file* f) { auto lon_attr = sites.front().as().get("RefLongitude"); if (!lat_attr.isNull() && !lon_attr.isNull()) { - std::vector lat_dms = lat_attr; - std::vector lon_dms = lon_attr; + std::vector lat_dms = lat_attr; + std::vector lon_dms = lon_attr; - auto to_decimal = [](const std::vector& dms) { + auto to_decimal = [](const std::vector& dms) { double val = dms[0] + dms[1] / 60. + dms[2] / 3600.; if (dms.size() == 4) { val += dms[3] / 3600.e6; diff --git a/src/serializers/schema_dependent/XmlSerializer.cpp b/src/serializers/schema_dependent/XmlSerializer.cpp index 06eed703bf..c5ce884af3 100644 --- a/src/serializers/schema_dependent/XmlSerializer.cpp +++ b/src/serializers/schema_dependent/XmlSerializer.cpp @@ -47,7 +47,7 @@ std::optional format_attribute(ifcopenshell::geometry::abstract_map if (argument_name == "IfcSite.RefLatitude" || argument_name == "IfcSite.RefLongitude") { - std::vector angle = argument; + std::vector angle = argument; double deg; if (angle.size() >= 3) { deg = angle[0] + angle[1] / 60. + angle[2] / 3600.;