Rerun codegen

This commit is contained in:
Thomas Krijnen
2026-04-18 21:01:53 +02:00
parent f1e93581ec
commit 1cc93784cd
26 changed files with 43841 additions and 58942 deletions
@@ -17,12 +17,12 @@ extern declaration* HEADER_SECTION_SCHEMA_types[5];
// Function implementations for schema_name // Function implementations for schema_name
const ifcopenshell::type_declaration& Header_section_schema::schema_name::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[3]); } const ifcopenshell::type_declaration& Header_section_schema::schema_name::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[3]); }
void Header_section_schema::schema_name::initialize(std::string v) { set_attribute_value(0, (v)); } Header_section_schema::schema_name Header_section_schema::schema_name::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Header_section_schema::schema_name::operator std::string() const { return get_attribute_value(0); } Header_section_schema::schema_name::operator std::string() const { return get_attribute_value(0); }
// Function implementations for time_stamp_text // Function implementations for time_stamp_text
const ifcopenshell::type_declaration& Header_section_schema::time_stamp_text::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[4]); } const ifcopenshell::type_declaration& Header_section_schema::time_stamp_text::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[4]); }
void Header_section_schema::time_stamp_text::initialize(std::string v) { set_attribute_value(0, (v)); } Header_section_schema::time_stamp_text Header_section_schema::time_stamp_text::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Header_section_schema::time_stamp_text::operator std::string() const { return get_attribute_value(0); } Header_section_schema::time_stamp_text::operator std::string() const { return get_attribute_value(0); }
@@ -34,7 +34,7 @@ void Header_section_schema::file_description::setimplementation_level(const std:
const ifcopenshell::entity& Header_section_schema::file_description::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[0]); } const ifcopenshell::entity& Header_section_schema::file_description::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[0]); }
void Header_section_schema::file_description::initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level) { set_attribute_value(0, (v1_description));set_attribute_value(1, (v2_implementation_level)); } Header_section_schema::file_description Header_section_schema::file_description::initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level) { set_attribute_value(0, (v1_description));set_attribute_value(1, (v2_implementation_level));; return *this; }
// Function implementations for file_name // Function implementations for file_name
std::string Header_section_schema::file_name::name() const { std::string v = get_attribute_value(0); return v; } std::string Header_section_schema::file_name::name() const { std::string v = get_attribute_value(0); return v; }
@@ -54,7 +54,7 @@ void Header_section_schema::file_name::setauthorization(const std::string& v) {
const ifcopenshell::entity& Header_section_schema::file_name::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[1]); } const ifcopenshell::entity& Header_section_schema::file_name::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[1]); }
void Header_section_schema::file_name::initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization) { set_attribute_value(0, (v1_name));set_attribute_value(1, (v2_time_stamp));set_attribute_value(2, (v3_author));set_attribute_value(3, (v4_organization));set_attribute_value(4, (v5_preprocessor_version));set_attribute_value(5, (v6_originating_system));set_attribute_value(6, (v7_authorization)); } Header_section_schema::file_name Header_section_schema::file_name::initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization) { set_attribute_value(0, (v1_name));set_attribute_value(1, (v2_time_stamp));set_attribute_value(2, (v3_author));set_attribute_value(3, (v4_organization));set_attribute_value(4, (v5_preprocessor_version));set_attribute_value(5, (v6_originating_system));set_attribute_value(6, (v7_authorization));; return *this; }
// Function implementations for file_schema // Function implementations for file_schema
std::vector< std::string > /*[1:?]*/ Header_section_schema::file_schema::schema_identifiers() const { std::vector< std::string > /*[1:?]*/ v = get_attribute_value(0); return v; } std::vector< std::string > /*[1:?]*/ Header_section_schema::file_schema::schema_identifiers() const { std::vector< std::string > /*[1:?]*/ v = get_attribute_value(0); return v; }
@@ -62,5 +62,5 @@ void Header_section_schema::file_schema::setschema_identifiers(const std::vector
const ifcopenshell::entity& Header_section_schema::file_schema::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[2]); } const ifcopenshell::entity& Header_section_schema::file_schema::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[2]); }
void Header_section_schema::file_schema::initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers) { set_attribute_value(0, (v1_schema_identifiers)); } Header_section_schema::file_schema Header_section_schema::file_schema::initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers) { set_attribute_value(0, (v1_schema_identifiers));; return *this; }
+10 -15
View File
@@ -32,21 +32,19 @@ class file_description; class file_name; class file_schema; class schema_name; c
class IFC_PARSE_API schema_name : public express::DeclaredType { class IFC_PARSE_API schema_name : public express::DeclaredType {
public: public:
schema_name() {} using express::DeclaredType::DeclaredType;
explicit schema_name (const std::weak_ptr<instance_data>& data) : express::DeclaredType(data) {}
static const ifcopenshell::type_declaration& Class(); static const ifcopenshell::type_declaration& Class();
void initialize(std::string v); schema_name initialize(std::string v);
operator std::string() const; operator std::string() const;
}; };
class IFC_PARSE_API time_stamp_text : public express::DeclaredType { class IFC_PARSE_API time_stamp_text : public express::DeclaredType {
public: public:
time_stamp_text() {} using express::DeclaredType::DeclaredType;
explicit time_stamp_text (const std::weak_ptr<instance_data>& data) : express::DeclaredType(data) {}
static const ifcopenshell::type_declaration& Class(); static const ifcopenshell::type_declaration& Class();
void initialize(std::string v); time_stamp_text initialize(std::string v);
operator std::string() const; operator std::string() const;
}; };
@@ -54,8 +52,7 @@ public:
class IFC_PARSE_API file_description : public express::Entity { class IFC_PARSE_API file_description : public express::Entity {
public: public:
file_description() {} using express::Entity::Entity;
explicit file_description (const std::weak_ptr<instance_data>& data) : express::Entity(data) {}
std::vector< std::string > /*[1:?]*/ description() const; std::vector< std::string > /*[1:?]*/ description() const;
void setdescription(const std::vector< std::string > /*[1:?]*/& v); void setdescription(const std::vector< std::string > /*[1:?]*/& v);
@@ -63,13 +60,12 @@ public:
void setimplementation_level(const std::string& v); void setimplementation_level(const std::string& v);
static const ifcopenshell::entity& Class(); static const ifcopenshell::entity& Class();
void initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level); file_description initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level);
}; };
class IFC_PARSE_API file_name : public express::Entity { class IFC_PARSE_API file_name : public express::Entity {
public: public:
file_name() {} using express::Entity::Entity;
explicit file_name (const std::weak_ptr<instance_data>& data) : express::Entity(data) {}
std::string name() const; std::string name() const;
void setname(const std::string& v); void setname(const std::string& v);
@@ -87,19 +83,18 @@ public:
void setauthorization(const std::string& v); void setauthorization(const std::string& v);
static const ifcopenshell::entity& Class(); static const ifcopenshell::entity& Class();
void initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization); file_name initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization);
}; };
class IFC_PARSE_API file_schema : public express::Entity { class IFC_PARSE_API file_schema : public express::Entity {
public: public:
file_schema() {} using express::Entity::Entity;
explicit file_schema (const std::weak_ptr<instance_data>& data) : express::Entity(data) {}
std::vector< std::string > /*[1:?]*/ schema_identifiers() const; std::vector< std::string > /*[1:?]*/ schema_identifiers() const;
void setschema_identifiers(const std::vector< std::string > /*[1:?]*/& v); void setschema_identifiers(const std::vector< std::string > /*[1:?]*/& v);
static const ifcopenshell::entity& Class(); static const ifcopenshell::entity& Class();
void initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers); file_schema initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers);
}; };
}; };
File diff suppressed because it is too large Load Diff
+2078 -3058
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2493 -3666
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2552 -3753
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2603 -3826
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2809 -4120
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff