Files
IfcOpenShell/src/ifcparse/schemas/Ifc4x3_tc1.cpp
T
Thomas Krijnen 1cc93784cd Rerun codegen
2026-04-18 21:03:02 +02:00

16534 lines
1.9 MiB
Plaintext

/********************************************************************************
* *
* This file is part of IfcOpenShell. *
* *
* IfcOpenShell is free software: you can redistribute it and/or modify *
* it under the terms of the Lesser GNU General Public License as published by *
* the Free Software Foundation, either version 3.0 of the License, or *
* (at your option) any later version. *
* *
* IfcOpenShell is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* Lesser GNU General Public License for more details. *
* *
* You should have received a copy of the Lesser GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* *
********************************************************************************/
/********************************************************************************
* *
* This file has been generated from IFC4X3_TC1.exp. Do not make modifications *
* but instead modify the python script that has been used to generate this. *
* *
********************************************************************************/
#include "../../ifcparse/schemas/Ifc4x3_tc1.h"
#include "../../ifcparse/schema.h"
#include "../../ifcparse/exception.h"
#include "../../ifcparse/file.h"
#include <map>
const char* const Ifc4x3_tc1::Identifier = "IFC4X3_TC1";
using namespace ifcopenshell;
// External definitions
extern declaration* IFC4X3_TC1_types[1307];
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[3]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[3]); }
/*
Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcActionRequestTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcActionRequestTypeEnum::Value Ifc4x3_tc1::IfcActionRequestTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcActionRequestTypeEnum::Value) Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcActionRequestTypeEnum::operator Ifc4x3_tc1::IfcActionRequestTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[4]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[4]); }
/*
Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcActionSourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcActionSourceTypeEnum::Value Ifc4x3_tc1::IfcActionSourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcActionSourceTypeEnum::Value) Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcActionSourceTypeEnum::operator Ifc4x3_tc1::IfcActionSourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[5]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[5]); }
/*
Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcActionTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcActionTypeEnum::Value Ifc4x3_tc1::IfcActionTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcActionTypeEnum::Value) Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcActionTypeEnum::operator Ifc4x3_tc1::IfcActionTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[11]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[11]); }
/*
Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcActuatorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcActuatorTypeEnum::Value Ifc4x3_tc1::IfcActuatorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcActuatorTypeEnum::Value) Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcActuatorTypeEnum::operator Ifc4x3_tc1::IfcActuatorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[13]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[13]); }
/*
Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAddressTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAddressTypeEnum::Value Ifc4x3_tc1::IfcAddressTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAddressTypeEnum::Value) Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAddressTypeEnum::operator Ifc4x3_tc1::IfcAddressTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[20]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[20]); }
/*
Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value) Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[22]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[22]); }
/*
Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAirTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value) Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAirTerminalTypeEnum::operator Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[25]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[25]); }
/*
Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value) Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[28]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[28]); }
/*
Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAlarmTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAlarmTypeEnum::Value Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAlarmTypeEnum::Value) Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAlarmTypeEnum::operator Ifc4x3_tc1::IfcAlarmTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[32]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[32]); }
/*
Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value) Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[35]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[35]); }
/*
Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value) Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[38]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[38]); }
/*
Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAlignmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAlignmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAlignmentTypeEnum::Value) Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAlignmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[41]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[41]); }
/*
Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value) Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[43]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[43]); }
/*
Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAnalysisModelTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_tc1::IfcAnalysisModelTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value) Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAnalysisModelTypeEnum::operator Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[44]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[44]); }
/*
Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value) Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[48]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[48]); }
/*
Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAnnotationTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAnnotationTypeEnum::Value Ifc4x3_tc1::IfcAnnotationTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAnnotationTypeEnum::Value) Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAnnotationTypeEnum::operator Ifc4x3_tc1::IfcAnnotationTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[60]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[60]); }
/*
Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcArithmeticOperatorEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value Ifc4x3_tc1::IfcArithmeticOperatorEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value) Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcArithmeticOperatorEnum::operator Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value() const {
return (Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[61]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[61]); }
/*
Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAssemblyPlaceEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value) Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAssemblyPlaceEnum::operator Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value() const {
return (Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[66]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[66]); }
/*
Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value) Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[108]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[108]); }
/*
Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBSplineCurveForm::ToString(Value v) {
return Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBSplineCurveForm::Value Ifc4x3_tc1::IfcBSplineCurveForm::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBSplineCurveForm::Value) Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBSplineCurveForm::operator Ifc4x3_tc1::IfcBSplineCurveForm::Value() const {
return (Ifc4x3_tc1::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[111]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[111]); }
/*
Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBSplineSurfaceForm::ToString(Value v) {
return Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBSplineSurfaceForm::Value Ifc4x3_tc1::IfcBSplineSurfaceForm::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBSplineSurfaceForm::Value) Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBSplineSurfaceForm::operator Ifc4x3_tc1::IfcBSplineSurfaceForm::Value() const {
return (Ifc4x3_tc1::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[74]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[74]); }
/*
Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBeamTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBeamTypeEnum::Value Ifc4x3_tc1::IfcBeamTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBeamTypeEnum::Value) Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBeamTypeEnum::operator Ifc4x3_tc1::IfcBeamTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[77]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[77]); }
/*
Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBearingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBearingTypeEnum::Value Ifc4x3_tc1::IfcBearingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBearingTypeEnum::Value) Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBearingTypeEnum::operator Ifc4x3_tc1::IfcBearingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[78]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[78]); }
/*
Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBenchmarkEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBenchmarkEnum::Value Ifc4x3_tc1::IfcBenchmarkEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBenchmarkEnum::Value) Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBenchmarkEnum::operator Ifc4x3_tc1::IfcBenchmarkEnum::Value() const {
return (Ifc4x3_tc1::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[85]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[85]); }
/*
Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBoilerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBoilerTypeEnum::Value Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBoilerTypeEnum::Value) Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBoilerTypeEnum::operator Ifc4x3_tc1::IfcBoilerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[89]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[89]); }
/*
Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBooleanOperator::ToString(Value v) {
return Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBooleanOperator::Value Ifc4x3_tc1::IfcBooleanOperator::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBooleanOperator::Value) Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBooleanOperator::operator Ifc4x3_tc1::IfcBooleanOperator::Value() const {
return (Ifc4x3_tc1::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[105]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[105]); }
/*
Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBridgePartTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBridgePartTypeEnum::Value Ifc4x3_tc1::IfcBridgePartTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBridgePartTypeEnum::Value) Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBridgePartTypeEnum::operator Ifc4x3_tc1::IfcBridgePartTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[106]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[106]); }
/*
Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBridgeTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBridgeTypeEnum::Value Ifc4x3_tc1::IfcBridgeTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBridgeTypeEnum::Value) Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBridgeTypeEnum::operator Ifc4x3_tc1::IfcBridgeTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[116]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[116]); }
/*
Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value) Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::operator Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[119]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[119]); }
/*
Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value) Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[122]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[122]); }
/*
Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBuildingSystemTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value Ifc4x3_tc1::IfcBuildingSystemTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value) Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBuildingSystemTypeEnum::operator Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[126]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[126]); }
/*
Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBuiltSystemTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value Ifc4x3_tc1::IfcBuiltSystemTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value) Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBuiltSystemTypeEnum::operator Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[129]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[129]); }
/*
Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcBurnerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcBurnerTypeEnum::Value Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcBurnerTypeEnum::Value) Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcBurnerTypeEnum::operator Ifc4x3_tc1::IfcBurnerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[132]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[132]); }
/*
Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value) Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[135]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[135]); }
/*
Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value) Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[138]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[138]); }
/*
Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCableFittingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCableFittingTypeEnum::Value Ifc4x3_tc1::IfcCableFittingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCableFittingTypeEnum::Value) Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCableFittingTypeEnum::operator Ifc4x3_tc1::IfcCableFittingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[141]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[141]); }
/*
Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCableSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value) Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCableSegmentTypeEnum::operator Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[144]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[144]); }
/*
Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value) Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::operator Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[156]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[156]); }
/*
Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcChangeActionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcChangeActionEnum::Value Ifc4x3_tc1::IfcChangeActionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcChangeActionEnum::Value) Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcChangeActionEnum::operator Ifc4x3_tc1::IfcChangeActionEnum::Value() const {
return (Ifc4x3_tc1::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[159]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[159]); }
/*
Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcChillerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcChillerTypeEnum::Value Ifc4x3_tc1::IfcChillerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcChillerTypeEnum::Value) Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcChillerTypeEnum::operator Ifc4x3_tc1::IfcChillerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[162]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[162]); }
/*
Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcChimneyTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcChimneyTypeEnum::Value Ifc4x3_tc1::IfcChimneyTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcChimneyTypeEnum::Value) Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcChimneyTypeEnum::operator Ifc4x3_tc1::IfcChimneyTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[176]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[176]); }
/*
Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCoilTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCoilTypeEnum::Value Ifc4x3_tc1::IfcCoilTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCoilTypeEnum::Value) Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCoilTypeEnum::operator Ifc4x3_tc1::IfcCoilTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[184]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[184]); }
/*
Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcColumnTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcColumnTypeEnum::Value Ifc4x3_tc1::IfcColumnTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcColumnTypeEnum::Value) Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcColumnTypeEnum::operator Ifc4x3_tc1::IfcColumnTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[187]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[187]); }
/*
Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value) Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[191]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[191]); }
/*
Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value) Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[199]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[199]); }
/*
Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCompressorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCompressorTypeEnum::Value Ifc4x3_tc1::IfcCompressorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCompressorTypeEnum::Value) Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCompressorTypeEnum::operator Ifc4x3_tc1::IfcCompressorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[202]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[202]); }
/*
Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCondenserTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCondenserTypeEnum::Value Ifc4x3_tc1::IfcCondenserTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCondenserTypeEnum::Value) Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCondenserTypeEnum::operator Ifc4x3_tc1::IfcCondenserTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[210]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[210]); }
/*
Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConnectionTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConnectionTypeEnum::Value Ifc4x3_tc1::IfcConnectionTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConnectionTypeEnum::Value) Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConnectionTypeEnum::operator Ifc4x3_tc1::IfcConnectionTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[213]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[213]); }
/*
Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConstraintEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConstraintEnum::Value Ifc4x3_tc1::IfcConstraintEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConstraintEnum::Value) Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConstraintEnum::operator Ifc4x3_tc1::IfcConstraintEnum::Value() const {
return (Ifc4x3_tc1::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[216]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[216]); }
/*
Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value) Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[219]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[219]); }
/*
Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value) Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[222]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[222]); }
/*
Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value) Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[231]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[231]); }
/*
Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcControllerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcControllerTypeEnum::Value Ifc4x3_tc1::IfcControllerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcControllerTypeEnum::Value) Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcControllerTypeEnum::operator Ifc4x3_tc1::IfcControllerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[236]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[236]); }
/*
Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value) Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::operator Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[239]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[239]); }
/*
Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCooledBeamTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value Ifc4x3_tc1::IfcCooledBeamTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value) Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCooledBeamTypeEnum::operator Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[242]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[242]); }
/*
Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCoolingTowerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_tc1::IfcCoolingTowerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value) Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCoolingTowerTypeEnum::operator Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[248]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[248]); }
/*
Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCostItemTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCostItemTypeEnum::Value Ifc4x3_tc1::IfcCostItemTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCostItemTypeEnum::Value) Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCostItemTypeEnum::operator Ifc4x3_tc1::IfcCostItemTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[250]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[250]); }
/*
Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCostScheduleTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value Ifc4x3_tc1::IfcCostScheduleTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value) Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCostScheduleTypeEnum::operator Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[255]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[255]); }
/*
Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCourseTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCourseTypeEnum::Value Ifc4x3_tc1::IfcCourseTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCourseTypeEnum::Value) Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCourseTypeEnum::operator Ifc4x3_tc1::IfcCourseTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[258]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[258]); }
/*
Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCoveringTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCoveringTypeEnum::Value Ifc4x3_tc1::IfcCoveringTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCoveringTypeEnum::Value) Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCoveringTypeEnum::operator Ifc4x3_tc1::IfcCoveringTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[261]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[261]); }
/*
Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCrewResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value Ifc4x3_tc1::IfcCrewResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value) Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCrewResourceTypeEnum::operator Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[269]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[269]); }
/*
Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCurtainWallTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value Ifc4x3_tc1::IfcCurtainWallTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value) Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCurtainWallTypeEnum::operator Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[275]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[275]); }
/*
Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcCurveInterpolationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcCurveInterpolationEnum::Value Ifc4x3_tc1::IfcCurveInterpolationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcCurveInterpolationEnum::Value) Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcCurveInterpolationEnum::operator Ifc4x3_tc1::IfcCurveInterpolationEnum::Value() const {
return (Ifc4x3_tc1::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[288]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[288]); }
/*
Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDamperTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDamperTypeEnum::Value Ifc4x3_tc1::IfcDamperTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDamperTypeEnum::Value) Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDamperTypeEnum::operator Ifc4x3_tc1::IfcDamperTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[289]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[289]); }
/*
Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDataOriginEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDataOriginEnum::Value Ifc4x3_tc1::IfcDataOriginEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDataOriginEnum::Value) Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDataOriginEnum::operator Ifc4x3_tc1::IfcDataOriginEnum::Value() const {
return (Ifc4x3_tc1::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[301]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[301]); }
/*
Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDerivedUnitEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDerivedUnitEnum::Value Ifc4x3_tc1::IfcDerivedUnitEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDerivedUnitEnum::Value) Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDerivedUnitEnum::operator Ifc4x3_tc1::IfcDerivedUnitEnum::Value() const {
return (Ifc4x3_tc1::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[306]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[306]); }
/*
Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDirectionSenseEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDirectionSenseEnum::Value Ifc4x3_tc1::IfcDirectionSenseEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDirectionSenseEnum::Value) Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDirectionSenseEnum::operator Ifc4x3_tc1::IfcDirectionSenseEnum::Value() const {
return (Ifc4x3_tc1::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[311]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[311]); }
/*
Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value) Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[314]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[314]); }
/*
Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDistributionBoardTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcDistributionBoardTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value) Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDistributionBoardTypeEnum::operator Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[317]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[317]); }
/*
Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value) Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[326]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[326]); }
/*
Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDistributionPortTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value Ifc4x3_tc1::IfcDistributionPortTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value) Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDistributionPortTypeEnum::operator Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[328]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[328]); }
/*
Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDistributionSystemEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDistributionSystemEnum::Value Ifc4x3_tc1::IfcDistributionSystemEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDistributionSystemEnum::Value) Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDistributionSystemEnum::operator Ifc4x3_tc1::IfcDistributionSystemEnum::Value() const {
return (Ifc4x3_tc1::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[329]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[329]); }
/*
Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDocumentConfidentialityEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value Ifc4x3_tc1::IfcDocumentConfidentialityEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value) Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDocumentConfidentialityEnum::operator Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value() const {
return (Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[334]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[334]); }
/*
Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDocumentStatusEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDocumentStatusEnum::Value Ifc4x3_tc1::IfcDocumentStatusEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDocumentStatusEnum::Value) Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDocumentStatusEnum::operator Ifc4x3_tc1::IfcDocumentStatusEnum::Value() const {
return (Ifc4x3_tc1::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[337]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[337]); }
/*
Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDoorPanelOperationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value Ifc4x3_tc1::IfcDoorPanelOperationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value) Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDoorPanelOperationEnum::operator Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value() const {
return (Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[338]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[338]); }
/*
Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDoorPanelPositionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value Ifc4x3_tc1::IfcDoorPanelPositionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value) Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDoorPanelPositionEnum::operator Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value() const {
return (Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[341]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[341]); }
/*
Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDoorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDoorTypeEnum::Value Ifc4x3_tc1::IfcDoorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDoorTypeEnum::Value) Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDoorTypeEnum::operator Ifc4x3_tc1::IfcDoorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[342]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[342]); }
/*
Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDoorTypeOperationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value Ifc4x3_tc1::IfcDoorTypeOperationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value) Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDoorTypeOperationEnum::operator Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value() const {
return (Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[348]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[348]); }
/*
Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDuctFittingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value Ifc4x3_tc1::IfcDuctFittingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value) Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDuctFittingTypeEnum::operator Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[351]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[351]); }
/*
Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDuctSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_tc1::IfcDuctSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value) Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDuctSegmentTypeEnum::operator Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[354]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[354]); }
/*
Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcDuctSilencerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_tc1::IfcDuctSilencerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value) Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcDuctSilencerTypeEnum::operator Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[358]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[358]); }
/*
Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEarthworksCutTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value Ifc4x3_tc1::IfcEarthworksCutTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value) Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEarthworksCutTypeEnum::operator Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[361]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[361]); }
/*
Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEarthworksFillTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value Ifc4x3_tc1::IfcEarthworksFillTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value) Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEarthworksFillTypeEnum::operator Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[367]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[367]); }
/*
Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricApplianceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_tc1::IfcElectricApplianceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value) Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricApplianceTypeEnum::operator Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[374]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[374]); }
/*
Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value) Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[377]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[377]); }
/*
Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value) Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[380]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[380]); }
/*
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[383]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[383]); }
/*
Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value) Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::operator Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[386]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[386]); }
/*
Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricMotorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value Ifc4x3_tc1::IfcElectricMotorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value) Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricMotorTypeEnum::operator Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[390]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[390]); }
/*
Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value) Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::operator Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[396]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[396]); }
/*
Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElementAssemblyTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_tc1::IfcElementAssemblyTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value) Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElementAssemblyTypeEnum::operator Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[399]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[399]); }
/*
Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcElementCompositionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcElementCompositionEnum::Value Ifc4x3_tc1::IfcElementCompositionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcElementCompositionEnum::Value) Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcElementCompositionEnum::operator Ifc4x3_tc1::IfcElementCompositionEnum::Value() const {
return (Ifc4x3_tc1::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[409]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[409]); }
/*
Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEngineTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEngineTypeEnum::Value Ifc4x3_tc1::IfcEngineTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEngineTypeEnum::Value) Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEngineTypeEnum::operator Ifc4x3_tc1::IfcEngineTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[412]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[412]); }
/*
Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value) Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[415]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[415]); }
/*
Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEvaporatorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value Ifc4x3_tc1::IfcEvaporatorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value) Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEvaporatorTypeEnum::operator Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[418]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[418]); }
/*
Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEventTriggerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value Ifc4x3_tc1::IfcEventTriggerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value) Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEventTriggerTypeEnum::operator Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[420]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[420]); }
/*
Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcEventTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcEventTypeEnum::Value Ifc4x3_tc1::IfcEventTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcEventTypeEnum::Value) Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcEventTypeEnum::operator Ifc4x3_tc1::IfcEventTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[429]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[429]); }
/*
Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value) Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[443]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[443]); }
/*
Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value) Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[444]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[444]); }
/*
Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFacilityUsageEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFacilityUsageEnum::Value Ifc4x3_tc1::IfcFacilityUsageEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFacilityUsageEnum::Value) Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFacilityUsageEnum::operator Ifc4x3_tc1::IfcFacilityUsageEnum::Value() const {
return (Ifc4x3_tc1::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[448]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[448]); }
/*
Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFanTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFanTypeEnum::Value Ifc4x3_tc1::IfcFanTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFanTypeEnum::Value) Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFanTypeEnum::operator Ifc4x3_tc1::IfcFanTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[451]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[451]); }
/*
Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFastenerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFastenerTypeEnum::Value Ifc4x3_tc1::IfcFastenerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFastenerTypeEnum::Value) Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFastenerTypeEnum::operator Ifc4x3_tc1::IfcFastenerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[461]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[461]); }
/*
Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFilterTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFilterTypeEnum::Value Ifc4x3_tc1::IfcFilterTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFilterTypeEnum::Value) Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFilterTypeEnum::operator Ifc4x3_tc1::IfcFilterTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[464]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[464]); }
/*
Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value) Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[468]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[468]); }
/*
Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFlowDirectionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFlowDirectionEnum::Value Ifc4x3_tc1::IfcFlowDirectionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFlowDirectionEnum::Value) Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFlowDirectionEnum::operator Ifc4x3_tc1::IfcFlowDirectionEnum::Value() const {
return (Ifc4x3_tc1::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[473]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[473]); }
/*
Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value) Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::operator Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[476]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[476]); }
/*
Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFlowMeterTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value) Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFlowMeterTypeEnum::operator Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[492]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[492]); }
/*
Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFootingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFootingTypeEnum::Value Ifc4x3_tc1::IfcFootingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFootingTypeEnum::Value) Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFootingTypeEnum::operator Ifc4x3_tc1::IfcFootingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[499]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[499]); }
/*
Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcFurnitureTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcFurnitureTypeEnum::Value Ifc4x3_tc1::IfcFurnitureTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcFurnitureTypeEnum::Value) Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcFurnitureTypeEnum::operator Ifc4x3_tc1::IfcFurnitureTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[502]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[502]); }
/*
Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcGeographicElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value Ifc4x3_tc1::IfcGeographicElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value) Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcGeographicElementTypeEnum::operator Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[504]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[504]); }
/*
Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcGeometricProjectionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcGeometricProjectionEnum::Value Ifc4x3_tc1::IfcGeometricProjectionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcGeometricProjectionEnum::Value) Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcGeometricProjectionEnum::operator Ifc4x3_tc1::IfcGeometricProjectionEnum::Value() const {
return (Ifc4x3_tc1::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[515]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[515]); }
/*
Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value) Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::operator Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[517]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[517]); }
/*
Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcGlobalOrLocalEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value Ifc4x3_tc1::IfcGlobalOrLocalEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value) Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcGlobalOrLocalEnum::operator Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value() const {
return (Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[523]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[523]); }
/*
Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcGridTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcGridTypeEnum::Value Ifc4x3_tc1::IfcGridTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcGridTypeEnum::Value) Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcGridTypeEnum::operator Ifc4x3_tc1::IfcGridTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[529]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[529]); }
/*
Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcHeatExchangerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_tc1::IfcHeatExchangerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value) Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcHeatExchangerTypeEnum::operator Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[534]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[534]); }
/*
Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcHumidifierTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcHumidifierTypeEnum::Value Ifc4x3_tc1::IfcHumidifierTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcHumidifierTypeEnum::Value) Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcHumidifierTypeEnum::operator Ifc4x3_tc1::IfcHumidifierTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[540]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[540]); }
/*
Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value) Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[553]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[553]); }
/*
Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcInterceptorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcInterceptorTypeEnum::Value Ifc4x3_tc1::IfcInterceptorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcInterceptorTypeEnum::Value) Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcInterceptorTypeEnum::operator Ifc4x3_tc1::IfcInterceptorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[555]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[555]); }
/*
Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcInternalOrExternalEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcInternalOrExternalEnum::Value Ifc4x3_tc1::IfcInternalOrExternalEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcInternalOrExternalEnum::Value) Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcInternalOrExternalEnum::operator Ifc4x3_tc1::IfcInternalOrExternalEnum::Value() const {
return (Ifc4x3_tc1::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[558]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[558]); }
/*
Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcInventoryTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcInventoryTypeEnum::Value Ifc4x3_tc1::IfcInventoryTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcInventoryTypeEnum::Value) Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcInventoryTypeEnum::operator Ifc4x3_tc1::IfcInventoryTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[566]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[566]); }
/*
Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcJunctionBoxTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_tc1::IfcJunctionBoxTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value) Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcJunctionBoxTypeEnum::operator Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[569]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[569]); }
/*
Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcKerbTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcKerbTypeEnum::Value Ifc4x3_tc1::IfcKerbTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcKerbTypeEnum::Value) Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcKerbTypeEnum::operator Ifc4x3_tc1::IfcKerbTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcKerbTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[571]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[571]); }
/*
Ifc4x3_tc1::IfcKnotType::IfcKnotType(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcKnotType::IfcKnotType(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcKnotType::IfcKnotType(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcKnotType::ToString(Value v) {
return Ifc4x3_tc1::IfcKnotType::IfcKnotType::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcKnotType::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcKnotType::Value) Ifc4x3_tc1::IfcKnotType::IfcKnotType::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcKnotType::operator Ifc4x3_tc1::IfcKnotType::Value() const {
return (Ifc4x3_tc1::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[575]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[575]); }
/*
Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLaborResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value Ifc4x3_tc1::IfcLaborResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value) Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLaborResourceTypeEnum::operator Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[579]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[579]); }
/*
Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLampTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLampTypeEnum::Value Ifc4x3_tc1::IfcLampTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLampTypeEnum::Value) Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLampTypeEnum::operator Ifc4x3_tc1::IfcLampTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[582]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[582]); }
/*
Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLayerSetDirectionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcLayerSetDirectionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value) Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLayerSetDirectionEnum::operator Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value() const {
return (Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[587]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[587]); }
/*
Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLightDistributionCurveEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value Ifc4x3_tc1::IfcLightDistributionCurveEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value) Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLightDistributionCurveEnum::operator Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value() const {
return (Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[590]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[590]); }
/*
Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLightEmissionSourceEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value Ifc4x3_tc1::IfcLightEmissionSourceEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value) Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLightEmissionSourceEnum::operator Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value() const {
return (Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[593]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[593]); }
/*
Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLightFixtureTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value Ifc4x3_tc1::IfcLightFixtureTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value) Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLightFixtureTypeEnum::operator Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[612]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[612]); }
/*
Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value) Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::operator Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[613]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[613]); }
/*
Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLoadGroupTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value Ifc4x3_tc1::IfcLoadGroupTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value) Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLoadGroupTypeEnum::operator Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[616]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[616]); }
/*
Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcLogicalOperatorEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcLogicalOperatorEnum::Value Ifc4x3_tc1::IfcLogicalOperatorEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcLogicalOperatorEnum::Value) Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcLogicalOperatorEnum::operator Ifc4x3_tc1::IfcLogicalOperatorEnum::Value() const {
return (Ifc4x3_tc1::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[628]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[628]); }
/*
Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMarineFacilityTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value Ifc4x3_tc1::IfcMarineFacilityTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value) Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMarineFacilityTypeEnum::operator Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[630]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[630]); }
/*
Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMarinePartTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMarinePartTypeEnum::Value Ifc4x3_tc1::IfcMarinePartTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMarinePartTypeEnum::Value) Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMarinePartTypeEnum::operator Ifc4x3_tc1::IfcMarinePartTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[659]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[659]); }
/*
Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value) Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[662]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[662]); }
/*
Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value) Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::operator Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[665]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[665]); }
/*
Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMemberTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMemberTypeEnum::Value Ifc4x3_tc1::IfcMemberTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMemberTypeEnum::Value) Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMemberTypeEnum::operator Ifc4x3_tc1::IfcMemberTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[671]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[671]); }
/*
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[687]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[687]); }
/*
Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMooringDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_tc1::IfcMooringDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value) Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMooringDeviceTypeEnum::operator Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[690]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[690]); }
/*
Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcMotorConnectionTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_tc1::IfcMotorConnectionTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value) Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcMotorConnectionTypeEnum::operator Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[694]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[694]); }
/*
Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcNavigationElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value Ifc4x3_tc1::IfcNavigationElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value) Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcNavigationElementTypeEnum::operator Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[701]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[701]); }
/*
Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcObjectiveEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcObjectiveEnum::Value Ifc4x3_tc1::IfcObjectiveEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcObjectiveEnum::Value) Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcObjectiveEnum::operator Ifc4x3_tc1::IfcObjectiveEnum::Value() const {
return (Ifc4x3_tc1::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[705]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[705]); }
/*
Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcOccupantTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcOccupantTypeEnum::Value Ifc4x3_tc1::IfcOccupantTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcOccupantTypeEnum::Value) Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcOccupantTypeEnum::operator Ifc4x3_tc1::IfcOccupantTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[712]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[712]); }
/*
Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcOpeningElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value Ifc4x3_tc1::IfcOpeningElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value) Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcOpeningElementTypeEnum::operator Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[720]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[720]); }
/*
Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcOutletTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcOutletTypeEnum::Value Ifc4x3_tc1::IfcOutletTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcOutletTypeEnum::Value) Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcOutletTypeEnum::operator Ifc4x3_tc1::IfcOutletTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[727]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[727]); }
/*
Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPavementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPavementTypeEnum::Value Ifc4x3_tc1::IfcPavementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPavementTypeEnum::Value) Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPavementTypeEnum::operator Ifc4x3_tc1::IfcPavementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[730]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[730]); }
/*
Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value) Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[731]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[731]); }
/*
Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value) Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::operator Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value() const {
return (Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[734]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[734]); }
/*
Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPermitTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPermitTypeEnum::Value Ifc4x3_tc1::IfcPermitTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPermitTypeEnum::Value) Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPermitTypeEnum::operator Ifc4x3_tc1::IfcPermitTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[739]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[739]); }
/*
Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value) Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::operator Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value() const {
return (Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[743]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[743]); }
/*
Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPileConstructionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPileConstructionEnum::Value Ifc4x3_tc1::IfcPileConstructionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPileConstructionEnum::Value) Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPileConstructionEnum::operator Ifc4x3_tc1::IfcPileConstructionEnum::Value() const {
return (Ifc4x3_tc1::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[745]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[745]); }
/*
Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPileTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPileTypeEnum::Value Ifc4x3_tc1::IfcPileTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPileTypeEnum::Value) Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPileTypeEnum::operator Ifc4x3_tc1::IfcPileTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[748]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[748]); }
/*
Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPipeFittingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value Ifc4x3_tc1::IfcPipeFittingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value) Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPipeFittingTypeEnum::operator Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[751]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[751]); }
/*
Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPipeSegmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_tc1::IfcPipeSegmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value) Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPipeSegmentTypeEnum::operator Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[761]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[761]); }
/*
Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPlateTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPlateTypeEnum::Value Ifc4x3_tc1::IfcPlateTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPlateTypeEnum::Value) Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPlateTypeEnum::operator Ifc4x3_tc1::IfcPlateTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[786]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[786]); }
/*
Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::ToString(Value v) {
return Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value) Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value() const {
return (Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[795]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[795]); }
/*
Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProcedureTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProcedureTypeEnum::Value Ifc4x3_tc1::IfcProcedureTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProcedureTypeEnum::Value) Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProcedureTypeEnum::operator Ifc4x3_tc1::IfcProcedureTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[805]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[805]); }
/*
Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProfileTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProfileTypeEnum::Value Ifc4x3_tc1::IfcProfileTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProfileTypeEnum::Value) Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProfileTypeEnum::operator Ifc4x3_tc1::IfcProfileTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[813]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[813]); }
/*
Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProjectOrderTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value Ifc4x3_tc1::IfcProjectOrderTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value) Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProjectOrderTypeEnum::operator Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[808]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[808]); }
/*
Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value) Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value() const {
return (Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[810]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[810]); }
/*
Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProjectionElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value Ifc4x3_tc1::IfcProjectionElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value) Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProjectionElementTypeEnum::operator Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[828]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[828]); }
/*
Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value) Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[836]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[836]); }
/*
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[838]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[838]); }
/*
Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value) Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[841]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[841]); }
/*
Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcPumpTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcPumpTypeEnum::Value Ifc4x3_tc1::IfcPumpTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcPumpTypeEnum::Value) Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcPumpTypeEnum::operator Ifc4x3_tc1::IfcPumpTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[856]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[856]); }
/*
Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRailTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRailTypeEnum::Value Ifc4x3_tc1::IfcRailTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRailTypeEnum::Value) Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRailTypeEnum::operator Ifc4x3_tc1::IfcRailTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[854]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[854]); }
/*
Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRailingTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRailingTypeEnum::Value Ifc4x3_tc1::IfcRailingTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRailingTypeEnum::Value) Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRailingTypeEnum::operator Ifc4x3_tc1::IfcRailingTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[859]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[859]); }
/*
Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRailwayPartTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value Ifc4x3_tc1::IfcRailwayPartTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value) Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRailwayPartTypeEnum::operator Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[860]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[860]); }
/*
Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRailwayTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRailwayTypeEnum::Value Ifc4x3_tc1::IfcRailwayTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRailwayTypeEnum::Value) Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRailwayTypeEnum::operator Ifc4x3_tc1::IfcRailwayTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[864]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[864]); }
/*
Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRampFlightTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRampFlightTypeEnum::Value Ifc4x3_tc1::IfcRampFlightTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRampFlightTypeEnum::Value) Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRampFlightTypeEnum::operator Ifc4x3_tc1::IfcRampFlightTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[866]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[866]); }
/*
Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRampTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRampTypeEnum::Value Ifc4x3_tc1::IfcRampTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRampTypeEnum::Value) Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRampTypeEnum::operator Ifc4x3_tc1::IfcRampTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[876]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[876]); }
/*
Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRecurrenceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value Ifc4x3_tc1::IfcRecurrenceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value) Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRecurrenceTypeEnum::operator Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[879]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[879]); }
/*
Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReferentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReferentTypeEnum::Value Ifc4x3_tc1::IfcReferentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReferentTypeEnum::Value) Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReferentTypeEnum::operator Ifc4x3_tc1::IfcReferentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[880]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[880]); }
/*
Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReflectanceMethodEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReflectanceMethodEnum::Value Ifc4x3_tc1::IfcReflectanceMethodEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReflectanceMethodEnum::Value) Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReflectanceMethodEnum::operator Ifc4x3_tc1::IfcReflectanceMethodEnum::Value() const {
return (Ifc4x3_tc1::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[883]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[883]); }
/*
Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value) Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::operator Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[887]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[887]); }
/*
Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReinforcingBarRoleEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_tc1::IfcReinforcingBarRoleEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value) Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReinforcingBarRoleEnum::operator Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value() const {
return (Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[888]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[888]); }
/*
Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value) Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value() const {
return (Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[890]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[890]); }
/*
Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReinforcingBarTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_tc1::IfcReinforcingBarTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value) Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReinforcingBarTypeEnum::operator Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[895]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[895]); }
/*
Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value) Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::operator Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[965]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[965]); }
/*
Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRoadPartTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRoadPartTypeEnum::Value Ifc4x3_tc1::IfcRoadPartTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRoadPartTypeEnum::Value) Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRoadPartTypeEnum::operator Ifc4x3_tc1::IfcRoadPartTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[966]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[966]); }
/*
Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRoadTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRoadTypeEnum::Value Ifc4x3_tc1::IfcRoadTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRoadTypeEnum::Value) Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRoadTypeEnum::operator Ifc4x3_tc1::IfcRoadTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[967]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[967]); }
/*
Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRoleEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRoleEnum::Value Ifc4x3_tc1::IfcRoleEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRoleEnum::Value) Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRoleEnum::operator Ifc4x3_tc1::IfcRoleEnum::Value() const {
return (Ifc4x3_tc1::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[970]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[970]); }
/*
Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcRoofTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcRoofTypeEnum::Value Ifc4x3_tc1::IfcRoofTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcRoofTypeEnum::Value) Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcRoofTypeEnum::operator Ifc4x3_tc1::IfcRoofTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1020]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1020]); }
/*
Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSIPrefix::ToString(Value v) {
return Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSIPrefix::Value Ifc4x3_tc1::IfcSIPrefix::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSIPrefix::Value) Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSIPrefix::operator Ifc4x3_tc1::IfcSIPrefix::Value() const {
return (Ifc4x3_tc1::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1023]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1023]); }
/*
Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSIUnitName::ToString(Value v) {
return Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSIUnitName::Value Ifc4x3_tc1::IfcSIUnitName::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSIUnitName::Value) Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSIUnitName::operator Ifc4x3_tc1::IfcSIUnitName::Value() const {
return (Ifc4x3_tc1::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[979]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[979]); }
/*
Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value) Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[991]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[991]); }
/*
Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSectionTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSectionTypeEnum::Value Ifc4x3_tc1::IfcSectionTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSectionTypeEnum::Value) Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSectionTypeEnum::operator Ifc4x3_tc1::IfcSectionTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[997]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[997]); }
/*
Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSensorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSensorTypeEnum::Value Ifc4x3_tc1::IfcSensorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSensorTypeEnum::Value) Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSensorTypeEnum::operator Ifc4x3_tc1::IfcSensorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[998]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[998]); }
/*
Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSequenceEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSequenceEnum::Value Ifc4x3_tc1::IfcSequenceEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSequenceEnum::Value) Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSequenceEnum::operator Ifc4x3_tc1::IfcSequenceEnum::Value() const {
return (Ifc4x3_tc1::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1002]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1002]); }
/*
Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcShadingDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_tc1::IfcShadingDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value) Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcShadingDeviceTypeEnum::operator Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1014]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1014]); }
/*
Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSignTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSignTypeEnum::Value Ifc4x3_tc1::IfcSignTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSignTypeEnum::Value) Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSignTypeEnum::operator Ifc4x3_tc1::IfcSignTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1012]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1012]); }
/*
Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSignalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSignalTypeEnum::Value Ifc4x3_tc1::IfcSignalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSignalTypeEnum::Value) Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSignalTypeEnum::operator Ifc4x3_tc1::IfcSignalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1017]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1017]); }
/*
Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value) Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1027]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1027]); }
/*
Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSlabTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSlabTypeEnum::Value Ifc4x3_tc1::IfcSlabTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSlabTypeEnum::Value) Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSlabTypeEnum::operator Ifc4x3_tc1::IfcSlabTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1031]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1031]); }
/*
Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSolarDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_tc1::IfcSolarDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value) Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSolarDeviceTypeEnum::operator Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1043]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1043]); }
/*
Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value) Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::operator Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1045]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1045]); }
/*
Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSpaceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSpaceTypeEnum::Value Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSpaceTypeEnum::Value) Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSpaceTypeEnum::operator Ifc4x3_tc1::IfcSpaceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1053]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1053]); }
/*
Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSpatialZoneTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_tc1::IfcSpatialZoneTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value) Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSpatialZoneTypeEnum::operator Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1063]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1063]); }
/*
Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStackTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value Ifc4x3_tc1::IfcStackTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value) Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStackTerminalTypeEnum::operator Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1067]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1067]); }
/*
Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStairFlightTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStairFlightTypeEnum::Value Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStairFlightTypeEnum::Value) Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStairFlightTypeEnum::operator Ifc4x3_tc1::IfcStairFlightTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1069]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1069]); }
/*
Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStairTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStairTypeEnum::Value Ifc4x3_tc1::IfcStairTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStairTypeEnum::Value) Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStairTypeEnum::operator Ifc4x3_tc1::IfcStairTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1070]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1070]); }
/*
Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStateEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStateEnum::IfcStateEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStateEnum::Value Ifc4x3_tc1::IfcStateEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStateEnum::Value) Ifc4x3_tc1::IfcStateEnum::IfcStateEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStateEnum::operator Ifc4x3_tc1::IfcStateEnum::Value() const {
return (Ifc4x3_tc1::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1079]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1079]); }
/*
Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value) Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1082]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1082]); }
/*
Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value) Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1108]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1108]); }
/*
Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value) Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1111]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1111]); }
/*
Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value) Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1119]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1119]); }
/*
Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSubContractResourceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_tc1::IfcSubContractResourceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value) Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSubContractResourceTypeEnum::operator Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1125]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1125]); }
/*
Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value) Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1130]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1130]); }
/*
Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSurfaceSide::ToString(Value v) {
return Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSurfaceSide::Value Ifc4x3_tc1::IfcSurfaceSide::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSurfaceSide::Value) Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSurfaceSide::operator Ifc4x3_tc1::IfcSurfaceSide::Value() const {
return (Ifc4x3_tc1::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1145]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1145]); }
/*
Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value) Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1149]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1149]); }
/*
Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value) Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1155]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1155]); }
/*
Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTankTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTankTypeEnum::Value Ifc4x3_tc1::IfcTankTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTankTypeEnum::Value) Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTankTypeEnum::operator Ifc4x3_tc1::IfcTankTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1157]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1157]); }
/*
Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTaskDurationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTaskDurationEnum::Value Ifc4x3_tc1::IfcTaskDurationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTaskDurationEnum::Value) Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTaskDurationEnum::operator Ifc4x3_tc1::IfcTaskDurationEnum::Value() const {
return (Ifc4x3_tc1::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1161]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1161]); }
/*
Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTaskTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTaskTypeEnum::Value Ifc4x3_tc1::IfcTaskTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTaskTypeEnum::Value) Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTaskTypeEnum::operator Ifc4x3_tc1::IfcTaskTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1168]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1168]); }
/*
Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTendonAnchorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_tc1::IfcTendonAnchorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value) Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTendonAnchorTypeEnum::operator Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1171]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1171]); }
/*
Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTendonConduitTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduitTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value) Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTendonConduitTypeEnum::operator Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1173]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1173]); }
/*
Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTendonTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTendonTypeEnum::Value Ifc4x3_tc1::IfcTendonTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTendonTypeEnum::Value) Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTendonTypeEnum::operator Ifc4x3_tc1::IfcTendonTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1183]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1183]); }
/*
Ifc4x3_tc1::IfcTextPath::IfcTextPath(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTextPath::IfcTextPath(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTextPath::IfcTextPath(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTextPath::ToString(Value v) {
return Ifc4x3_tc1::IfcTextPath::IfcTextPath::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTextPath::Value Ifc4x3_tc1::IfcTextPath::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTextPath::Value) Ifc4x3_tc1::IfcTextPath::IfcTextPath::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTextPath::operator Ifc4x3_tc1::IfcTextPath::Value() const {
return (Ifc4x3_tc1::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1208]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1208]); }
/*
Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value) Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1217]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1217]); }
/*
Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTrackElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTrackElementTypeEnum::Value Ifc4x3_tc1::IfcTrackElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTrackElementTypeEnum::Value) Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTrackElementTypeEnum::operator Ifc4x3_tc1::IfcTrackElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1220]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1220]); }
/*
Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTransformerTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTransformerTypeEnum::Value Ifc4x3_tc1::IfcTransformerTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTransformerTypeEnum::Value) Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTransformerTypeEnum::operator Ifc4x3_tc1::IfcTransformerTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1221]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1221]); }
/*
Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTransitionCode::ToString(Value v) {
return Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTransitionCode::Value Ifc4x3_tc1::IfcTransitionCode::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTransitionCode::Value) Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTransitionCode::operator Ifc4x3_tc1::IfcTransitionCode::Value() const {
return (Ifc4x3_tc1::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1227]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1227]); }
/*
Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTransportElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTransportElementTypeEnum::Value Ifc4x3_tc1::IfcTransportElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTransportElementTypeEnum::Value) Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTransportElementTypeEnum::operator Ifc4x3_tc1::IfcTransportElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1232]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1232]); }
/*
Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTrimmingPreference::ToString(Value v) {
return Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTrimmingPreference::Value Ifc4x3_tc1::IfcTrimmingPreference::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTrimmingPreference::Value) Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTrimmingPreference::operator Ifc4x3_tc1::IfcTrimmingPreference::Value() const {
return (Ifc4x3_tc1::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1237]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1237]); }
/*
Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcTubeBundleTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value Ifc4x3_tc1::IfcTubeBundleTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value) Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcTubeBundleTypeEnum::operator Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1250]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1250]); }
/*
Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcUnitEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcUnitEnum::Value Ifc4x3_tc1::IfcUnitEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcUnitEnum::Value) Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcUnitEnum::operator Ifc4x3_tc1::IfcUnitEnum::Value() const {
return (Ifc4x3_tc1::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1245]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1245]); }
/*
Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value) Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1248]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1248]); }
/*
Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value) Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1256]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1256]); }
/*
Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcValveTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcValveTypeEnum::Value Ifc4x3_tc1::IfcValveTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcValveTypeEnum::Value) Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcValveTypeEnum::operator Ifc4x3_tc1::IfcValveTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1262]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1262]); }
/*
Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcVehicleTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcVehicleTypeEnum::Value Ifc4x3_tc1::IfcVehicleTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcVehicleTypeEnum::Value) Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcVehicleTypeEnum::operator Ifc4x3_tc1::IfcVehicleTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcVehicleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1268]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1268]); }
/*
Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcVibrationDamperTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value Ifc4x3_tc1::IfcVibrationDamperTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value) Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcVibrationDamperTypeEnum::operator Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1271]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1271]); }
/*
Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value) Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1273]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1273]); }
/*
Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcVirtualElementTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value Ifc4x3_tc1::IfcVirtualElementTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value) Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcVirtualElementTypeEnum::operator Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1276]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1276]); }
/*
Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value) Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::operator Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1282]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1282]); }
/*
Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWallTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWallTypeEnum::Value Ifc4x3_tc1::IfcWallTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWallTypeEnum::Value) Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWallTypeEnum::operator Ifc4x3_tc1::IfcWallTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1288]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1288]); }
/*
Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWasteTerminalTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_tc1::IfcWasteTerminalTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value) Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWasteTerminalTypeEnum::operator Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1291]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1291]); }
/*
Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWindowPanelOperationEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value Ifc4x3_tc1::IfcWindowPanelOperationEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value) Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWindowPanelOperationEnum::operator Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value() const {
return (Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1292]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1292]); }
/*
Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWindowPanelPositionEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcWindowPanelPositionEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value) Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWindowPanelPositionEnum::operator Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value() const {
return (Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1295]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1295]); }
/*
Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWindowTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWindowTypeEnum::Value Ifc4x3_tc1::IfcWindowTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWindowTypeEnum::Value) Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWindowTypeEnum::operator Ifc4x3_tc1::IfcWindowTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1296]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1296]); }
/*
Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWindowTypePartitioningEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_tc1::IfcWindowTypePartitioningEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value) Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWindowTypePartitioningEnum::operator Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value() const {
return (Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1298]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1298]); }
/*
Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWorkCalendarTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value Ifc4x3_tc1::IfcWorkCalendarTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value) Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWorkCalendarTypeEnum::operator Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1301]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1301]); }
/*
Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWorkPlanTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value Ifc4x3_tc1::IfcWorkPlanTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value) Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWorkPlanTypeEnum::operator Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1303]); }
const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1303]); }
/*
Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr<instance_data>& e)
: express::DeclaredType(e)
{}
Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) {
set_attribute_value(0, enumeration_reference(&Class(), static_cast<size_t>(v)));
}
Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) {
set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v)));
}
*/
const char* Ifc4x3_tc1::IfcWorkScheduleTypeEnum::ToString(Value v) {
return Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum::Class().lookup_enum_value((size_t)v);
}
Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value Ifc4x3_tc1::IfcWorkScheduleTypeEnum::FromString(const std::string& s) {
return (Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value) Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum::Class().lookup_enum_offset(s);
}
Ifc4x3_tc1::IfcWorkScheduleTypeEnum::operator Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value() const {
return (Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index();
}
const ifcopenshell::select_type& Ifc4x3_tc1::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[8]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[51]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[68]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[79]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[88]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[170]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[171]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[177]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[178]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[245]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[263]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[274]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[276]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[277]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[278]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[284]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[296]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[297]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[333]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[458]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[509]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[522]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[526]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[554]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[581]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[586]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[589]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[653]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[655]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[667]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[675]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[677]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[678]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[703]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[766]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[797]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[801]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[802]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[825]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[956]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[957]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[975]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[994]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1007]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1018]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1024]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1034]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1040]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1048]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1056]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1074]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1128]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1132]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1180]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1205]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1222]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1233]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1242]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1253]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1259]); }
const ifcopenshell::select_type& Ifc4x3_tc1::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1285]); }
// Function implementations for IfcAbsorbedDoseMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[0]); }
Ifc4x3_tc1::IfcAbsorbedDoseMeasure Ifc4x3_tc1::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcAccelerationMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1]); }
Ifc4x3_tc1::IfcAccelerationMeasure Ifc4x3_tc1::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcAmountOfSubstanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[42]); }
Ifc4x3_tc1::IfcAmountOfSubstanceMeasure Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcAngularVelocityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[45]); }
Ifc4x3_tc1::IfcAngularVelocityMeasure Ifc4x3_tc1::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcAreaDensityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[58]); }
Ifc4x3_tc1::IfcAreaDensityMeasure Ifc4x3_tc1::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcAreaMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[59]); }
Ifc4x3_tc1::IfcAreaMeasure Ifc4x3_tc1::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcAreaMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcBinary
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[80]); }
Ifc4x3_tc1::IfcBinary Ifc4x3_tc1::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); }
// Function implementations for IfcBoolean
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[86]); }
Ifc4x3_tc1::IfcBoolean Ifc4x3_tc1::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcBoolean::operator bool() const { return get_attribute_value(0); }
// Function implementations for IfcBoxAlignment
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[101]); }
Ifc4x3_tc1::IfcBoxAlignment Ifc4x3_tc1::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcComplexNumber
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[188]); }
Ifc4x3_tc1::IfcComplexNumber Ifc4x3_tc1::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcContextDependentMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[226]); }
Ifc4x3_tc1::IfcContextDependentMeasure Ifc4x3_tc1::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcCurvatureMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[270]); }
Ifc4x3_tc1::IfcCurvatureMeasure Ifc4x3_tc1::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcDate
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[290]); }
Ifc4x3_tc1::IfcDate Ifc4x3_tc1::IfcDate::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDate::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcDateTime
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[291]); }
Ifc4x3_tc1::IfcDateTime Ifc4x3_tc1::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDateTime::operator std::string() const { return get_attribute_value(0); }
// 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); }
// 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); }
// Function implementations for IfcDescriptiveMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[302]); }
Ifc4x3_tc1::IfcDescriptiveMeasure Ifc4x3_tc1::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcDoseEquivalentMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[343]); }
Ifc4x3_tc1::IfcDoseEquivalentMeasure Ifc4x3_tc1::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcDuration
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[355]); }
Ifc4x3_tc1::IfcDuration Ifc4x3_tc1::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDuration::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcDynamicViscosityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[356]); }
Ifc4x3_tc1::IfcDynamicViscosityMeasure Ifc4x3_tc1::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricCapacitanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[368]); }
Ifc4x3_tc1::IfcElectricCapacitanceMeasure Ifc4x3_tc1::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricChargeMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[369]); }
Ifc4x3_tc1::IfcElectricChargeMeasure Ifc4x3_tc1::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricConductanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[370]); }
Ifc4x3_tc1::IfcElectricConductanceMeasure Ifc4x3_tc1::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricCurrentMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[371]); }
Ifc4x3_tc1::IfcElectricCurrentMeasure Ifc4x3_tc1::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricResistanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[387]); }
Ifc4x3_tc1::IfcElectricResistanceMeasure Ifc4x3_tc1::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcElectricVoltageMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[391]); }
Ifc4x3_tc1::IfcElectricVoltageMeasure Ifc4x3_tc1::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcEnergyMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[406]); }
Ifc4x3_tc1::IfcEnergyMeasure Ifc4x3_tc1::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcFontStyle
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[487]); }
Ifc4x3_tc1::IfcFontStyle Ifc4x3_tc1::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcFontStyle::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcFontVariant
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[488]); }
Ifc4x3_tc1::IfcFontVariant Ifc4x3_tc1::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcFontVariant::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcFontWeight
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[489]); }
Ifc4x3_tc1::IfcFontWeight Ifc4x3_tc1::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcFontWeight::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcForceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[493]); }
Ifc4x3_tc1::IfcForceMeasure Ifc4x3_tc1::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcForceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcFrequencyMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[494]); }
Ifc4x3_tc1::IfcFrequencyMeasure Ifc4x3_tc1::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcGloballyUniqueId
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[516]); }
Ifc4x3_tc1::IfcGloballyUniqueId Ifc4x3_tc1::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcHeatFluxDensityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[530]); }
Ifc4x3_tc1::IfcHeatFluxDensityMeasure Ifc4x3_tc1::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcHeatingValueMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[531]); }
Ifc4x3_tc1::IfcHeatingValueMeasure Ifc4x3_tc1::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcIdentifier
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[535]); }
Ifc4x3_tc1::IfcIdentifier Ifc4x3_tc1::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcIdentifier::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcIlluminanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[536]); }
Ifc4x3_tc1::IfcIlluminanceMeasure Ifc4x3_tc1::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcInductanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[548]); }
Ifc4x3_tc1::IfcInductanceMeasure Ifc4x3_tc1::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// 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); }
// Function implementations for IfcIonConcentrationMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[559]); }
Ifc4x3_tc1::IfcIonConcentrationMeasure Ifc4x3_tc1::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcIsothermalMoistureCapacityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[563]); }
Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcKinematicViscosityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[570]); }
Ifc4x3_tc1::IfcKinematicViscosityMeasure Ifc4x3_tc1::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLabel
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[572]); }
Ifc4x3_tc1::IfcLabel Ifc4x3_tc1::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLabel::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcLanguageId
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[580]); }
Ifc4x3_tc1::IfcLanguageId Ifc4x3_tc1::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLanguageId::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcLengthMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[583]); }
Ifc4x3_tc1::IfcLengthMeasure Ifc4x3_tc1::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLengthMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcLinearForceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[603]); }
Ifc4x3_tc1::IfcLinearForceMeasure Ifc4x3_tc1::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLinearMomentMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[604]); }
Ifc4x3_tc1::IfcLinearMomentMeasure Ifc4x3_tc1::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLinearStiffnessMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[607]); }
Ifc4x3_tc1::IfcLinearStiffnessMeasure Ifc4x3_tc1::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLinearVelocityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[608]); }
Ifc4x3_tc1::IfcLinearVelocityMeasure Ifc4x3_tc1::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLogical
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[615]); }
Ifc4x3_tc1::IfcLogical Ifc4x3_tc1::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); }
// Function implementations for IfcLuminousFluxMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[619]); }
Ifc4x3_tc1::IfcLuminousFluxMeasure Ifc4x3_tc1::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLuminousIntensityDistributionMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[620]); }
Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcLuminousIntensityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[621]); }
Ifc4x3_tc1::IfcLuminousIntensityMeasure Ifc4x3_tc1::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMagneticFluxDensityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[622]); }
Ifc4x3_tc1::IfcMagneticFluxDensityMeasure Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMagneticFluxMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[623]); }
Ifc4x3_tc1::IfcMagneticFluxMeasure Ifc4x3_tc1::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMassDensityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[631]); }
Ifc4x3_tc1::IfcMassDensityMeasure Ifc4x3_tc1::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMassFlowRateMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[632]); }
Ifc4x3_tc1::IfcMassFlowRateMeasure Ifc4x3_tc1::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMassMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[633]); }
Ifc4x3_tc1::IfcMassMeasure Ifc4x3_tc1::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMassMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMassPerLengthMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[634]); }
Ifc4x3_tc1::IfcMassPerLengthMeasure Ifc4x3_tc1::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcModulusOfElasticityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[672]); }
Ifc4x3_tc1::IfcModulusOfElasticityMeasure Ifc4x3_tc1::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcModulusOfLinearSubgradeReactionMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[673]); }
Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[674]); }
Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcModulusOfSubgradeReactionMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[676]); }
Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMoistureDiffusivityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[679]); }
Ifc4x3_tc1::IfcMoistureDiffusivityMeasure Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMolecularWeightMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[680]); }
Ifc4x3_tc1::IfcMolecularWeightMeasure Ifc4x3_tc1::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMomentOfInertiaMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[681]); }
Ifc4x3_tc1::IfcMomentOfInertiaMeasure Ifc4x3_tc1::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcMonetaryMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[682]); }
Ifc4x3_tc1::IfcMonetaryMeasure Ifc4x3_tc1::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcNonNegativeLengthMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[695]); }
Ifc4x3_tc1::IfcNonNegativeLengthMeasure Ifc4x3_tc1::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcNormalisedRatioMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[696]); }
Ifc4x3_tc1::IfcNormalisedRatioMeasure Ifc4x3_tc1::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcNumericMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[697]); }
Ifc4x3_tc1::IfcNumericMeasure Ifc4x3_tc1::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcNumericMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPHMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[737]); }
Ifc4x3_tc1::IfcPHMeasure Ifc4x3_tc1::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPHMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcParameterValue
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[723]); }
Ifc4x3_tc1::IfcParameterValue Ifc4x3_tc1::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcParameterValue::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPlanarForceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[756]); }
Ifc4x3_tc1::IfcPlanarForceMeasure Ifc4x3_tc1::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPlaneAngleMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[758]); }
Ifc4x3_tc1::IfcPlaneAngleMeasure Ifc4x3_tc1::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcPositiveLengthMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[775]); }
Ifc4x3_tc1::IfcPositiveLengthMeasure Ifc4x3_tc1::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPositivePlaneAngleMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[776]); }
Ifc4x3_tc1::IfcPositivePlaneAngleMeasure Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPositiveRatioMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[777]); }
Ifc4x3_tc1::IfcPositiveRatioMeasure Ifc4x3_tc1::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPowerMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[779]); }
Ifc4x3_tc1::IfcPowerMeasure Ifc4x3_tc1::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPowerMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPresentableText
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[787]); }
Ifc4x3_tc1::IfcPresentableText Ifc4x3_tc1::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPresentableText::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcPressureMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[792]); }
Ifc4x3_tc1::IfcPressureMeasure Ifc4x3_tc1::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcPressureMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcPropertySetDefinitionSet
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[826]); }
Ifc4x3_tc1::IfcPropertySetDefinitionSet Ifc4x3_tc1::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector<express::Base>(v));; return *this; }
Ifc4x3_tc1::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition >() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcPropertySetDefinition>(es); }
// Function implementations for IfcRadioActivityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[850]); }
Ifc4x3_tc1::IfcRadioActivityMeasure Ifc4x3_tc1::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcRatioMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[867]); }
Ifc4x3_tc1::IfcRatioMeasure Ifc4x3_tc1::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcRatioMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcReal
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[870]); }
Ifc4x3_tc1::IfcReal Ifc4x3_tc1::IfcReal::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcReal::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcRotationalFrequencyMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[972]); }
Ifc4x3_tc1::IfcRotationalFrequencyMeasure Ifc4x3_tc1::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcRotationalMassMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[973]); }
Ifc4x3_tc1::IfcRotationalMassMeasure Ifc4x3_tc1::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcRotationalStiffnessMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[974]); }
Ifc4x3_tc1::IfcRotationalStiffnessMeasure Ifc4x3_tc1::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSectionModulusMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[988]); }
Ifc4x3_tc1::IfcSectionModulusMeasure Ifc4x3_tc1::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSectionalAreaIntegralMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[983]); }
Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcShearModulusMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1006]); }
Ifc4x3_tc1::IfcShearModulusMeasure Ifc4x3_tc1::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSolidAngleMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1032]); }
Ifc4x3_tc1::IfcSolidAngleMeasure Ifc4x3_tc1::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSoundPowerLevelMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1035]); }
Ifc4x3_tc1::IfcSoundPowerLevelMeasure Ifc4x3_tc1::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSoundPowerMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1036]); }
Ifc4x3_tc1::IfcSoundPowerMeasure Ifc4x3_tc1::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSoundPressureLevelMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1037]); }
Ifc4x3_tc1::IfcSoundPressureLevelMeasure Ifc4x3_tc1::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSoundPressureMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1038]); }
Ifc4x3_tc1::IfcSoundPressureMeasure Ifc4x3_tc1::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSpecificHeatCapacityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1054]); }
Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSpecularExponent
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1055]); }
Ifc4x3_tc1::IfcSpecularExponent Ifc4x3_tc1::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSpecularExponent::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcSpecularRoughness
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1057]); }
Ifc4x3_tc1::IfcSpecularRoughness Ifc4x3_tc1::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcStrippedOptional
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcStrippedOptional::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1071]); }
Ifc4x3_tc1::IfcStrippedOptional Ifc4x3_tc1::IfcStrippedOptional::initialize(bool v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcStrippedOptional::operator bool() const { return get_attribute_value(0); }
// Function implementations for IfcTemperatureGradientMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1163]); }
Ifc4x3_tc1::IfcTemperatureGradientMeasure Ifc4x3_tc1::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcTemperatureRateOfChangeMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1164]); }
Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcText
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1176]); }
Ifc4x3_tc1::IfcText Ifc4x3_tc1::IfcText::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcText::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcTextAlignment
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1177]); }
Ifc4x3_tc1::IfcTextAlignment Ifc4x3_tc1::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcTextDecoration
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1178]); }
Ifc4x3_tc1::IfcTextDecoration Ifc4x3_tc1::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcTextFontName
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1179]); }
Ifc4x3_tc1::IfcTextFontName Ifc4x3_tc1::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTextFontName::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcTextTransformation
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1188]); }
Ifc4x3_tc1::IfcTextTransformation Ifc4x3_tc1::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcThermalAdmittanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1196]); }
Ifc4x3_tc1::IfcThermalAdmittanceMeasure Ifc4x3_tc1::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcThermalConductivityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1197]); }
Ifc4x3_tc1::IfcThermalConductivityMeasure Ifc4x3_tc1::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcThermalExpansionCoefficientMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1198]); }
Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcThermalResistanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1199]); }
Ifc4x3_tc1::IfcThermalResistanceMeasure Ifc4x3_tc1::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcThermalTransmittanceMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1200]); }
Ifc4x3_tc1::IfcThermalTransmittanceMeasure Ifc4x3_tc1::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcThermodynamicTemperatureMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1201]); }
Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcTime
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1203]); }
Ifc4x3_tc1::IfcTime Ifc4x3_tc1::IfcTime::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTime::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcTimeMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1204]); }
Ifc4x3_tc1::IfcTimeMeasure Ifc4x3_tc1::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); }
// 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); }
// Function implementations for IfcTorqueMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1214]); }
Ifc4x3_tc1::IfcTorqueMeasure Ifc4x3_tc1::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcURIReference
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1251]); }
Ifc4x3_tc1::IfcURIReference Ifc4x3_tc1::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcURIReference::operator std::string() const { return get_attribute_value(0); }
// Function implementations for IfcVaporPermeabilityMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1257]); }
Ifc4x3_tc1::IfcVaporPermeabilityMeasure Ifc4x3_tc1::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcVolumeMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1277]); }
Ifc4x3_tc1::IfcVolumeMeasure Ifc4x3_tc1::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcVolumetricFlowRateMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1278]); }
Ifc4x3_tc1::IfcVolumetricFlowRateMeasure Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcWarpingConstantMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1283]); }
Ifc4x3_tc1::IfcWarpingConstantMeasure Ifc4x3_tc1::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcWarpingMomentMeasure
const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1284]); }
Ifc4x3_tc1::IfcWarpingMomentMeasure Ifc4x3_tc1::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v));; return *this; }
Ifc4x3_tc1::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); }
// Function implementations for IfcActionRequest
std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > Ifc4x3_tc1::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[2]); }
Ifc4x3_tc1::IfcActionRequest Ifc4x3_tc1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; return *this; }
// Function implementations for IfcActor
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcActor::setTheActor(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToActor> Ifc4x3_tc1::IfcActor::IsActingUpon() const { return cast_vector<IfcRelAssignsToActor>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[899], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[6]); }
Ifc4x3_tc1::IfcActor Ifc4x3_tc1::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_TheActor));; return *this; }
// Function implementations for IfcActorRole
::Ifc4x3_tc1::IfcRoleEnum::Value Ifc4x3_tc1::IfcActorRole::Role() const { return ::Ifc4x3_tc1::IfcRoleEnum::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcActorRole::setRole(const ::Ifc4x3_tc1::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcActorRole::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[7]); }
Ifc4x3_tc1::IfcActorRole Ifc4x3_tc1::IfcActorRole::initialize(::Ifc4x3_tc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }; return *this; }
// Function implementations for IfcActuator
std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > Ifc4x3_tc1::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[9]); }
Ifc4x3_tc1::IfcActuator Ifc4x3_tc1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcActuatorType
::Ifc4x3_tc1::IfcActuatorTypeEnum::Value Ifc4x3_tc1::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[10]); }
Ifc4x3_tc1::IfcActuatorType Ifc4x3_tc1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAddress
std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > Ifc4x3_tc1::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAddressTypeEnum::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::vector<::Ifc4x3_tc1::IfcPerson> Ifc4x3_tc1::IfcAddress::OfPerson() const { return cast_vector<IfcPerson>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[735], 7)); }
std::vector<::Ifc4x3_tc1::IfcOrganization> Ifc4x3_tc1::IfcAddress::OfOrganization() const { return cast_vector<IfcOrganization>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[714], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[12]); }
Ifc4x3_tc1::IfcAddress Ifc4x3_tc1::IfcAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); }; return *this; }
// Function implementations for IfcAdvancedBrep
const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[14]); }
Ifc4x3_tc1::IfcAdvancedBrep Ifc4x3_tc1::IfcAdvancedBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer));; return *this; }
// Function implementations for IfcAdvancedBrepWithVoids
std::vector< ::Ifc4x3_tc1::IfcClosedShell > Ifc4x3_tc1::IfcAdvancedBrepWithVoids::Voids() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcClosedShell>(es); }
void Ifc4x3_tc1::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[15]); }
Ifc4x3_tc1::IfcAdvancedBrepWithVoids Ifc4x3_tc1::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector<express::Base>(v2_Voids));; return *this; }
// Function implementations for IfcAdvancedFace
const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[16]); }
Ifc4x3_tc1::IfcAdvancedFace Ifc4x3_tc1::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector<express::Base>(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense));; return *this; }
// Function implementations for IfcAirTerminal
std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > Ifc4x3_tc1::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[17]); }
Ifc4x3_tc1::IfcAirTerminal Ifc4x3_tc1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcAirTerminalBox
std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_tc1::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[18]); }
Ifc4x3_tc1::IfcAirTerminalBox Ifc4x3_tc1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcAirTerminalBoxType
::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[19]); }
Ifc4x3_tc1::IfcAirTerminalBoxType Ifc4x3_tc1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAirTerminalType
::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[21]); }
Ifc4x3_tc1::IfcAirTerminalType Ifc4x3_tc1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAirToAirHeatRecovery
std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_tc1::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[23]); }
Ifc4x3_tc1::IfcAirToAirHeatRecovery Ifc4x3_tc1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcAirToAirHeatRecoveryType
::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[24]); }
Ifc4x3_tc1::IfcAirToAirHeatRecoveryType Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAlarm
std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > Ifc4x3_tc1::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[26]); }
Ifc4x3_tc1::IfcAlarm Ifc4x3_tc1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcAlarmType
::Ifc4x3_tc1::IfcAlarmTypeEnum::Value Ifc4x3_tc1::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[27]); }
Ifc4x3_tc1::IfcAlarmType Ifc4x3_tc1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAlignment
std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > Ifc4x3_tc1::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[29]); }
Ifc4x3_tc1::IfcAlignment Ifc4x3_tc1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; return *this; }
// Function implementations for IfcAlignmentCant
double Ifc4x3_tc1::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[30]); }
Ifc4x3_tc1::IfcAlignmentCant Ifc4x3_tc1::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance));; return *this; }
// Function implementations for IfcAlignmentCantSegment
double Ifc4x3_tc1::IfcAlignmentCantSegment::StartDistAlong() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setStartDistAlong(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcAlignmentCantSegment::HorizontalLength() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setHorizontalLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcAlignmentCantSegment::StartCantLeft() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setStartCantLeft(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< double > Ifc4x3_tc1::IfcAlignmentCantSegment::EndCantLeft() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setEndCantLeft(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
double Ifc4x3_tc1::IfcAlignmentCantSegment::StartCantRight() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setStartCantRight(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[31]); }
Ifc4x3_tc1::IfcAlignmentCantSegment Ifc4x3_tc1::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartCantLeft)); if (v6_EndCantLeft) {set_attribute_value(5, (*v6_EndCantLeft)); }set_attribute_value(6, (v7_StartCantRight)); if (v8_EndCantRight) {set_attribute_value(7, (*v8_EndCantRight)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; return *this; }
// Function implementations for IfcAlignmentHorizontal
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[33]); }
Ifc4x3_tc1::IfcAlignmentHorizontal Ifc4x3_tc1::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcAlignmentHorizontalSegment
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcAlignmentHorizontalSegment::StartPoint() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setStartPoint(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcAlignmentHorizontalSegment::StartDirection() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setStartDirection(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcAlignmentHorizontalSegment::StartRadiusOfCurvature() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setStartRadiusOfCurvature(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcAlignmentHorizontalSegment::EndRadiusOfCurvature() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setEndRadiusOfCurvature(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcAlignmentHorizontalSegment::SegmentLength() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[34]); }
Ifc4x3_tc1::IfcAlignmentHorizontalSegment Ifc4x3_tc1::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_tc1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));set_attribute_value(3, (v4_StartDirection));set_attribute_value(4, (v5_StartRadiusOfCurvature));set_attribute_value(5, (v6_EndRadiusOfCurvature));set_attribute_value(6, (v7_SegmentLength)); if (v8_GravityCenterLineHeight) {set_attribute_value(7, (*v8_GravityCenterLineHeight)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; return *this; }
// Function implementations for IfcAlignmentParameterSegment
std::optional< std::string > Ifc4x3_tc1::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcAlignmentParameterSegment::setStartTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcAlignmentParameterSegment::EndTag() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[36]); }
Ifc4x3_tc1::IfcAlignmentParameterSegment Ifc4x3_tc1::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }; return *this; }
// Function implementations for IfcAlignmentSegment
::Ifc4x3_tc1::IfcAlignmentParameterSegment Ifc4x3_tc1::IfcAlignmentSegment::DesignParameters() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcAlignmentParameterSegment>(); }
void Ifc4x3_tc1::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_tc1::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[37]); }
Ifc4x3_tc1::IfcAlignmentSegment Ifc4x3_tc1::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters));; return *this; }
// Function implementations for IfcAlignmentVertical
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[39]); }
Ifc4x3_tc1::IfcAlignmentVertical Ifc4x3_tc1::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcAlignmentVerticalSegment
double Ifc4x3_tc1::IfcAlignmentVerticalSegment::StartDistAlong() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setStartDistAlong(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcAlignmentVerticalSegment::HorizontalLength() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setHorizontalLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcAlignmentVerticalSegment::StartHeight() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setStartHeight(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcAlignmentVerticalSegment::StartGradient() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setStartGradient(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcAlignmentVerticalSegment::EndGradient() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[40]); }
Ifc4x3_tc1::IfcAlignmentVerticalSegment Ifc4x3_tc1::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartDistAlong));set_attribute_value(3, (v4_HorizontalLength));set_attribute_value(4, (v5_StartHeight));set_attribute_value(5, (v6_StartGradient));set_attribute_value(6, (v7_EndGradient)); if (v8_RadiusOfCurvature) {set_attribute_value(7, (*v8_RadiusOfCurvature)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));; return *this; }
// Function implementations for IfcAnnotation
std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > Ifc4x3_tc1::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcAnnotation::ContainedInStructure() const { return cast_vector<IfcRelContainedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[46]); }
Ifc4x3_tc1::IfcAnnotation Ifc4x3_tc1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; return *this; }
// Function implementations for IfcAnnotationFillArea
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcAnnotationFillArea::setOuterBoundary(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > Ifc4x3_tc1::IfcAnnotationFillArea::InnerBoundaries() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcCurve>(es); }
void Ifc4x3_tc1::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector<express::Base>(*v));} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[47]); }
Ifc4x3_tc1::IfcAnnotationFillArea Ifc4x3_tc1::IfcAnnotationFillArea::initialize(::Ifc4x3_tc1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector<express::Base>(*v2_InnerBoundaries)); }; return *this; }
// Function implementations for IfcApplication
::Ifc4x3_tc1::IfcOrganization Ifc4x3_tc1::IfcApplication::ApplicationDeveloper() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcOrganization>(); }
void Ifc4x3_tc1::IfcApplication::setApplicationDeveloper(const ::Ifc4x3_tc1::IfcOrganization& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::string Ifc4x3_tc1::IfcApplication::Version() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcApplication::setVersion(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::string Ifc4x3_tc1::IfcApplication::ApplicationFullName() const { std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcApplication::setApplicationFullName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::string Ifc4x3_tc1::IfcApplication::ApplicationIdentifier() const { std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[49]); }
Ifc4x3_tc1::IfcApplication Ifc4x3_tc1::IfcApplication::initialize(::Ifc4x3_tc1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier));; return *this; }
// Function implementations for IfcAppliedValue
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
::Ifc4x3_tc1::IfcAppliedValueSelect Ifc4x3_tc1::IfcAppliedValue::AppliedValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcAppliedValueSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAppliedValueSelect>(); }
void Ifc4x3_tc1::IfcAppliedValue::setAppliedValue(const ::Ifc4x3_tc1::IfcAppliedValueSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcMeasureWithUnit Ifc4x3_tc1::IfcAppliedValue::UnitBasis() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcMeasureWithUnit{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMeasureWithUnit>(); }
void Ifc4x3_tc1::IfcAppliedValue::setUnitBasis(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::ApplicableDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setApplicableDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::FixedUntilDate() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setFixedUntilDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::Category() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > Ifc4x3_tc1::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > Ifc4x3_tc1::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcAppliedValue>(es); }
void Ifc4x3_tc1::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector<express::Base>(*v));} else {unset_attribute_value(9);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcAppliedValue::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[50]); }
Ifc4x3_tc1::IfcAppliedValue Ifc4x3_tc1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector<express::Base>(*v10_Components)); }; return *this; }
// Function implementations for IfcApproval
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcApproval::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Name() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcApproval::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcApproval::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::TimeOfApproval() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcApproval::setTimeOfApproval(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Status() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcApproval::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Level() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcApproval::setLevel(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcApproval::Qualifier() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcApproval::setQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcApproval::RequestingApproval() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcApproval::setRequestingApproval(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcApproval::setGivingApproval(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcApproval::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesApproval> Ifc4x3_tc1::IfcApproval::ApprovedObjects() const { return cast_vector<IfcRelAssociatesApproval>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[907], 5)); }
std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcApproval::ApprovedResources() const { return cast_vector<IfcResourceApprovalRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[953], 3)); }
std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::IsRelatedWith() const { return cast_vector<IfcApprovalRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[53], 3)); }
std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::Relates() const { return cast_vector<IfcApprovalRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[53], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[52]); }
Ifc4x3_tc1::IfcApproval Ifc4x3_tc1::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_tc1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_tc1::IfcActorSelect v9_GivingApproval) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_TimeOfApproval) {set_attribute_value(3, (*v4_TimeOfApproval)); } if (v5_Status) {set_attribute_value(4, (*v5_Status)); } if (v6_Level) {set_attribute_value(5, (*v6_Level)); } if (v7_Qualifier) {set_attribute_value(6, (*v7_Qualifier)); }set_attribute_value(7, (v8_RequestingApproval));set_attribute_value(8, (v9_GivingApproval));; return *this; }
// Function implementations for IfcApprovalRelationship
::Ifc4x3_tc1::IfcApproval Ifc4x3_tc1::IfcApprovalRelationship::RelatingApproval() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcApproval>(); }
void Ifc4x3_tc1::IfcApprovalRelationship::setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcApproval > Ifc4x3_tc1::IfcApprovalRelationship::RelatedApprovals() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcApproval>(es); }
void Ifc4x3_tc1::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_tc1::IfcApproval >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[53]); }
Ifc4x3_tc1::IfcApprovalRelationship Ifc4x3_tc1::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_tc1::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedApprovals));; return *this; }
// Function implementations for IfcArbitraryClosedProfileDef
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcArbitraryClosedProfileDef::OuterCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[54]); }
Ifc4x3_tc1::IfcArbitraryClosedProfileDef Ifc4x3_tc1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));; return *this; }
// Function implementations for IfcArbitraryOpenProfileDef
::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); }
void Ifc4x3_tc1::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[55]); }
Ifc4x3_tc1::IfcArbitraryOpenProfileDef Ifc4x3_tc1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));; return *this; }
// Function implementations for IfcArbitraryProfileDefWithVoids
std::vector< ::Ifc4x3_tc1::IfcCurve > Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcCurve>(es); }
void Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[56]); }
Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_tc1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector<express::Base>(v4_InnerCurves));; return *this; }
// Function implementations for IfcAsset
std::optional< std::string > Ifc4x3_tc1::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAsset::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcAsset::OriginalValue() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcAsset::setOriginalValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcAsset::CurrentValue() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcAsset::setCurrentValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcAsset::TotalReplacementCost() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcAsset::setTotalReplacementCost(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcAsset::Owner() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcAsset::setOwner(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcAsset::User() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcAsset::setUser(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
::Ifc4x3_tc1::IfcPerson Ifc4x3_tc1::IfcAsset::ResponsiblePerson() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_tc1::IfcPerson{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_tc1::IfcPerson>(); }
void Ifc4x3_tc1::IfcAsset::setResponsiblePerson(const ::Ifc4x3_tc1::IfcPerson& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); }
std::optional< std::string > Ifc4x3_tc1::IfcAsset::IncorporationDate() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcAsset::setIncorporationDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcAsset::DepreciatedValue() const { if(get_attribute_value(13).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(13))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcAsset::setDepreciatedValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[62]); }
Ifc4x3_tc1::IfcAsset Ifc4x3_tc1::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_tc1::IfcCostValue v7_OriginalValue, ::Ifc4x3_tc1::IfcCostValue v8_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_tc1::IfcActorSelect v10_Owner, ::Ifc4x3_tc1::IfcActorSelect v11_User, ::Ifc4x3_tc1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_tc1::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_OriginalValue));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue));; return *this; }
// Function implementations for IfcAsymmetricIShapeProfileDef
double Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::BottomFlangeWidth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setBottomFlangeWidth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::OverallDepth() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setOverallDepth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::WebThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setWebThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::BottomFlangeThickness() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setBottomFlangeThickness(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::BottomFlangeFilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setBottomFlangeFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
double Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeWidth() const { double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeWidth(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeThickness() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeThickness(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeFilletRadius() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::BottomFlangeEdgeRadius() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setBottomFlangeEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::BottomFlangeSlope() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setBottomFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeEdgeRadius() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeSlope() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } double v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[63]); }
Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomFlangeWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_BottomFlangeThickness)); if (v8_BottomFlangeFilletRadius) {set_attribute_value(7, (*v8_BottomFlangeFilletRadius)); }set_attribute_value(8, (v9_TopFlangeWidth)); if (v10_TopFlangeThickness) {set_attribute_value(9, (*v10_TopFlangeThickness)); } if (v11_TopFlangeFilletRadius) {set_attribute_value(10, (*v11_TopFlangeFilletRadius)); } if (v12_BottomFlangeEdgeRadius) {set_attribute_value(11, (*v12_BottomFlangeEdgeRadius)); } if (v13_BottomFlangeSlope) {set_attribute_value(12, (*v13_BottomFlangeSlope)); } if (v14_TopFlangeEdgeRadius) {set_attribute_value(13, (*v14_TopFlangeEdgeRadius)); } if (v15_TopFlangeSlope) {set_attribute_value(14, (*v15_TopFlangeSlope)); }; return *this; }
// Function implementations for IfcAudioVisualAppliance
std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_tc1::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[64]); }
Ifc4x3_tc1::IfcAudioVisualAppliance Ifc4x3_tc1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcAudioVisualApplianceType
::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_tc1::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[65]); }
Ifc4x3_tc1::IfcAudioVisualApplianceType Ifc4x3_tc1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcAxis1Placement
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis1Placement::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[67]); }
Ifc4x3_tc1::IfcAxis1Placement Ifc4x3_tc1::IfcAxis1Placement::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));; return *this; }
// Function implementations for IfcAxis2Placement2D
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis2Placement2D::RefDirection() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[69]); }
Ifc4x3_tc1::IfcAxis2Placement2D Ifc4x3_tc1::IfcAxis2Placement2D::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection));; return *this; }
// Function implementations for IfcAxis2Placement3D
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis2Placement3D::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis2Placement3D::RefDirection() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[70]); }
Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcAxis2Placement3D::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis, ::Ifc4x3_tc1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection));; return *this; }
// Function implementations for IfcAxis2PlacementLinear
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis2PlacementLinear::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis2PlacementLinear::RefDirection() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[71]); }
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); }
std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcBSplineCurve::ControlPointsList() const { std::vector<express::Base> 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<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcBSplineCurveForm::Value Ifc4x3_tc1::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_tc1::IfcBSplineCurveForm::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_tc1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); }
boost::logic::tribool Ifc4x3_tc1::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
boost::logic::tribool Ifc4x3_tc1::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const 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<express::Base>(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< double > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_tc1::IfcKnotType::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
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<express::Base>(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); }
std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > Ifc4x3_tc1::IfcBSplineSurface::ControlPointsList() const { std::vector<std::vector<express::Base>> 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<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value Ifc4x3_tc1::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_tc1::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); }
void Ifc4x3_tc1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); }
boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcBSplineSurface::setVClosed(const boost::logic::tribool& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
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<express::Base>(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< 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; }
void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
::Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_tc1::IfcKnotType::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
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<express::Base>(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)); }
void Ifc4x3_tc1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[72]); }
Ifc4x3_tc1::IfcBeam Ifc4x3_tc1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBeamType
::Ifc4x3_tc1::IfcBeamTypeEnum::Value Ifc4x3_tc1::IfcBeamType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBeamTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[73]); }
Ifc4x3_tc1::IfcBeamType Ifc4x3_tc1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcBearing
std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > Ifc4x3_tc1::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBearingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[75]); }
Ifc4x3_tc1::IfcBearing Ifc4x3_tc1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBearingType
::Ifc4x3_tc1::IfcBearingTypeEnum::Value Ifc4x3_tc1::IfcBearingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBearingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBearingType::setPredefinedType(const ::Ifc4x3_tc1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[76]); }
Ifc4x3_tc1::IfcBearingType Ifc4x3_tc1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcBlobTexture
std::string Ifc4x3_tc1::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcBlobTexture::setRasterFormat(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
boost::dynamic_bitset<> Ifc4x3_tc1::IfcBlobTexture::RasterCode() const { boost::dynamic_bitset<> v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[81]); }
Ifc4x3_tc1::IfcBlobTexture Ifc4x3_tc1::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, (v4_TextureTransform)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode));; return *this; }
// Function implementations for IfcBlock
double Ifc4x3_tc1::IfcBlock::XLength() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcBlock::setXLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcBlock::YLength() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcBlock::setYLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcBlock::ZLength() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[82]); }
Ifc4x3_tc1::IfcBlock Ifc4x3_tc1::IfcBlock::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength));; return *this; }
// Function implementations for IfcBoiler
std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > Ifc4x3_tc1::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[83]); }
Ifc4x3_tc1::IfcBoiler Ifc4x3_tc1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBoilerType
::Ifc4x3_tc1::IfcBoilerTypeEnum::Value Ifc4x3_tc1::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[84]); }
Ifc4x3_tc1::IfcBoilerType Ifc4x3_tc1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcBooleanClippingResult
const ifcopenshell::entity& Ifc4x3_tc1::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[87]); }
Ifc4x3_tc1::IfcBooleanClippingResult Ifc4x3_tc1::IfcBooleanClippingResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand));; return *this; }
// Function implementations for IfcBooleanResult
::Ifc4x3_tc1::IfcBooleanOperator::Value Ifc4x3_tc1::IfcBooleanResult::Operator() const { return ::Ifc4x3_tc1::IfcBooleanOperator::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcBooleanResult::setOperator(const ::Ifc4x3_tc1::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcBooleanOperand Ifc4x3_tc1::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcBooleanOperand>(); }
void Ifc4x3_tc1::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_tc1::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcBooleanOperand Ifc4x3_tc1::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBooleanOperand>(); }
void Ifc4x3_tc1::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_tc1::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[90]); }
Ifc4x3_tc1::IfcBooleanResult Ifc4x3_tc1::IfcBooleanResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand));; return *this; }
// Function implementations for IfcBorehole
const ifcopenshell::entity& Ifc4x3_tc1::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[91]); }
Ifc4x3_tc1::IfcBorehole Ifc4x3_tc1::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcBoundaryCondition
std::optional< std::string > Ifc4x3_tc1::IfcBoundaryCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[92]); }
Ifc4x3_tc1::IfcBoundaryCondition Ifc4x3_tc1::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcBoundaryCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[93]); }
Ifc4x3_tc1::IfcBoundaryCurve Ifc4x3_tc1::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));; return *this; }
// Function implementations for IfcBoundaryEdgeCondition
::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::TranslationalStiffnessByLengthX() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setTranslationalStiffnessByLengthX(const ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::TranslationalStiffnessByLengthY() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setTranslationalStiffnessByLengthY(const ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::TranslationalStiffnessByLengthZ() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setTranslationalStiffnessByLengthZ(const ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::RotationalStiffnessByLengthX() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthX(const ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::RotationalStiffnessByLengthY() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryEdgeCondition::RotationalStiffnessByLengthZ() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[94]); }
Ifc4x3_tc1::IfcBoundaryEdgeCondition Ifc4x3_tc1::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ));; return *this; }
// Function implementations for IfcBoundaryFaceCondition
::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryFaceCondition::TranslationalStiffnessByAreaX() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaX(const ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryFaceCondition::TranslationalStiffnessByAreaY() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(const ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect Ifc4x3_tc1::IfcBoundaryFaceCondition::TranslationalStiffnessByAreaZ() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect>(); }
void Ifc4x3_tc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[95]); }
Ifc4x3_tc1::IfcBoundaryFaceCondition Ifc4x3_tc1::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ));; return *this; }
// Function implementations for IfcBoundaryNodeCondition
::Ifc4x3_tc1::IfcTranslationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::TranslationalStiffnessX() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcTranslationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setTranslationalStiffnessX(const ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcTranslationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::TranslationalStiffnessY() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcTranslationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setTranslationalStiffnessY(const ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcTranslationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::TranslationalStiffnessZ() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcTranslationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setTranslationalStiffnessZ(const ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcRotationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::RotationalStiffnessX() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcRotationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcRotationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setRotationalStiffnessX(const ::Ifc4x3_tc1::IfcRotationalStiffnessSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcRotationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::RotationalStiffnessY() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcRotationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcRotationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x3_tc1::IfcRotationalStiffnessSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcRotationalStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeCondition::RotationalStiffnessZ() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcRotationalStiffnessSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcRotationalStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_tc1::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[96]); }
Ifc4x3_tc1::IfcBoundaryNodeCondition Ifc4x3_tc1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));; return *this; }
// Function implementations for IfcBoundaryNodeConditionWarping
::Ifc4x3_tc1::IfcWarpingStiffnessSelect Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::WarpingStiffness() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcWarpingStiffnessSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcWarpingStiffnessSelect>(); }
void Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_tc1::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[97]); }
Ifc4x3_tc1::IfcBoundaryNodeConditionWarping Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_tc1::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness));; return *this; }
// Function implementations for IfcBoundedCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[98]); }
Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcBoundedCurve::initialize() { ; return *this; }
// Function implementations for IfcBoundedSurface
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[99]); }
Ifc4x3_tc1::IfcBoundedSurface Ifc4x3_tc1::IfcBoundedSurface::initialize() { ; return *this; }
// Function implementations for IfcBoundingBox
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcBoundingBox::Corner() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcBoundingBox::setCorner(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcBoundingBox::XDim() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcBoundingBox::setXDim(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcBoundingBox::YDim() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcBoundingBox::setYDim(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[100]); }
Ifc4x3_tc1::IfcBoundingBox Ifc4x3_tc1::IfcBoundingBox::initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim));; return *this; }
// Function implementations for IfcBoxedHalfSpace
::Ifc4x3_tc1::IfcBoundingBox Ifc4x3_tc1::IfcBoxedHalfSpace::Enclosure() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundingBox>(); }
void Ifc4x3_tc1::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_tc1::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[102]); }
Ifc4x3_tc1::IfcBoxedHalfSpace Ifc4x3_tc1::IfcBoxedHalfSpace::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure));; return *this; }
// Function implementations for IfcBridge
std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > Ifc4x3_tc1::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[103]); }
Ifc4x3_tc1::IfcBridge Ifc4x3_tc1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcBridgePart
std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > Ifc4x3_tc1::IfcBridgePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBridgePartTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[104]); }
Ifc4x3_tc1::IfcBridgePart Ifc4x3_tc1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcBuilding
std::optional< double > Ifc4x3_tc1::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcBuilding::setElevationOfRefHeight(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcBuilding::ElevationOfTerrain() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
::Ifc4x3_tc1::IfcPostalAddress Ifc4x3_tc1::IfcBuilding::BuildingAddress() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_tc1::IfcPostalAddress{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_tc1::IfcPostalAddress>(); }
void Ifc4x3_tc1::IfcBuilding::setBuildingAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[113]); }
Ifc4x3_tc1::IfcBuilding Ifc4x3_tc1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_tc1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_ElevationOfRefHeight) {set_attribute_value(9, (*v10_ElevationOfRefHeight)); } if (v11_ElevationOfTerrain) {set_attribute_value(10, (*v11_ElevationOfTerrain)); }set_attribute_value(11, (v12_BuildingAddress));; return *this; }
// Function implementations for IfcBuildingElementPart
std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_tc1::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[114]); }
Ifc4x3_tc1::IfcBuildingElementPart Ifc4x3_tc1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBuildingElementPartType
::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[115]); }
Ifc4x3_tc1::IfcBuildingElementPartType Ifc4x3_tc1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcBuildingElementProxy
std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_tc1::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[117]); }
Ifc4x3_tc1::IfcBuildingElementProxy Ifc4x3_tc1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBuildingElementProxyType
::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[118]); }
Ifc4x3_tc1::IfcBuildingElementProxyType Ifc4x3_tc1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcBuildingStorey
std::optional< double > Ifc4x3_tc1::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[120]); }
Ifc4x3_tc1::IfcBuildingStorey Ifc4x3_tc1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); }; return *this; }
// Function implementations for IfcBuildingSystem
std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > Ifc4x3_tc1::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[121]); }
Ifc4x3_tc1::IfcBuildingSystem Ifc4x3_tc1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); }; return *this; }
// Function implementations for IfcBuiltElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[123]); }
Ifc4x3_tc1::IfcBuiltElement Ifc4x3_tc1::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcBuiltElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[124]); }
Ifc4x3_tc1::IfcBuiltElementType Ifc4x3_tc1::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcBuiltSystem
std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > Ifc4x3_tc1::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[125]); }
Ifc4x3_tc1::IfcBuiltSystem Ifc4x3_tc1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); }; return *this; }
// Function implementations for IfcBurner
std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > Ifc4x3_tc1::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[127]); }
Ifc4x3_tc1::IfcBurner Ifc4x3_tc1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcBurnerType
::Ifc4x3_tc1::IfcBurnerTypeEnum::Value Ifc4x3_tc1::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[128]); }
Ifc4x3_tc1::IfcBurnerType Ifc4x3_tc1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCShapeProfileDef
double Ifc4x3_tc1::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCShapeProfileDef::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcCShapeProfileDef::Width() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcCShapeProfileDef::setWidth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcCShapeProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcCShapeProfileDef::setWallThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcCShapeProfileDef::Girth() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcCShapeProfileDef::setGirth(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcCShapeProfileDef::InternalFilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[265]); }
Ifc4x3_tc1::IfcCShapeProfileDef Ifc4x3_tc1::IfcCShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_Width));set_attribute_value(5, (v6_WallThickness));set_attribute_value(6, (v7_Girth)); if (v8_InternalFilletRadius) {set_attribute_value(7, (*v8_InternalFilletRadius)); }; return *this; }
// Function implementations for IfcCableCarrierFitting
std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_tc1::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[130]); }
Ifc4x3_tc1::IfcCableCarrierFitting Ifc4x3_tc1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCableCarrierFittingType
::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[131]); }
Ifc4x3_tc1::IfcCableCarrierFittingType Ifc4x3_tc1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCableCarrierSegment
std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_tc1::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[133]); }
Ifc4x3_tc1::IfcCableCarrierSegment Ifc4x3_tc1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCableCarrierSegmentType
::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[134]); }
Ifc4x3_tc1::IfcCableCarrierSegmentType Ifc4x3_tc1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCableFitting
std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > Ifc4x3_tc1::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[136]); }
Ifc4x3_tc1::IfcCableFitting Ifc4x3_tc1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCableFittingType
::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value Ifc4x3_tc1::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[137]); }
Ifc4x3_tc1::IfcCableFittingType Ifc4x3_tc1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCableSegment
std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > Ifc4x3_tc1::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[139]); }
Ifc4x3_tc1::IfcCableSegment Ifc4x3_tc1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCableSegmentType
::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[140]); }
Ifc4x3_tc1::IfcCableSegmentType Ifc4x3_tc1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCaissonFoundation
std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_tc1::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[142]); }
Ifc4x3_tc1::IfcCaissonFoundation Ifc4x3_tc1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCaissonFoundationType
::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_tc1::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[143]); }
Ifc4x3_tc1::IfcCaissonFoundationType Ifc4x3_tc1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCartesianPoint
std::vector< double > /*[1:3]*/ Ifc4x3_tc1::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[146]); }
Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates));; return *this; }
// Function implementations for IfcCartesianPointList
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[147]); }
Ifc4x3_tc1::IfcCartesianPointList Ifc4x3_tc1::IfcCartesianPointList::initialize() { ; return *this; }
// Function implementations for IfcCartesianPointList2D
std::vector< std::vector< double > > Ifc4x3_tc1::IfcCartesianPointList2D::CoordList() const { std::vector< std::vector< double > > v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCartesianPointList2D::setCoordList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcCartesianPointList2D::TagList() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[148]); }
Ifc4x3_tc1::IfcCartesianPointList2D Ifc4x3_tc1::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); }; return *this; }
// Function implementations for IfcCartesianPointList3D
std::vector< std::vector< double > > Ifc4x3_tc1::IfcCartesianPointList3D::CoordList() const { std::vector< std::vector< double > > v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCartesianPointList3D::setCoordList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcCartesianPointList3D::TagList() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[149]); }
Ifc4x3_tc1::IfcCartesianPointList3D Ifc4x3_tc1::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); }; return *this; }
// Function implementations for IfcCartesianTransformationOperator
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcCartesianTransformationOperator::Axis1() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcCartesianTransformationOperator::setAxis1(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcCartesianTransformationOperator::Axis2() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcCartesianTransformationOperator::setAxis2(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcCartesianTransformationOperator::LocalOrigin() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcCartesianTransformationOperator::setLocalOrigin(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator::Scale() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[150]); }
Ifc4x3_tc1::IfcCartesianTransformationOperator Ifc4x3_tc1::IfcCartesianTransformationOperator::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }; return *this; }
// Function implementations for IfcCartesianTransformationOperator2D
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[151]); }
Ifc4x3_tc1::IfcCartesianTransformationOperator2D Ifc4x3_tc1::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }; return *this; }
// Function implementations for IfcCartesianTransformationOperator2DnonUniform
std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::Scale2() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[152]); }
Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); }; return *this; }
// Function implementations for IfcCartesianTransformationOperator3D
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcCartesianTransformationOperator3D::Axis3() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[153]); }
Ifc4x3_tc1::IfcCartesianTransformationOperator3D Ifc4x3_tc1::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3));; return *this; }
// Function implementations for IfcCartesianTransformationOperator3DnonUniform
std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::Scale2() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::Scale3() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[154]); }
Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); }; return *this; }
// Function implementations for IfcCenterLineProfileDef
double Ifc4x3_tc1::IfcCenterLineProfileDef::Thickness() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[155]); }
Ifc4x3_tc1::IfcCenterLineProfileDef Ifc4x3_tc1::IfcCenterLineProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness));; return *this; }
// Function implementations for IfcChiller
std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > Ifc4x3_tc1::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcChillerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[157]); }
Ifc4x3_tc1::IfcChiller Ifc4x3_tc1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcChillerType
::Ifc4x3_tc1::IfcChillerTypeEnum::Value Ifc4x3_tc1::IfcChillerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcChillerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcChillerType::setPredefinedType(const ::Ifc4x3_tc1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[158]); }
Ifc4x3_tc1::IfcChillerType Ifc4x3_tc1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcChimney
std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > Ifc4x3_tc1::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[160]); }
Ifc4x3_tc1::IfcChimney Ifc4x3_tc1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcChimneyType
::Ifc4x3_tc1::IfcChimneyTypeEnum::Value Ifc4x3_tc1::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[161]); }
Ifc4x3_tc1::IfcChimneyType Ifc4x3_tc1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCircle
double Ifc4x3_tc1::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[163]); }
Ifc4x3_tc1::IfcCircle Ifc4x3_tc1::IfcCircle::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius));; return *this; }
// Function implementations for IfcCircleHollowProfileDef
double Ifc4x3_tc1::IfcCircleHollowProfileDef::WallThickness() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[164]); }
Ifc4x3_tc1::IfcCircleHollowProfileDef Ifc4x3_tc1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness));; return *this; }
// Function implementations for IfcCircleProfileDef
double Ifc4x3_tc1::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[165]); }
Ifc4x3_tc1::IfcCircleProfileDef Ifc4x3_tc1::IfcCircleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));; return *this; }
// Function implementations for IfcCivilElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[166]); }
Ifc4x3_tc1::IfcCivilElement Ifc4x3_tc1::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcCivilElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[167]); }
Ifc4x3_tc1::IfcCivilElementType Ifc4x3_tc1::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcClassification
std::optional< std::string > Ifc4x3_tc1::IfcClassification::Source() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcClassification::setSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcClassification::Edition() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcClassification::setEdition(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcClassification::EditionDate() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcClassification::setEditionDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::string Ifc4x3_tc1::IfcClassification::Name() const { std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcClassification::setName(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcClassification::Description() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcClassification::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::IfcClassification::Specification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcClassification::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassification::ClassificationForObjects() const { return cast_vector<IfcRelAssociatesClassification>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[908], 5)); }
std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassification::HasReferences() const { return cast_vector<IfcClassificationReference>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[169], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[168]); }
Ifc4x3_tc1::IfcClassification Ifc4x3_tc1::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { if (v1_Source) {set_attribute_value(0, (*v1_Source)); } if (v2_Edition) {set_attribute_value(1, (*v2_Edition)); } if (v3_EditionDate) {set_attribute_value(2, (*v3_EditionDate)); }set_attribute_value(3, (v4_Name)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Specification) {set_attribute_value(5, (*v6_Specification)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); }; return *this; }
// Function implementations for IfcClassificationReference
::Ifc4x3_tc1::IfcClassificationReferenceSelect Ifc4x3_tc1::IfcClassificationReference::ReferencedSource() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcClassificationReferenceSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcClassificationReferenceSelect>(); }
void Ifc4x3_tc1::IfcClassificationReference::setReferencedSource(const ::Ifc4x3_tc1::IfcClassificationReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcClassificationReference::Description() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcClassificationReference::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::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector<IfcRelAssociatesClassification>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[908], 5)); }
std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassificationReference::HasReferences() const { return cast_vector<IfcClassificationReference>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[169], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[169]); }
Ifc4x3_tc1::IfcClassificationReference Ifc4x3_tc1::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_tc1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_ReferencedSource)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); }; return *this; }
// Function implementations for IfcClosedShell
const ifcopenshell::entity& Ifc4x3_tc1::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[172]); }
Ifc4x3_tc1::IfcClosedShell Ifc4x3_tc1::IfcClosedShell::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector<express::Base>(v1_CfsFaces));; return *this; }
// Function implementations for IfcClothoid
double Ifc4x3_tc1::IfcClothoid::ClothoidConstant() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[173]); }
Ifc4x3_tc1::IfcClothoid Ifc4x3_tc1::IfcClothoid::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant));; return *this; }
// Function implementations for IfcCoil
std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > Ifc4x3_tc1::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoilTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[174]); }
Ifc4x3_tc1::IfcCoil Ifc4x3_tc1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCoilType
::Ifc4x3_tc1::IfcCoilTypeEnum::Value Ifc4x3_tc1::IfcCoilType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoilTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCoilType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[175]); }
Ifc4x3_tc1::IfcCoilType Ifc4x3_tc1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcColourRgb
double Ifc4x3_tc1::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcColourRgb::setRed(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcColourRgb::Green() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcColourRgb::setGreen(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcColourRgb::Blue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[179]); }
Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_Red));set_attribute_value(2, (v3_Green));set_attribute_value(3, (v4_Blue));; return *this; }
// Function implementations for IfcColourRgbList
std::vector< std::vector< double > > Ifc4x3_tc1::IfcColourRgbList::ColourList() const { std::vector< std::vector< double > > v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[180]); }
Ifc4x3_tc1::IfcColourRgbList Ifc4x3_tc1::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList));; return *this; }
// Function implementations for IfcColourSpecification
std::optional< std::string > Ifc4x3_tc1::IfcColourSpecification::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[181]); }
Ifc4x3_tc1::IfcColourSpecification Ifc4x3_tc1::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcColumn
std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > Ifc4x3_tc1::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcColumnTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[182]); }
Ifc4x3_tc1::IfcColumn Ifc4x3_tc1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcColumnType
::Ifc4x3_tc1::IfcColumnTypeEnum::Value Ifc4x3_tc1::IfcColumnType::PredefinedType() const { return ::Ifc4x3_tc1::IfcColumnTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcColumnType::setPredefinedType(const ::Ifc4x3_tc1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[183]); }
Ifc4x3_tc1::IfcColumnType Ifc4x3_tc1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCommunicationsAppliance
std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_tc1::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[185]); }
Ifc4x3_tc1::IfcCommunicationsAppliance Ifc4x3_tc1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCommunicationsApplianceType
::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[186]); }
Ifc4x3_tc1::IfcCommunicationsApplianceType Ifc4x3_tc1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcComplexProperty
std::string Ifc4x3_tc1::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcComplexProperty::setUsageName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcComplexProperty::HasProperties() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcProperty>(es); }
void Ifc4x3_tc1::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[189]); }
Ifc4x3_tc1::IfcComplexProperty Ifc4x3_tc1::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_tc1::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector<express::Base>(v4_HasProperties));; return *this; }
// Function implementations for IfcComplexPropertyTemplate
std::optional< std::string > Ifc4x3_tc1::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_tc1::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > Ifc4x3_tc1::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcPropertyTemplate>(es); }
void Ifc4x3_tc1::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector<express::Base>(*v));} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[190]); }
Ifc4x3_tc1::IfcComplexPropertyTemplate Ifc4x3_tc1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_UsageName) {set_attribute_value(4, (*v5_UsageName)); } if (v6_TemplateType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector<express::Base>(*v7_HasPropertyTemplates)); }; return *this; }
// Function implementations for IfcCompositeCurve
std::vector< ::Ifc4x3_tc1::IfcSegment > Ifc4x3_tc1::IfcCompositeCurve::Segments() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcSegment>(es); }
void Ifc4x3_tc1::IfcCompositeCurve::setSegments(const std::vector< ::Ifc4x3_tc1::IfcSegment >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
boost::logic::tribool Ifc4x3_tc1::IfcCompositeCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[192]); }
Ifc4x3_tc1::IfcCompositeCurve Ifc4x3_tc1::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));; return *this; }
// Function implementations for IfcCompositeCurveOnSurface
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[193]); }
Ifc4x3_tc1::IfcCompositeCurveOnSurface Ifc4x3_tc1::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));; return *this; }
// Function implementations for IfcCompositeCurveSegment
bool Ifc4x3_tc1::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[194]); }
Ifc4x3_tc1::IfcCompositeCurveSegment Ifc4x3_tc1::IfcCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));; return *this; }
// Function implementations for IfcCompositeProfileDef
std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcCompositeProfileDef::Profiles() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcProfileDef>(es); }
void Ifc4x3_tc1::IfcCompositeProfileDef::setProfiles(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
std::optional< std::string > Ifc4x3_tc1::IfcCompositeProfileDef::Label() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[195]); }
Ifc4x3_tc1::IfcCompositeProfileDef Ifc4x3_tc1::IfcCompositeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector<express::Base>(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); }; return *this; }
// Function implementations for IfcCompressor
std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > Ifc4x3_tc1::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[197]); }
Ifc4x3_tc1::IfcCompressor Ifc4x3_tc1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCompressorType
::Ifc4x3_tc1::IfcCompressorTypeEnum::Value Ifc4x3_tc1::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[198]); }
Ifc4x3_tc1::IfcCompressorType Ifc4x3_tc1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCondenser
std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > Ifc4x3_tc1::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[200]); }
Ifc4x3_tc1::IfcCondenser Ifc4x3_tc1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCondenserType
::Ifc4x3_tc1::IfcCondenserTypeEnum::Value Ifc4x3_tc1::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[201]); }
Ifc4x3_tc1::IfcCondenserType Ifc4x3_tc1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcConic
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcConic::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[203]); }
Ifc4x3_tc1::IfcConic Ifc4x3_tc1::IfcConic::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position));; return *this; }
// Function implementations for IfcConnectedFaceSet
std::vector< ::Ifc4x3_tc1::IfcFace > Ifc4x3_tc1::IfcConnectedFaceSet::CfsFaces() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcFace>(es); }
void Ifc4x3_tc1::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_tc1::IfcFace >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[204]); }
Ifc4x3_tc1::IfcConnectedFaceSet Ifc4x3_tc1::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector<express::Base>(v1_CfsFaces));; return *this; }
// Function implementations for IfcConnectionCurveGeometry
::Ifc4x3_tc1::IfcCurveOrEdgeCurve Ifc4x3_tc1::IfcConnectionCurveGeometry::CurveOnRelatingElement() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurveOrEdgeCurve>(); }
void Ifc4x3_tc1::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc4x3_tc1::IfcCurveOrEdgeCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcCurveOrEdgeCurve Ifc4x3_tc1::IfcConnectionCurveGeometry::CurveOnRelatedElement() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcCurveOrEdgeCurve{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurveOrEdgeCurve>(); }
void Ifc4x3_tc1::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_tc1::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[205]); }
Ifc4x3_tc1::IfcConnectionCurveGeometry Ifc4x3_tc1::IfcConnectionCurveGeometry::initialize(::Ifc4x3_tc1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_tc1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement));; return *this; }
// Function implementations for IfcConnectionGeometry
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[206]); }
Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcConnectionGeometry::initialize() { ; return *this; }
// Function implementations for IfcConnectionPointEccentricity
std::optional< double > Ifc4x3_tc1::IfcConnectionPointEccentricity::EccentricityInX() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcConnectionPointEccentricity::setEccentricityInX(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcConnectionPointEccentricity::EccentricityInY() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcConnectionPointEccentricity::setEccentricityInY(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcConnectionPointEccentricity::EccentricityInZ() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[207]); }
Ifc4x3_tc1::IfcConnectionPointEccentricity Ifc4x3_tc1::IfcConnectionPointEccentricity::initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); if (v3_EccentricityInX) {set_attribute_value(2, (*v3_EccentricityInX)); } if (v4_EccentricityInY) {set_attribute_value(3, (*v4_EccentricityInY)); } if (v5_EccentricityInZ) {set_attribute_value(4, (*v5_EccentricityInZ)); }; return *this; }
// Function implementations for IfcConnectionPointGeometry
::Ifc4x3_tc1::IfcPointOrVertexPoint Ifc4x3_tc1::IfcConnectionPointGeometry::PointOnRelatingElement() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPointOrVertexPoint>(); }
void Ifc4x3_tc1::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc4x3_tc1::IfcPointOrVertexPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcPointOrVertexPoint Ifc4x3_tc1::IfcConnectionPointGeometry::PointOnRelatedElement() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcPointOrVertexPoint{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcPointOrVertexPoint>(); }
void Ifc4x3_tc1::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_tc1::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[208]); }
Ifc4x3_tc1::IfcConnectionPointGeometry Ifc4x3_tc1::IfcConnectionPointGeometry::initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement));; return *this; }
// Function implementations for IfcConnectionSurfaceGeometry
::Ifc4x3_tc1::IfcSurfaceOrFaceSurface Ifc4x3_tc1::IfcConnectionSurfaceGeometry::SurfaceOnRelatingElement() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurfaceOrFaceSurface>(); }
void Ifc4x3_tc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcSurfaceOrFaceSurface Ifc4x3_tc1::IfcConnectionSurfaceGeometry::SurfaceOnRelatedElement() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcSurfaceOrFaceSurface>(); }
void Ifc4x3_tc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[209]); }
Ifc4x3_tc1::IfcConnectionSurfaceGeometry Ifc4x3_tc1::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement));; return *this; }
// Function implementations for IfcConnectionVolumeGeometry
::Ifc4x3_tc1::IfcSolidOrShell Ifc4x3_tc1::IfcConnectionVolumeGeometry::VolumeOnRelatingElement() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSolidOrShell>(); }
void Ifc4x3_tc1::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const ::Ifc4x3_tc1::IfcSolidOrShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcSolidOrShell Ifc4x3_tc1::IfcConnectionVolumeGeometry::VolumeOnRelatedElement() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcSolidOrShell{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcSolidOrShell>(); }
void Ifc4x3_tc1::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_tc1::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[211]); }
Ifc4x3_tc1::IfcConnectionVolumeGeometry Ifc4x3_tc1::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_tc1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_tc1::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement));; return *this; }
// Function implementations for IfcConstraint
std::string Ifc4x3_tc1::IfcConstraint::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcConstraint::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
::Ifc4x3_tc1::IfcConstraintEnum::Value Ifc4x3_tc1::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_tc1::IfcConstraintEnum::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_tc1::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); }
std::optional< std::string > Ifc4x3_tc1::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcConstraint::setCreatingActor(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< std::string > Ifc4x3_tc1::IfcConstraint::CreationTime() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcConstraint::setCreationTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConstraint::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcConstraint::PropertiesForConstraint() const { return cast_vector<IfcResourceConstraintRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[954], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[212]); }
Ifc4x3_tc1::IfcConstraint Ifc4x3_tc1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }; return *this; }
// Function implementations for IfcConstructionEquipmentResource
std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[214]); }
Ifc4x3_tc1::IfcConstructionEquipmentResource Ifc4x3_tc1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcConstructionEquipmentResourceType
::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[215]); }
Ifc4x3_tc1::IfcConstructionEquipmentResourceType Ifc4x3_tc1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcConstructionMaterialResource
std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[217]); }
Ifc4x3_tc1::IfcConstructionMaterialResource Ifc4x3_tc1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcConstructionMaterialResourceType
::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[218]); }
Ifc4x3_tc1::IfcConstructionMaterialResourceType Ifc4x3_tc1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcConstructionProductResource
std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[220]); }
Ifc4x3_tc1::IfcConstructionProductResource Ifc4x3_tc1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcConstructionProductResourceType
::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[221]); }
Ifc4x3_tc1::IfcConstructionProductResourceType Ifc4x3_tc1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcConstructionResource
::Ifc4x3_tc1::IfcResourceTime Ifc4x3_tc1::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcResourceTime>(); }
void Ifc4x3_tc1::IfcConstructionResource::setUsage(const ::Ifc4x3_tc1::IfcResourceTime& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > Ifc4x3_tc1::IfcConstructionResource::BaseCosts() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcAppliedValue>(es); }
void Ifc4x3_tc1::IfcConstructionResource::setBaseCosts(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(8, cast_vector<express::Base>(*v));} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcPhysicalQuantity Ifc4x3_tc1::IfcConstructionResource::BaseQuantity() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcPhysicalQuantity{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcPhysicalQuantity>(); }
void Ifc4x3_tc1::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[223]); }
Ifc4x3_tc1::IfcConstructionResource Ifc4x3_tc1::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity));; return *this; }
// Function implementations for IfcConstructionResourceType
std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > Ifc4x3_tc1::IfcConstructionResourceType::BaseCosts() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcAppliedValue>(es); }
void Ifc4x3_tc1::IfcConstructionResourceType::setBaseCosts(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector<express::Base>(*v));} else {unset_attribute_value(9);} }
::Ifc4x3_tc1::IfcPhysicalQuantity Ifc4x3_tc1::IfcConstructionResourceType::BaseQuantity() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcPhysicalQuantity{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcPhysicalQuantity>(); }
void Ifc4x3_tc1::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[224]); }
Ifc4x3_tc1::IfcConstructionResourceType Ifc4x3_tc1::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));; return *this; }
// Function implementations for IfcContext
std::optional< std::string > Ifc4x3_tc1::IfcContext::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcContext::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcContext::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcContext::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcContext::Phase() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcContext::setPhase(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > Ifc4x3_tc1::IfcContext::RepresentationContexts() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcRepresentationContext>(es); }
void Ifc4x3_tc1::IfcContext::setRepresentationContexts(const std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcUnitAssignment Ifc4x3_tc1::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcUnitAssignment>(); }
void Ifc4x3_tc1::IfcContext::setUnitsInContext(const ::Ifc4x3_tc1::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcContext::IsDefinedBy() const { return cast_vector<IfcRelDefinesByProperties>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcContext::Declares() const { return cast_vector<IfcRelDeclares>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[225]); }
Ifc4x3_tc1::IfcContext Ifc4x3_tc1::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, cast_vector<express::Base>(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext));; return *this; }
// Function implementations for IfcContextDependentUnit
std::string Ifc4x3_tc1::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[227]); }
Ifc4x3_tc1::IfcContextDependentUnit Ifc4x3_tc1::IfcContextDependentUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));; return *this; }
// Function implementations for IfcControl
std::optional< std::string > Ifc4x3_tc1::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToControl> Ifc4x3_tc1::IfcControl::Controls() const { return cast_vector<IfcRelAssignsToControl>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[900], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[228]); }
Ifc4x3_tc1::IfcControl Ifc4x3_tc1::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }; return *this; }
// Function implementations for IfcController
std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > Ifc4x3_tc1::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcControllerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[229]); }
Ifc4x3_tc1::IfcController Ifc4x3_tc1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcControllerType
::Ifc4x3_tc1::IfcControllerTypeEnum::Value Ifc4x3_tc1::IfcControllerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcControllerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcControllerType::setPredefinedType(const ::Ifc4x3_tc1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[230]); }
Ifc4x3_tc1::IfcControllerType Ifc4x3_tc1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcConversionBasedUnit
std::string Ifc4x3_tc1::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcConversionBasedUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcMeasureWithUnit Ifc4x3_tc1::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMeasureWithUnit>(); }
void Ifc4x3_tc1::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[232]); }
Ifc4x3_tc1::IfcConversionBasedUnit Ifc4x3_tc1::IfcConversionBasedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));; return *this; }
// Function implementations for IfcConversionBasedUnitWithOffset
double Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[233]); }
Ifc4x3_tc1::IfcConversionBasedUnitWithOffset Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset));; return *this; }
// Function implementations for IfcConveyorSegment
std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_tc1::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[234]); }
Ifc4x3_tc1::IfcConveyorSegment Ifc4x3_tc1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcConveyorSegmentType
::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_tc1::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[235]); }
Ifc4x3_tc1::IfcConveyorSegmentType Ifc4x3_tc1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCooledBeam
std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > Ifc4x3_tc1::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[237]); }
Ifc4x3_tc1::IfcCooledBeam Ifc4x3_tc1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCooledBeamType
::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value Ifc4x3_tc1::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[238]); }
Ifc4x3_tc1::IfcCooledBeamType Ifc4x3_tc1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCoolingTower
std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > Ifc4x3_tc1::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[240]); }
Ifc4x3_tc1::IfcCoolingTower Ifc4x3_tc1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCoolingTowerType
::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_tc1::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[241]); }
Ifc4x3_tc1::IfcCoolingTowerType Ifc4x3_tc1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCoordinateOperation
::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect Ifc4x3_tc1::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect>(); }
void Ifc4x3_tc1::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcCoordinateReferenceSystem Ifc4x3_tc1::IfcCoordinateOperation::TargetCRS() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCoordinateReferenceSystem>(); }
void Ifc4x3_tc1::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_tc1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[243]); }
Ifc4x3_tc1::IfcCoordinateOperation Ifc4x3_tc1::IfcCoordinateOperation::initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));; return *this; }
// Function implementations for IfcCoordinateReferenceSystem
std::string Ifc4x3_tc1::IfcCoordinateReferenceSystem::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcCoordinateReferenceSystem::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcCoordinateReferenceSystem::GeodeticDatum() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector<IfcCoordinateOperation>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[243], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[244]); }
Ifc4x3_tc1::IfcCoordinateReferenceSystem Ifc4x3_tc1::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_VerticalDatum) {set_attribute_value(3, (*v4_VerticalDatum)); }; return *this; }
// Function implementations for IfcCosineSpiral
double Ifc4x3_tc1::IfcCosineSpiral::CosineTerm() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCosineSpiral::setCosineTerm(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcCosineSpiral::ConstantTerm() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcCosineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCosineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[246]); }
Ifc4x3_tc1::IfcCosineSpiral Ifc4x3_tc1::IfcCosineSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); }; return *this; }
// Function implementations for IfcCostItem
std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > Ifc4x3_tc1::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > Ifc4x3_tc1::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcCostValue>(es); }
void Ifc4x3_tc1::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > Ifc4x3_tc1::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcPhysicalQuantity>(es); }
void Ifc4x3_tc1::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector<express::Base>(*v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[247]); }
Ifc4x3_tc1::IfcCostItem Ifc4x3_tc1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector<express::Base>(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector<express::Base>(*v9_CostQuantities)); }; return *this; }
// Function implementations for IfcCostSchedule
std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > Ifc4x3_tc1::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcCostSchedule::setSubmittedOn(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::UpdateDate() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[249]); }
Ifc4x3_tc1::IfcCostSchedule Ifc4x3_tc1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_SubmittedOn) {set_attribute_value(8, (*v9_SubmittedOn)); } if (v10_UpdateDate) {set_attribute_value(9, (*v10_UpdateDate)); }; return *this; }
// Function implementations for IfcCostValue
const ifcopenshell::entity& Ifc4x3_tc1::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[251]); }
Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); if (v5_ApplicableDate) {set_attribute_value(4, (*v5_ApplicableDate)); } if (v6_FixedUntilDate) {set_attribute_value(5, (*v6_FixedUntilDate)); } if (v7_Category) {set_attribute_value(6, (*v7_Category)); } if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } if (v9_ArithmeticOperator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector<express::Base>(*v10_Components)); }; return *this; }
// Function implementations for IfcCourse
std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > Ifc4x3_tc1::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCourseTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[253]); }
Ifc4x3_tc1::IfcCourse Ifc4x3_tc1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCourseType
::Ifc4x3_tc1::IfcCourseTypeEnum::Value Ifc4x3_tc1::IfcCourseType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCourseTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCourseType::setPredefinedType(const ::Ifc4x3_tc1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[254]); }
Ifc4x3_tc1::IfcCourseType Ifc4x3_tc1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCovering
std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > Ifc4x3_tc1::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcCovering::CoversSpaces() const { return cast_vector<IfcRelCoversSpaces>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[926], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcCovering::CoversElements() const { return cast_vector<IfcRelCoversBldgElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[925], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[256]); }
Ifc4x3_tc1::IfcCovering Ifc4x3_tc1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCoveringType
::Ifc4x3_tc1::IfcCoveringTypeEnum::Value Ifc4x3_tc1::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[257]); }
Ifc4x3_tc1::IfcCoveringType Ifc4x3_tc1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCrewResource
std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > Ifc4x3_tc1::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[259]); }
Ifc4x3_tc1::IfcCrewResource Ifc4x3_tc1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcCrewResourceType
::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value Ifc4x3_tc1::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[260]); }
Ifc4x3_tc1::IfcCrewResourceType Ifc4x3_tc1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcCsgPrimitive3D
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[262]); }
Ifc4x3_tc1::IfcCsgPrimitive3D Ifc4x3_tc1::IfcCsgPrimitive3D::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position));; return *this; }
// Function implementations for IfcCsgSolid
::Ifc4x3_tc1::IfcCsgSelect Ifc4x3_tc1::IfcCsgSolid::TreeRootExpression() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCsgSelect>(); }
void Ifc4x3_tc1::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_tc1::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[264]); }
Ifc4x3_tc1::IfcCsgSolid Ifc4x3_tc1::IfcCsgSolid::initialize(::Ifc4x3_tc1::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression));; return *this; }
// Function implementations for IfcCurrencyRelationship
::Ifc4x3_tc1::IfcMonetaryUnit Ifc4x3_tc1::IfcCurrencyRelationship::RelatingMonetaryUnit() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcMonetaryUnit>(); }
void Ifc4x3_tc1::IfcCurrencyRelationship::setRelatingMonetaryUnit(const ::Ifc4x3_tc1::IfcMonetaryUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcMonetaryUnit Ifc4x3_tc1::IfcCurrencyRelationship::RelatedMonetaryUnit() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMonetaryUnit>(); }
void Ifc4x3_tc1::IfcCurrencyRelationship::setRelatedMonetaryUnit(const ::Ifc4x3_tc1::IfcMonetaryUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcCurrencyRelationship::ExchangeRate() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcCurrencyRelationship::setExchangeRate(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< std::string > Ifc4x3_tc1::IfcCurrencyRelationship::RateDateTime() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcCurrencyRelationship::setRateDateTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcLibraryInformation Ifc4x3_tc1::IfcCurrencyRelationship::RateSource() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcLibraryInformation>(); }
void Ifc4x3_tc1::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_tc1::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[266]); }
Ifc4x3_tc1::IfcCurrencyRelationship Ifc4x3_tc1::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_tc1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_tc1::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource));; return *this; }
// Function implementations for IfcCurtainWall
std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > Ifc4x3_tc1::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[267]); }
Ifc4x3_tc1::IfcCurtainWall Ifc4x3_tc1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcCurtainWallType
::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value Ifc4x3_tc1::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[268]); }
Ifc4x3_tc1::IfcCurtainWallType Ifc4x3_tc1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[271]); }
Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcCurve::initialize() { ; return *this; }
// Function implementations for IfcCurveBoundedPlane
::Ifc4x3_tc1::IfcPlane Ifc4x3_tc1::IfcCurveBoundedPlane::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPlane>(); }
void Ifc4x3_tc1::IfcCurveBoundedPlane::setBasisSurface(const ::Ifc4x3_tc1::IfcPlane& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcCurveBoundedPlane::OuterBoundary() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcCurveBoundedPlane::setOuterBoundary(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::vector< ::Ifc4x3_tc1::IfcCurve > Ifc4x3_tc1::IfcCurveBoundedPlane::InnerBoundaries() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcCurve>(es); }
void Ifc4x3_tc1::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[272]); }
Ifc4x3_tc1::IfcCurveBoundedPlane Ifc4x3_tc1::IfcCurveBoundedPlane::initialize(::Ifc4x3_tc1::IfcPlane v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_tc1::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector<express::Base>(v3_InnerBoundaries));; return *this; }
// Function implementations for IfcCurveBoundedSurface
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcCurveBoundedSurface::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcCurveBoundedSurface::setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcBoundaryCurve > Ifc4x3_tc1::IfcCurveBoundedSurface::Boundaries() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcBoundaryCurve>(es); }
void Ifc4x3_tc1::IfcCurveBoundedSurface::setBoundaries(const std::vector< ::Ifc4x3_tc1::IfcBoundaryCurve >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
bool Ifc4x3_tc1::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[273]); }
Ifc4x3_tc1::IfcCurveBoundedSurface Ifc4x3_tc1::IfcCurveBoundedSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_tc1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector<express::Base>(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter));; return *this; }
// Function implementations for IfcCurveSegment
::Ifc4x3_tc1::IfcPlacement Ifc4x3_tc1::IfcCurveSegment::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcPlacement>(); }
void Ifc4x3_tc1::IfcCurveSegment::setPlacement(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcCurveMeasureSelect Ifc4x3_tc1::IfcCurveSegment::SegmentStart() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCurveMeasureSelect>(); }
void Ifc4x3_tc1::IfcCurveSegment::setSegmentStart(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcCurveMeasureSelect Ifc4x3_tc1::IfcCurveSegment::SegmentLength() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCurveMeasureSelect>(); }
void Ifc4x3_tc1::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcCurveSegment::setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[279]); }
Ifc4x3_tc1::IfcCurveSegment Ifc4x3_tc1::IfcCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_tc1::IfcPlacement v2_Placement, ::Ifc4x3_tc1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_tc1::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve));; return *this; }
// Function implementations for IfcCurveStyle
::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_tc1::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect>(); }
void Ifc4x3_tc1::IfcCurveStyle::setCurveFont(const ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcCurveStyle::CurveWidth() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcSizeSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcCurveStyle::setCurveWidth(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcColour Ifc4x3_tc1::IfcCurveStyle::CurveColour() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcColour{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcColour>(); }
void Ifc4x3_tc1::IfcCurveStyle::setCurveColour(const ::Ifc4x3_tc1::IfcColour& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< bool > Ifc4x3_tc1::IfcCurveStyle::ModelOrDraughting() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } bool v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[280]); }
Ifc4x3_tc1::IfcCurveStyle Ifc4x3_tc1::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_tc1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_tc1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); }; return *this; }
// Function implementations for IfcCurveStyleFont
std::optional< std::string > Ifc4x3_tc1::IfcCurveStyleFont::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCurveStyleFont::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > Ifc4x3_tc1::IfcCurveStyleFont::PatternList() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcCurveStyleFontPattern>(es); }
void Ifc4x3_tc1::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[281]); }
Ifc4x3_tc1::IfcCurveStyleFont Ifc4x3_tc1::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector<express::Base>(v2_PatternList));; return *this; }
// Function implementations for IfcCurveStyleFontAndScaling
std::optional< std::string > Ifc4x3_tc1::IfcCurveStyleFontAndScaling::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCurveStyleFontAndScaling::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
::Ifc4x3_tc1::IfcCurveStyleFontSelect Ifc4x3_tc1::IfcCurveStyleFontAndScaling::CurveStyleFont() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurveStyleFontSelect>(); }
void Ifc4x3_tc1::IfcCurveStyleFontAndScaling::setCurveStyleFont(const ::Ifc4x3_tc1::IfcCurveStyleFontSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[282]); }
Ifc4x3_tc1::IfcCurveStyleFontAndScaling Ifc4x3_tc1::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveStyleFont));set_attribute_value(2, (v3_CurveFontScaling));; return *this; }
// Function implementations for IfcCurveStyleFontPattern
double Ifc4x3_tc1::IfcCurveStyleFontPattern::VisibleSegmentLength() const { double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcCurveStyleFontPattern::setVisibleSegmentLength(const double& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[283]); }
Ifc4x3_tc1::IfcCurveStyleFontPattern Ifc4x3_tc1::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength));; return *this; }
// Function implementations for IfcCylindricalSurface
double Ifc4x3_tc1::IfcCylindricalSurface::Radius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[285]); }
Ifc4x3_tc1::IfcCylindricalSurface Ifc4x3_tc1::IfcCylindricalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius));; return *this; }
// Function implementations for IfcDamper
std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > Ifc4x3_tc1::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDamperTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[286]); }
Ifc4x3_tc1::IfcDamper Ifc4x3_tc1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDamperType
::Ifc4x3_tc1::IfcDamperTypeEnum::Value Ifc4x3_tc1::IfcDamperType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDamperTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[287]); }
Ifc4x3_tc1::IfcDamperType Ifc4x3_tc1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDeepFoundation
const ifcopenshell::entity& Ifc4x3_tc1::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[294]); }
Ifc4x3_tc1::IfcDeepFoundation Ifc4x3_tc1::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcDeepFoundationType
const ifcopenshell::entity& Ifc4x3_tc1::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[295]); }
Ifc4x3_tc1::IfcDeepFoundationType Ifc4x3_tc1::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcDerivedProfileDef
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcDerivedProfileDef::ParentProfile() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcDerivedProfileDef::setParentProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcCartesianTransformationOperator2D Ifc4x3_tc1::IfcDerivedProfileDef::Operator() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCartesianTransformationOperator2D>(); }
void Ifc4x3_tc1::IfcDerivedProfileDef::setOperator(const ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcDerivedProfileDef::Label() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[298]); }
Ifc4x3_tc1::IfcDerivedProfileDef Ifc4x3_tc1::IfcDerivedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); }; return *this; }
// Function implementations for IfcDerivedUnit
std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > Ifc4x3_tc1::IfcDerivedUnit::Elements() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcDerivedUnitElement>(es); }
void Ifc4x3_tc1::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcDerivedUnitEnum::Value Ifc4x3_tc1::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_tc1::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); }
void Ifc4x3_tc1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcDerivedUnit::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcDerivedUnit::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[299]); }
Ifc4x3_tc1::IfcDerivedUnit Ifc4x3_tc1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector<express::Base>(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); }; return *this; }
// 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); }
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; }
// 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); }
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; }
// 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; }
void Ifc4x3_tc1::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[305]); }
Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios));; return *this; }
// Function implementations for IfcDirectrixCurveSweptAreaSolid
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcCurveMeasureSelect Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::StartParam() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcCurveMeasureSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCurveMeasureSelect>(); }
void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcCurveMeasureSelect Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::EndParam() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcCurveMeasureSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcCurveMeasureSelect>(); }
void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[307]); }
Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));; return *this; }
// Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid
const ifcopenshell::entity& Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[308]); }
Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference));; return *this; }
// Function implementations for IfcDiscreteAccessory
std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_tc1::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[309]); }
Ifc4x3_tc1::IfcDiscreteAccessory Ifc4x3_tc1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDiscreteAccessoryType
::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_tc1::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[310]); }
Ifc4x3_tc1::IfcDiscreteAccessoryType Ifc4x3_tc1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDistributionBoard
std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > Ifc4x3_tc1::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[312]); }
Ifc4x3_tc1::IfcDistributionBoard Ifc4x3_tc1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDistributionBoardType
::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[313]); }
Ifc4x3_tc1::IfcDistributionBoardType Ifc4x3_tc1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDistributionChamberElement
std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_tc1::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[315]); }
Ifc4x3_tc1::IfcDistributionChamberElement Ifc4x3_tc1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDistributionChamberElementType
::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_tc1::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[316]); }
Ifc4x3_tc1::IfcDistributionChamberElementType Ifc4x3_tc1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDistributionCircuit
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[318]); }
Ifc4x3_tc1::IfcDistributionCircuit Ifc4x3_tc1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); }; return *this; }
// Function implementations for IfcDistributionControlElement
std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector<IfcRelFlowControlElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[935], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[319]); }
Ifc4x3_tc1::IfcDistributionControlElement Ifc4x3_tc1::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcDistributionControlElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[320]); }
Ifc4x3_tc1::IfcDistributionControlElementType Ifc4x3_tc1::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcDistributionElement
std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcDistributionElement::HasPorts() const { return cast_vector<IfcRelConnectsPortToElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[919], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[321]); }
Ifc4x3_tc1::IfcDistributionElement Ifc4x3_tc1::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcDistributionElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[322]); }
Ifc4x3_tc1::IfcDistributionElementType Ifc4x3_tc1::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcDistributionFlowElement
std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector<IfcRelFlowControlElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[935], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[323]); }
Ifc4x3_tc1::IfcDistributionFlowElement Ifc4x3_tc1::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcDistributionFlowElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[324]); }
Ifc4x3_tc1::IfcDistributionFlowElementType Ifc4x3_tc1::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcDistributionPort
std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > Ifc4x3_tc1::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > Ifc4x3_tc1::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > Ifc4x3_tc1::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[325]); }
Ifc4x3_tc1::IfcDistributionPort Ifc4x3_tc1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); }; return *this; }
// Function implementations for IfcDistributionSystem
std::optional< std::string > Ifc4x3_tc1::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > Ifc4x3_tc1::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[327]); }
Ifc4x3_tc1::IfcDistributionSystem Ifc4x3_tc1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); }; return *this; }
// Function implementations for IfcDocumentInformation
std::string Ifc4x3_tc1::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setIdentification(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::string Ifc4x3_tc1::IfcDocumentInformation::Name() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setName(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::Location() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setLocation(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::Purpose() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::IntendedUse() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setIntendedUse(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::Scope() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setScope(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::Revision() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setRevision(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcDocumentInformation::DocumentOwner() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcDocumentInformation::setDocumentOwner(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > > Ifc4x3_tc1::IfcDocumentInformation::Editors() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcActorSelect>(es); }
void Ifc4x3_tc1::IfcDocumentInformation::setEditors(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > >& v) { if (v) {set_attribute_value(9, cast_vector<express::Base>(*v));} else {unset_attribute_value(9);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::CreationTime() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setCreationTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::LastRevisionTime() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setLastRevisionTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::ElectronicFormat() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setElectronicFormat(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::ValidFrom() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } std::string v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setValidFrom(const std::optional< std::string >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > Ifc4x3_tc1::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); }
void Ifc4x3_tc1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} }
std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > Ifc4x3_tc1::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); }
void Ifc4x3_tc1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector<IfcRelAssociatesDocument>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[910], 5)); }
std::vector<::Ifc4x3_tc1::IfcDocumentReference> Ifc4x3_tc1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector<IfcDocumentReference>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[332], 4)); }
std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointedTo() const { return cast_vector<IfcDocumentInformationRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[331], 3)); }
std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointer() const { return cast_vector<IfcDocumentInformationRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[331], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[330]); }
Ifc4x3_tc1::IfcDocumentInformation Ifc4x3_tc1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_tc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > v17_Status) { set_attribute_value(0, (v1_Identification));set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Location) {set_attribute_value(3, (*v4_Location)); } if (v5_Purpose) {set_attribute_value(4, (*v5_Purpose)); } if (v6_IntendedUse) {set_attribute_value(5, (*v6_IntendedUse)); } if (v7_Scope) {set_attribute_value(6, (*v7_Scope)); } if (v8_Revision) {set_attribute_value(7, (*v8_Revision)); }set_attribute_value(8, (v9_DocumentOwner)); if (v10_Editors) {set_attribute_value(9, cast_vector<express::Base>(*v10_Editors)); } if (v11_CreationTime) {set_attribute_value(10, (*v11_CreationTime)); } if (v12_LastRevisionTime) {set_attribute_value(11, (*v12_LastRevisionTime)); } if (v13_ElectronicFormat) {set_attribute_value(12, (*v13_ElectronicFormat)); } if (v14_ValidFrom) {set_attribute_value(13, (*v14_ValidFrom)); } if (v15_ValidUntil) {set_attribute_value(14, (*v15_ValidUntil)); } if (v16_Confidentiality) {set_attribute_value(15, (enumeration_reference(&::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); }; return *this; }
// Function implementations for IfcDocumentInformationRelationship
::Ifc4x3_tc1::IfcDocumentInformation Ifc4x3_tc1::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDocumentInformation>(); }
void Ifc4x3_tc1::IfcDocumentInformationRelationship::setRelatingDocument(const ::Ifc4x3_tc1::IfcDocumentInformation& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcDocumentInformation > Ifc4x3_tc1::IfcDocumentInformationRelationship::RelatedDocuments() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcDocumentInformation>(es); }
void Ifc4x3_tc1::IfcDocumentInformationRelationship::setRelatedDocuments(const std::vector< ::Ifc4x3_tc1::IfcDocumentInformation >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformationRelationship::RelationshipType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[331]); }
Ifc4x3_tc1::IfcDocumentInformationRelationship Ifc4x3_tc1::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_tc1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); }; return *this; }
// Function implementations for IfcDocumentReference
std::optional< std::string > Ifc4x3_tc1::IfcDocumentReference::Description() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcDocumentReference::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
::Ifc4x3_tc1::IfcDocumentInformation Ifc4x3_tc1::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcDocumentInformation>(); }
void Ifc4x3_tc1::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_tc1::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector<IfcRelAssociatesDocument>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[910], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[332]); }
Ifc4x3_tc1::IfcDocumentReference Ifc4x3_tc1::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcDocumentInformation v5_ReferencedDocument) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ReferencedDocument));; return *this; }
// Function implementations for IfcDoor
std::optional< double > Ifc4x3_tc1::IfcDoor::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcDoor::setOverallHeight(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > Ifc4x3_tc1::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDoorTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > Ifc4x3_tc1::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[335]); }
Ifc4x3_tc1::IfcDoor Ifc4x3_tc1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); }; return *this; }
// Function implementations for IfcDoorLiningProperties
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningThickness() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningThickness(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::ThresholdDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setThresholdDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::ThresholdThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setThresholdThickness(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::TransomThickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setTransomThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::TransomOffset() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setTransomOffset(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningOffset() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningOffset(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::ThresholdOffset() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setThresholdOffset(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::CasingThickness() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setCasingThickness(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::CasingDepth() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setCasingDepth(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcDoorLiningProperties::ShapeAspectStyle() const { if(get_attribute_value(14).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(14))).as<::Ifc4x3_tc1::IfcShapeAspect>(); }
void Ifc4x3_tc1::IfcDoorLiningProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(14, v);if constexpr (false)unset_attribute_value(14); }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningToPanelOffsetX() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } double v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningToPanelOffsetX(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningToPanelOffsetY() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[336]); }
Ifc4x3_tc1::IfcDoorLiningProperties Ifc4x3_tc1::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_tc1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_ThresholdDepth) {set_attribute_value(6, (*v7_ThresholdDepth)); } if (v8_ThresholdThickness) {set_attribute_value(7, (*v8_ThresholdThickness)); } if (v9_TransomThickness) {set_attribute_value(8, (*v9_TransomThickness)); } if (v10_TransomOffset) {set_attribute_value(9, (*v10_TransomOffset)); } if (v11_LiningOffset) {set_attribute_value(10, (*v11_LiningOffset)); } if (v12_ThresholdOffset) {set_attribute_value(11, (*v12_ThresholdOffset)); } if (v13_CasingThickness) {set_attribute_value(12, (*v13_CasingThickness)); } if (v14_CasingDepth) {set_attribute_value(13, (*v14_CasingDepth)); }set_attribute_value(14, (v15_ShapeAspectStyle)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); }; return *this; }
// Function implementations for IfcDoorPanelProperties
std::optional< double > Ifc4x3_tc1::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value Ifc4x3_tc1::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
std::optional< double > Ifc4x3_tc1::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value Ifc4x3_tc1::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcShapeAspect>(); }
void Ifc4x3_tc1::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[339]); }
Ifc4x3_tc1::IfcDoorPanelProperties Ifc4x3_tc1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_PanelDepth) {set_attribute_value(4, (*v5_PanelDepth)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle));; return *this; }
// Function implementations for IfcDoorType
::Ifc4x3_tc1::IfcDoorTypeEnum::Value Ifc4x3_tc1::IfcDoorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDoorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDoorType::setPredefinedType(const ::Ifc4x3_tc1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value Ifc4x3_tc1::IfcDoorType::OperationType() const { return ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcDoorType::setOperationType(const ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); }
std::optional< bool > Ifc4x3_tc1::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[340]); }
Ifc4x3_tc1::IfcDoorType Ifc4x3_tc1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); }; return *this; }
// Function implementations for IfcDraughtingPreDefinedColour
const ifcopenshell::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[344]); }
Ifc4x3_tc1::IfcDraughtingPreDefinedColour Ifc4x3_tc1::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcDraughtingPreDefinedCurveFont
const ifcopenshell::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[345]); }
Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcDuctFitting
std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > Ifc4x3_tc1::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[346]); }
Ifc4x3_tc1::IfcDuctFitting Ifc4x3_tc1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDuctFittingType
::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value Ifc4x3_tc1::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[347]); }
Ifc4x3_tc1::IfcDuctFittingType Ifc4x3_tc1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDuctSegment
std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > Ifc4x3_tc1::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[349]); }
Ifc4x3_tc1::IfcDuctSegment Ifc4x3_tc1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDuctSegmentType
::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_tc1::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[350]); }
Ifc4x3_tc1::IfcDuctSegmentType Ifc4x3_tc1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcDuctSilencer
std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > Ifc4x3_tc1::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[352]); }
Ifc4x3_tc1::IfcDuctSilencer Ifc4x3_tc1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcDuctSilencerType
::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_tc1::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[353]); }
Ifc4x3_tc1::IfcDuctSilencerType Ifc4x3_tc1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcEarthworksCut
std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > Ifc4x3_tc1::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[357]); }
Ifc4x3_tc1::IfcEarthworksCut Ifc4x3_tc1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcEarthworksElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[359]); }
Ifc4x3_tc1::IfcEarthworksElement Ifc4x3_tc1::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcEarthworksFill
std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > Ifc4x3_tc1::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[360]); }
Ifc4x3_tc1::IfcEarthworksFill Ifc4x3_tc1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcEdge
::Ifc4x3_tc1::IfcVertex Ifc4x3_tc1::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcVertex>(); }
void Ifc4x3_tc1::IfcEdge::setEdgeStart(const ::Ifc4x3_tc1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcVertex Ifc4x3_tc1::IfcEdge::EdgeEnd() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcVertex>(); }
void Ifc4x3_tc1::IfcEdge::setEdgeEnd(const ::Ifc4x3_tc1::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[362]); }
Ifc4x3_tc1::IfcEdge Ifc4x3_tc1::IfcEdge::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));; return *this; }
// Function implementations for IfcEdgeCurve
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcEdgeCurve::EdgeGeometry() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcEdgeCurve::setEdgeGeometry(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
bool Ifc4x3_tc1::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[363]); }
Ifc4x3_tc1::IfcEdgeCurve Ifc4x3_tc1::IfcEdgeCurve::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense));; return *this; }
// Function implementations for IfcEdgeLoop
std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > Ifc4x3_tc1::IfcEdgeLoop::EdgeList() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcOrientedEdge>(es); }
void Ifc4x3_tc1::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[364]); }
Ifc4x3_tc1::IfcEdgeLoop Ifc4x3_tc1::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector<express::Base>(v1_EdgeList));; return *this; }
// Function implementations for IfcElectricAppliance
std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > Ifc4x3_tc1::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[365]); }
Ifc4x3_tc1::IfcElectricAppliance Ifc4x3_tc1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricApplianceType
::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_tc1::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[366]); }
Ifc4x3_tc1::IfcElectricApplianceType Ifc4x3_tc1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricDistributionBoard
std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_tc1::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[372]); }
Ifc4x3_tc1::IfcElectricDistributionBoard Ifc4x3_tc1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricDistributionBoardType
::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[373]); }
Ifc4x3_tc1::IfcElectricDistributionBoardType Ifc4x3_tc1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricFlowStorageDevice
std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_tc1::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[375]); }
Ifc4x3_tc1::IfcElectricFlowStorageDevice Ifc4x3_tc1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricFlowStorageDeviceType
::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[376]); }
Ifc4x3_tc1::IfcElectricFlowStorageDeviceType Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricFlowTreatmentDevice
std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[378]); }
Ifc4x3_tc1::IfcElectricFlowTreatmentDevice Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricFlowTreatmentDeviceType
::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[379]); }
Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricGenerator
std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_tc1::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[381]); }
Ifc4x3_tc1::IfcElectricGenerator Ifc4x3_tc1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricGeneratorType
::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_tc1::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[382]); }
Ifc4x3_tc1::IfcElectricGeneratorType Ifc4x3_tc1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricMotor
std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > Ifc4x3_tc1::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[384]); }
Ifc4x3_tc1::IfcElectricMotor Ifc4x3_tc1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricMotorType
::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value Ifc4x3_tc1::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[385]); }
Ifc4x3_tc1::IfcElectricMotorType Ifc4x3_tc1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElectricTimeControl
std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_tc1::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[388]); }
Ifc4x3_tc1::IfcElectricTimeControl Ifc4x3_tc1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcElectricTimeControlType
::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_tc1::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[389]); }
Ifc4x3_tc1::IfcElectricTimeControlType Ifc4x3_tc1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElement
std::optional< std::string > Ifc4x3_tc1::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcElement::FillsVoids() const { return cast_vector<IfcRelFillsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[934], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedTo() const { return cast_vector<IfcRelConnectsElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[916], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::IsInterferedByElements() const { return cast_vector<IfcRelInterferesElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::InterferesElements() const { return cast_vector<IfcRelInterferesElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcElement::HasProjections() const { return cast_vector<IfcRelProjectsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[939], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcElement::HasOpenings() const { return cast_vector<IfcRelVoidsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[946], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsWithRealizingElements> Ifc4x3_tc1::IfcElement::IsConnectionRealization() const { return cast_vector<IfcRelConnectsWithRealizingElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[923], 7)); }
std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcElement::ProvidesBoundaries() const { return cast_vector<IfcRelSpaceBoundary>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedFrom() const { return cast_vector<IfcRelConnectsElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[916], 6)); }
std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcElement::ContainedInStructure() const { return cast_vector<IfcRelContainedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcElement::HasCoverings() const { return cast_vector<IfcRelCoversBldgElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[925], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcElement::HasSurfaceFeatures() const { return cast_vector<IfcRelAdheresToElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[896], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[392]); }
Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcElementAssembly
std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > Ifc4x3_tc1::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > Ifc4x3_tc1::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[394]); }
Ifc4x3_tc1::IfcElementAssembly Ifc4x3_tc1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcElementAssemblyType
::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_tc1::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[395]); }
Ifc4x3_tc1::IfcElementAssemblyType Ifc4x3_tc1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcElementComponent
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[397]); }
Ifc4x3_tc1::IfcElementComponent Ifc4x3_tc1::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcElementComponentType
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[398]); }
Ifc4x3_tc1::IfcElementComponentType Ifc4x3_tc1::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcElementQuantity
std::optional< std::string > Ifc4x3_tc1::IfcElementQuantity::MethodOfMeasurement() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcElementQuantity::setMethodOfMeasurement(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > Ifc4x3_tc1::IfcElementQuantity::Quantities() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcPhysicalQuantity>(es); }
void Ifc4x3_tc1::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[400]); }
Ifc4x3_tc1::IfcElementQuantity Ifc4x3_tc1::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_MethodOfMeasurement) {set_attribute_value(4, (*v5_MethodOfMeasurement)); }set_attribute_value(5, cast_vector<express::Base>(v6_Quantities));; return *this; }
// Function implementations for IfcElementType
std::optional< std::string > Ifc4x3_tc1::IfcElementType::ElementType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[401]); }
Ifc4x3_tc1::IfcElementType Ifc4x3_tc1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcElementarySurface
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcElementarySurface::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcElementarySurface::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[393]); }
Ifc4x3_tc1::IfcElementarySurface Ifc4x3_tc1::IfcElementarySurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position));; return *this; }
// Function implementations for IfcEllipse
double Ifc4x3_tc1::IfcEllipse::SemiAxis1() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcEllipse::setSemiAxis1(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[402]); }
Ifc4x3_tc1::IfcEllipse Ifc4x3_tc1::IfcEllipse::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2));; return *this; }
// Function implementations for IfcEllipseProfileDef
double Ifc4x3_tc1::IfcEllipseProfileDef::SemiAxis1() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcEllipseProfileDef::setSemiAxis1(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[403]); }
Ifc4x3_tc1::IfcEllipseProfileDef Ifc4x3_tc1::IfcEllipseProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2));; return *this; }
// Function implementations for IfcEnergyConversionDevice
const ifcopenshell::entity& Ifc4x3_tc1::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[404]); }
Ifc4x3_tc1::IfcEnergyConversionDevice Ifc4x3_tc1::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcEnergyConversionDeviceType
const ifcopenshell::entity& Ifc4x3_tc1::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[405]); }
Ifc4x3_tc1::IfcEnergyConversionDeviceType Ifc4x3_tc1::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcEngine
std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > Ifc4x3_tc1::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEngineTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[407]); }
Ifc4x3_tc1::IfcEngine Ifc4x3_tc1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcEngineType
::Ifc4x3_tc1::IfcEngineTypeEnum::Value Ifc4x3_tc1::IfcEngineType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEngineTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcEngineType::setPredefinedType(const ::Ifc4x3_tc1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[408]); }
Ifc4x3_tc1::IfcEngineType Ifc4x3_tc1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcEvaporativeCooler
std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_tc1::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[410]); }
Ifc4x3_tc1::IfcEvaporativeCooler Ifc4x3_tc1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcEvaporativeCoolerType
::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_tc1::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[411]); }
Ifc4x3_tc1::IfcEvaporativeCoolerType Ifc4x3_tc1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcEvaporator
std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > Ifc4x3_tc1::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[413]); }
Ifc4x3_tc1::IfcEvaporator Ifc4x3_tc1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcEvaporatorType
::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value Ifc4x3_tc1::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[414]); }
Ifc4x3_tc1::IfcEvaporatorType Ifc4x3_tc1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcEvent
std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > Ifc4x3_tc1::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEventTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > Ifc4x3_tc1::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
::Ifc4x3_tc1::IfcEventTime Ifc4x3_tc1::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcEventTime>(); }
void Ifc4x3_tc1::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_tc1::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[416]); }
Ifc4x3_tc1::IfcEvent Ifc4x3_tc1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_tc1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime));; return *this; }
// Function implementations for IfcEventTime
std::optional< std::string > Ifc4x3_tc1::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcEventTime::setActualDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcEventTime::EarlyDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcEventTime::setEarlyDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcEventTime::LateDate() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcEventTime::setLateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcEventTime::ScheduleDate() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[417]); }
Ifc4x3_tc1::IfcEventTime Ifc4x3_tc1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ActualDate) {set_attribute_value(3, (*v4_ActualDate)); } if (v5_EarlyDate) {set_attribute_value(4, (*v5_EarlyDate)); } if (v6_LateDate) {set_attribute_value(5, (*v6_LateDate)); } if (v7_ScheduleDate) {set_attribute_value(6, (*v7_ScheduleDate)); }; return *this; }
// Function implementations for IfcEventType
::Ifc4x3_tc1::IfcEventTypeEnum::Value Ifc4x3_tc1::IfcEventType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEventTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcEventType::setPredefinedType(const ::Ifc4x3_tc1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value Ifc4x3_tc1::IfcEventType::EventTriggerType() const { return ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcEventType::setEventTriggerType(const ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); }
std::optional< std::string > Ifc4x3_tc1::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[419]); }
Ifc4x3_tc1::IfcEventType Ifc4x3_tc1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); }; return *this; }
// Function implementations for IfcExtendedProperties
std::optional< std::string > Ifc4x3_tc1::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcExtendedProperties::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcExtendedProperties::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcExtendedProperties::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcExtendedProperties::Properties() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcProperty>(es); }
void Ifc4x3_tc1::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[421]); }
Ifc4x3_tc1::IfcExtendedProperties Ifc4x3_tc1::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Properties));; return *this; }
// Function implementations for IfcExternalInformation
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[422]); }
Ifc4x3_tc1::IfcExternalInformation Ifc4x3_tc1::IfcExternalInformation::initialize() { ; return *this; }
// Function implementations for IfcExternalReference
std::optional< std::string > Ifc4x3_tc1::IfcExternalReference::Location() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcExternalReference::setLocation(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcExternalReference::Identification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcExternalReference::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[426]); }
Ifc4x3_tc1::IfcExternalReference Ifc4x3_tc1::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; return *this; }
// Function implementations for IfcExternalReferenceRelationship
::Ifc4x3_tc1::IfcExternalReference Ifc4x3_tc1::IfcExternalReferenceRelationship::RelatingReference() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcExternalReference>(); }
void Ifc4x3_tc1::IfcExternalReferenceRelationship::setRelatingReference(const ::Ifc4x3_tc1::IfcExternalReference& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > Ifc4x3_tc1::IfcExternalReferenceRelationship::RelatedResourceObjects() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcResourceObjectSelect>(es); }
void Ifc4x3_tc1::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[427]); }
Ifc4x3_tc1::IfcExternalReferenceRelationship Ifc4x3_tc1::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedResourceObjects));; return *this; }
// Function implementations for IfcExternalSpatialElement
std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_tc1::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector<IfcRelSpaceBoundary>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[428]); }
Ifc4x3_tc1::IfcExternalSpatialElement Ifc4x3_tc1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcExternalSpatialStructureElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[430]); }
Ifc4x3_tc1::IfcExternalSpatialStructureElement Ifc4x3_tc1::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }; return *this; }
// Function implementations for IfcExternallyDefinedHatchStyle
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[423]); }
Ifc4x3_tc1::IfcExternallyDefinedHatchStyle Ifc4x3_tc1::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; return *this; }
// Function implementations for IfcExternallyDefinedSurfaceStyle
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[424]); }
Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; return *this; }
// Function implementations for IfcExternallyDefinedTextFont
const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[425]); }
Ifc4x3_tc1::IfcExternallyDefinedTextFont Ifc4x3_tc1::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; return *this; }
// Function implementations for IfcExtrudedAreaSolid
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcExtrudedAreaSolid::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcExtrudedAreaSolid::setExtrudedDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[431]); }
Ifc4x3_tc1::IfcExtrudedAreaSolid Ifc4x3_tc1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));; return *this; }
// Function implementations for IfcExtrudedAreaSolidTapered
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::EndSweptArea() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[432]); }
Ifc4x3_tc1::IfcExtrudedAreaSolidTapered Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea));; return *this; }
// Function implementations for IfcFace
std::vector< ::Ifc4x3_tc1::IfcFaceBound > Ifc4x3_tc1::IfcFace::Bounds() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcFaceBound>(es); }
void Ifc4x3_tc1::IfcFace::setBounds(const std::vector< ::Ifc4x3_tc1::IfcFaceBound >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
std::vector<::Ifc4x3_tc1::IfcTextureMap> Ifc4x3_tc1::IfcFace::HasTextureMaps() const { return cast_vector<IfcTextureMap>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1193], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[433]); }
Ifc4x3_tc1::IfcFace Ifc4x3_tc1::IfcFace::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector<express::Base>(v1_Bounds));; return *this; }
// Function implementations for IfcFaceBasedSurfaceModel
std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > Ifc4x3_tc1::IfcFaceBasedSurfaceModel::FbsmFaces() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcConnectedFaceSet>(es); }
void Ifc4x3_tc1::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[434]); }
Ifc4x3_tc1::IfcFaceBasedSurfaceModel Ifc4x3_tc1::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector<express::Base>(v1_FbsmFaces));; return *this; }
// Function implementations for IfcFaceBound
::Ifc4x3_tc1::IfcLoop Ifc4x3_tc1::IfcFaceBound::Bound() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcLoop>(); }
void Ifc4x3_tc1::IfcFaceBound::setBound(const ::Ifc4x3_tc1::IfcLoop& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
bool Ifc4x3_tc1::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[435]); }
Ifc4x3_tc1::IfcFaceBound Ifc4x3_tc1::IfcFaceBound::initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation));; return *this; }
// Function implementations for IfcFaceOuterBound
const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[436]); }
Ifc4x3_tc1::IfcFaceOuterBound Ifc4x3_tc1::IfcFaceOuterBound::initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation));; return *this; }
// Function implementations for IfcFaceSurface
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcFaceSurface::FaceSurface() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcFaceSurface::setFaceSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
bool Ifc4x3_tc1::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[437]); }
Ifc4x3_tc1::IfcFaceSurface Ifc4x3_tc1::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector<express::Base>(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense));; return *this; }
// Function implementations for IfcFacetedBrep
const ifcopenshell::entity& Ifc4x3_tc1::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[438]); }
Ifc4x3_tc1::IfcFacetedBrep Ifc4x3_tc1::IfcFacetedBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer));; return *this; }
// Function implementations for IfcFacetedBrepWithVoids
std::vector< ::Ifc4x3_tc1::IfcClosedShell > Ifc4x3_tc1::IfcFacetedBrepWithVoids::Voids() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcClosedShell>(es); }
void Ifc4x3_tc1::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[439]); }
Ifc4x3_tc1::IfcFacetedBrepWithVoids Ifc4x3_tc1::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector<express::Base>(v2_Voids));; return *this; }
// Function implementations for IfcFacility
const ifcopenshell::entity& Ifc4x3_tc1::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[440]); }
Ifc4x3_tc1::IfcFacility Ifc4x3_tc1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }; return *this; }
// Function implementations for IfcFacilityPart
::Ifc4x3_tc1::IfcFacilityUsageEnum::Value Ifc4x3_tc1::IfcFacilityPart::UsageType() const { return ::Ifc4x3_tc1::IfcFacilityUsageEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFacilityPart::setUsageType(const ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[441]); }
Ifc4x3_tc1::IfcFacilityPart Ifc4x3_tc1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType)));; return *this; }
// Function implementations for IfcFacilityPartCommon
std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3_tc1::IfcFacilityPartCommon::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFacilityPartCommon::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[442]); }
Ifc4x3_tc1::IfcFacilityPartCommon Ifc4x3_tc1::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcFailureConnectionCondition
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setTensionFailureX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::TensionFailureY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setTensionFailureY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::TensionFailureZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setTensionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::CompressionFailureX() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setCompressionFailureX(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::CompressionFailureY() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setCompressionFailureY(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::CompressionFailureZ() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[445]); }
Ifc4x3_tc1::IfcFailureConnectionCondition Ifc4x3_tc1::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_TensionFailureX) {set_attribute_value(1, (*v2_TensionFailureX)); } if (v3_TensionFailureY) {set_attribute_value(2, (*v3_TensionFailureY)); } if (v4_TensionFailureZ) {set_attribute_value(3, (*v4_TensionFailureZ)); } if (v5_CompressionFailureX) {set_attribute_value(4, (*v5_CompressionFailureX)); } if (v6_CompressionFailureY) {set_attribute_value(5, (*v6_CompressionFailureY)); } if (v7_CompressionFailureZ) {set_attribute_value(6, (*v7_CompressionFailureZ)); }; return *this; }
// Function implementations for IfcFan
std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > Ifc4x3_tc1::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFanTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[446]); }
Ifc4x3_tc1::IfcFan Ifc4x3_tc1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFanType
::Ifc4x3_tc1::IfcFanTypeEnum::Value Ifc4x3_tc1::IfcFanType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFanTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFanType::setPredefinedType(const ::Ifc4x3_tc1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[447]); }
Ifc4x3_tc1::IfcFanType Ifc4x3_tc1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFastener
std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > Ifc4x3_tc1::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[449]); }
Ifc4x3_tc1::IfcFastener Ifc4x3_tc1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFastenerType
::Ifc4x3_tc1::IfcFastenerTypeEnum::Value Ifc4x3_tc1::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[450]); }
Ifc4x3_tc1::IfcFastenerType Ifc4x3_tc1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFeatureElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[452]); }
Ifc4x3_tc1::IfcFeatureElement Ifc4x3_tc1::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFeatureElementAddition
std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector<IfcRelProjectsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[939], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[453]); }
Ifc4x3_tc1::IfcFeatureElementAddition Ifc4x3_tc1::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFeatureElementSubtraction
std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector<IfcRelVoidsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[946], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[454]); }
Ifc4x3_tc1::IfcFeatureElementSubtraction Ifc4x3_tc1::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFillAreaStyle
std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect > Ifc4x3_tc1::IfcFillAreaStyle::FillStyles() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcFillStyleSelect>(es); }
void Ifc4x3_tc1::IfcFillAreaStyle::setFillStyles(const std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::optional< bool > Ifc4x3_tc1::IfcFillAreaStyle::ModelOrDraughting() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[455]); }
Ifc4x3_tc1::IfcFillAreaStyle Ifc4x3_tc1::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector<express::Base>(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); }; return *this; }
// Function implementations for IfcFillAreaStyleHatching
::Ifc4x3_tc1::IfcCurveStyle Ifc4x3_tc1::IfcFillAreaStyleHatching::HatchLineAppearance() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurveStyle>(); }
void Ifc4x3_tc1::IfcFillAreaStyleHatching::setHatchLineAppearance(const ::Ifc4x3_tc1::IfcCurveStyle& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcHatchLineDistanceSelect Ifc4x3_tc1::IfcFillAreaStyleHatching::StartOfNextHatchLine() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcHatchLineDistanceSelect>(); }
void Ifc4x3_tc1::IfcFillAreaStyleHatching::setStartOfNextHatchLine(const ::Ifc4x3_tc1::IfcHatchLineDistanceSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcFillAreaStyleHatching::PointOfReferenceHatchLine() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcCartesianPoint{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcFillAreaStyleHatching::setPointOfReferenceHatchLine(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcFillAreaStyleHatching::PatternStart() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcCartesianPoint{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcFillAreaStyleHatching::setPatternStart(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[456]); }
Ifc4x3_tc1::IfcFillAreaStyleHatching Ifc4x3_tc1::IfcFillAreaStyleHatching::initialize(::Ifc4x3_tc1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_tc1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle));; return *this; }
// Function implementations for IfcFillAreaStyleTiles
std::vector< ::Ifc4x3_tc1::IfcVector > Ifc4x3_tc1::IfcFillAreaStyleTiles::TilingPattern() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcVector>(es); }
void Ifc4x3_tc1::IfcFillAreaStyleTiles::setTilingPattern(const std::vector< ::Ifc4x3_tc1::IfcVector >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcStyledItem > Ifc4x3_tc1::IfcFillAreaStyleTiles::Tiles() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcStyledItem>(es); }
void Ifc4x3_tc1::IfcFillAreaStyleTiles::setTiles(const std::vector< ::Ifc4x3_tc1::IfcStyledItem >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[457]); }
Ifc4x3_tc1::IfcFillAreaStyleTiles Ifc4x3_tc1::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_tc1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_tc1::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector<express::Base>(v1_TilingPattern));set_attribute_value(1, cast_vector<express::Base>(v2_Tiles));set_attribute_value(2, (v3_TilingScale));; return *this; }
// Function implementations for IfcFilter
std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > Ifc4x3_tc1::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFilterTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[459]); }
Ifc4x3_tc1::IfcFilter Ifc4x3_tc1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFilterType
::Ifc4x3_tc1::IfcFilterTypeEnum::Value Ifc4x3_tc1::IfcFilterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFilterTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFilterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[460]); }
Ifc4x3_tc1::IfcFilterType Ifc4x3_tc1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFireSuppressionTerminal
std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_tc1::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[462]); }
Ifc4x3_tc1::IfcFireSuppressionTerminal Ifc4x3_tc1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFireSuppressionTerminalType
::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_tc1::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[463]); }
Ifc4x3_tc1::IfcFireSuppressionTerminalType Ifc4x3_tc1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFixedReferenceSweptAreaSolid
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[465]); }
Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference));; return *this; }
// Function implementations for IfcFlowController
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[466]); }
Ifc4x3_tc1::IfcFlowController Ifc4x3_tc1::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowControllerType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[467]); }
Ifc4x3_tc1::IfcFlowControllerType Ifc4x3_tc1::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowFitting
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[469]); }
Ifc4x3_tc1::IfcFlowFitting Ifc4x3_tc1::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowFittingType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[470]); }
Ifc4x3_tc1::IfcFlowFittingType Ifc4x3_tc1::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowInstrument
std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_tc1::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[471]); }
Ifc4x3_tc1::IfcFlowInstrument Ifc4x3_tc1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFlowInstrumentType
::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_tc1::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[472]); }
Ifc4x3_tc1::IfcFlowInstrumentType Ifc4x3_tc1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFlowMeter
std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > Ifc4x3_tc1::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[474]); }
Ifc4x3_tc1::IfcFlowMeter Ifc4x3_tc1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFlowMeterType
::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value Ifc4x3_tc1::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[475]); }
Ifc4x3_tc1::IfcFlowMeterType Ifc4x3_tc1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFlowMovingDevice
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[477]); }
Ifc4x3_tc1::IfcFlowMovingDevice Ifc4x3_tc1::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowMovingDeviceType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[478]); }
Ifc4x3_tc1::IfcFlowMovingDeviceType Ifc4x3_tc1::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowSegment
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[479]); }
Ifc4x3_tc1::IfcFlowSegment Ifc4x3_tc1::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowSegmentType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[480]); }
Ifc4x3_tc1::IfcFlowSegmentType Ifc4x3_tc1::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowStorageDevice
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[481]); }
Ifc4x3_tc1::IfcFlowStorageDevice Ifc4x3_tc1::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowStorageDeviceType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[482]); }
Ifc4x3_tc1::IfcFlowStorageDeviceType Ifc4x3_tc1::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowTerminal
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[483]); }
Ifc4x3_tc1::IfcFlowTerminal Ifc4x3_tc1::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowTerminalType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[484]); }
Ifc4x3_tc1::IfcFlowTerminalType Ifc4x3_tc1::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFlowTreatmentDevice
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[485]); }
Ifc4x3_tc1::IfcFlowTreatmentDevice Ifc4x3_tc1::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFlowTreatmentDeviceType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[486]); }
Ifc4x3_tc1::IfcFlowTreatmentDeviceType Ifc4x3_tc1::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFooting
std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > Ifc4x3_tc1::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFootingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[490]); }
Ifc4x3_tc1::IfcFooting Ifc4x3_tc1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFootingType
::Ifc4x3_tc1::IfcFootingTypeEnum::Value Ifc4x3_tc1::IfcFootingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFootingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFootingType::setPredefinedType(const ::Ifc4x3_tc1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[491]); }
Ifc4x3_tc1::IfcFootingType Ifc4x3_tc1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcFurnishingElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[495]); }
Ifc4x3_tc1::IfcFurnishingElement Ifc4x3_tc1::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcFurnishingElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[496]); }
Ifc4x3_tc1::IfcFurnishingElementType Ifc4x3_tc1::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcFurniture
std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > Ifc4x3_tc1::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[497]); }
Ifc4x3_tc1::IfcFurniture Ifc4x3_tc1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcFurnitureType
::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value Ifc4x3_tc1::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > Ifc4x3_tc1::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[498]); }
Ifc4x3_tc1::IfcFurnitureType Ifc4x3_tc1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcGeographicElement
std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > Ifc4x3_tc1::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[500]); }
Ifc4x3_tc1::IfcGeographicElement Ifc4x3_tc1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcGeographicElementType
::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value Ifc4x3_tc1::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[501]); }
Ifc4x3_tc1::IfcGeographicElementType Ifc4x3_tc1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcGeometricCurveSet
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[503]); }
Ifc4x3_tc1::IfcGeometricCurveSet Ifc4x3_tc1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector<express::Base>(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); }
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>(); }
void Ifc4x3_tc1::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
std::vector<::Ifc4x3_tc1::IfcGeometricRepresentationSubContext> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector<IfcGeometricRepresentationSubContext>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[507], 6)); }
std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector<IfcCoordinateOperation>(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; }
// Function implementations for IfcGeometricRepresentationItem
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[506]); }
Ifc4x3_tc1::IfcGeometricRepresentationItem Ifc4x3_tc1::IfcGeometricRepresentationItem::initialize() { ; return *this; }
// Function implementations for IfcGeometricRepresentationSubContext
::Ifc4x3_tc1::IfcGeometricRepresentationContext Ifc4x3_tc1::IfcGeometricRepresentationSubContext::ParentContext() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcGeometricRepresentationContext>(); }
void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc4x3_tc1::IfcGeometricRepresentationContext& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value Ifc4x3_tc1::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_tc1::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
std::optional< std::string > Ifc4x3_tc1::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[507]); }
Ifc4x3_tc1::IfcGeometricRepresentationSubContext Ifc4x3_tc1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_tc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); }; return *this; }
// Function implementations for IfcGeometricSet
std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > Ifc4x3_tc1::IfcGeometricSet::Elements() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcGeometricSetSelect>(es); }
void Ifc4x3_tc1::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[508]); }
Ifc4x3_tc1::IfcGeometricSet Ifc4x3_tc1::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector<express::Base>(v1_Elements));; return *this; }
// Function implementations for IfcGeomodel
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[510]); }
Ifc4x3_tc1::IfcGeomodel Ifc4x3_tc1::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcGeoslice
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[511]); }
Ifc4x3_tc1::IfcGeoslice Ifc4x3_tc1::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcGeotechnicalAssembly
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[512]); }
Ifc4x3_tc1::IfcGeotechnicalAssembly Ifc4x3_tc1::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcGeotechnicalElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[513]); }
Ifc4x3_tc1::IfcGeotechnicalElement Ifc4x3_tc1::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcGeotechnicalStratum
std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3_tc1::IfcGeotechnicalStratum::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[514]); }
Ifc4x3_tc1::IfcGeotechnicalStratum Ifc4x3_tc1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcGradientCurve
::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcGradientCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); }
void Ifc4x3_tc1::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcPlacement Ifc4x3_tc1::IfcGradientCurve::EndPoint() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcPlacement{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcPlacement>(); }
void Ifc4x3_tc1::IfcGradientCurve::setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[518]); }
Ifc4x3_tc1::IfcGradientCurve Ifc4x3_tc1::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint));; return *this; }
// Function implementations for IfcGrid
std::vector< ::Ifc4x3_tc1::IfcGridAxis > Ifc4x3_tc1::IfcGrid::UAxes() const { std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); }
void Ifc4x3_tc1::IfcGrid::setUAxes(const std::vector< ::Ifc4x3_tc1::IfcGridAxis >& v) { set_attribute_value(7, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(7); }
std::vector< ::Ifc4x3_tc1::IfcGridAxis > Ifc4x3_tc1::IfcGrid::VAxes() const { std::vector<express::Base> es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); }
void Ifc4x3_tc1::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_tc1::IfcGridAxis >& v) { set_attribute_value(8, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(8); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > Ifc4x3_tc1::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); }
void Ifc4x3_tc1::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector<express::Base>(*v));} else {unset_attribute_value(9);} }
std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > Ifc4x3_tc1::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGridTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[519]); }
Ifc4x3_tc1::IfcGrid Ifc4x3_tc1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector<express::Base>(v8_UAxes));set_attribute_value(8, cast_vector<express::Base>(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector<express::Base>(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcGridAxis
std::optional< std::string > Ifc4x3_tc1::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcGridAxis::setAxisTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcGridAxis::AxisCurve() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcGridAxis::setAxisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
bool Ifc4x3_tc1::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfW() const { return cast_vector<IfcGrid>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 9)); }
std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfV() const { return cast_vector<IfcGrid>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 8)); }
std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfU() const { return cast_vector<IfcGrid>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 7)); }
std::vector<::Ifc4x3_tc1::IfcVirtualGridIntersection> Ifc4x3_tc1::IfcGridAxis::HasIntersections() const { return cast_vector<IfcVirtualGridIntersection>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1274], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[520]); }
Ifc4x3_tc1::IfcGridAxis Ifc4x3_tc1::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_tc1::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense));; return *this; }
// Function implementations for IfcGridPlacement
::Ifc4x3_tc1::IfcVirtualGridIntersection Ifc4x3_tc1::IfcGridPlacement::PlacementLocation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcVirtualGridIntersection>(); }
void Ifc4x3_tc1::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_tc1::IfcVirtualGridIntersection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcGridPlacementDirectionSelect Ifc4x3_tc1::IfcGridPlacement::PlacementRefDirection() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcGridPlacementDirectionSelect>(); }
void Ifc4x3_tc1::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[521]); }
Ifc4x3_tc1::IfcGridPlacement Ifc4x3_tc1::IfcGridPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection));; return *this; }
// Function implementations for IfcGroup
std::vector<::Ifc4x3_tc1::IfcRelAssignsToGroup> Ifc4x3_tc1::IfcGroup::IsGroupedBy() const { return cast_vector<IfcRelAssignsToGroup>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[901], 6)); }
std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcGroup::ReferencedInStructures() const { return cast_vector<IfcRelReferencedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[524]); }
Ifc4x3_tc1::IfcGroup Ifc4x3_tc1::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; return *this; }
// Function implementations for IfcHalfSpaceSolid
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcHalfSpaceSolid::BaseSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcHalfSpaceSolid::setBaseSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
bool Ifc4x3_tc1::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[525]); }
Ifc4x3_tc1::IfcHalfSpaceSolid Ifc4x3_tc1::IfcHalfSpaceSolid::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));; return *this; }
// Function implementations for IfcHeatExchanger
std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > Ifc4x3_tc1::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[527]); }
Ifc4x3_tc1::IfcHeatExchanger Ifc4x3_tc1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcHeatExchangerType
::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_tc1::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[528]); }
Ifc4x3_tc1::IfcHeatExchangerType Ifc4x3_tc1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcHumidifier
std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > Ifc4x3_tc1::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[532]); }
Ifc4x3_tc1::IfcHumidifier Ifc4x3_tc1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcHumidifierType
::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value Ifc4x3_tc1::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_tc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[533]); }
Ifc4x3_tc1::IfcHumidifierType Ifc4x3_tc1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcIShapeProfileDef
double Ifc4x3_tc1::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setOverallWidth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcIShapeProfileDef::OverallDepth() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setOverallDepth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcIShapeProfileDef::WebThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setWebThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcIShapeProfileDef::FlangeThickness() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setFlangeThickness(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcIShapeProfileDef::FilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcIShapeProfileDef::FlangeEdgeRadius() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setFlangeEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcIShapeProfileDef::FlangeSlope() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[562]); }
Ifc4x3_tc1::IfcIShapeProfileDef Ifc4x3_tc1::IfcIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_OverallWidth));set_attribute_value(4, (v5_OverallDepth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); }; return *this; }
// Function implementations for IfcImageTexture
std::string Ifc4x3_tc1::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[537]); }
Ifc4x3_tc1::IfcImageTexture Ifc4x3_tc1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, (v4_TextureTransform)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference));; return *this; }
// Function implementations for IfcImpactProtectionDevice
std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3_tc1::IfcImpactProtectionDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[538]); }
Ifc4x3_tc1::IfcImpactProtectionDevice Ifc4x3_tc1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcImpactProtectionDeviceType
::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_tc1::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[539]); }
Ifc4x3_tc1::IfcImpactProtectionDeviceType Ifc4x3_tc1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcIndexedColourMap
::Ifc4x3_tc1::IfcTessellatedFaceSet Ifc4x3_tc1::IfcIndexedColourMap::MappedTo() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcTessellatedFaceSet>(); }
void Ifc4x3_tc1::IfcIndexedColourMap::setMappedTo(const ::Ifc4x3_tc1::IfcTessellatedFaceSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< double > Ifc4x3_tc1::IfcIndexedColourMap::Opacity() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
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); }
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; }
// Function implementations for IfcIndexedPolyCurve
::Ifc4x3_tc1::IfcCartesianPointList Ifc4x3_tc1::IfcIndexedPolyCurve::Points() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPointList>(); }
void Ifc4x3_tc1::IfcIndexedPolyCurve::setPoints(const ::Ifc4x3_tc1::IfcCartesianPointList& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcSegmentIndexSelect > > Ifc4x3_tc1::IfcIndexedPolyCurve::Segments() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcSegmentIndexSelect>(es); }
void Ifc4x3_tc1::IfcIndexedPolyCurve::setSegments(const std::optional< std::vector< ::Ifc4x3_tc1::IfcSegmentIndexSelect > >& v) { if (v) {set_attribute_value(1, cast_vector<express::Base>(*v));} else {unset_attribute_value(1);} }
std::optional< bool > Ifc4x3_tc1::IfcIndexedPolyCurve::SelfIntersect() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[542]); }
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<express::Base>(*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<::Ifc4x3_tc1::IfcPolygonalFaceSet> Ifc4x3_tc1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector<IfcPolygonalFaceSet>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[768], 2)); }
std::vector<::Ifc4x3_tc1::IfcTextureCoordinateIndices> Ifc4x3_tc1::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector<IfcTextureCoordinateIndices>(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; }
// 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); }
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; }
// Function implementations for IfcIndexedPolygonalTextureMap
std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::TexCoordIndices() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcTextureCoordinateIndices>(es); }
void Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::setTexCoordIndices(const std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[545]); }
Ifc4x3_tc1::IfcIndexedPolygonalTextureMap Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > v4_TexCoordIndices) { set_attribute_value(0, cast_vector<express::Base>(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords));set_attribute_value(3, cast_vector<express::Base>(v4_TexCoordIndices));; return *this; }
// Function implementations for IfcIndexedTextureMap
::Ifc4x3_tc1::IfcTessellatedFaceSet Ifc4x3_tc1::IfcIndexedTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcTessellatedFaceSet>(); }
void Ifc4x3_tc1::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_tc1::IfcTessellatedFaceSet& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcTextureVertexList Ifc4x3_tc1::IfcIndexedTextureMap::TexCoords() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcTextureVertexList>(); }
void Ifc4x3_tc1::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_tc1::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[546]); }
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<express::Base>(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);} }
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<express::Base>(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)); }
void Ifc4x3_tc1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[551]); }
Ifc4x3_tc1::IfcInterceptor Ifc4x3_tc1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcInterceptorType
::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value Ifc4x3_tc1::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[552]); }
Ifc4x3_tc1::IfcInterceptorType Ifc4x3_tc1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcIntersectionCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[556]); }
Ifc4x3_tc1::IfcIntersectionCurve Ifc4x3_tc1::IfcIntersectionCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector<express::Base>(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; return *this; }
// Function implementations for IfcInventory
std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > Ifc4x3_tc1::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcInventory::setJurisdiction(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > Ifc4x3_tc1::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcPerson>(es); }
void Ifc4x3_tc1::IfcInventory::setResponsiblePersons(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcInventory::LastUpdateDate() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcInventory::setLastUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcInventory::CurrentValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcInventory::setCurrentValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcCostValue Ifc4x3_tc1::IfcInventory::OriginalValue() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcCostValue{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcCostValue>(); }
void Ifc4x3_tc1::IfcInventory::setOriginalValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[557]); }
Ifc4x3_tc1::IfcInventory Ifc4x3_tc1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_tc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_tc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_PredefinedType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector<express::Base>(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue));; return *this; }
// Function implementations for IfcIrregularTimeSeries
std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > Ifc4x3_tc1::IfcIrregularTimeSeries::Values() const { std::vector<express::Base> es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcIrregularTimeSeriesValue>(es); }
void Ifc4x3_tc1::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[560]); }
Ifc4x3_tc1::IfcIrregularTimeSeries Ifc4x3_tc1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > v9_Values) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector<express::Base>(v9_Values));; return *this; }
// Function implementations for IfcIrregularTimeSeriesValue
std::string Ifc4x3_tc1::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcIrregularTimeSeriesValue::setTimeStamp(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcValue > Ifc4x3_tc1::IfcIrregularTimeSeriesValue::ListValues() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[561]); }
Ifc4x3_tc1::IfcIrregularTimeSeriesValue Ifc4x3_tc1::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_tc1::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector<express::Base>(v2_ListValues));; return *this; }
// Function implementations for IfcJunctionBox
std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > Ifc4x3_tc1::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[564]); }
Ifc4x3_tc1::IfcJunctionBox Ifc4x3_tc1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcJunctionBoxType
::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_tc1::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[565]); }
Ifc4x3_tc1::IfcJunctionBoxType Ifc4x3_tc1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcKerb
std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > Ifc4x3_tc1::IfcKerb::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcKerbTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[567]); }
Ifc4x3_tc1::IfcKerb Ifc4x3_tc1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcKerbType
::Ifc4x3_tc1::IfcKerbTypeEnum::Value Ifc4x3_tc1::IfcKerbType::PredefinedType() const { return ::Ifc4x3_tc1::IfcKerbTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcKerbType::setPredefinedType(const ::Ifc4x3_tc1::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[568]); }
Ifc4x3_tc1::IfcKerbType Ifc4x3_tc1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcLShapeProfileDef
double Ifc4x3_tc1::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< double > Ifc4x3_tc1::IfcLShapeProfileDef::Width() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setWidth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
double Ifc4x3_tc1::IfcLShapeProfileDef::Thickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
std::optional< double > Ifc4x3_tc1::IfcLShapeProfileDef::FilletRadius() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcLShapeProfileDef::EdgeRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcLShapeProfileDef::LegSlope() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[618]); }
Ifc4x3_tc1::IfcLShapeProfileDef Ifc4x3_tc1::IfcLShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Depth)); if (v5_Width) {set_attribute_value(4, (*v5_Width)); }set_attribute_value(5, (v6_Thickness)); if (v7_FilletRadius) {set_attribute_value(6, (*v7_FilletRadius)); } if (v8_EdgeRadius) {set_attribute_value(7, (*v8_EdgeRadius)); } if (v9_LegSlope) {set_attribute_value(8, (*v9_LegSlope)); }; return *this; }
// Function implementations for IfcLaborResource
std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > Ifc4x3_tc1::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[573]); }
Ifc4x3_tc1::IfcLaborResource Ifc4x3_tc1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcLaborResourceType
::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value Ifc4x3_tc1::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[574]); }
Ifc4x3_tc1::IfcLaborResourceType Ifc4x3_tc1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcLagTime
::Ifc4x3_tc1::IfcTimeOrRatioSelect Ifc4x3_tc1::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcTimeOrRatioSelect>(); }
void Ifc4x3_tc1::IfcLagTime::setLagValue(const ::Ifc4x3_tc1::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcTaskDurationEnum::Value Ifc4x3_tc1::IfcLagTime::DurationType() const { return ::Ifc4x3_tc1::IfcTaskDurationEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcLagTime::setDurationType(const ::Ifc4x3_tc1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[576]); }
Ifc4x3_tc1::IfcLagTime Ifc4x3_tc1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_tc1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType)));; return *this; }
// Function implementations for IfcLamp
std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > Ifc4x3_tc1::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLampTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[577]); }
Ifc4x3_tc1::IfcLamp Ifc4x3_tc1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcLampType
::Ifc4x3_tc1::IfcLampTypeEnum::Value Ifc4x3_tc1::IfcLampType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLampTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcLampType::setPredefinedType(const ::Ifc4x3_tc1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[578]); }
Ifc4x3_tc1::IfcLampType Ifc4x3_tc1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcLibraryInformation
std::string Ifc4x3_tc1::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcLibraryInformation::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcLibraryInformation::Version() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcLibraryInformation::setVersion(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcLibraryInformation::Publisher() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcActorSelect>(); }
void Ifc4x3_tc1::IfcLibraryInformation::setPublisher(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::optional< std::string > Ifc4x3_tc1::IfcLibraryInformation::VersionDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcLibraryInformation::setVersionDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcLibraryInformation::Location() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcLibraryInformation::setLocation(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector<IfcRelAssociatesLibrary>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[911], 5)); }
std::vector<::Ifc4x3_tc1::IfcLibraryReference> Ifc4x3_tc1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector<IfcLibraryReference>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[585], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[584]); }
Ifc4x3_tc1::IfcLibraryInformation Ifc4x3_tc1::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_tc1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); if (v4_VersionDate) {set_attribute_value(3, (*v4_VersionDate)); } if (v5_Location) {set_attribute_value(4, (*v5_Location)); } if (v6_Description) {set_attribute_value(5, (*v6_Description)); }; return *this; }
// Function implementations for IfcLibraryReference
std::optional< std::string > Ifc4x3_tc1::IfcLibraryReference::Description() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcLibraryReference::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcLibraryReference::Language() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcLibraryReference::setLanguage(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
::Ifc4x3_tc1::IfcLibraryInformation Ifc4x3_tc1::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcLibraryInformation>(); }
void Ifc4x3_tc1::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_tc1::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector<IfcRelAssociatesLibrary>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[911], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[585]); }
Ifc4x3_tc1::IfcLibraryReference Ifc4x3_tc1::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_tc1::IfcLibraryInformation v6_ReferencedLibrary) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_Identification) {set_attribute_value(1, (*v2_Identification)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_Language) {set_attribute_value(4, (*v5_Language)); }set_attribute_value(5, (v6_ReferencedLibrary));; return *this; }
// Function implementations for IfcLightDistributionData
double Ifc4x3_tc1::IfcLightDistributionData::MainPlaneAngle() const { double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcLightDistributionData::setMainPlaneAngle(const double& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< double > /*[1:?]*/ Ifc4x3_tc1::IfcLightDistributionData::SecondaryPlaneAngle() const { std::vector< double > /*[1:?]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcLightDistributionData::setSecondaryPlaneAngle(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::vector< double > /*[1:?]*/ Ifc4x3_tc1::IfcLightDistributionData::LuminousIntensity() const { std::vector< double > /*[1:?]*/ v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[588]); }
Ifc4x3_tc1::IfcLightDistributionData Ifc4x3_tc1::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity));; return *this; }
// Function implementations for IfcLightFixture
std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > Ifc4x3_tc1::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[591]); }
Ifc4x3_tc1::IfcLightFixture Ifc4x3_tc1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcLightFixtureType
::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value Ifc4x3_tc1::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[592]); }
Ifc4x3_tc1::IfcLightFixtureType Ifc4x3_tc1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcLightIntensityDistribution
::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value Ifc4x3_tc1::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > Ifc4x3_tc1::IfcLightIntensityDistribution::DistributionData() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcLightDistributionData>(es); }
void Ifc4x3_tc1::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_tc1::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[594]); }
Ifc4x3_tc1::IfcLightIntensityDistribution Ifc4x3_tc1::IfcLightIntensityDistribution::initialize(::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector<express::Base>(v2_DistributionData));; return *this; }
// Function implementations for IfcLightSource
std::optional< std::string > Ifc4x3_tc1::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcLightSource::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcLightSource::LightColour() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcLightSource::setLightColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcLightSource::AmbientIntensity() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcLightSource::setAmbientIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcLightSource::Intensity() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[595]); }
Ifc4x3_tc1::IfcLightSource Ifc4x3_tc1::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }; return *this; }
// Function implementations for IfcLightSourceAmbient
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[596]); }
Ifc4x3_tc1::IfcLightSourceAmbient Ifc4x3_tc1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }; return *this; }
// Function implementations for IfcLightSourceDirectional
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcLightSourceDirectional::Orientation() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[597]); }
Ifc4x3_tc1::IfcLightSourceDirectional Ifc4x3_tc1::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation));; return *this; }
// Function implementations for IfcLightSourceGoniometric
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcLightSourceGoniometric::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcLightSourceGoniometric::ColourAppearance() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcColourRgb{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setColourAppearance(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcLightSourceGoniometric::ColourTemperature() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setColourTemperature(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
double Ifc4x3_tc1::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value Ifc4x3_tc1::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect Ifc4x3_tc1::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect>(); }
void Ifc4x3_tc1::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[598]); }
Ifc4x3_tc1::IfcLightSourceGoniometric Ifc4x3_tc1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_tc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource));; return *this; }
// Function implementations for IfcLightSourcePositional
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcLightSourcePositional::setPosition(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcLightSourcePositional::Radius() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcLightSourcePositional::setRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcLightSourcePositional::ConstantAttenuation() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcLightSourcePositional::setConstantAttenuation(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
double Ifc4x3_tc1::IfcLightSourcePositional::DistanceAttenuation() const { double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcLightSourcePositional::setDistanceAttenuation(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
double Ifc4x3_tc1::IfcLightSourcePositional::QuadricAttenuation() const { double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[599]); }
Ifc4x3_tc1::IfcLightSourcePositional Ifc4x3_tc1::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation));; return *this; }
// Function implementations for IfcLightSourceSpot
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcLightSourceSpot::Orientation() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcLightSourceSpot::setOrientation(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
std::optional< double > Ifc4x3_tc1::IfcLightSourceSpot::ConcentrationExponent() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcLightSourceSpot::setConcentrationExponent(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
double Ifc4x3_tc1::IfcLightSourceSpot::SpreadAngle() const { double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcLightSourceSpot::setSpreadAngle(const double& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); }
double Ifc4x3_tc1::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[600]); }
Ifc4x3_tc1::IfcLightSourceSpot Ifc4x3_tc1::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_tc1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation));set_attribute_value(9, (v10_Orientation)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle));; return *this; }
// Function implementations for IfcLine
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcLine::Pnt() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcLine::setPnt(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcVector Ifc4x3_tc1::IfcLine::Dir() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcVector>(); }
void Ifc4x3_tc1::IfcLine::setDir(const ::Ifc4x3_tc1::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[601]); }
Ifc4x3_tc1::IfcLine Ifc4x3_tc1::IfcLine::initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_tc1::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir));; return *this; }
// Function implementations for IfcLinearElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[602]); }
Ifc4x3_tc1::IfcLinearElement Ifc4x3_tc1::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcLinearPlacement
::Ifc4x3_tc1::IfcAxis2PlacementLinear Ifc4x3_tc1::IfcLinearPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2PlacementLinear>(); }
void Ifc4x3_tc1::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_tc1::IfcAxis2PlacementLinear& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcLinearPlacement::CartesianPosition() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[605]); }
Ifc4x3_tc1::IfcLinearPlacement Ifc4x3_tc1::IfcLinearPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition));; return *this; }
// Function implementations for IfcLinearPositioningElement
const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[606]); }
Ifc4x3_tc1::IfcLinearPositioningElement Ifc4x3_tc1::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcLiquidTerminal
std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_tc1::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[610]); }
Ifc4x3_tc1::IfcLiquidTerminal Ifc4x3_tc1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcLiquidTerminalType
::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_tc1::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[611]); }
Ifc4x3_tc1::IfcLiquidTerminalType Ifc4x3_tc1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcLocalPlacement
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[614]); }
Ifc4x3_tc1::IfcLocalPlacement Ifc4x3_tc1::IfcLocalPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));; return *this; }
// Function implementations for IfcLoop
const ifcopenshell::entity& Ifc4x3_tc1::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[617]); }
Ifc4x3_tc1::IfcLoop Ifc4x3_tc1::IfcLoop::initialize() { ; return *this; }
// Function implementations for IfcManifoldSolidBrep
::Ifc4x3_tc1::IfcClosedShell Ifc4x3_tc1::IfcManifoldSolidBrep::Outer() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcClosedShell>(); }
void Ifc4x3_tc1::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_tc1::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[624]); }
Ifc4x3_tc1::IfcManifoldSolidBrep Ifc4x3_tc1::IfcManifoldSolidBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer));; return *this; }
// Function implementations for IfcMapConversion
double Ifc4x3_tc1::IfcMapConversion::Eastings() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcMapConversion::setEastings(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcMapConversion::Northings() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcMapConversion::setNorthings(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcMapConversion::OrthogonalHeight() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcMapConversion::setOrthogonalHeight(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< double > Ifc4x3_tc1::IfcMapConversion::XAxisAbscissa() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcMapConversion::setXAxisAbscissa(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcMapConversion::XAxisOrdinate() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcMapConversion::setXAxisOrdinate(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcMapConversion::Scale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcMapConversion::ScaleY() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcMapConversion::setScaleY(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcMapConversion::ScaleZ() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcMapConversion::setScaleZ(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[625]); }
Ifc4x3_tc1::IfcMapConversion Ifc4x3_tc1::IfcMapConversion::initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));set_attribute_value(2, (v3_Eastings));set_attribute_value(3, (v4_Northings));set_attribute_value(4, (v5_OrthogonalHeight)); if (v6_XAxisAbscissa) {set_attribute_value(5, (*v6_XAxisAbscissa)); } if (v7_XAxisOrdinate) {set_attribute_value(6, (*v7_XAxisOrdinate)); } if (v8_Scale) {set_attribute_value(7, (*v8_Scale)); } if (v9_ScaleY) {set_attribute_value(8, (*v9_ScaleY)); } if (v10_ScaleZ) {set_attribute_value(9, (*v10_ScaleZ)); }; return *this; }
// Function implementations for IfcMappedItem
::Ifc4x3_tc1::IfcRepresentationMap Ifc4x3_tc1::IfcMappedItem::MappingSource() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcRepresentationMap>(); }
void Ifc4x3_tc1::IfcMappedItem::setMappingSource(const ::Ifc4x3_tc1::IfcRepresentationMap& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcCartesianTransformationOperator Ifc4x3_tc1::IfcMappedItem::MappingTarget() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCartesianTransformationOperator>(); }
void Ifc4x3_tc1::IfcMappedItem::setMappingTarget(const ::Ifc4x3_tc1::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[626]); }
Ifc4x3_tc1::IfcMappedItem Ifc4x3_tc1::IfcMappedItem::initialize(::Ifc4x3_tc1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_tc1::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget));; return *this; }
// Function implementations for IfcMarineFacility
std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > Ifc4x3_tc1::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[627]); }
Ifc4x3_tc1::IfcMarineFacility Ifc4x3_tc1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcMarinePart
std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > Ifc4x3_tc1::IfcMarinePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMarinePartTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMarinePart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[629]); }
Ifc4x3_tc1::IfcMarinePart Ifc4x3_tc1::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcMaterial
std::string Ifc4x3_tc1::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcMaterial::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcMaterial::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterial::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::vector<::Ifc4x3_tc1::IfcMaterialDefinitionRepresentation> Ifc4x3_tc1::IfcMaterial::HasRepresentation() const { return cast_vector<IfcMaterialDefinitionRepresentation>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[640], 3)); }
std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::IsRelatedWith() const { return cast_vector<IfcMaterialRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[652], 3)); }
std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::RelatesTo() const { return cast_vector<IfcMaterialRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[652], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[635]); }
Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); }; return *this; }
// Function implementations for IfcMaterialClassificationRelationship
std::vector< ::Ifc4x3_tc1::IfcClassificationSelect > Ifc4x3_tc1::IfcMaterialClassificationRelationship::MaterialClassifications() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcClassificationSelect>(es); }
void Ifc4x3_tc1::IfcMaterialClassificationRelationship::setMaterialClassifications(const std::vector< ::Ifc4x3_tc1::IfcClassificationSelect >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialClassificationRelationship::ClassifiedMaterial() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcMaterial>(); }
void Ifc4x3_tc1::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[636]); }
Ifc4x3_tc1::IfcMaterialClassificationRelationship Ifc4x3_tc1::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_tc1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_tc1::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector<express::Base>(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial));; return *this; }
// Function implementations for IfcMaterialConstituent
std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituent::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcMaterialConstituent::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituent::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialConstituent::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialConstituent::Material() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcMaterial>(); }
void Ifc4x3_tc1::IfcMaterialConstituent::setMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::optional< double > Ifc4x3_tc1::IfcMaterialConstituent::Fraction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcMaterialConstituent::setFraction(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::vector<::Ifc4x3_tc1::IfcMaterialConstituentSet> Ifc4x3_tc1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector<IfcMaterialConstituentSet>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[638], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[637]); }
Ifc4x3_tc1::IfcMaterialConstituent Ifc4x3_tc1::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); }; return *this; }
// Function implementations for IfcMaterialConstituentSet
std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituentSet::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcMaterialConstituentSet::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituentSet::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialConstituentSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > Ifc4x3_tc1::IfcMaterialConstituentSet::MaterialConstituents() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcMaterialConstituent>(es); }
void Ifc4x3_tc1::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[638]); }
Ifc4x3_tc1::IfcMaterialConstituentSet Ifc4x3_tc1::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > v3_MaterialConstituents) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_MaterialConstituents) {set_attribute_value(2, cast_vector<express::Base>(*v3_MaterialConstituents)); }; return *this; }
// Function implementations for IfcMaterialDefinition
std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector<IfcRelAssociatesMaterial>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[912], 5)); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
std::vector<::Ifc4x3_tc1::IfcMaterialProperties> Ifc4x3_tc1::IfcMaterialDefinition::HasProperties() const { return cast_vector<IfcMaterialProperties>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[651], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[639]); }
Ifc4x3_tc1::IfcMaterialDefinition Ifc4x3_tc1::IfcMaterialDefinition::initialize() { ; return *this; }
// Function implementations for IfcMaterialDefinitionRepresentation
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::RepresentedMaterial() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMaterial>(); }
void Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[640]); }
Ifc4x3_tc1::IfcMaterialDefinitionRepresentation Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations, ::Ifc4x3_tc1::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial));; return *this; }
// Function implementations for IfcMaterialLayer
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialLayer::Material() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcMaterial{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcMaterial>(); }
void Ifc4x3_tc1::IfcMaterialLayer::setMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcMaterialLayer::LayerThickness() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialLayer::setLayerThickness(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< boost::logic::tribool > Ifc4x3_tc1::IfcMaterialLayer::IsVentilated() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } boost::logic::tribool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcMaterialLayer::setIsVentilated(const std::optional< boost::logic::tribool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayer::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcMaterialLayer::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayer::Description() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
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::vector<::Ifc4x3_tc1::IfcMaterialLayerSet> Ifc4x3_tc1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector<IfcMaterialLayerSet>(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; }
// Function implementations for IfcMaterialLayerSet
std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > Ifc4x3_tc1::IfcMaterialLayerSet::MaterialLayers() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcMaterialLayer>(es); }
void Ifc4x3_tc1::IfcMaterialLayerSet::setMaterialLayers(const std::vector< ::Ifc4x3_tc1::IfcMaterialLayer >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayerSet::LayerSetName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialLayerSet::setLayerSetName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayerSet::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[642]); }
Ifc4x3_tc1::IfcMaterialLayerSet Ifc4x3_tc1::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector<express::Base>(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }; return *this; }
// Function implementations for IfcMaterialLayerSetUsage
::Ifc4x3_tc1::IfcMaterialLayerSet Ifc4x3_tc1::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcMaterialLayerSet>(); }
void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_tc1::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); }
void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcDirectionSenseEnum::Value Ifc4x3_tc1::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_tc1::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< double > Ifc4x3_tc1::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[643]); }
Ifc4x3_tc1::IfcMaterialLayerSetUsage Ifc4x3_tc1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_tc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); }; return *this; }
// Function implementations for IfcMaterialLayerWithOffsets
::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
std::vector< double > /*[1:2]*/ Ifc4x3_tc1::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const 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; }
// Function implementations for IfcMaterialList
std::vector< ::Ifc4x3_tc1::IfcMaterial > Ifc4x3_tc1::IfcMaterialList::Materials() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcMaterial>(es); }
void Ifc4x3_tc1::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_tc1::IfcMaterial >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[645]); }
Ifc4x3_tc1::IfcMaterialList Ifc4x3_tc1::IfcMaterialList::initialize(std::vector< ::Ifc4x3_tc1::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector<express::Base>(v1_Materials));; return *this; }
// Function implementations for IfcMaterialProfile
std::optional< std::string > Ifc4x3_tc1::IfcMaterialProfile::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcMaterialProfile::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialProfile::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialProfile::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialProfile::Material() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcMaterial{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcMaterial>(); }
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< 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<IfcMaterialProfileSet>(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; }
// 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; }
void Ifc4x3_tc1::IfcMaterialProfileSet::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialProfileSet::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcMaterialProfileSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector< ::Ifc4x3_tc1::IfcMaterialProfile > Ifc4x3_tc1::IfcMaterialProfileSet::MaterialProfiles() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcMaterialProfile>(es); }
void Ifc4x3_tc1::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< ::Ifc4x3_tc1::IfcMaterialProfile >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcCompositeProfileDef Ifc4x3_tc1::IfcMaterialProfileSet::CompositeProfile() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcCompositeProfileDef{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCompositeProfileDef>(); }
void Ifc4x3_tc1::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_tc1::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[647]); }
Ifc4x3_tc1::IfcMaterialProfileSet Ifc4x3_tc1::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_tc1::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile));; return *this; }
// 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< 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; }
// 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);} }
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; }
// 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; }
void Ifc4x3_tc1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const 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; }
// Function implementations for IfcMaterialProperties
::Ifc4x3_tc1::IfcMaterialDefinition Ifc4x3_tc1::IfcMaterialProperties::Material() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMaterialDefinition>(); }
void Ifc4x3_tc1::IfcMaterialProperties::setMaterial(const ::Ifc4x3_tc1::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[651]); }
Ifc4x3_tc1::IfcMaterialProperties Ifc4x3_tc1::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Properties));set_attribute_value(3, (v4_Material));; return *this; }
// Function implementations for IfcMaterialRelationship
::Ifc4x3_tc1::IfcMaterial Ifc4x3_tc1::IfcMaterialRelationship::RelatingMaterial() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcMaterial>(); }
void Ifc4x3_tc1::IfcMaterialRelationship::setRelatingMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcMaterial > Ifc4x3_tc1::IfcMaterialRelationship::RelatedMaterials() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcMaterial>(es); }
void Ifc4x3_tc1::IfcMaterialRelationship::setRelatedMaterials(const std::vector< ::Ifc4x3_tc1::IfcMaterial >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcMaterialRelationship::MaterialExpression() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcMaterialRelationship::setMaterialExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[652]); }
Ifc4x3_tc1::IfcMaterialRelationship Ifc4x3_tc1::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_tc1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedMaterials)); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); }; return *this; }
// Function implementations for IfcMaterialUsageDefinition
std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector<IfcRelAssociatesMaterial>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[912], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[654]); }
Ifc4x3_tc1::IfcMaterialUsageDefinition Ifc4x3_tc1::IfcMaterialUsageDefinition::initialize() { ; return *this; }
// Function implementations for IfcMeasureWithUnit
::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcMeasureWithUnit::ValueComponent() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcValue>(); }
void Ifc4x3_tc1::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcMeasureWithUnit::UnitComponent() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[656]); }
Ifc4x3_tc1::IfcMeasureWithUnit Ifc4x3_tc1::IfcMeasureWithUnit::initialize(::Ifc4x3_tc1::IfcValue v1_ValueComponent, ::Ifc4x3_tc1::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent));; return *this; }
// Function implementations for IfcMechanicalFastener
std::optional< double > Ifc4x3_tc1::IfcMechanicalFastener::NominalDiameter() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcMechanicalFastener::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_tc1::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[657]); }
Ifc4x3_tc1::IfcMechanicalFastener Ifc4x3_tc1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NominalDiameter) {set_attribute_value(8, (*v9_NominalDiameter)); } if (v10_NominalLength) {set_attribute_value(9, (*v10_NominalLength)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcMechanicalFastenerType
::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_tc1::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< double > Ifc4x3_tc1::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[658]); }
Ifc4x3_tc1::IfcMechanicalFastenerType Ifc4x3_tc1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); }; return *this; }
// Function implementations for IfcMedicalDevice
std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_tc1::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[660]); }
Ifc4x3_tc1::IfcMedicalDevice Ifc4x3_tc1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcMedicalDeviceType
::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_tc1::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[661]); }
Ifc4x3_tc1::IfcMedicalDeviceType Ifc4x3_tc1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcMember
std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > Ifc4x3_tc1::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMemberTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[663]); }
Ifc4x3_tc1::IfcMember Ifc4x3_tc1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcMemberType
::Ifc4x3_tc1::IfcMemberTypeEnum::Value Ifc4x3_tc1::IfcMemberType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMemberTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMemberType::setPredefinedType(const ::Ifc4x3_tc1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[664]); }
Ifc4x3_tc1::IfcMemberType Ifc4x3_tc1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcMetric
::Ifc4x3_tc1::IfcBenchmarkEnum::Value Ifc4x3_tc1::IfcMetric::Benchmark() const { return ::Ifc4x3_tc1::IfcBenchmarkEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcMetric::setBenchmark(const ::Ifc4x3_tc1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
std::optional< std::string > Ifc4x3_tc1::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcMetricValueSelect Ifc4x3_tc1::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcMetricValueSelect>(); }
void Ifc4x3_tc1::IfcMetric::setDataValue(const ::Ifc4x3_tc1::IfcMetricValueSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcReference Ifc4x3_tc1::IfcMetric::ReferencePath() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcReference{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcReference>(); }
void Ifc4x3_tc1::IfcMetric::setReferencePath(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[666]); }
Ifc4x3_tc1::IfcMetric Ifc4x3_tc1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_tc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_tc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_tc1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath));; return *this; }
// Function implementations for IfcMirroredProfileDef
const ifcopenshell::entity& Ifc4x3_tc1::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[668]); }
Ifc4x3_tc1::IfcMirroredProfileDef Ifc4x3_tc1::IfcMirroredProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); }; return *this; }
// Function implementations for IfcMobileTelecommunicationsAppliance
std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[669]); }
Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcMobileTelecommunicationsApplianceType
::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[670]); }
Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcMonetaryUnit
std::string Ifc4x3_tc1::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[683]); }
Ifc4x3_tc1::IfcMonetaryUnit Ifc4x3_tc1::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency));; return *this; }
// Function implementations for IfcMooringDevice
std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > Ifc4x3_tc1::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[685]); }
Ifc4x3_tc1::IfcMooringDevice Ifc4x3_tc1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcMooringDeviceType
::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_tc1::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[686]); }
Ifc4x3_tc1::IfcMooringDeviceType Ifc4x3_tc1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcMotorConnection
std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > Ifc4x3_tc1::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[688]); }
Ifc4x3_tc1::IfcMotorConnection Ifc4x3_tc1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcMotorConnectionType
::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_tc1::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[689]); }
Ifc4x3_tc1::IfcMotorConnectionType Ifc4x3_tc1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcNamedUnit
::Ifc4x3_tc1::IfcDimensionalExponents Ifc4x3_tc1::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcDimensionalExponents>(); }
void Ifc4x3_tc1::IfcNamedUnit::setDimensions(const ::Ifc4x3_tc1::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcUnitEnum::Value Ifc4x3_tc1::IfcNamedUnit::UnitType() const { return ::Ifc4x3_tc1::IfcUnitEnum::FromString(get_attribute_value(1)); }
void Ifc4x3_tc1::IfcNamedUnit::setUnitType(const ::Ifc4x3_tc1::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[691]); }
Ifc4x3_tc1::IfcNamedUnit Ifc4x3_tc1::IfcNamedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));; return *this; }
// Function implementations for IfcNavigationElement
std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > Ifc4x3_tc1::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[692]); }
Ifc4x3_tc1::IfcNavigationElement Ifc4x3_tc1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcNavigationElementType
::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value Ifc4x3_tc1::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[693]); }
Ifc4x3_tc1::IfcNavigationElementType Ifc4x3_tc1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcObject
std::optional< std::string > Ifc4x3_tc1::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::IsDeclaredBy() const { return cast_vector<IfcRelDefinesByObject>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[930], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::Declares() const { return cast_vector<IfcRelDefinesByObject>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[930], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcObject::IsTypedBy() const { return cast_vector<IfcRelDefinesByType>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[933], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcObject::IsDefinedBy() const { return cast_vector<IfcRelDefinesByProperties>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[698]); }
Ifc4x3_tc1::IfcObject Ifc4x3_tc1::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; return *this; }
// Function implementations for IfcObjectDefinition
std::vector<::Ifc4x3_tc1::IfcRelAssigns> Ifc4x3_tc1::IfcObjectDefinition::HasAssignments() const { return cast_vector<IfcRelAssigns>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[898], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::Nests() const { return cast_vector<IfcRelNests>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[937], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::IsNestedBy() const { return cast_vector<IfcRelNests>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[937], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcObjectDefinition::HasContext() const { return cast_vector<IfcRelDeclares>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector<IfcRelAggregates>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[897], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::Decomposes() const { return cast_vector<IfcRelAggregates>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[897], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcObjectDefinition::HasAssociations() const { return cast_vector<IfcRelAssociates>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[906], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[699]); }
Ifc4x3_tc1::IfcObjectDefinition Ifc4x3_tc1::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcObjectPlacement
::Ifc4x3_tc1::IfcObjectPlacement Ifc4x3_tc1::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcObjectPlacement>(); }
void Ifc4x3_tc1::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_tc1::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcObjectPlacement::PlacesObject() const { return cast_vector<IfcProduct>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[798], 5)); }
std::vector<::Ifc4x3_tc1::IfcObjectPlacement> Ifc4x3_tc1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector<IfcObjectPlacement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[702], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[702]); }
Ifc4x3_tc1::IfcObjectPlacement Ifc4x3_tc1::IfcObjectPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo));; return *this; }
// Function implementations for IfcObjective
std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > Ifc4x3_tc1::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcConstraint>(es); }
void Ifc4x3_tc1::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > Ifc4x3_tc1::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcObjectiveEnum::Value Ifc4x3_tc1::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_tc1::IfcObjectiveEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_tc1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< std::string > Ifc4x3_tc1::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[700]); }
Ifc4x3_tc1::IfcObjective Ifc4x3_tc1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_tc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } if (v8_BenchmarkValues) {set_attribute_value(7, cast_vector<express::Base>(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); }; return *this; }
// Function implementations for IfcOccupant
std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > Ifc4x3_tc1::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[704]); }
Ifc4x3_tc1::IfcOccupant Ifc4x3_tc1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_TheActor)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); }; return *this; }
// Function implementations for IfcOffsetCurve
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[706]); }
Ifc4x3_tc1::IfcOffsetCurve Ifc4x3_tc1::IfcOffsetCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve));; return *this; }
// Function implementations for IfcOffsetCurve2D
double Ifc4x3_tc1::IfcOffsetCurve2D::Distance() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcOffsetCurve2D::setDistance(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
boost::logic::tribool Ifc4x3_tc1::IfcOffsetCurve2D::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[707]); }
Ifc4x3_tc1::IfcOffsetCurve2D Ifc4x3_tc1::IfcOffsetCurve2D::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));; return *this; }
// Function implementations for IfcOffsetCurve3D
double Ifc4x3_tc1::IfcOffsetCurve3D::Distance() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcOffsetCurve3D::setDistance(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
boost::logic::tribool Ifc4x3_tc1::IfcOffsetCurve3D::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcOffsetCurve3D::RefDirection() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[708]); }
Ifc4x3_tc1::IfcOffsetCurve3D Ifc4x3_tc1::IfcOffsetCurve3D::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_tc1::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection));; return *this; }
// Function implementations for IfcOffsetCurveByDistances
std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression > Ifc4x3_tc1::IfcOffsetCurveByDistances::OffsetValues() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcPointByDistanceExpression>(es); }
void Ifc4x3_tc1::IfcOffsetCurveByDistances::setOffsetValues(const std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcOffsetCurveByDistances::Tag() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[709]); }
Ifc4x3_tc1::IfcOffsetCurveByDistances Ifc4x3_tc1::IfcOffsetCurveByDistances::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector<express::Base>(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); }; return *this; }
// Function implementations for IfcOpenCrossProfileDef
bool Ifc4x3_tc1::IfcOpenCrossProfileDef::HorizontalWidths() const { bool v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcOpenCrossProfileDef::setHorizontalWidths(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< double > /*[1:?]*/ Ifc4x3_tc1::IfcOpenCrossProfileDef::Widths() const { std::vector< double > /*[1:?]*/ v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcOpenCrossProfileDef::setWidths(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::vector< double > /*[1:?]*/ Ifc4x3_tc1::IfcOpenCrossProfileDef::Slopes() const { std::vector< double > /*[1:?]*/ v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcOpenCrossProfileDef::setSlopes(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< std::vector< std::string > /*[2:?]*/ > Ifc4x3_tc1::IfcOpenCrossProfileDef::Tags() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector< std::string > /*[2:?]*/ v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcOpenCrossProfileDef::OffsetPoint() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcCartesianPoint{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); }
void Ifc4x3_tc1::IfcOpenCrossProfileDef::setOffsetPoint(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[710]); }
Ifc4x3_tc1::IfcOpenCrossProfileDef Ifc4x3_tc1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_tc1::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_HorizontalWidths));set_attribute_value(3, (v4_Widths));set_attribute_value(4, (v5_Slopes)); if (v6_Tags) {set_attribute_value(5, (*v6_Tags)); }set_attribute_value(6, (v7_OffsetPoint));; return *this; }
// Function implementations for IfcOpenShell
const ifcopenshell::entity& Ifc4x3_tc1::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[713]); }
Ifc4x3_tc1::IfcOpenShell Ifc4x3_tc1::IfcOpenShell::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector<express::Base>(v1_CfsFaces));; return *this; }
// Function implementations for IfcOpeningElement
std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > Ifc4x3_tc1::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcOpeningElement::HasFillings() const { return cast_vector<IfcRelFillsElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[934], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[711]); }
Ifc4x3_tc1::IfcOpeningElement Ifc4x3_tc1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcOrganization
std::optional< std::string > Ifc4x3_tc1::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcOrganization::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::string Ifc4x3_tc1::IfcOrganization::Name() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcOrganization::setName(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcOrganization::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcOrganization::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > Ifc4x3_tc1::IfcOrganization::Roles() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcActorRole>(es); }
void Ifc4x3_tc1::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > >& v) { if (v) {set_attribute_value(3, cast_vector<express::Base>(*v));} else {unset_attribute_value(3);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > Ifc4x3_tc1::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcAddress>(es); }
void Ifc4x3_tc1::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector<express::Base>(*v));} else {unset_attribute_value(4);} }
std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::IsRelatedBy() const { return cast_vector<IfcOrganizationRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[715], 3)); }
std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::Relates() const { return cast_vector<IfcOrganizationRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[715], 2)); }
std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcOrganization::Engages() const { return cast_vector<IfcPersonAndOrganization>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[736], 1)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[714]); }
Ifc4x3_tc1::IfcOrganization Ifc4x3_tc1::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v5_Addresses) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); }set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Roles) {set_attribute_value(3, cast_vector<express::Base>(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector<express::Base>(*v5_Addresses)); }; return *this; }
// Function implementations for IfcOrganizationRelationship
::Ifc4x3_tc1::IfcOrganization Ifc4x3_tc1::IfcOrganizationRelationship::RelatingOrganization() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcOrganization>(); }
void Ifc4x3_tc1::IfcOrganizationRelationship::setRelatingOrganization(const ::Ifc4x3_tc1::IfcOrganization& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcOrganization > Ifc4x3_tc1::IfcOrganizationRelationship::RelatedOrganizations() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcOrganization>(es); }
void Ifc4x3_tc1::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_tc1::IfcOrganization >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[715]); }
Ifc4x3_tc1::IfcOrganizationRelationship Ifc4x3_tc1::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_tc1::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedOrganizations));; return *this; }
// Function implementations for IfcOrientedEdge
::Ifc4x3_tc1::IfcEdge Ifc4x3_tc1::IfcOrientedEdge::EdgeElement() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcEdge>(); }
void Ifc4x3_tc1::IfcOrientedEdge::setEdgeElement(const ::Ifc4x3_tc1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
bool Ifc4x3_tc1::IfcOrientedEdge::Orientation() const { bool v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[716]); }
Ifc4x3_tc1::IfcOrientedEdge Ifc4x3_tc1::IfcOrientedEdge::initialize(::Ifc4x3_tc1::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation));; return *this; }
// Function implementations for IfcOuterBoundaryCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[717]); }
Ifc4x3_tc1::IfcOuterBoundaryCurve Ifc4x3_tc1::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));; return *this; }
// Function implementations for IfcOutlet
std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > Ifc4x3_tc1::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOutletTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[718]); }
Ifc4x3_tc1::IfcOutlet Ifc4x3_tc1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcOutletType
::Ifc4x3_tc1::IfcOutletTypeEnum::Value Ifc4x3_tc1::IfcOutletType::PredefinedType() const { return ::Ifc4x3_tc1::IfcOutletTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcOutletType::setPredefinedType(const ::Ifc4x3_tc1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[719]); }
Ifc4x3_tc1::IfcOutletType Ifc4x3_tc1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcOwnerHistory
::Ifc4x3_tc1::IfcPersonAndOrganization Ifc4x3_tc1::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPersonAndOrganization>(); }
void Ifc4x3_tc1::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_tc1::IfcPersonAndOrganization& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcApplication Ifc4x3_tc1::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcApplication>(); }
void Ifc4x3_tc1::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_tc1::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > Ifc4x3_tc1::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStateEnum::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, 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);} }
::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); }
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; }
// Function implementations for IfcParameterizedProfileDef
::Ifc4x3_tc1::IfcAxis2Placement2D Ifc4x3_tc1::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis2Placement2D>(); }
void Ifc4x3_tc1::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[722]); }
Ifc4x3_tc1::IfcParameterizedProfileDef Ifc4x3_tc1::IfcParameterizedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));; return *this; }
// Function implementations for IfcPath
std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > Ifc4x3_tc1::IfcPath::EdgeList() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcOrientedEdge>(es); }
void Ifc4x3_tc1::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[724]); }
Ifc4x3_tc1::IfcPath Ifc4x3_tc1::IfcPath::initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector<express::Base>(v1_EdgeList));; return *this; }
// Function implementations for IfcPavement
std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > Ifc4x3_tc1::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPavementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[725]); }
Ifc4x3_tc1::IfcPavement Ifc4x3_tc1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcPavementType
::Ifc4x3_tc1::IfcPavementTypeEnum::Value Ifc4x3_tc1::IfcPavementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPavementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPavementType::setPredefinedType(const ::Ifc4x3_tc1::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[726]); }
Ifc4x3_tc1::IfcPavementType Ifc4x3_tc1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcPcurve
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcPcurve::setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcPcurve::ReferenceCurve() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcPcurve::setReferenceCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[728]); }
Ifc4x3_tc1::IfcPcurve Ifc4x3_tc1::IfcPcurve::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve));; return *this; }
// Function implementations for IfcPerformanceHistory
std::string Ifc4x3_tc1::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_tc1::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[729]); }
Ifc4x3_tc1::IfcPerformanceHistory Ifc4x3_tc1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_LifeCyclePhase)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; return *this; }
// Function implementations for IfcPermeableCoveringProperties
::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_tc1::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
std::optional< double > Ifc4x3_tc1::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcPermeableCoveringProperties::setFrameThickness(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcPermeableCoveringProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcShapeAspect>(); }
void Ifc4x3_tc1::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[732]); }
Ifc4x3_tc1::IfcPermeableCoveringProperties Ifc4x3_tc1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, (v9_ShapeAspectStyle));; return *this; }
// Function implementations for IfcPermit
std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > Ifc4x3_tc1::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPermitTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[733]); }
Ifc4x3_tc1::IfcPermit Ifc4x3_tc1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; return *this; }
// Function implementations for IfcPerson
std::optional< std::string > Ifc4x3_tc1::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPerson::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcPerson::FamilyName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPerson::setFamilyName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcPerson::GivenName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcPerson::setGivenName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcPerson::MiddleNames() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPerson::setMiddleNames(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcPerson::PrefixTitles() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPerson::setPrefixTitles(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcPerson::SuffixTitles() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcPerson::setSuffixTitles(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > Ifc4x3_tc1::IfcPerson::Roles() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcActorRole>(es); }
void Ifc4x3_tc1::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > >& v) { if (v) {set_attribute_value(6, cast_vector<express::Base>(*v));} else {unset_attribute_value(6);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > Ifc4x3_tc1::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcAddress>(es); }
void Ifc4x3_tc1::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcPerson::EngagedIn() const { return cast_vector<IfcPersonAndOrganization>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[736], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[735]); }
Ifc4x3_tc1::IfcPerson Ifc4x3_tc1::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v8_Addresses) { if (v1_Identification) {set_attribute_value(0, (*v1_Identification)); } if (v2_FamilyName) {set_attribute_value(1, (*v2_FamilyName)); } if (v3_GivenName) {set_attribute_value(2, (*v3_GivenName)); } if (v4_MiddleNames) {set_attribute_value(3, (*v4_MiddleNames)); } if (v5_PrefixTitles) {set_attribute_value(4, (*v5_PrefixTitles)); } if (v6_SuffixTitles) {set_attribute_value(5, (*v6_SuffixTitles)); } if (v7_Roles) {set_attribute_value(6, cast_vector<express::Base>(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector<express::Base>(*v8_Addresses)); }; return *this; }
// Function implementations for IfcPersonAndOrganization
::Ifc4x3_tc1::IfcPerson Ifc4x3_tc1::IfcPersonAndOrganization::ThePerson() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPerson>(); }
void Ifc4x3_tc1::IfcPersonAndOrganization::setThePerson(const ::Ifc4x3_tc1::IfcPerson& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcOrganization Ifc4x3_tc1::IfcPersonAndOrganization::TheOrganization() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcOrganization>(); }
void Ifc4x3_tc1::IfcPersonAndOrganization::setTheOrganization(const ::Ifc4x3_tc1::IfcOrganization& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > Ifc4x3_tc1::IfcPersonAndOrganization::Roles() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcActorRole>(es); }
void Ifc4x3_tc1::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[736]); }
Ifc4x3_tc1::IfcPersonAndOrganization Ifc4x3_tc1::IfcPersonAndOrganization::initialize(::Ifc4x3_tc1::IfcPerson v1_ThePerson, ::Ifc4x3_tc1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector<express::Base>(*v3_Roles)); }; return *this; }
// Function implementations for IfcPhysicalComplexQuantity
std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > Ifc4x3_tc1::IfcPhysicalComplexQuantity::HasQuantities() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcPhysicalQuantity>(es); }
void Ifc4x3_tc1::IfcPhysicalComplexQuantity::setHasQuantities(const std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
std::string Ifc4x3_tc1::IfcPhysicalComplexQuantity::Discrimination() const { std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPhysicalComplexQuantity::setDiscrimination(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcPhysicalComplexQuantity::Quality() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPhysicalComplexQuantity::setQuality(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcPhysicalComplexQuantity::Usage() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[738]); }
Ifc4x3_tc1::IfcPhysicalComplexQuantity Ifc4x3_tc1::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); }; return *this; }
// Function implementations for IfcPhysicalQuantity
std::string Ifc4x3_tc1::IfcPhysicalQuantity::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
std::vector<::Ifc4x3_tc1::IfcPhysicalComplexQuantity> Ifc4x3_tc1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector<IfcPhysicalComplexQuantity>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[738], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[740]); }
Ifc4x3_tc1::IfcPhysicalQuantity Ifc4x3_tc1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }; return *this; }
// Function implementations for IfcPhysicalSimpleQuantity
::Ifc4x3_tc1::IfcNamedUnit Ifc4x3_tc1::IfcPhysicalSimpleQuantity::Unit() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcNamedUnit{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcNamedUnit>(); }
void Ifc4x3_tc1::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[741]); }
Ifc4x3_tc1::IfcPhysicalSimpleQuantity Ifc4x3_tc1::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));; return *this; }
// Function implementations for IfcPile
std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > Ifc4x3_tc1::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPileTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > Ifc4x3_tc1::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPileConstructionEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[742]); }
Ifc4x3_tc1::IfcPile Ifc4x3_tc1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); }; return *this; }
// Function implementations for IfcPileType
::Ifc4x3_tc1::IfcPileTypeEnum::Value Ifc4x3_tc1::IfcPileType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPileTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPileType::setPredefinedType(const ::Ifc4x3_tc1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[744]); }
Ifc4x3_tc1::IfcPileType Ifc4x3_tc1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcPipeFitting
std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > Ifc4x3_tc1::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[746]); }
Ifc4x3_tc1::IfcPipeFitting Ifc4x3_tc1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcPipeFittingType
::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value Ifc4x3_tc1::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[747]); }
Ifc4x3_tc1::IfcPipeFittingType Ifc4x3_tc1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcPipeSegment
std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > Ifc4x3_tc1::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[749]); }
Ifc4x3_tc1::IfcPipeSegment Ifc4x3_tc1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcPipeSegmentType
::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_tc1::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[750]); }
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<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (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); }
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; }
// Function implementations for IfcPlacement
::Ifc4x3_tc1::IfcPoint Ifc4x3_tc1::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPoint>(); }
void Ifc4x3_tc1::IfcPlacement::setLocation(const ::Ifc4x3_tc1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[753]); }
Ifc4x3_tc1::IfcPlacement Ifc4x3_tc1::IfcPlacement::initialize(::Ifc4x3_tc1::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location));; return *this; }
// Function implementations for IfcPlanarBox
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcPlanarBox::Placement() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcPlanarBox::setPlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[754]); }
Ifc4x3_tc1::IfcPlanarBox Ifc4x3_tc1::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_tc1::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement));; return *this; }
// Function implementations for IfcPlanarExtent
double Ifc4x3_tc1::IfcPlanarExtent::SizeInX() const { double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPlanarExtent::setSizeInX(const double& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcPlanarExtent::SizeInY() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[755]); }
Ifc4x3_tc1::IfcPlanarExtent Ifc4x3_tc1::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));; return *this; }
// Function implementations for IfcPlane
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[757]); }
Ifc4x3_tc1::IfcPlane Ifc4x3_tc1::IfcPlane::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position));; return *this; }
// Function implementations for IfcPlate
std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > Ifc4x3_tc1::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPlateTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[759]); }
Ifc4x3_tc1::IfcPlate Ifc4x3_tc1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcPlateType
::Ifc4x3_tc1::IfcPlateTypeEnum::Value Ifc4x3_tc1::IfcPlateType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPlateTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPlateType::setPredefinedType(const ::Ifc4x3_tc1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[760]); }
Ifc4x3_tc1::IfcPlateType Ifc4x3_tc1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcPoint
const ifcopenshell::entity& Ifc4x3_tc1::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[762]); }
Ifc4x3_tc1::IfcPoint Ifc4x3_tc1::IfcPoint::initialize() { ; return *this; }
// Function implementations for IfcPointByDistanceExpression
::Ifc4x3_tc1::IfcCurveMeasureSelect Ifc4x3_tc1::IfcPointByDistanceExpression::DistanceAlong() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurveMeasureSelect>(); }
void Ifc4x3_tc1::IfcPointByDistanceExpression::setDistanceAlong(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< double > Ifc4x3_tc1::IfcPointByDistanceExpression::OffsetLateral() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPointByDistanceExpression::setOffsetLateral(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcPointByDistanceExpression::OffsetVertical() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcPointByDistanceExpression::setOffsetVertical(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcPointByDistanceExpression::OffsetLongitudinal() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPointByDistanceExpression::setOffsetLongitudinal(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcPointByDistanceExpression::BasisCurve() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[763]); }
Ifc4x3_tc1::IfcPointByDistanceExpression Ifc4x3_tc1::IfcPointByDistanceExpression::initialize(::Ifc4x3_tc1::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_tc1::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); if (v2_OffsetLateral) {set_attribute_value(1, (*v2_OffsetLateral)); } if (v3_OffsetVertical) {set_attribute_value(2, (*v3_OffsetVertical)); } if (v4_OffsetLongitudinal) {set_attribute_value(3, (*v4_OffsetLongitudinal)); }set_attribute_value(4, (v5_BasisCurve));; return *this; }
// Function implementations for IfcPointOnCurve
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcPointOnCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcPointOnCurve::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcPointOnCurve::PointParameter() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[764]); }
Ifc4x3_tc1::IfcPointOnCurve Ifc4x3_tc1::IfcPointOnCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter));; return *this; }
// Function implementations for IfcPointOnSurface
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcPointOnSurface::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcPointOnSurface::setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcPointOnSurface::PointParameterU() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPointOnSurface::setPointParameterU(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcPointOnSurface::PointParameterV() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[765]); }
Ifc4x3_tc1::IfcPointOnSurface Ifc4x3_tc1::IfcPointOnSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV));; return *this; }
// Function implementations for IfcPolyLoop
std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcPolyLoop::Polygon() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcCartesianPoint>(es); }
void Ifc4x3_tc1::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[770]); }
Ifc4x3_tc1::IfcPolyLoop Ifc4x3_tc1::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector<express::Base>(v1_Polygon));; return *this; }
// Function implementations for IfcPolygonalBoundedHalfSpace
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::Position() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::PolygonalBoundary() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); }
void Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[767]); }
Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_tc1::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary));; return *this; }
// Function implementations for IfcPolygonalFaceSet
std::optional< bool > Ifc4x3_tc1::IfcPolygonalFaceSet::Closed() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } bool v = get_attribute_value(1); return v; }
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<express::Base> 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<express::Base>(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);} }
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<express::Base>(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<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcCartesianPoint>(es); }
void Ifc4x3_tc1::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[769]); }
Ifc4x3_tc1::IfcPolyline Ifc4x3_tc1::IfcPolyline::initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector<express::Base>(v1_Points));; return *this; }
// Function implementations for IfcPolynomialCurve
::Ifc4x3_tc1::IfcPlacement Ifc4x3_tc1::IfcPolynomialCurve::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPlacement>(); }
void Ifc4x3_tc1::IfcPolynomialCurve::setPosition(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_tc1::IfcPolynomialCurve::CoefficientsX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< double > /*[2:?]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPolynomialCurve::setCoefficientsX(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_tc1::IfcPolynomialCurve::CoefficientsY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< double > /*[2:?]*/ v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcPolynomialCurve::setCoefficientsY(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_tc1::IfcPolynomialCurve::CoefficientsZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< double > /*[2:?]*/ v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[771]); }
Ifc4x3_tc1::IfcPolynomialCurve Ifc4x3_tc1::IfcPolynomialCurve::initialize(::Ifc4x3_tc1::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); if (v2_CoefficientsX) {set_attribute_value(1, (*v2_CoefficientsX)); } if (v3_CoefficientsY) {set_attribute_value(2, (*v3_CoefficientsY)); } if (v4_CoefficientsZ) {set_attribute_value(3, (*v4_CoefficientsZ)); }; return *this; }
// Function implementations for IfcPort
std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcPort::ContainedIn() const { return cast_vector<IfcRelConnectsPortToElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[919], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedFrom() const { return cast_vector<IfcRelConnectsPorts>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[918], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedTo() const { return cast_vector<IfcRelConnectsPorts>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[918], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[772]); }
Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcPositioningElement
std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcPositioningElement::ContainedInStructure() const { return cast_vector<IfcRelContainedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcPositioningElement::Positions() const { return cast_vector<IfcRelPositions>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[938], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[773]); }
Ifc4x3_tc1::IfcPositioningElement Ifc4x3_tc1::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcPostalAddress
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::InternalLocation() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setInternalLocation(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcPostalAddress::AddressLines() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setAddressLines(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::PostalBox() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setPostalBox(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::Town() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setTown(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::Region() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setRegion(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::PostalCode() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setPostalCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::Country() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[778]); }
Ifc4x3_tc1::IfcPostalAddress Ifc4x3_tc1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_InternalLocation) {set_attribute_value(3, (*v4_InternalLocation)); } if (v5_AddressLines) {set_attribute_value(4, (*v5_AddressLines)); } if (v6_PostalBox) {set_attribute_value(5, (*v6_PostalBox)); } if (v7_Town) {set_attribute_value(6, (*v7_Town)); } if (v8_Region) {set_attribute_value(7, (*v8_Region)); } if (v9_PostalCode) {set_attribute_value(8, (*v9_PostalCode)); } if (v10_Country) {set_attribute_value(9, (*v10_Country)); }; return *this; }
// Function implementations for IfcPreDefinedColour
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[780]); }
Ifc4x3_tc1::IfcPreDefinedColour Ifc4x3_tc1::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcPreDefinedCurveFont
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[781]); }
Ifc4x3_tc1::IfcPreDefinedCurveFont Ifc4x3_tc1::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcPreDefinedItem
std::string Ifc4x3_tc1::IfcPreDefinedItem::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[782]); }
Ifc4x3_tc1::IfcPreDefinedItem Ifc4x3_tc1::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcPreDefinedProperties
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[783]); }
Ifc4x3_tc1::IfcPreDefinedProperties Ifc4x3_tc1::IfcPreDefinedProperties::initialize() { ; return *this; }
// Function implementations for IfcPreDefinedPropertySet
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[784]); }
Ifc4x3_tc1::IfcPreDefinedPropertySet Ifc4x3_tc1::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcPreDefinedTextFont
const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[785]); }
Ifc4x3_tc1::IfcPreDefinedTextFont Ifc4x3_tc1::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name));; return *this; }
// Function implementations for IfcPresentationItem
const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[788]); }
Ifc4x3_tc1::IfcPresentationItem Ifc4x3_tc1::IfcPresentationItem::initialize() { ; return *this; }
// Function implementations for IfcPresentationLayerAssignment
std::string Ifc4x3_tc1::IfcPresentationLayerAssignment::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPresentationLayerAssignment::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcPresentationLayerAssignment::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcPresentationLayerAssignment::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector< ::Ifc4x3_tc1::IfcLayeredItem > Ifc4x3_tc1::IfcPresentationLayerAssignment::AssignedItems() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcLayeredItem>(es); }
void Ifc4x3_tc1::IfcPresentationLayerAssignment::setAssignedItems(const std::vector< ::Ifc4x3_tc1::IfcLayeredItem >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
std::optional< std::string > Ifc4x3_tc1::IfcPresentationLayerAssignment::Identifier() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[789]); }
Ifc4x3_tc1::IfcPresentationLayerAssignment Ifc4x3_tc1::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); }; return *this; }
// Function implementations for IfcPresentationLayerWithStyle
boost::logic::tribool Ifc4x3_tc1::IfcPresentationLayerWithStyle::LayerOn() const { boost::logic::tribool v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPresentationLayerWithStyle::setLayerOn(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
boost::logic::tribool Ifc4x3_tc1::IfcPresentationLayerWithStyle::LayerFrozen() const { boost::logic::tribool v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcPresentationLayerWithStyle::setLayerFrozen(const boost::logic::tribool& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
boost::logic::tribool Ifc4x3_tc1::IfcPresentationLayerWithStyle::LayerBlocked() const { boost::logic::tribool v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcPresentationLayerWithStyle::setLayerBlocked(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > Ifc4x3_tc1::IfcPresentationLayerWithStyle::LayerStyles() const { std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcPresentationStyle>(es); }
void Ifc4x3_tc1::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_tc1::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[790]); }
Ifc4x3_tc1::IfcPresentationLayerWithStyle Ifc4x3_tc1::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); }set_attribute_value(4, (v5_LayerOn));set_attribute_value(5, (v6_LayerFrozen));set_attribute_value(6, (v7_LayerBlocked));set_attribute_value(7, cast_vector<express::Base>(v8_LayerStyles));; return *this; }
// Function implementations for IfcPresentationStyle
std::optional< std::string > Ifc4x3_tc1::IfcPresentationStyle::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[791]); }
Ifc4x3_tc1::IfcPresentationStyle Ifc4x3_tc1::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcProcedure
std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > Ifc4x3_tc1::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[793]); }
Ifc4x3_tc1::IfcProcedure Ifc4x3_tc1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); } if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; return *this; }
// Function implementations for IfcProcedureType
::Ifc4x3_tc1::IfcProcedureTypeEnum::Value Ifc4x3_tc1::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[794]); }
Ifc4x3_tc1::IfcProcedureType Ifc4x3_tc1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcProcess
std::optional< std::string > Ifc4x3_tc1::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcProcess::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsPredecessorTo() const { return cast_vector<IfcRelSequence>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[941], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsSuccessorFrom() const { return cast_vector<IfcRelSequence>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[941], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcProcess::OperatesOn() const { return cast_vector<IfcRelAssignsToProcess>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[903], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[796]); }
Ifc4x3_tc1::IfcProcess Ifc4x3_tc1::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }; return *this; }
// Function implementations for IfcProduct
::Ifc4x3_tc1::IfcObjectPlacement Ifc4x3_tc1::IfcProduct::ObjectPlacement() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcObjectPlacement>(); }
void Ifc4x3_tc1::IfcProduct::setObjectPlacement(const ::Ifc4x3_tc1::IfcObjectPlacement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcProductRepresentation Ifc4x3_tc1::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcProductRepresentation>(); }
void Ifc4x3_tc1::IfcProduct::setRepresentation(const ::Ifc4x3_tc1::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcProduct::ReferencedBy() const { return cast_vector<IfcRelAssignsToProduct>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[904], 6)); }
std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcProduct::PositionedRelativeTo() const { return cast_vector<IfcRelPositions>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[938], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcProduct::ReferencedInStructures() const { return cast_vector<IfcRelReferencedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[798]); }
Ifc4x3_tc1::IfcProduct Ifc4x3_tc1::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcProductDefinitionShape
std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector<IfcProduct>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[798], 6)); }
std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector<IfcShapeAspect>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[799]); }
Ifc4x3_tc1::IfcProductDefinitionShape Ifc4x3_tc1::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Representations));; return *this; }
// Function implementations for IfcProductRepresentation
std::optional< std::string > Ifc4x3_tc1::IfcProductRepresentation::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcProductRepresentation::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcProductRepresentation::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcProductRepresentation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector< ::Ifc4x3_tc1::IfcRepresentation > Ifc4x3_tc1::IfcProductRepresentation::Representations() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcRepresentation>(es); }
void Ifc4x3_tc1::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_tc1::IfcRepresentation >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[800]); }
Ifc4x3_tc1::IfcProductRepresentation Ifc4x3_tc1::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Representations));; return *this; }
// Function implementations for IfcProfileDef
::Ifc4x3_tc1::IfcProfileTypeEnum::Value Ifc4x3_tc1::IfcProfileDef::ProfileType() const { return ::Ifc4x3_tc1::IfcProfileTypeEnum::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcProfileDef::setProfileType(const ::Ifc4x3_tc1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcProfileDef::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
std::vector<::Ifc4x3_tc1::IfcProfileProperties> Ifc4x3_tc1::IfcProfileDef::HasProperties() const { return cast_vector<IfcProfileProperties>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[804], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[803]); }
Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }; return *this; }
// Function implementations for IfcProfileProperties
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[804]); }
Ifc4x3_tc1::IfcProfileProperties Ifc4x3_tc1::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition));; return *this; }
// Function implementations for IfcProject
const ifcopenshell::entity& Ifc4x3_tc1::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[806]); }
Ifc4x3_tc1::IfcProject Ifc4x3_tc1::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, cast_vector<express::Base>(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext));; return *this; }
// Function implementations for IfcProjectLibrary
const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[811]); }
Ifc4x3_tc1::IfcProjectLibrary Ifc4x3_tc1::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); } if (v7_Phase) {set_attribute_value(6, (*v7_Phase)); } if (v8_RepresentationContexts) {set_attribute_value(7, cast_vector<express::Base>(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext));; return *this; }
// Function implementations for IfcProjectOrder
std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > Ifc4x3_tc1::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[812]); }
Ifc4x3_tc1::IfcProjectOrder Ifc4x3_tc1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); }; return *this; }
// Function implementations for IfcProjectedCRS
std::optional< std::string > Ifc4x3_tc1::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcProjectedCRS::setMapProjection(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcProjectedCRS::MapZone() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcProjectedCRS::setMapZone(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcNamedUnit Ifc4x3_tc1::IfcProjectedCRS::MapUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcNamedUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcNamedUnit>(); }
void Ifc4x3_tc1::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[807]); }
Ifc4x3_tc1::IfcProjectedCRS Ifc4x3_tc1::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_tc1::IfcNamedUnit v7_MapUnit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_GeodeticDatum) {set_attribute_value(2, (*v3_GeodeticDatum)); } if (v4_VerticalDatum) {set_attribute_value(3, (*v4_VerticalDatum)); } if (v5_MapProjection) {set_attribute_value(4, (*v5_MapProjection)); } if (v6_MapZone) {set_attribute_value(5, (*v6_MapZone)); }set_attribute_value(6, (v7_MapUnit));; return *this; }
// Function implementations for IfcProjectionElement
std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > Ifc4x3_tc1::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[809]); }
Ifc4x3_tc1::IfcProjectionElement Ifc4x3_tc1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcProperty
std::string Ifc4x3_tc1::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcProperty::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcProperty::Specification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcProperty::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector<::Ifc4x3_tc1::IfcPropertySet> Ifc4x3_tc1::IfcProperty::PartOfPset() const { return cast_vector<IfcPropertySet>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[823], 4)); }
std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyForDependance() const { return cast_vector<IfcPropertyDependencyRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[818], 2)); }
std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyDependsOn() const { return cast_vector<IfcPropertyDependencyRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[818], 3)); }
std::vector<::Ifc4x3_tc1::IfcComplexProperty> Ifc4x3_tc1::IfcProperty::PartOfComplex() const { return cast_vector<IfcComplexProperty>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[189], 3)); }
std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcProperty::HasConstraints() const { return cast_vector<IfcResourceConstraintRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[954], 3)); }
std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcProperty::HasApprovals() const { return cast_vector<IfcResourceApprovalRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[953], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[814]); }
Ifc4x3_tc1::IfcProperty Ifc4x3_tc1::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }; return *this; }
// Function implementations for IfcPropertyAbstraction
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[815]); }
Ifc4x3_tc1::IfcPropertyAbstraction Ifc4x3_tc1::IfcPropertyAbstraction::initialize() { ; return *this; }
// Function implementations for IfcPropertyBoundedValue
::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcPropertyBoundedValue::UpperBoundValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcValue>(); }
void Ifc4x3_tc1::IfcPropertyBoundedValue::setUpperBoundValue(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcPropertyBoundedValue::LowerBoundValue() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcValue{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcValue>(); }
void Ifc4x3_tc1::IfcPropertyBoundedValue::setLowerBoundValue(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyBoundedValue::Unit() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcPropertyBoundedValue::SetPointValue() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcValue{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcValue>(); }
void Ifc4x3_tc1::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[816]); }
Ifc4x3_tc1::IfcPropertyBoundedValue Ifc4x3_tc1::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_UpperBoundValue, ::Ifc4x3_tc1::IfcValue v4_LowerBoundValue, ::Ifc4x3_tc1::IfcUnit v5_Unit, ::Ifc4x3_tc1::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue));; return *this; }
// Function implementations for IfcPropertyDefinition
std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcPropertyDefinition::HasContext() const { return cast_vector<IfcRelDeclares>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcPropertyDefinition::HasAssociations() const { return cast_vector<IfcRelAssociates>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[906], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[817]); }
Ifc4x3_tc1::IfcPropertyDefinition Ifc4x3_tc1::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcPropertyDependencyRelationship
::Ifc4x3_tc1::IfcProperty Ifc4x3_tc1::IfcPropertyDependencyRelationship::DependingProperty() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcProperty>(); }
void Ifc4x3_tc1::IfcPropertyDependencyRelationship::setDependingProperty(const ::Ifc4x3_tc1::IfcProperty& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcProperty Ifc4x3_tc1::IfcPropertyDependencyRelationship::DependantProperty() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcProperty>(); }
void Ifc4x3_tc1::IfcPropertyDependencyRelationship::setDependantProperty(const ::Ifc4x3_tc1::IfcProperty& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcPropertyDependencyRelationship::Expression() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[818]); }
Ifc4x3_tc1::IfcPropertyDependencyRelationship Ifc4x3_tc1::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcProperty v3_DependingProperty, ::Ifc4x3_tc1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }; return *this; }
// Function implementations for IfcPropertyEnumeratedValue
std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > Ifc4x3_tc1::IfcPropertyEnumeratedValue::EnumerationValues() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcPropertyEnumeratedValue::setEnumerationValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcPropertyEnumeration Ifc4x3_tc1::IfcPropertyEnumeratedValue::EnumerationReference() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcPropertyEnumeration{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcPropertyEnumeration>(); }
void Ifc4x3_tc1::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_tc1::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[819]); }
Ifc4x3_tc1::IfcPropertyEnumeratedValue Ifc4x3_tc1::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_tc1::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector<express::Base>(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference));; return *this; }
// Function implementations for IfcPropertyEnumeration
std::string Ifc4x3_tc1::IfcPropertyEnumeration::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcPropertyEnumeration::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcValue > Ifc4x3_tc1::IfcPropertyEnumeration::EnumerationValues() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyEnumeration::Unit() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[820]); }
Ifc4x3_tc1::IfcPropertyEnumeration Ifc4x3_tc1::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_tc1::IfcValue > v2_EnumerationValues, ::Ifc4x3_tc1::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector<express::Base>(v2_EnumerationValues));set_attribute_value(2, (v3_Unit));; return *this; }
// Function implementations for IfcPropertyListValue
std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > Ifc4x3_tc1::IfcPropertyListValue::ListValues() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcPropertyListValue::setListValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyListValue::Unit() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertyListValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[821]); }
Ifc4x3_tc1::IfcPropertyListValue Ifc4x3_tc1::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_ListValues, ::Ifc4x3_tc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, cast_vector<express::Base>(*v3_ListValues)); }set_attribute_value(3, (v4_Unit));; return *this; }
// Function implementations for IfcPropertyReferenceValue
std::optional< std::string > Ifc4x3_tc1::IfcPropertyReferenceValue::UsageName() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcPropertyReferenceValue::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcObjectReferenceSelect Ifc4x3_tc1::IfcPropertyReferenceValue::PropertyReference() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcObjectReferenceSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcObjectReferenceSelect>(); }
void Ifc4x3_tc1::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_tc1::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[822]); }
Ifc4x3_tc1::IfcPropertyReferenceValue Ifc4x3_tc1::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_tc1::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference));; return *this; }
// Function implementations for IfcPropertySet
std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcPropertySet::HasProperties() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcProperty>(es); }
void Ifc4x3_tc1::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[823]); }
Ifc4x3_tc1::IfcPropertySet Ifc4x3_tc1::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_HasProperties));; return *this; }
// Function implementations for IfcPropertySetDefinition
std::vector<::Ifc4x3_tc1::IfcTypeObject> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesType() const { return cast_vector<IfcTypeObject>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1238], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector<IfcRelDefinesByTemplate>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[932], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector<IfcRelDefinesByProperties>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[824]); }
Ifc4x3_tc1::IfcPropertySetDefinition Ifc4x3_tc1::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcPropertySetTemplate
std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_tc1::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > Ifc4x3_tc1::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector<express::Base> es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcPropertyTemplate>(es); }
void Ifc4x3_tc1::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(6); }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetTemplate::Defines() const { return cast_vector<IfcRelDefinesByTemplate>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[932], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[827]); }
Ifc4x3_tc1::IfcPropertySetTemplate Ifc4x3_tc1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector<express::Base>(v7_HasPropertyTemplates));; return *this; }
// Function implementations for IfcPropertySingleValue
::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcValue>(); }
void Ifc4x3_tc1::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertySingleValue::Unit() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertySingleValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[829]); }
Ifc4x3_tc1::IfcPropertySingleValue Ifc4x3_tc1::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_NominalValue, ::Ifc4x3_tc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit));; return *this; }
// Function implementations for IfcPropertyTableValue
std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > Ifc4x3_tc1::IfcPropertyTableValue::DefiningValues() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcPropertyTableValue::setDefiningValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > Ifc4x3_tc1::IfcPropertyTableValue::DefinedValues() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcPropertyTableValue::setDefinedValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > >& v) { if (v) {set_attribute_value(3, cast_vector<express::Base>(*v));} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcPropertyTableValue::Expression() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcPropertyTableValue::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyTableValue::DefiningUnit() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > Ifc4x3_tc1::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[830]); }
Ifc4x3_tc1::IfcPropertyTableValue Ifc4x3_tc1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_tc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_tc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector<express::Base>(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector<express::Base>(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); }; return *this; }
// Function implementations for IfcPropertyTemplate
std::vector<::Ifc4x3_tc1::IfcComplexPropertyTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector<IfcComplexPropertyTemplate>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[190], 6)); }
std::vector<::Ifc4x3_tc1::IfcPropertySetTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector<IfcPropertySetTemplate>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[827], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[831]); }
Ifc4x3_tc1::IfcPropertyTemplate Ifc4x3_tc1::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcPropertyTemplateDefinition
const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[832]); }
Ifc4x3_tc1::IfcPropertyTemplateDefinition Ifc4x3_tc1::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcProtectiveDevice
std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_tc1::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[833]); }
Ifc4x3_tc1::IfcProtectiveDevice Ifc4x3_tc1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcProtectiveDeviceTrippingUnit
std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[834]); }
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcProtectiveDeviceTrippingUnitType
::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[835]); }
Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcProtectiveDeviceType
::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[837]); }
Ifc4x3_tc1::IfcProtectiveDeviceType Ifc4x3_tc1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcPump
std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > Ifc4x3_tc1::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPumpTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[839]); }
Ifc4x3_tc1::IfcPump Ifc4x3_tc1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcPumpType
::Ifc4x3_tc1::IfcPumpTypeEnum::Value Ifc4x3_tc1::IfcPumpType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPumpTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcPumpType::setPredefinedType(const ::Ifc4x3_tc1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[840]); }
Ifc4x3_tc1::IfcPumpType Ifc4x3_tc1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcQuantityArea
double Ifc4x3_tc1::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityArea::setAreaValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityArea::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[842]); }
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); }
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; }
// Function implementations for IfcQuantityLength
double Ifc4x3_tc1::IfcQuantityLength::LengthValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityLength::setLengthValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityLength::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[844]); }
Ifc4x3_tc1::IfcQuantityLength Ifc4x3_tc1::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; return *this; }
// Function implementations for IfcQuantityNumber
double Ifc4x3_tc1::IfcQuantityNumber::NumberValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityNumber::setNumberValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityNumber::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityNumber::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityNumber::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[845]); }
Ifc4x3_tc1::IfcQuantityNumber Ifc4x3_tc1::IfcQuantityNumber::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; return *this; }
// Function implementations for IfcQuantitySet
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[846]); }
Ifc4x3_tc1::IfcQuantitySet Ifc4x3_tc1::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcQuantityTime
double Ifc4x3_tc1::IfcQuantityTime::TimeValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityTime::setTimeValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityTime::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[847]); }
Ifc4x3_tc1::IfcQuantityTime Ifc4x3_tc1::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; return *this; }
// Function implementations for IfcQuantityVolume
double Ifc4x3_tc1::IfcQuantityVolume::VolumeValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityVolume::setVolumeValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityVolume::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[848]); }
Ifc4x3_tc1::IfcQuantityVolume Ifc4x3_tc1::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; return *this; }
// Function implementations for IfcQuantityWeight
double Ifc4x3_tc1::IfcQuantityWeight::WeightValue() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcQuantityWeight::setWeightValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcQuantityWeight::Formula() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[849]); }
Ifc4x3_tc1::IfcQuantityWeight Ifc4x3_tc1::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); }; return *this; }
// Function implementations for IfcRail
std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > Ifc4x3_tc1::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[851]); }
Ifc4x3_tc1::IfcRail Ifc4x3_tc1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcRailType
::Ifc4x3_tc1::IfcRailTypeEnum::Value Ifc4x3_tc1::IfcRailType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRailTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRailType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[855]); }
Ifc4x3_tc1::IfcRailType Ifc4x3_tc1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcRailing
std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > Ifc4x3_tc1::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailingTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[852]); }
Ifc4x3_tc1::IfcRailing Ifc4x3_tc1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcRailingType
::Ifc4x3_tc1::IfcRailingTypeEnum::Value Ifc4x3_tc1::IfcRailingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRailingTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRailingType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[853]); }
Ifc4x3_tc1::IfcRailingType Ifc4x3_tc1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcRailway
std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > Ifc4x3_tc1::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[857]); }
Ifc4x3_tc1::IfcRailway Ifc4x3_tc1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcRailwayPart
std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > Ifc4x3_tc1::IfcRailwayPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRailwayPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[858]); }
Ifc4x3_tc1::IfcRailwayPart Ifc4x3_tc1::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcRamp
std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > Ifc4x3_tc1::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRampTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[861]); }
Ifc4x3_tc1::IfcRamp Ifc4x3_tc1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcRampFlight
std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > Ifc4x3_tc1::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[862]); }
Ifc4x3_tc1::IfcRampFlight Ifc4x3_tc1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcRampFlightType
::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value Ifc4x3_tc1::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[863]); }
Ifc4x3_tc1::IfcRampFlightType Ifc4x3_tc1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcRampType
::Ifc4x3_tc1::IfcRampTypeEnum::Value Ifc4x3_tc1::IfcRampType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRampTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRampType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[865]); }
Ifc4x3_tc1::IfcRampType Ifc4x3_tc1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcRationalBSplineCurveWithKnots
std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const 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<express::Base>(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; }
void Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); }
const 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<express::Base>(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; }
void Ifc4x3_tc1::IfcRectangleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
std::optional< double > Ifc4x3_tc1::IfcRectangleHollowProfileDef::InnerFilletRadius() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcRectangleHollowProfileDef::setInnerFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcRectangleHollowProfileDef::OuterFilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[871]); }
Ifc4x3_tc1::IfcRectangleHollowProfileDef Ifc4x3_tc1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_WallThickness)); if (v7_InnerFilletRadius) {set_attribute_value(6, (*v7_InnerFilletRadius)); } if (v8_OuterFilletRadius) {set_attribute_value(7, (*v8_OuterFilletRadius)); }; return *this; }
// Function implementations for IfcRectangleProfileDef
double Ifc4x3_tc1::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcRectangleProfileDef::setXDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcRectangleProfileDef::YDim() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[872]); }
Ifc4x3_tc1::IfcRectangleProfileDef Ifc4x3_tc1::IfcRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));; return *this; }
// Function implementations for IfcRectangularPyramid
double Ifc4x3_tc1::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRectangularPyramid::setXLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcRectangularPyramid::YLength() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRectangularPyramid::setYLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcRectangularPyramid::Height() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[873]); }
Ifc4x3_tc1::IfcRectangularPyramid Ifc4x3_tc1::IfcRectangularPyramid::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height));; return *this; }
// Function implementations for IfcRectangularTrimmedSurface
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcRectangularTrimmedSurface::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcRectangularTrimmedSurface::U1() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setU1(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcRectangularTrimmedSurface::V1() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setV1(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcRectangularTrimmedSurface::U2() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setU2(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcRectangularTrimmedSurface::V2() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setV2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
bool Ifc4x3_tc1::IfcRectangularTrimmedSurface::Usense() const { bool v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setUsense(const bool& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
bool Ifc4x3_tc1::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[874]); }
Ifc4x3_tc1::IfcRectangularTrimmedSurface Ifc4x3_tc1::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_U1));set_attribute_value(2, (v3_V1));set_attribute_value(3, (v4_U2));set_attribute_value(4, (v5_V2));set_attribute_value(5, (v6_Usense));set_attribute_value(6, (v7_Vsense));; return *this; }
// 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< ::Ifc4x3_tc1::IfcTimePeriod > > Ifc4x3_tc1::IfcRecurrencePattern::TimePeriods() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> 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<express::Base>(*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<express::Base>(*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; }
void Ifc4x3_tc1::IfcReference::setTypeIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcReference::AttributeIdentifier() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
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);} }
::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; }
// Function implementations for IfcReferent
std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > Ifc4x3_tc1::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReferentTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[878]); }
Ifc4x3_tc1::IfcReferent Ifc4x3_tc1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); }; return *this; }
// Function implementations for IfcRegularTimeSeries
double Ifc4x3_tc1::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRegularTimeSeries::setTimeStep(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > Ifc4x3_tc1::IfcRegularTimeSeries::Values() const { std::vector<express::Base> es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcTimeSeriesValue>(es); }
void Ifc4x3_tc1::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[881]); }
Ifc4x3_tc1::IfcRegularTimeSeries Ifc4x3_tc1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > v10_Values) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector<express::Base>(v10_Values));; return *this; }
// Function implementations for IfcReinforcedSoil
std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_tc1::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[882]); }
Ifc4x3_tc1::IfcReinforcedSoil Ifc4x3_tc1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcReinforcementBarProperties
double Ifc4x3_tc1::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcReinforcementBarProperties::setTotalCrossSectionArea(const double& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::string Ifc4x3_tc1::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
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);} }
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; }
// 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; }
void Ifc4x3_tc1::IfcReinforcementDefinitionProperties::setDefinitionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > Ifc4x3_tc1::IfcReinforcementDefinitionProperties::ReinforcementSectionDefinitions() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcSectionReinforcementProperties>(es); }
void Ifc4x3_tc1::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[885]); }
Ifc4x3_tc1::IfcReinforcementDefinitionProperties Ifc4x3_tc1::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_DefinitionType) {set_attribute_value(4, (*v5_DefinitionType)); }set_attribute_value(5, cast_vector<express::Base>(v6_ReinforcementSectionDefinitions));; return *this; }
// Function implementations for IfcReinforcingBar
std::optional< double > Ifc4x3_tc1::IfcReinforcingBar::NominalDiameter() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcReinforcingBar::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingBar::CrossSectionArea() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcReinforcingBar::setCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > Ifc4x3_tc1::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); }
void Ifc4x3_tc1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} }
std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); }
void Ifc4x3_tc1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[886]); }
Ifc4x3_tc1::IfcReinforcingBar Ifc4x3_tc1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_NominalDiameter) {set_attribute_value(9, (*v10_NominalDiameter)); } if (v11_CrossSectionArea) {set_attribute_value(10, (*v11_CrossSectionArea)); } if (v12_BarLength) {set_attribute_value(11, (*v12_BarLength)); } if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); }; return *this; }
// Function implementations for IfcReinforcingBarType
::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_tc1::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcReinforcingBarType::setCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); }
void Ifc4x3_tc1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} }
std::optional< std::string > Ifc4x3_tc1::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > Ifc4x3_tc1::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(15); return cast_vector<::Ifc4x3_tc1::IfcBendingParameterSelect>(es); }
void Ifc4x3_tc1::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector<express::Base>(*v));} else {unset_attribute_value(15);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[889]); }
Ifc4x3_tc1::IfcReinforcingBarType Ifc4x3_tc1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_BarLength) {set_attribute_value(12, (*v13_BarLength)); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector<express::Base>(*v16_BendingParameters)); }; return *this; }
// Function implementations for IfcReinforcingElement
std::optional< std::string > Ifc4x3_tc1::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[891]); }
Ifc4x3_tc1::IfcReinforcingElement Ifc4x3_tc1::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }; return *this; }
// Function implementations for IfcReinforcingElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[892]); }
Ifc4x3_tc1::IfcReinforcingElementType Ifc4x3_tc1::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcReinforcingMesh
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::MeshLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::MeshWidth() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setMeshWidth(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::LongitudinalBarNominalDiameter() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setLongitudinalBarNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::TransverseBarNominalDiameter() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setTransverseBarNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::LongitudinalBarCrossSectionArea() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setLongitudinalBarCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::TransverseBarCrossSectionArea() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } double v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setTransverseBarCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::LongitudinalBarSpacing() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } double v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_tc1::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); }
void Ifc4x3_tc1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[893]); }
Ifc4x3_tc1::IfcReinforcingMesh Ifc4x3_tc1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_MeshLength) {set_attribute_value(9, (*v10_MeshLength)); } if (v11_MeshWidth) {set_attribute_value(10, (*v11_MeshWidth)); } if (v12_LongitudinalBarNominalDiameter) {set_attribute_value(11, (*v12_LongitudinalBarNominalDiameter)); } if (v13_TransverseBarNominalDiameter) {set_attribute_value(12, (*v13_TransverseBarNominalDiameter)); } if (v14_LongitudinalBarCrossSectionArea) {set_attribute_value(13, (*v14_LongitudinalBarCrossSectionArea)); } if (v15_TransverseBarCrossSectionArea) {set_attribute_value(14, (*v15_TransverseBarCrossSectionArea)); } if (v16_LongitudinalBarSpacing) {set_attribute_value(15, (*v16_LongitudinalBarSpacing)); } if (v17_TransverseBarSpacing) {set_attribute_value(16, (*v17_TransverseBarSpacing)); } if (v18_PredefinedType) {set_attribute_value(17, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); }; return *this; }
// Function implementations for IfcReinforcingMeshType
::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_tc1::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setMeshWidth(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::LongitudinalBarNominalDiameter() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setLongitudinalBarNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::TransverseBarNominalDiameter() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setTransverseBarNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::LongitudinalBarCrossSectionArea() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } double v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setLongitudinalBarCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::TransverseBarCrossSectionArea() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } double v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setTransverseBarCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::LongitudinalBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setLongitudinalBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::TransverseBarSpacing() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } double v = get_attribute_value(17); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} }
std::optional< std::string > Ifc4x3_tc1::IfcReinforcingMeshType::BendingShapeCode() const { if(get_attribute_value(18).isNull()) { return std::nullopt; } std::string v = get_attribute_value(18); return v; }
void Ifc4x3_tc1::IfcReinforcingMeshType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(18, *v);} else {unset_attribute_value(18);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > Ifc4x3_tc1::IfcReinforcingMeshType::BendingParameters() const { if(get_attribute_value(19).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(19); return cast_vector<::Ifc4x3_tc1::IfcBendingParameterSelect>(es); }
void Ifc4x3_tc1::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector<express::Base>(*v));} else {unset_attribute_value(19);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[894]); }
Ifc4x3_tc1::IfcReinforcingMeshType Ifc4x3_tc1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_MeshLength) {set_attribute_value(10, (*v11_MeshLength)); } if (v12_MeshWidth) {set_attribute_value(11, (*v12_MeshWidth)); } if (v13_LongitudinalBarNominalDiameter) {set_attribute_value(12, (*v13_LongitudinalBarNominalDiameter)); } if (v14_TransverseBarNominalDiameter) {set_attribute_value(13, (*v14_TransverseBarNominalDiameter)); } if (v15_LongitudinalBarCrossSectionArea) {set_attribute_value(14, (*v15_LongitudinalBarCrossSectionArea)); } if (v16_TransverseBarCrossSectionArea) {set_attribute_value(15, (*v16_TransverseBarCrossSectionArea)); } if (v17_LongitudinalBarSpacing) {set_attribute_value(16, (*v17_LongitudinalBarSpacing)); } if (v18_TransverseBarSpacing) {set_attribute_value(17, (*v18_TransverseBarSpacing)); } if (v19_BendingShapeCode) {set_attribute_value(18, (*v19_BendingShapeCode)); } if (v20_BendingParameters) {set_attribute_value(19, cast_vector<express::Base>(*v20_BendingParameters)); }; return *this; }
// Function implementations for IfcRelAdheresToElement
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelAdheresToElement::setRelatingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > Ifc4x3_tc1::IfcRelAdheresToElement::RelatedSurfaceFeatures() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcSurfaceFeature>(es); }
void Ifc4x3_tc1::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[896]); }
Ifc4x3_tc1::IfcRelAdheresToElement Ifc4x3_tc1::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedSurfaceFeatures));; return *this; }
// Function implementations for IfcRelAggregates
::Ifc4x3_tc1::IfcObjectDefinition Ifc4x3_tc1::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcObjectDefinition>(); }
void Ifc4x3_tc1::IfcRelAggregates::setRelatingObject(const ::Ifc4x3_tc1::IfcObjectDefinition& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelAggregates::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcObjectDefinition>(es); }
void Ifc4x3_tc1::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[897]); }
Ifc4x3_tc1::IfcRelAggregates Ifc4x3_tc1::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedObjects));; return *this; }
// Function implementations for IfcRelAssigns
std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelAssigns::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcObjectDefinition>(es); }
void Ifc4x3_tc1::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
std::optional< bool > Ifc4x3_tc1::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } bool v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcRelAssigns::setRelatedObjectsType(const std::optional< bool >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[898]); }
Ifc4x3_tc1::IfcRelAssigns Ifc4x3_tc1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }; return *this; }
// Function implementations for IfcRelAssignsToActor
::Ifc4x3_tc1::IfcActor Ifc4x3_tc1::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcActor>(); }
void Ifc4x3_tc1::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_tc1::IfcActor& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcActorRole Ifc4x3_tc1::IfcRelAssignsToActor::ActingRole() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcActorRole{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcActorRole>(); }
void Ifc4x3_tc1::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_tc1::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[899]); }
Ifc4x3_tc1::IfcRelAssignsToActor Ifc4x3_tc1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcActor v7_RelatingActor, ::Ifc4x3_tc1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole));; return *this; }
// Function implementations for IfcRelAssignsToControl
::Ifc4x3_tc1::IfcControl Ifc4x3_tc1::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcControl>(); }
void Ifc4x3_tc1::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_tc1::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[900]); }
Ifc4x3_tc1::IfcRelAssignsToControl Ifc4x3_tc1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingControl));; return *this; }
// Function implementations for IfcRelAssignsToGroup
::Ifc4x3_tc1::IfcGroup Ifc4x3_tc1::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcGroup>(); }
void Ifc4x3_tc1::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_tc1::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[901]); }
Ifc4x3_tc1::IfcRelAssignsToGroup Ifc4x3_tc1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup));; return *this; }
// Function implementations for IfcRelAssignsToGroupByFactor
double Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[902]); }
Ifc4x3_tc1::IfcRelAssignsToGroupByFactor Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor));; return *this; }
// Function implementations for IfcRelAssignsToProcess
::Ifc4x3_tc1::IfcProcessSelect Ifc4x3_tc1::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcProcessSelect>(); }
void Ifc4x3_tc1::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_tc1::IfcProcessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcMeasureWithUnit Ifc4x3_tc1::IfcRelAssignsToProcess::QuantityInProcess() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcMeasureWithUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcMeasureWithUnit>(); }
void Ifc4x3_tc1::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[903]); }
Ifc4x3_tc1::IfcRelAssignsToProcess Ifc4x3_tc1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_tc1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess));; return *this; }
// Function implementations for IfcRelAssignsToProduct
::Ifc4x3_tc1::IfcProductSelect Ifc4x3_tc1::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcProductSelect>(); }
void Ifc4x3_tc1::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_tc1::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[904]); }
Ifc4x3_tc1::IfcRelAssignsToProduct Ifc4x3_tc1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProduct));; return *this; }
// Function implementations for IfcRelAssignsToResource
::Ifc4x3_tc1::IfcResourceSelect Ifc4x3_tc1::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcResourceSelect>(); }
void Ifc4x3_tc1::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_tc1::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[905]); }
Ifc4x3_tc1::IfcRelAssignsToResource Ifc4x3_tc1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingResource));; return *this; }
// Function implementations for IfcRelAssociates
std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > Ifc4x3_tc1::IfcRelAssociates::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcDefinitionSelect>(es); }
void Ifc4x3_tc1::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[906]); }
Ifc4x3_tc1::IfcRelAssociates Ifc4x3_tc1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));; return *this; }
// Function implementations for IfcRelAssociatesApproval
::Ifc4x3_tc1::IfcApproval Ifc4x3_tc1::IfcRelAssociatesApproval::RelatingApproval() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcApproval>(); }
void Ifc4x3_tc1::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[907]); }
Ifc4x3_tc1::IfcRelAssociatesApproval Ifc4x3_tc1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval));; return *this; }
// Function implementations for IfcRelAssociatesClassification
::Ifc4x3_tc1::IfcClassificationSelect Ifc4x3_tc1::IfcRelAssociatesClassification::RelatingClassification() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcClassificationSelect>(); }
void Ifc4x3_tc1::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_tc1::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[908]); }
Ifc4x3_tc1::IfcRelAssociatesClassification Ifc4x3_tc1::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification));; return *this; }
// Function implementations for IfcRelAssociatesConstraint
std::optional< std::string > Ifc4x3_tc1::IfcRelAssociatesConstraint::Intent() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcRelAssociatesConstraint::setIntent(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcConstraint Ifc4x3_tc1::IfcRelAssociatesConstraint::RelatingConstraint() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcConstraint>(); }
void Ifc4x3_tc1::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_tc1::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[909]); }
Ifc4x3_tc1::IfcRelAssociatesConstraint Ifc4x3_tc1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_tc1::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint));; return *this; }
// Function implementations for IfcRelAssociatesDocument
::Ifc4x3_tc1::IfcDocumentSelect Ifc4x3_tc1::IfcRelAssociatesDocument::RelatingDocument() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDocumentSelect>(); }
void Ifc4x3_tc1::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_tc1::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[910]); }
Ifc4x3_tc1::IfcRelAssociatesDocument Ifc4x3_tc1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument));; return *this; }
// Function implementations for IfcRelAssociatesLibrary
::Ifc4x3_tc1::IfcLibrarySelect Ifc4x3_tc1::IfcRelAssociatesLibrary::RelatingLibrary() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcLibrarySelect>(); }
void Ifc4x3_tc1::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_tc1::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[911]); }
Ifc4x3_tc1::IfcRelAssociatesLibrary Ifc4x3_tc1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary));; return *this; }
// Function implementations for IfcRelAssociatesMaterial
::Ifc4x3_tc1::IfcMaterialSelect Ifc4x3_tc1::IfcRelAssociatesMaterial::RelatingMaterial() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcMaterialSelect>(); }
void Ifc4x3_tc1::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_tc1::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[912]); }
Ifc4x3_tc1::IfcRelAssociatesMaterial Ifc4x3_tc1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial));; return *this; }
// Function implementations for IfcRelAssociatesProfileDef
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcRelAssociatesProfileDef::RelatingProfileDef() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[913]); }
Ifc4x3_tc1::IfcRelAssociatesProfileDef Ifc4x3_tc1::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef));; return *this; }
// Function implementations for IfcRelConnects
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[915]); }
Ifc4x3_tc1::IfcRelConnects Ifc4x3_tc1::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcRelConnectsElements
::Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcRelConnectsElements::ConnectionGeometry() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcConnectionGeometry>(); }
void Ifc4x3_tc1::IfcRelConnectsElements::setConnectionGeometry(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelConnectsElements::RelatingElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelConnectsElements::RelatedElement() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[916]); }
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); }
::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)); }
void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); }
const 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; }
// Function implementations for IfcRelConnectsPortToElement
::Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcPort>(); }
void Ifc4x3_tc1::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_tc1::IfcPort& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcDistributionElement Ifc4x3_tc1::IfcRelConnectsPortToElement::RelatedElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDistributionElement>(); }
void Ifc4x3_tc1::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_tc1::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[919]); }
Ifc4x3_tc1::IfcRelConnectsPortToElement Ifc4x3_tc1::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement));; return *this; }
// Function implementations for IfcRelConnectsPorts
::Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcRelConnectsPorts::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcPort>(); }
void Ifc4x3_tc1::IfcRelConnectsPorts::setRelatingPort(const ::Ifc4x3_tc1::IfcPort& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcRelConnectsPorts::RelatedPort() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcPort>(); }
void Ifc4x3_tc1::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_tc1::IfcPort& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelConnectsPorts::RealizingElement() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcElement{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[918]); }
Ifc4x3_tc1::IfcRelConnectsPorts Ifc4x3_tc1::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcPort v6_RelatedPort, ::Ifc4x3_tc1::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement));; return *this; }
// Function implementations for IfcRelConnectsStructuralActivity
::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect Ifc4x3_tc1::IfcRelConnectsStructuralActivity::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcStructuralActivity Ifc4x3_tc1::IfcRelConnectsStructuralActivity::RelatedStructuralActivity() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcStructuralActivity>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_tc1::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[920]); }
Ifc4x3_tc1::IfcRelConnectsStructuralActivity Ifc4x3_tc1::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity));; return *this; }
// Function implementations for IfcRelConnectsStructuralMember
::Ifc4x3_tc1::IfcStructuralMember Ifc4x3_tc1::IfcRelConnectsStructuralMember::RelatingStructuralMember() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcStructuralMember>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setRelatingStructuralMember(const ::Ifc4x3_tc1::IfcStructuralMember& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcStructuralConnection Ifc4x3_tc1::IfcRelConnectsStructuralMember::RelatedStructuralConnection() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcStructuralConnection>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setRelatedStructuralConnection(const ::Ifc4x3_tc1::IfcStructuralConnection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcBoundaryCondition Ifc4x3_tc1::IfcRelConnectsStructuralMember::AppliedCondition() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcBoundaryCondition>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setAppliedCondition(const ::Ifc4x3_tc1::IfcBoundaryCondition& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcStructuralConnectionCondition Ifc4x3_tc1::IfcRelConnectsStructuralMember::AdditionalConditions() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcStructuralConnectionCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcStructuralConnectionCondition>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setAdditionalConditions(const ::Ifc4x3_tc1::IfcStructuralConnectionCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
std::optional< double > Ifc4x3_tc1::IfcRelConnectsStructuralMember::SupportedLength() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setSupportedLength(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcRelConnectsStructuralMember::ConditionCoordinateSystem() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[921]); }
Ifc4x3_tc1::IfcRelConnectsStructuralMember Ifc4x3_tc1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));; return *this; }
// Function implementations for IfcRelConnectsWithEccentricity
::Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcRelConnectsWithEccentricity::ConnectionConstraint() const { return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcConnectionGeometry>(); }
void Ifc4x3_tc1::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[922]); }
Ifc4x3_tc1::IfcRelConnectsWithEccentricity Ifc4x3_tc1::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_tc1::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint));; return *this; }
// Function implementations for IfcRelConnectsWithRealizingElements
std::vector< ::Ifc4x3_tc1::IfcElement > Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::RealizingElements() const { std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcElement>(es); }
void Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::setRealizingElements(const std::vector< ::Ifc4x3_tc1::IfcElement >& v) { set_attribute_value(7, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(7); }
std::optional< std::string > Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::ConnectionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[923]); }
Ifc4x3_tc1::IfcRelConnectsWithRealizingElements Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_tc1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector<express::Base>(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); }; return *this; }
// Function implementations for IfcRelContainedInSpatialStructure
std::vector< ::Ifc4x3_tc1::IfcProduct > Ifc4x3_tc1::IfcRelContainedInSpatialStructure::RelatedElements() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcProduct>(es); }
void Ifc4x3_tc1::IfcRelContainedInSpatialStructure::setRelatedElements(const std::vector< ::Ifc4x3_tc1::IfcProduct >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcSpatialElement Ifc4x3_tc1::IfcRelContainedInSpatialStructure::RelatingStructure() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcSpatialElement>(); }
void Ifc4x3_tc1::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[924]); }
Ifc4x3_tc1::IfcRelContainedInSpatialStructure Ifc4x3_tc1::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProduct > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure));; return *this; }
// Function implementations for IfcRelCoversBldgElements
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelCoversBldgElements::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelCoversBldgElements::setRelatingBuildingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcCovering > Ifc4x3_tc1::IfcRelCoversBldgElements::RelatedCoverings() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcCovering>(es); }
void Ifc4x3_tc1::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[925]); }
Ifc4x3_tc1::IfcRelCoversBldgElements Ifc4x3_tc1::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedCoverings));; return *this; }
// Function implementations for IfcRelCoversSpaces
::Ifc4x3_tc1::IfcSpace Ifc4x3_tc1::IfcRelCoversSpaces::RelatingSpace() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSpace>(); }
void Ifc4x3_tc1::IfcRelCoversSpaces::setRelatingSpace(const ::Ifc4x3_tc1::IfcSpace& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcCovering > Ifc4x3_tc1::IfcRelCoversSpaces::RelatedCoverings() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcCovering>(es); }
void Ifc4x3_tc1::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[926]); }
Ifc4x3_tc1::IfcRelCoversSpaces Ifc4x3_tc1::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedCoverings));; return *this; }
// Function implementations for IfcRelDeclares
::Ifc4x3_tc1::IfcContext Ifc4x3_tc1::IfcRelDeclares::RelatingContext() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcContext>(); }
void Ifc4x3_tc1::IfcRelDeclares::setRelatingContext(const ::Ifc4x3_tc1::IfcContext& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > Ifc4x3_tc1::IfcRelDeclares::RelatedDefinitions() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcDefinitionSelect>(es); }
void Ifc4x3_tc1::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[927]); }
Ifc4x3_tc1::IfcRelDeclares Ifc4x3_tc1::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedDefinitions));; return *this; }
// Function implementations for IfcRelDecomposes
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[928]); }
Ifc4x3_tc1::IfcRelDecomposes Ifc4x3_tc1::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcRelDefines
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[929]); }
Ifc4x3_tc1::IfcRelDefines Ifc4x3_tc1::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcRelDefinesByObject
std::vector< ::Ifc4x3_tc1::IfcObject > Ifc4x3_tc1::IfcRelDefinesByObject::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcObject>(es); }
void Ifc4x3_tc1::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObject >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcObject Ifc4x3_tc1::IfcRelDefinesByObject::RelatingObject() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcObject>(); }
void Ifc4x3_tc1::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_tc1::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[930]); }
Ifc4x3_tc1::IfcRelDefinesByObject Ifc4x3_tc1::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject));; return *this; }
// Function implementations for IfcRelDefinesByProperties
std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelDefinesByProperties::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcObjectDefinition>(es); }
void Ifc4x3_tc1::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcPropertySetDefinitionSelect Ifc4x3_tc1::IfcRelDefinesByProperties::RelatingPropertyDefinition() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcPropertySetDefinitionSelect>(); }
void Ifc4x3_tc1::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[931]); }
Ifc4x3_tc1::IfcRelDefinesByProperties Ifc4x3_tc1::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition));; return *this; }
// Function implementations for IfcRelDefinesByTemplate
std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > Ifc4x3_tc1::IfcRelDefinesByTemplate::RelatedPropertySets() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcPropertySetDefinition>(es); }
void Ifc4x3_tc1::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcPropertySetTemplate Ifc4x3_tc1::IfcRelDefinesByTemplate::RelatingTemplate() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcPropertySetTemplate>(); }
void Ifc4x3_tc1::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_tc1::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[932]); }
Ifc4x3_tc1::IfcRelDefinesByTemplate Ifc4x3_tc1::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_tc1::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate));; return *this; }
// Function implementations for IfcRelDefinesByType
std::vector< ::Ifc4x3_tc1::IfcObject > Ifc4x3_tc1::IfcRelDefinesByType::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcObject>(es); }
void Ifc4x3_tc1::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObject >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcTypeObject Ifc4x3_tc1::IfcRelDefinesByType::RelatingType() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcTypeObject>(); }
void Ifc4x3_tc1::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_tc1::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[933]); }
Ifc4x3_tc1::IfcRelDefinesByType Ifc4x3_tc1::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType));; return *this; }
// Function implementations for IfcRelFillsElement
::Ifc4x3_tc1::IfcOpeningElement Ifc4x3_tc1::IfcRelFillsElement::RelatingOpeningElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcOpeningElement>(); }
void Ifc4x3_tc1::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_tc1::IfcOpeningElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelFillsElement::RelatedBuildingElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[934]); }
Ifc4x3_tc1::IfcRelFillsElement Ifc4x3_tc1::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement));; return *this; }
// Function implementations for IfcRelFlowControlElements
std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement > Ifc4x3_tc1::IfcRelFlowControlElements::RelatedControlElements() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcDistributionControlElement>(es); }
void Ifc4x3_tc1::IfcRelFlowControlElements::setRelatedControlElements(const std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcDistributionFlowElement Ifc4x3_tc1::IfcRelFlowControlElements::RelatingFlowElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDistributionFlowElement>(); }
void Ifc4x3_tc1::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_tc1::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[935]); }
Ifc4x3_tc1::IfcRelFlowControlElements Ifc4x3_tc1::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_tc1::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement));; return *this; }
// Function implementations for IfcRelInterferesElements
::Ifc4x3_tc1::IfcInterferenceSelect Ifc4x3_tc1::IfcRelInterferesElements::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcInterferenceSelect>(); }
void Ifc4x3_tc1::IfcRelInterferesElements::setRelatingElement(const ::Ifc4x3_tc1::IfcInterferenceSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcInterferenceSelect Ifc4x3_tc1::IfcRelInterferesElements::RelatedElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcInterferenceSelect>(); }
void Ifc4x3_tc1::IfcRelInterferesElements::setRelatedElement(const ::Ifc4x3_tc1::IfcInterferenceSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcRelInterferesElements::InterferenceGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcConnectionGeometry>(); }
void Ifc4x3_tc1::IfcRelInterferesElements::setInterferenceGeometry(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< std::string > Ifc4x3_tc1::IfcRelInterferesElements::InterferenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcRelInterferesElements::setInterferenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
boost::logic::tribool Ifc4x3_tc1::IfcRelInterferesElements::ImpliedOrder() const { boost::logic::tribool v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
::Ifc4x3_tc1::IfcSpatialZone Ifc4x3_tc1::IfcRelInterferesElements::InterferenceSpace() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcSpatialZone{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcSpatialZone>(); }
void Ifc4x3_tc1::IfcRelInterferesElements::setInterferenceSpace(const ::Ifc4x3_tc1::IfcSpatialZone& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[936]); }
Ifc4x3_tc1::IfcRelInterferesElements Ifc4x3_tc1::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_tc1::IfcSpatialZone v10_InterferenceSpace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, (v10_InterferenceSpace));; return *this; }
// Function implementations for IfcRelNests
::Ifc4x3_tc1::IfcObjectDefinition Ifc4x3_tc1::IfcRelNests::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcObjectDefinition>(); }
void Ifc4x3_tc1::IfcRelNests::setRelatingObject(const ::Ifc4x3_tc1::IfcObjectDefinition& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelNests::RelatedObjects() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcObjectDefinition>(es); }
void Ifc4x3_tc1::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[937]); }
Ifc4x3_tc1::IfcRelNests Ifc4x3_tc1::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedObjects));; return *this; }
// Function implementations for IfcRelPositions
::Ifc4x3_tc1::IfcPositioningElement Ifc4x3_tc1::IfcRelPositions::RelatingPositioningElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcPositioningElement>(); }
void Ifc4x3_tc1::IfcRelPositions::setRelatingPositioningElement(const ::Ifc4x3_tc1::IfcPositioningElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcProduct > Ifc4x3_tc1::IfcRelPositions::RelatedProducts() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcProduct>(es); }
void Ifc4x3_tc1::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_tc1::IfcProduct >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[938]); }
Ifc4x3_tc1::IfcRelPositions Ifc4x3_tc1::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_tc1::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedProducts));; return *this; }
// Function implementations for IfcRelProjectsElement
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelProjectsElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcFeatureElementAddition Ifc4x3_tc1::IfcRelProjectsElement::RelatedFeatureElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcFeatureElementAddition>(); }
void Ifc4x3_tc1::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_tc1::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[939]); }
Ifc4x3_tc1::IfcRelProjectsElement Ifc4x3_tc1::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, ::Ifc4x3_tc1::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement));; return *this; }
// Function implementations for IfcRelReferencedInSpatialStructure
std::vector< ::Ifc4x3_tc1::IfcSpatialReferenceSelect > Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::RelatedElements() const { std::vector<express::Base> es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcSpatialReferenceSelect>(es); }
void Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::vector< ::Ifc4x3_tc1::IfcSpatialReferenceSelect >& v) { set_attribute_value(4, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcSpatialElement Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::RelatingStructure() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcSpatialElement>(); }
void Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[940]); }
Ifc4x3_tc1::IfcRelReferencedInSpatialStructure Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector<express::Base>(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure));; return *this; }
// Function implementations for IfcRelSequence
::Ifc4x3_tc1::IfcProcess Ifc4x3_tc1::IfcRelSequence::RelatingProcess() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcProcess>(); }
void Ifc4x3_tc1::IfcRelSequence::setRelatingProcess(const ::Ifc4x3_tc1::IfcProcess& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcProcess Ifc4x3_tc1::IfcRelSequence::RelatedProcess() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcProcess>(); }
void Ifc4x3_tc1::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_tc1::IfcProcess& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcLagTime Ifc4x3_tc1::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcLagTime>(); }
void Ifc4x3_tc1::IfcRelSequence::setTimeLag(const ::Ifc4x3_tc1::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > Ifc4x3_tc1::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSequenceEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[941]); }
Ifc4x3_tc1::IfcRelSequence Ifc4x3_tc1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_tc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_tc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); }; return *this; }
// Function implementations for IfcRelServicesBuildings
::Ifc4x3_tc1::IfcSystem Ifc4x3_tc1::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSystem>(); }
void Ifc4x3_tc1::IfcRelServicesBuildings::setRelatingSystem(const ::Ifc4x3_tc1::IfcSystem& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcSpatialElement > Ifc4x3_tc1::IfcRelServicesBuildings::RelatedBuildings() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcSpatialElement>(es); }
void Ifc4x3_tc1::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_tc1::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[942]); }
Ifc4x3_tc1::IfcRelServicesBuildings Ifc4x3_tc1::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_tc1::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector<express::Base>(v6_RelatedBuildings));; return *this; }
// Function implementations for IfcRelSpaceBoundary
::Ifc4x3_tc1::IfcSpaceBoundarySelect Ifc4x3_tc1::IfcRelSpaceBoundary::RelatingSpace() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSpaceBoundarySelect>(); }
void Ifc4x3_tc1::IfcRelSpaceBoundary::setRelatingSpace(const ::Ifc4x3_tc1::IfcSpaceBoundarySelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelSpaceBoundary::RelatedBuildingElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcConnectionGeometry>(); }
void Ifc4x3_tc1::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_tc1::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value Ifc4x3_tc1::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_tc1::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[943]); }
Ifc4x3_tc1::IfcRelSpaceBoundary Ifc4x3_tc1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));; return *this; }
// Function implementations for IfcRelSpaceBoundary1stLevel
::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel>(); }
void Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel> Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector<IfcRelSpaceBoundary1stLevel>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[944], 9)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[944]); }
Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));; return *this; }
// Function implementations for IfcRelSpaceBoundary2ndLevel
::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel>(); }
void Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); }
std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector<IfcRelSpaceBoundary2ndLevel>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[945], 10)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[945]); }
Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary));; return *this; }
// Function implementations for IfcRelVoidsElement
::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); }
void Ifc4x3_tc1::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcFeatureElementSubtraction Ifc4x3_tc1::IfcRelVoidsElement::RelatedOpeningElement() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcFeatureElementSubtraction>(); }
void Ifc4x3_tc1::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_tc1::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[946]); }
Ifc4x3_tc1::IfcRelVoidsElement Ifc4x3_tc1::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_tc1::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement));; return *this; }
// Function implementations for IfcRelationship
const ifcopenshell::entity& Ifc4x3_tc1::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[914]); }
Ifc4x3_tc1::IfcRelationship Ifc4x3_tc1::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcReparametrisedCompositeCurveSegment
double Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::ParamLength() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[947]); }
Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength));; return *this; }
// Function implementations for IfcRepresentation
::Ifc4x3_tc1::IfcRepresentationContext Ifc4x3_tc1::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcRepresentationContext>(); }
void Ifc4x3_tc1::IfcRepresentation::setContextOfItems(const ::Ifc4x3_tc1::IfcRepresentationContext& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcRepresentation::RepresentationIdentifier() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRepresentation::setRepresentationIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcRepresentation::RepresentationType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRepresentation::setRepresentationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > Ifc4x3_tc1::IfcRepresentation::Items() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcRepresentationItem>(es); }
void Ifc4x3_tc1::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_tc1::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
std::vector<::Ifc4x3_tc1::IfcRepresentationMap> Ifc4x3_tc1::IfcRepresentation::RepresentationMap() const { return cast_vector<IfcRepresentationMap>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[951], 1)); }
std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentation::LayerAssignments() const { return cast_vector<IfcPresentationLayerAssignment>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[789], 2)); }
std::vector<::Ifc4x3_tc1::IfcProductRepresentation> Ifc4x3_tc1::IfcRepresentation::OfProductRepresentation() const { return cast_vector<IfcProductRepresentation>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[800], 2)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[948]); }
Ifc4x3_tc1::IfcRepresentation Ifc4x3_tc1::IfcRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcRepresentationContext
std::optional< std::string > Ifc4x3_tc1::IfcRepresentationContext::ContextIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcRepresentationContext::setContextIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::vector<::Ifc4x3_tc1::IfcRepresentation> Ifc4x3_tc1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector<IfcRepresentation>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[948], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[949]); }
Ifc4x3_tc1::IfcRepresentationContext Ifc4x3_tc1::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }; return *this; }
// Function implementations for IfcRepresentationItem
std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentationItem::LayerAssignment() const { return cast_vector<IfcPresentationLayerAssignment>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[789], 2)); }
std::vector<::Ifc4x3_tc1::IfcStyledItem> Ifc4x3_tc1::IfcRepresentationItem::StyledByItem() const { return cast_vector<IfcStyledItem>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1114], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[950]); }
Ifc4x3_tc1::IfcRepresentationItem Ifc4x3_tc1::IfcRepresentationItem::initialize() { ; return *this; }
// Function implementations for IfcRepresentationMap
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcRepresentationMap::MappingOrigin() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcRepresentation Ifc4x3_tc1::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcRepresentation>(); }
void Ifc4x3_tc1::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_tc1::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector<IfcShapeAspect>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 4)); }
std::vector<::Ifc4x3_tc1::IfcMappedItem> Ifc4x3_tc1::IfcRepresentationMap::MapUsage() const { return cast_vector<IfcMappedItem>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[626], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[951]); }
Ifc4x3_tc1::IfcRepresentationMap Ifc4x3_tc1::IfcRepresentationMap::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_tc1::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation));; return *this; }
// Function implementations for IfcResource
std::optional< std::string > Ifc4x3_tc1::IfcResource::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcResource::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcResource::ResourceOf() const { return cast_vector<IfcRelAssignsToResource>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[905], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[952]); }
Ifc4x3_tc1::IfcResource Ifc4x3_tc1::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }; return *this; }
// Function implementations for IfcResourceApprovalRelationship
std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > Ifc4x3_tc1::IfcResourceApprovalRelationship::RelatedResourceObjects() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcResourceObjectSelect>(es); }
void Ifc4x3_tc1::IfcResourceApprovalRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcApproval Ifc4x3_tc1::IfcResourceApprovalRelationship::RelatingApproval() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcApproval>(); }
void Ifc4x3_tc1::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[953]); }
Ifc4x3_tc1::IfcResourceApprovalRelationship Ifc4x3_tc1::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_tc1::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector<express::Base>(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval));; return *this; }
// Function implementations for IfcResourceConstraintRelationship
::Ifc4x3_tc1::IfcConstraint Ifc4x3_tc1::IfcResourceConstraintRelationship::RelatingConstraint() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcConstraint>(); }
void Ifc4x3_tc1::IfcResourceConstraintRelationship::setRelatingConstraint(const ::Ifc4x3_tc1::IfcConstraint& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > Ifc4x3_tc1::IfcResourceConstraintRelationship::RelatedResourceObjects() const { std::vector<express::Base> es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcResourceObjectSelect>(es); }
void Ifc4x3_tc1::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[954]); }
Ifc4x3_tc1::IfcResourceConstraintRelationship Ifc4x3_tc1::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector<express::Base>(v4_RelatedResourceObjects));; return *this; }
// Function implementations for IfcResourceLevelRelationship
std::optional< std::string > Ifc4x3_tc1::IfcResourceLevelRelationship::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcResourceLevelRelationship::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceLevelRelationship::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[955]); }
Ifc4x3_tc1::IfcResourceLevelRelationship Ifc4x3_tc1::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }; return *this; }
// Function implementations for IfcResourceTime
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ScheduleWork() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcResourceTime::setScheduleWork(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcResourceTime::ScheduleUsage() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcResourceTime::setScheduleUsage(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcResourceTime::setScheduleStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ScheduleFinish() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcResourceTime::setScheduleFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ScheduleContour() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcResourceTime::setScheduleContour(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::LevelingDelay() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcResourceTime::setLevelingDelay(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< bool > Ifc4x3_tc1::IfcResourceTime::IsOverAllocated() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcResourceTime::setIsOverAllocated(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::StatusTime() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcResourceTime::setStatusTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ActualWork() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcResourceTime::setActualWork(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcResourceTime::ActualUsage() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcResourceTime::setActualUsage(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ActualStart() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } std::string v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcResourceTime::setActualStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::ActualFinish() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcResourceTime::setActualFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< std::string > Ifc4x3_tc1::IfcResourceTime::RemainingWork() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::string v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcResourceTime::setRemainingWork(const std::optional< std::string >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< double > Ifc4x3_tc1::IfcResourceTime::RemainingUsage() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcResourceTime::setRemainingUsage(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
std::optional< double > Ifc4x3_tc1::IfcResourceTime::Completion() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } double v = get_attribute_value(17); return v; }
void Ifc4x3_tc1::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[958]); }
Ifc4x3_tc1::IfcResourceTime Ifc4x3_tc1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_ScheduleWork) {set_attribute_value(3, (*v4_ScheduleWork)); } if (v5_ScheduleUsage) {set_attribute_value(4, (*v5_ScheduleUsage)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_ScheduleContour) {set_attribute_value(7, (*v8_ScheduleContour)); } if (v9_LevelingDelay) {set_attribute_value(8, (*v9_LevelingDelay)); } if (v10_IsOverAllocated) {set_attribute_value(9, (*v10_IsOverAllocated)); } if (v11_StatusTime) {set_attribute_value(10, (*v11_StatusTime)); } if (v12_ActualWork) {set_attribute_value(11, (*v12_ActualWork)); } if (v13_ActualUsage) {set_attribute_value(12, (*v13_ActualUsage)); } if (v14_ActualStart) {set_attribute_value(13, (*v14_ActualStart)); } if (v15_ActualFinish) {set_attribute_value(14, (*v15_ActualFinish)); } if (v16_RemainingWork) {set_attribute_value(15, (*v16_RemainingWork)); } if (v17_RemainingUsage) {set_attribute_value(16, (*v17_RemainingUsage)); } if (v18_Completion) {set_attribute_value(17, (*v18_Completion)); }; return *this; }
// Function implementations for IfcRevolvedAreaSolid
::Ifc4x3_tc1::IfcAxis1Placement Ifc4x3_tc1::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis1Placement>(); }
void Ifc4x3_tc1::IfcRevolvedAreaSolid::setAxis(const ::Ifc4x3_tc1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[959]); }
Ifc4x3_tc1::IfcRevolvedAreaSolid Ifc4x3_tc1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));; return *this; }
// Function implementations for IfcRevolvedAreaSolidTapered
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::EndSweptArea() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[960]); }
Ifc4x3_tc1::IfcRevolvedAreaSolidTapered Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea));; return *this; }
// Function implementations for IfcRightCircularCone
double Ifc4x3_tc1::IfcRightCircularCone::Height() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRightCircularCone::setHeight(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcRightCircularCone::BottomRadius() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[961]); }
Ifc4x3_tc1::IfcRightCircularCone Ifc4x3_tc1::IfcRightCircularCone::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius));; return *this; }
// Function implementations for IfcRightCircularCylinder
double Ifc4x3_tc1::IfcRightCircularCylinder::Height() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcRightCircularCylinder::setHeight(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcRightCircularCylinder::Radius() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[962]); }
Ifc4x3_tc1::IfcRightCircularCylinder Ifc4x3_tc1::IfcRightCircularCylinder::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius));; return *this; }
// Function implementations for IfcRoad
std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > Ifc4x3_tc1::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoadTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[963]); }
Ifc4x3_tc1::IfcRoad Ifc4x3_tc1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcRoadPart
std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > Ifc4x3_tc1::IfcRoadPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoadPartTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoadPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[964]); }
Ifc4x3_tc1::IfcRoadPart Ifc4x3_tc1::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcRoof
std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > Ifc4x3_tc1::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoofTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[968]); }
Ifc4x3_tc1::IfcRoof Ifc4x3_tc1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcRoofType
::Ifc4x3_tc1::IfcRoofTypeEnum::Value Ifc4x3_tc1::IfcRoofType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRoofTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcRoofType::setPredefinedType(const ::Ifc4x3_tc1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[969]); }
Ifc4x3_tc1::IfcRoofType Ifc4x3_tc1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcRoot
std::string Ifc4x3_tc1::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcRoot::setGlobalId(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcOwnerHistory Ifc4x3_tc1::IfcRoot::OwnerHistory() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcOwnerHistory{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcOwnerHistory>(); }
void Ifc4x3_tc1::IfcRoot::setOwnerHistory(const ::Ifc4x3_tc1::IfcOwnerHistory& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcRoot::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcRoot::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcRoot::Description() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[971]); }
Ifc4x3_tc1::IfcRoot Ifc4x3_tc1::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }; return *this; }
// Function implementations for IfcRoundedRectangleProfileDef
double Ifc4x3_tc1::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[976]); }
Ifc4x3_tc1::IfcRoundedRectangleProfileDef Ifc4x3_tc1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius));; return *this; }
// Function implementations for IfcSIUnit
std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > Ifc4x3_tc1::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSIPrefix::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcSIUnitName::Value Ifc4x3_tc1::IfcSIUnit::Name() const { return ::Ifc4x3_tc1::IfcSIUnitName::FromString(get_attribute_value(3)); }
void Ifc4x3_tc1::IfcSIUnit::setName(const ::Ifc4x3_tc1::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1022]); }
Ifc4x3_tc1::IfcSIUnit Ifc4x3_tc1::IfcSIUnit::initialize(::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_tc1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcSIUnitName::Class(),(size_t)v4_Name)));; return *this; }
// Function implementations for IfcSanitaryTerminal
std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_tc1::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[977]); }
Ifc4x3_tc1::IfcSanitaryTerminal Ifc4x3_tc1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSanitaryTerminalType
::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_tc1::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[978]); }
Ifc4x3_tc1::IfcSanitaryTerminalType Ifc4x3_tc1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSchedulingTime
std::optional< std::string > Ifc4x3_tc1::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > Ifc4x3_tc1::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDataOriginEnum::FromString(get_attribute_value(1)); }
void Ifc4x3_tc1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[980]); }
Ifc4x3_tc1::IfcSchedulingTime Ifc4x3_tc1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }; return *this; }
// Function implementations for IfcSeamCurve
const ifcopenshell::entity& Ifc4x3_tc1::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[981]); }
Ifc4x3_tc1::IfcSeamCurve Ifc4x3_tc1::IfcSeamCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector<express::Base>(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; return *this; }
// Function implementations for IfcSecondOrderPolynomialSpiral
double Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::setQuadraticTerm(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::LinearTerm() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::setLinearTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::ConstantTerm() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[982]); }
Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); }; return *this; }
// Function implementations for IfcSectionProperties
::Ifc4x3_tc1::IfcSectionTypeEnum::Value Ifc4x3_tc1::IfcSectionProperties::SectionType() const { return ::Ifc4x3_tc1::IfcSectionTypeEnum::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcSectionProperties::setSectionType(const ::Ifc4x3_tc1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcSectionProperties::setStartProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcSectionProperties::setEndProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[989]); }
Ifc4x3_tc1::IfcSectionProperties Ifc4x3_tc1::IfcSectionProperties::initialize(::Ifc4x3_tc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_tc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_tc1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile));; return *this; }
// Function implementations for IfcSectionReinforcementProperties
double Ifc4x3_tc1::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setLongitudinalStartPosition(const double& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcSectionReinforcementProperties::LongitudinalEndPosition() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_tc1::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcSectionProperties Ifc4x3_tc1::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSectionProperties>(); }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_tc1::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > Ifc4x3_tc1::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcReinforcementBarProperties>(es); }
void Ifc4x3_tc1::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[990]); }
Ifc4x3_tc1::IfcSectionReinforcementProperties Ifc4x3_tc1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_tc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { set_attribute_value(0, (v1_LongitudinalStartPosition));set_attribute_value(1, (v2_LongitudinalEndPosition)); if (v3_TransversePosition) {set_attribute_value(2, (*v3_TransversePosition)); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector<express::Base>(v6_CrossSectionReinforcementDefinitions));; return *this; }
// Function implementations for IfcSectionedSolid
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcSectionedSolid::setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcSectionedSolid::CrossSections() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcProfileDef>(es); }
void Ifc4x3_tc1::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[984]); }
Ifc4x3_tc1::IfcSectionedSolid Ifc4x3_tc1::IfcSectionedSolid::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector<express::Base>(v2_CrossSections));; return *this; }
// Function implementations for IfcSectionedSolidHorizontal
std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > Ifc4x3_tc1::IfcSectionedSolidHorizontal::CrossSectionPositions() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcAxis2PlacementLinear>(es); }
void Ifc4x3_tc1::IfcSectionedSolidHorizontal::setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[985]); }
Ifc4x3_tc1::IfcSectionedSolidHorizontal Ifc4x3_tc1::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v3_CrossSectionPositions) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector<express::Base>(v2_CrossSections));set_attribute_value(2, cast_vector<express::Base>(v3_CrossSectionPositions));; return *this; }
// Function implementations for IfcSectionedSpine
::Ifc4x3_tc1::IfcCompositeCurve Ifc4x3_tc1::IfcSectionedSpine::SpineCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCompositeCurve>(); }
void Ifc4x3_tc1::IfcSectionedSpine::setSpineCurve(const ::Ifc4x3_tc1::IfcCompositeCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcSectionedSpine::CrossSections() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcProfileDef>(es); }
void Ifc4x3_tc1::IfcSectionedSpine::setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > Ifc4x3_tc1::IfcSectionedSpine::CrossSectionPositions() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcAxis2Placement3D>(es); }
void Ifc4x3_tc1::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[986]); }
Ifc4x3_tc1::IfcSectionedSpine Ifc4x3_tc1::IfcSectionedSpine::initialize(::Ifc4x3_tc1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector<express::Base>(v2_CrossSections));set_attribute_value(2, cast_vector<express::Base>(v3_CrossSectionPositions));; return *this; }
// Function implementations for IfcSectionedSurface
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcSectionedSurface::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcSectionedSurface::setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > Ifc4x3_tc1::IfcSectionedSurface::CrossSectionPositions() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcAxis2PlacementLinear>(es); }
void Ifc4x3_tc1::IfcSectionedSurface::setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcSectionedSurface::CrossSections() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcProfileDef>(es); }
void Ifc4x3_tc1::IfcSectionedSurface::setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[987]); }
Ifc4x3_tc1::IfcSectionedSurface Ifc4x3_tc1::IfcSectionedSurface::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector<express::Base>(v2_CrossSectionPositions));set_attribute_value(2, cast_vector<express::Base>(v3_CrossSections));; return *this; }
// Function implementations for IfcSegment
::Ifc4x3_tc1::IfcTransitionCode::Value Ifc4x3_tc1::IfcSegment::Transition() const { return ::Ifc4x3_tc1::IfcTransitionCode::FromString(get_attribute_value(0)); }
void Ifc4x3_tc1::IfcSegment::setTransition(const ::Ifc4x3_tc1::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); }
std::vector<::Ifc4x3_tc1::IfcCompositeCurve> Ifc4x3_tc1::IfcSegment::UsingCurves() const { return cast_vector<IfcCompositeCurve>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[192], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[992]); }
Ifc4x3_tc1::IfcSegment Ifc4x3_tc1::IfcSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));; return *this; }
// Function implementations for IfcSegmentedReferenceCurve
::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); }
void Ifc4x3_tc1::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcPlacement Ifc4x3_tc1::IfcSegmentedReferenceCurve::EndPoint() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcPlacement{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcPlacement>(); }
void Ifc4x3_tc1::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[993]); }
Ifc4x3_tc1::IfcSegmentedReferenceCurve Ifc4x3_tc1::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector<express::Base>(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint));; return *this; }
// Function implementations for IfcSensor
std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > Ifc4x3_tc1::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSensorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[995]); }
Ifc4x3_tc1::IfcSensor Ifc4x3_tc1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSensorType
::Ifc4x3_tc1::IfcSensorTypeEnum::Value Ifc4x3_tc1::IfcSensorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSensorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSensorType::setPredefinedType(const ::Ifc4x3_tc1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[996]); }
Ifc4x3_tc1::IfcSensorType Ifc4x3_tc1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSeventhOrderPolynomialSpiral
double Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setSepticTerm(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::SexticTerm() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setSexticTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::QuinticTerm() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setQuinticTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::QuarticTerm() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setQuarticTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::CubicTerm() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setCubicTerm(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::QuadraticTerm() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setQuadraticTerm(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::LinearTerm() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setLinearTerm(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::ConstantTerm() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[999]); }
Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SepticTerm)); if (v3_SexticTerm) {set_attribute_value(2, (*v3_SexticTerm)); } if (v4_QuinticTerm) {set_attribute_value(3, (*v4_QuinticTerm)); } if (v5_QuarticTerm) {set_attribute_value(4, (*v5_QuarticTerm)); } if (v6_CubicTerm) {set_attribute_value(5, (*v6_CubicTerm)); } if (v7_QuadraticTerm) {set_attribute_value(6, (*v7_QuadraticTerm)); } if (v8_LinearTerm) {set_attribute_value(7, (*v8_LinearTerm)); } if (v9_ConstantTerm) {set_attribute_value(8, (*v9_ConstantTerm)); }; return *this; }
// Function implementations for IfcShadingDevice
std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > Ifc4x3_tc1::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1000]); }
Ifc4x3_tc1::IfcShadingDevice Ifc4x3_tc1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcShadingDeviceType
::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_tc1::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1001]); }
Ifc4x3_tc1::IfcShadingDeviceType Ifc4x3_tc1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcShapeAspect
std::vector< ::Ifc4x3_tc1::IfcShapeModel > Ifc4x3_tc1::IfcShapeAspect::ShapeRepresentations() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcShapeModel>(es); }
void Ifc4x3_tc1::IfcShapeAspect::setShapeRepresentations(const std::vector< ::Ifc4x3_tc1::IfcShapeModel >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcShapeAspect::Name() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcShapeAspect::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcShapeAspect::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcShapeAspect::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
boost::logic::tribool Ifc4x3_tc1::IfcShapeAspect::ProductDefinitional() const { boost::logic::tribool v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcProductRepresentationSelect Ifc4x3_tc1::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcProductRepresentationSelect>(); }
void Ifc4x3_tc1::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_tc1::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcShapeAspect::HasExternalReferences() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1003]); }
Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_tc1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_tc1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector<express::Base>(v1_ShapeRepresentations)); if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_ProductDefinitional));set_attribute_value(4, (v5_PartOfProductDefinitionShape));; return *this; }
// Function implementations for IfcShapeModel
std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcShapeModel::OfShapeAspect() const { return cast_vector<IfcShapeAspect>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1004]); }
Ifc4x3_tc1::IfcShapeModel Ifc4x3_tc1::IfcShapeModel::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcShapeRepresentation
const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1005]); }
Ifc4x3_tc1::IfcShapeRepresentation Ifc4x3_tc1::IfcShapeRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcShellBasedSurfaceModel
std::vector< ::Ifc4x3_tc1::IfcShell > Ifc4x3_tc1::IfcShellBasedSurfaceModel::SbsmBoundary() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcShell>(es); }
void Ifc4x3_tc1::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_tc1::IfcShell >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1008]); }
Ifc4x3_tc1::IfcShellBasedSurfaceModel Ifc4x3_tc1::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_tc1::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector<express::Base>(v1_SbsmBoundary));; return *this; }
// Function implementations for IfcSign
std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > Ifc4x3_tc1::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSignTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1009]); }
Ifc4x3_tc1::IfcSign Ifc4x3_tc1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSignType
::Ifc4x3_tc1::IfcSignTypeEnum::Value Ifc4x3_tc1::IfcSignType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSignTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSignType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1013]); }
Ifc4x3_tc1::IfcSignType Ifc4x3_tc1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSignal
std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > Ifc4x3_tc1::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSignalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1010]); }
Ifc4x3_tc1::IfcSignal Ifc4x3_tc1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSignalType
::Ifc4x3_tc1::IfcSignalTypeEnum::Value Ifc4x3_tc1::IfcSignalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSignalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSignalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1011]); }
Ifc4x3_tc1::IfcSignalType Ifc4x3_tc1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSimpleProperty
const ifcopenshell::entity& Ifc4x3_tc1::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1015]); }
Ifc4x3_tc1::IfcSimpleProperty Ifc4x3_tc1::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }; return *this; }
// Function implementations for IfcSimplePropertyTemplate
std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_tc1::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setSecondaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
::Ifc4x3_tc1::IfcPropertyEnumeration Ifc4x3_tc1::IfcSimplePropertyTemplate::Enumerators() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcPropertyEnumeration{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcPropertyEnumeration>(); }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setEnumerators(const ::Ifc4x3_tc1::IfcPropertyEnumeration& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcSimplePropertyTemplate::PrimaryUnit() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setPrimaryUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcSimplePropertyTemplate::SecondaryUnit() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > Ifc4x3_tc1::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStateEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1016]); }
Ifc4x3_tc1::IfcSimplePropertyTemplate Ifc4x3_tc1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_tc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_tc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_tc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_TemplateType) {set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_PrimaryMeasureType) {set_attribute_value(5, (*v6_PrimaryMeasureType)); } if (v7_SecondaryMeasureType) {set_attribute_value(6, (*v7_SecondaryMeasureType)); }set_attribute_value(7, (v8_Enumerators));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); }; return *this; }
// Function implementations for IfcSineSpiral
double Ifc4x3_tc1::IfcSineSpiral::SineTerm() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSineSpiral::setSineTerm(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcSineSpiral::LinearTerm() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSineSpiral::setLinearTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSineSpiral::ConstantTerm() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1019]); }
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< 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; }
void Ifc4x3_tc1::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
::Ifc4x3_tc1::IfcPostalAddress Ifc4x3_tc1::IfcSite::SiteAddress() const { if(get_attribute_value(13).isNull()) { return ::Ifc4x3_tc1::IfcPostalAddress{}; } return ((express::Base)(get_attribute_value(13))).as<::Ifc4x3_tc1::IfcPostalAddress>(); }
void Ifc4x3_tc1::IfcSite::setSiteAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); }
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; }
// Function implementations for IfcSlab
std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > Ifc4x3_tc1::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSlabTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1025]); }
Ifc4x3_tc1::IfcSlab Ifc4x3_tc1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSlabType
::Ifc4x3_tc1::IfcSlabTypeEnum::Value Ifc4x3_tc1::IfcSlabType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSlabTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSlabType::setPredefinedType(const ::Ifc4x3_tc1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1026]); }
Ifc4x3_tc1::IfcSlabType Ifc4x3_tc1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSlippageConnectionCondition
std::optional< double > Ifc4x3_tc1::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSlippageConnectionCondition::setSlippageX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcSlippageConnectionCondition::SlippageY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSlippageConnectionCondition::setSlippageY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSlippageConnectionCondition::SlippageZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1028]); }
Ifc4x3_tc1::IfcSlippageConnectionCondition Ifc4x3_tc1::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SlippageX) {set_attribute_value(1, (*v2_SlippageX)); } if (v3_SlippageY) {set_attribute_value(2, (*v3_SlippageY)); } if (v4_SlippageZ) {set_attribute_value(3, (*v4_SlippageZ)); }; return *this; }
// Function implementations for IfcSolarDevice
std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > Ifc4x3_tc1::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1029]); }
Ifc4x3_tc1::IfcSolarDevice Ifc4x3_tc1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSolarDeviceType
::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_tc1::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1030]); }
Ifc4x3_tc1::IfcSolarDeviceType Ifc4x3_tc1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSolidModel
const ifcopenshell::entity& Ifc4x3_tc1::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1033]); }
Ifc4x3_tc1::IfcSolidModel Ifc4x3_tc1::IfcSolidModel::initialize() { ; return *this; }
// Function implementations for IfcSpace
std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > Ifc4x3_tc1::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcSpace::HasCoverings() const { return cast_vector<IfcRelCoversSpaces>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[926], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcSpace::BoundedBy() const { return cast_vector<IfcRelSpaceBoundary>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1039]); }
Ifc4x3_tc1::IfcSpace Ifc4x3_tc1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); }; return *this; }
// Function implementations for IfcSpaceHeater
std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_tc1::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1041]); }
Ifc4x3_tc1::IfcSpaceHeater Ifc4x3_tc1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSpaceHeaterType
::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_tc1::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1042]); }
Ifc4x3_tc1::IfcSpaceHeaterType Ifc4x3_tc1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSpaceType
::Ifc4x3_tc1::IfcSpaceTypeEnum::Value Ifc4x3_tc1::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< std::string > Ifc4x3_tc1::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1044]); }
Ifc4x3_tc1::IfcSpaceType Ifc4x3_tc1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); }; return *this; }
// Function implementations for IfcSpatialElement
std::optional< std::string > Ifc4x3_tc1::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ContainsElements() const { return cast_vector<IfcRelContainedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSpatialElement::ServicedBySystems() const { return cast_vector<IfcRelServicesBuildings>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[942], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ReferencesElements() const { return cast_vector<IfcRelReferencedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::IsInterferedByElements() const { return cast_vector<IfcRelInterferesElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 5)); }
std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::InterferesElements() const { return cast_vector<IfcRelInterferesElements>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1046]); }
Ifc4x3_tc1::IfcSpatialElement Ifc4x3_tc1::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }; return *this; }
// Function implementations for IfcSpatialElementType
std::optional< std::string > Ifc4x3_tc1::IfcSpatialElementType::ElementType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1047]); }
Ifc4x3_tc1::IfcSpatialElementType Ifc4x3_tc1::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcSpatialStructureElement
std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > Ifc4x3_tc1::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElementCompositionEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1049]); }
Ifc4x3_tc1::IfcSpatialStructureElement Ifc4x3_tc1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }; return *this; }
// Function implementations for IfcSpatialStructureElementType
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1050]); }
Ifc4x3_tc1::IfcSpatialStructureElementType Ifc4x3_tc1::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcSpatialZone
std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > Ifc4x3_tc1::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1051]); }
Ifc4x3_tc1::IfcSpatialZone Ifc4x3_tc1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSpatialZoneType
::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_tc1::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< std::string > Ifc4x3_tc1::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1052]); }
Ifc4x3_tc1::IfcSpatialZoneType Ifc4x3_tc1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); }; return *this; }
// Function implementations for IfcSphere
double Ifc4x3_tc1::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1058]); }
Ifc4x3_tc1::IfcSphere Ifc4x3_tc1::IfcSphere::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius));; return *this; }
// Function implementations for IfcSphericalSurface
double Ifc4x3_tc1::IfcSphericalSurface::Radius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1059]); }
Ifc4x3_tc1::IfcSphericalSurface Ifc4x3_tc1::IfcSphericalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius));; return *this; }
// Function implementations for IfcSpiral
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcSpiral::Position() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcSpiral::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1060]); }
Ifc4x3_tc1::IfcSpiral Ifc4x3_tc1::IfcSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position));; return *this; }
// Function implementations for IfcStackTerminal
std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > Ifc4x3_tc1::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1061]); }
Ifc4x3_tc1::IfcStackTerminal Ifc4x3_tc1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcStackTerminalType
::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value Ifc4x3_tc1::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1062]); }
Ifc4x3_tc1::IfcStackTerminalType Ifc4x3_tc1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcStair
std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > Ifc4x3_tc1::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStairTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1064]); }
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< 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; }
void Ifc4x3_tc1::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > Ifc4x3_tc1::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); }
void Ifc4x3_tc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} }
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; }
// Function implementations for IfcStairFlightType
::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value Ifc4x3_tc1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1066]); }
Ifc4x3_tc1::IfcStairFlightType Ifc4x3_tc1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcStairType
::Ifc4x3_tc1::IfcStairTypeEnum::Value Ifc4x3_tc1::IfcStairType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStairTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcStairType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1068]); }
Ifc4x3_tc1::IfcStairType Ifc4x3_tc1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralAction
std::optional< bool > Ifc4x3_tc1::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1072]); }
Ifc4x3_tc1::IfcStructuralAction Ifc4x3_tc1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); }; return *this; }
// Function implementations for IfcStructuralActivity
::Ifc4x3_tc1::IfcStructuralLoad Ifc4x3_tc1::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcStructuralLoad>(); }
void Ifc4x3_tc1::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_tc1::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value Ifc4x3_tc1::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector<IfcRelConnectsStructuralActivity>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[920], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1073]); }
Ifc4x3_tc1::IfcStructuralActivity Ifc4x3_tc1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; return *this; }
// Function implementations for IfcStructuralAnalysisModel
::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_tc1::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > Ifc4x3_tc1::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcStructuralLoadGroup>(es); }
void Ifc4x3_tc1::IfcStructuralAnalysisModel::setLoadedBy(const std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > > Ifc4x3_tc1::IfcStructuralAnalysisModel::HasResults() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcStructuralResultGroup>(es); }
void Ifc4x3_tc1::IfcStructuralAnalysisModel::setHasResults(const std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > >& v) { if (v) {set_attribute_value(8, cast_vector<express::Base>(*v));} else {unset_attribute_value(8);} }
::Ifc4x3_tc1::IfcObjectPlacement Ifc4x3_tc1::IfcStructuralAnalysisModel::SharedPlacement() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcObjectPlacement>(); }
void Ifc4x3_tc1::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_tc1::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1075]); }
Ifc4x3_tc1::IfcStructuralAnalysisModel Ifc4x3_tc1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_tc1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector<express::Base>(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector<express::Base>(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement));; return *this; }
// Function implementations for IfcStructuralConnection
::Ifc4x3_tc1::IfcBoundaryCondition Ifc4x3_tc1::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcBoundaryCondition>(); }
void Ifc4x3_tc1::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_tc1::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector<IfcRelConnectsStructuralMember>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[921], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1076]); }
Ifc4x3_tc1::IfcStructuralConnection Ifc4x3_tc1::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));; return *this; }
// Function implementations for IfcStructuralConnectionCondition
std::optional< std::string > Ifc4x3_tc1::IfcStructuralConnectionCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1077]); }
Ifc4x3_tc1::IfcStructuralConnectionCondition Ifc4x3_tc1::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcStructuralCurveAction
std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_tc1::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1078]); }
Ifc4x3_tc1::IfcStructuralCurveAction Ifc4x3_tc1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralCurveConnection
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcStructuralCurveConnection::AxisDirection() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcStructuralCurveConnection::setAxisDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1080]); }
Ifc4x3_tc1::IfcStructuralCurveConnection Ifc4x3_tc1::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcDirection v9_AxisDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_AxisDirection));; return *this; }
// Function implementations for IfcStructuralCurveMember
::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1081]); }
Ifc4x3_tc1::IfcStructuralCurveMember Ifc4x3_tc1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis));; return *this; }
// Function implementations for IfcStructuralCurveMemberVarying
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1083]); }
Ifc4x3_tc1::IfcStructuralCurveMemberVarying Ifc4x3_tc1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis));; return *this; }
// Function implementations for IfcStructuralCurveReaction
::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1084]); }
Ifc4x3_tc1::IfcStructuralCurveReaction Ifc4x3_tc1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralItem
std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector<IfcRelConnectsStructuralActivity>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[920], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1085]); }
Ifc4x3_tc1::IfcStructuralItem Ifc4x3_tc1::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcStructuralLinearAction
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1086]); }
Ifc4x3_tc1::IfcStructuralLinearAction Ifc4x3_tc1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralLoad
std::optional< std::string > Ifc4x3_tc1::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1087]); }
Ifc4x3_tc1::IfcStructuralLoad Ifc4x3_tc1::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcStructuralLoadCase
std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_tc1::IfcStructuralLoadCase::SelfWeightCoefficients() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::vector< double > /*[3:3]*/ v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1088]); }
Ifc4x3_tc1::IfcStructuralLoadCase Ifc4x3_tc1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } if (v11_SelfWeightCoefficients) {set_attribute_value(10, (*v11_SelfWeightCoefficients)); }; return *this; }
// Function implementations for IfcStructuralLoadConfiguration
std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > Ifc4x3_tc1::IfcStructuralLoadConfiguration::Values() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcStructuralLoadOrResult>(es); }
void Ifc4x3_tc1::IfcStructuralLoadConfiguration::setValues(const std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::optional< std::vector< std::vector< double > > > Ifc4x3_tc1::IfcStructuralLoadConfiguration::Locations() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1089]); }
Ifc4x3_tc1::IfcStructuralLoadConfiguration Ifc4x3_tc1::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector<express::Base>(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); }; return *this; }
// Function implementations for IfcStructuralLoadGroup
::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcActionTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_tc1::IfcActionTypeEnum::FromString(get_attribute_value(6)); }
void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_tc1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_tc1::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::vector<::Ifc4x3_tc1::IfcStructuralResultGroup> Ifc4x3_tc1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector<IfcStructuralResultGroup>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1106], 6)); }
std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector<IfcStructuralAnalysisModel>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1075], 7)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1090]); }
Ifc4x3_tc1::IfcStructuralLoadGroup Ifc4x3_tc1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); }; return *this; }
// Function implementations for IfcStructuralLoadLinearForce
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearForceX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearForceY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearForceY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearForceZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearMomentX() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearMomentX(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearMomentY() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearMomentY(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearMomentZ() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1091]); }
Ifc4x3_tc1::IfcStructuralLoadLinearForce Ifc4x3_tc1::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearForceX) {set_attribute_value(1, (*v2_LinearForceX)); } if (v3_LinearForceY) {set_attribute_value(2, (*v3_LinearForceY)); } if (v4_LinearForceZ) {set_attribute_value(3, (*v4_LinearForceZ)); } if (v5_LinearMomentX) {set_attribute_value(4, (*v5_LinearMomentX)); } if (v6_LinearMomentY) {set_attribute_value(5, (*v6_LinearMomentY)); } if (v7_LinearMomentZ) {set_attribute_value(6, (*v7_LinearMomentZ)); }; return *this; }
// Function implementations for IfcStructuralLoadOrResult
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1092]); }
Ifc4x3_tc1::IfcStructuralLoadOrResult Ifc4x3_tc1::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcStructuralLoadPlanarForce
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadPlanarForce::PlanarForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcStructuralLoadPlanarForce::setPlanarForceX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadPlanarForce::PlanarForceY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadPlanarForce::setPlanarForceY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadPlanarForce::PlanarForceZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1093]); }
Ifc4x3_tc1::IfcStructuralLoadPlanarForce Ifc4x3_tc1::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_PlanarForceX) {set_attribute_value(1, (*v2_PlanarForceX)); } if (v3_PlanarForceY) {set_attribute_value(2, (*v3_PlanarForceY)); } if (v4_PlanarForceZ) {set_attribute_value(3, (*v4_PlanarForceZ)); }; return *this; }
// Function implementations for IfcStructuralLoadSingleDisplacement
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::DisplacementX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setDisplacementX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::DisplacementY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setDisplacementY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::DisplacementZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setDisplacementZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::RotationalDisplacementRX() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRX(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::RotationalDisplacementRY() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRY(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::RotationalDisplacementRZ() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1094]); }
Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); }; return *this; }
// Function implementations for IfcStructuralLoadSingleDisplacementDistortion
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::Distortion() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1095]); }
Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DisplacementX) {set_attribute_value(1, (*v2_DisplacementX)); } if (v3_DisplacementY) {set_attribute_value(2, (*v3_DisplacementY)); } if (v4_DisplacementZ) {set_attribute_value(3, (*v4_DisplacementZ)); } if (v5_RotationalDisplacementRX) {set_attribute_value(4, (*v5_RotationalDisplacementRX)); } if (v6_RotationalDisplacementRY) {set_attribute_value(5, (*v6_RotationalDisplacementRY)); } if (v7_RotationalDisplacementRZ) {set_attribute_value(6, (*v7_RotationalDisplacementRZ)); } if (v8_Distortion) {set_attribute_value(7, (*v8_Distortion)); }; return *this; }
// Function implementations for IfcStructuralLoadSingleForce
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::ForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setForceX(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::ForceY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setForceY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::ForceZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::MomentX() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setMomentX(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::MomentY() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setMomentY(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::MomentZ() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1096]); }
Ifc4x3_tc1::IfcStructuralLoadSingleForce Ifc4x3_tc1::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); }; return *this; }
// Function implementations for IfcStructuralLoadSingleForceWarping
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::WarpingMoment() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1097]); }
Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_ForceX) {set_attribute_value(1, (*v2_ForceX)); } if (v3_ForceY) {set_attribute_value(2, (*v3_ForceY)); } if (v4_ForceZ) {set_attribute_value(3, (*v4_ForceZ)); } if (v5_MomentX) {set_attribute_value(4, (*v5_MomentX)); } if (v6_MomentY) {set_attribute_value(5, (*v6_MomentY)); } if (v7_MomentZ) {set_attribute_value(6, (*v7_MomentZ)); } if (v8_WarpingMoment) {set_attribute_value(7, (*v8_WarpingMoment)); }; return *this; }
// Function implementations for IfcStructuralLoadStatic
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1098]); }
Ifc4x3_tc1::IfcStructuralLoadStatic Ifc4x3_tc1::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }; return *this; }
// Function implementations for IfcStructuralLoadTemperature
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadTemperature::DeltaTConstant() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcStructuralLoadTemperature::setDeltaTConstant(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadTemperature::DeltaTY() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStructuralLoadTemperature::setDeltaTY(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcStructuralLoadTemperature::DeltaTZ() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1099]); }
Ifc4x3_tc1::IfcStructuralLoadTemperature Ifc4x3_tc1::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DeltaTConstant) {set_attribute_value(1, (*v2_DeltaTConstant)); } if (v3_DeltaTY) {set_attribute_value(2, (*v3_DeltaTY)); } if (v4_DeltaTZ) {set_attribute_value(3, (*v4_DeltaTZ)); }; return *this; }
// Function implementations for IfcStructuralMember
std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralMember::ConnectedBy() const { return cast_vector<IfcRelConnectsStructuralMember>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[921], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1100]); }
Ifc4x3_tc1::IfcStructuralMember Ifc4x3_tc1::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));; return *this; }
// Function implementations for IfcStructuralPlanarAction
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1101]); }
Ifc4x3_tc1::IfcStructuralPlanarAction Ifc4x3_tc1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralPointAction
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1102]); }
Ifc4x3_tc1::IfcStructuralPointAction Ifc4x3_tc1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); }; return *this; }
// Function implementations for IfcStructuralPointConnection
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1103]); }
Ifc4x3_tc1::IfcStructuralPointConnection Ifc4x3_tc1::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem));; return *this; }
// Function implementations for IfcStructuralPointReaction
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1104]); }
Ifc4x3_tc1::IfcStructuralPointReaction Ifc4x3_tc1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; return *this; }
// Function implementations for IfcStructuralReaction
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1105]); }
Ifc4x3_tc1::IfcStructuralReaction Ifc4x3_tc1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));; return *this; }
// Function implementations for IfcStructuralResultGroup
::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_tc1::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcStructuralLoadGroup Ifc4x3_tc1::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcStructuralLoadGroup>(); }
void Ifc4x3_tc1::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_tc1::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
bool Ifc4x3_tc1::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector<IfcStructuralAnalysisModel>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1075], 8)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1106]); }
Ifc4x3_tc1::IfcStructuralResultGroup Ifc4x3_tc1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_tc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear));; return *this; }
// Function implementations for IfcStructuralSurfaceAction
std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_tc1::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1107]); }
Ifc4x3_tc1::IfcStructuralSurfaceAction Ifc4x3_tc1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcStructuralSurfaceConnection
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1109]); }
Ifc4x3_tc1::IfcStructuralSurfaceConnection Ifc4x3_tc1::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));; return *this; }
// Function implementations for IfcStructuralSurfaceMember
::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); }
void Ifc4x3_tc1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); }
std::optional< double > Ifc4x3_tc1::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1110]); }
Ifc4x3_tc1::IfcStructuralSurfaceMember Ifc4x3_tc1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }; return *this; }
// Function implementations for IfcStructuralSurfaceMemberVarying
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1112]); }
Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }; return *this; }
// Function implementations for IfcStructuralSurfaceReaction
::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1113]); }
Ifc4x3_tc1::IfcStructuralSurfaceReaction Ifc4x3_tc1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcStyleModel
const ifcopenshell::entity& Ifc4x3_tc1::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1116]); }
Ifc4x3_tc1::IfcStyleModel Ifc4x3_tc1::IfcStyleModel::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcStyledItem
::Ifc4x3_tc1::IfcRepresentationItem Ifc4x3_tc1::IfcStyledItem::Item() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcRepresentationItem{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcRepresentationItem>(); }
void Ifc4x3_tc1::IfcStyledItem::setItem(const ::Ifc4x3_tc1::IfcRepresentationItem& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > Ifc4x3_tc1::IfcStyledItem::Styles() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcPresentationStyle>(es); }
void Ifc4x3_tc1::IfcStyledItem::setStyles(const std::vector< ::Ifc4x3_tc1::IfcPresentationStyle >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcStyledItem::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1114]); }
Ifc4x3_tc1::IfcStyledItem Ifc4x3_tc1::IfcStyledItem::initialize(::Ifc4x3_tc1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector<express::Base>(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }; return *this; }
// Function implementations for IfcStyledRepresentation
const ifcopenshell::entity& Ifc4x3_tc1::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1115]); }
Ifc4x3_tc1::IfcStyledRepresentation Ifc4x3_tc1::IfcStyledRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcSubContractResource
std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > Ifc4x3_tc1::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1117]); }
Ifc4x3_tc1::IfcSubContractResource Ifc4x3_tc1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_LongDescription) {set_attribute_value(6, (*v7_LongDescription)); }set_attribute_value(7, (v8_Usage)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector<express::Base>(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); }; return *this; }
// Function implementations for IfcSubContractResourceType
::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_tc1::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1118]); }
Ifc4x3_tc1::IfcSubContractResourceType Ifc4x3_tc1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); } if (v10_BaseCosts) {set_attribute_value(9, cast_vector<express::Base>(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType)));; return *this; }
// Function implementations for IfcSubedge
::Ifc4x3_tc1::IfcEdge Ifc4x3_tc1::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcEdge>(); }
void Ifc4x3_tc1::IfcSubedge::setParentEdge(const ::Ifc4x3_tc1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1120]); }
Ifc4x3_tc1::IfcSubedge Ifc4x3_tc1::IfcSubedge::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge));; return *this; }
// Function implementations for IfcSurface
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1121]); }
Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcSurface::initialize() { ; return *this; }
// Function implementations for IfcSurfaceCurve
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcSurfaceCurve::Curve3D() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcPcurve > Ifc4x3_tc1::IfcSurfaceCurve::AssociatedGeometry() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcPcurve>(es); }
void Ifc4x3_tc1::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_tc1::IfcPcurve >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_tc1::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1122]); }
Ifc4x3_tc1::IfcSurfaceCurve Ifc4x3_tc1::IfcSurfaceCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector<express::Base>(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation)));; return *this; }
// Function implementations for IfcSurfaceCurveSweptAreaSolid
::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcSurface>(); }
void Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1123]); }
Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface));; return *this; }
// Function implementations for IfcSurfaceFeature
std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_tc1::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcSurfaceFeature::AdheresToElement() const { return cast_vector<IfcRelAdheresToElement>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[896], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1124]); }
Ifc4x3_tc1::IfcSurfaceFeature Ifc4x3_tc1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSurfaceOfLinearExtrusion
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::setExtrudedDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
double Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1126]); }
Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));; return *this; }
// Function implementations for IfcSurfaceOfRevolution
::Ifc4x3_tc1::IfcAxis1Placement Ifc4x3_tc1::IfcSurfaceOfRevolution::AxisPosition() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis1Placement>(); }
void Ifc4x3_tc1::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_tc1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1127]); }
Ifc4x3_tc1::IfcSurfaceOfRevolution Ifc4x3_tc1::IfcSurfaceOfRevolution::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition));; return *this; }
// Function implementations for IfcSurfaceReinforcementArea
std::optional< std::vector< double > /*[2:3]*/ > Ifc4x3_tc1::IfcSurfaceReinforcementArea::SurfaceReinforcement1() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< double > /*[2:3]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSurfaceReinforcementArea::setSurfaceReinforcement1(const std::optional< std::vector< double > /*[2:3]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::vector< double > /*[2:3]*/ > Ifc4x3_tc1::IfcSurfaceReinforcementArea::SurfaceReinforcement2() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< double > /*[2:3]*/ v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSurfaceReinforcementArea::setSurfaceReinforcement2(const std::optional< std::vector< double > /*[2:3]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSurfaceReinforcementArea::ShearReinforcement() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1129]); }
Ifc4x3_tc1::IfcSurfaceReinforcementArea Ifc4x3_tc1::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_SurfaceReinforcement1) {set_attribute_value(1, (*v2_SurfaceReinforcement1)); } if (v3_SurfaceReinforcement2) {set_attribute_value(2, (*v3_SurfaceReinforcement2)); } if (v4_ShearReinforcement) {set_attribute_value(3, (*v4_ShearReinforcement)); }; return *this; }
// Function implementations for IfcSurfaceStyle
::Ifc4x3_tc1::IfcSurfaceSide::Value Ifc4x3_tc1::IfcSurfaceStyle::Side() const { return ::Ifc4x3_tc1::IfcSurfaceSide::FromString(get_attribute_value(1)); }
void Ifc4x3_tc1::IfcSurfaceStyle::setSide(const ::Ifc4x3_tc1::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); }
std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > Ifc4x3_tc1::IfcSurfaceStyle::Styles() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcSurfaceStyleElementSelect>(es); }
void Ifc4x3_tc1::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1131]); }
Ifc4x3_tc1::IfcSurfaceStyle Ifc4x3_tc1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector<express::Base>(v3_Styles));; return *this; }
// Function implementations for IfcSurfaceStyleLighting
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcSurfaceStyleLighting::setDiffuseTransmissionColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleLighting::DiffuseReflectionColour() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcSurfaceStyleLighting::setDiffuseReflectionColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleLighting::TransmissionColour() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleLighting::ReflectanceColour() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1133]); }
Ifc4x3_tc1::IfcSurfaceStyleLighting Ifc4x3_tc1::IfcSurfaceStyleLighting::initialize(::Ifc4x3_tc1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_tc1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour));; return *this; }
// Function implementations for IfcSurfaceStyleRefraction
std::optional< double > Ifc4x3_tc1::IfcSurfaceStyleRefraction::RefractionIndex() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } double v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcSurfaceStyleRefraction::setRefractionIndex(const std::optional< double >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< double > Ifc4x3_tc1::IfcSurfaceStyleRefraction::DispersionFactor() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1134]); }
Ifc4x3_tc1::IfcSurfaceStyleRefraction Ifc4x3_tc1::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); }; return *this; }
// Function implementations for IfcSurfaceStyleRendering
::Ifc4x3_tc1::IfcColourOrFactor Ifc4x3_tc1::IfcSurfaceStyleRendering::DiffuseColour() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcColourOrFactor{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcColourOrFactor>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setDiffuseColour(const ::Ifc4x3_tc1::IfcColourOrFactor& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcColourOrFactor Ifc4x3_tc1::IfcSurfaceStyleRendering::TransmissionColour() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcColourOrFactor{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcColourOrFactor>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setTransmissionColour(const ::Ifc4x3_tc1::IfcColourOrFactor& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcColourOrFactor Ifc4x3_tc1::IfcSurfaceStyleRendering::DiffuseTransmissionColour() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcColourOrFactor{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcColourOrFactor>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setDiffuseTransmissionColour(const ::Ifc4x3_tc1::IfcColourOrFactor& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcColourOrFactor Ifc4x3_tc1::IfcSurfaceStyleRendering::ReflectionColour() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcColourOrFactor{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcColourOrFactor>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setReflectionColour(const ::Ifc4x3_tc1::IfcColourOrFactor& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
::Ifc4x3_tc1::IfcColourOrFactor Ifc4x3_tc1::IfcSurfaceStyleRendering::SpecularColour() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcColourOrFactor{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcColourOrFactor>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_tc1::IfcColourOrFactor& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
::Ifc4x3_tc1::IfcSpecularHighlightSelect Ifc4x3_tc1::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcSpecularHighlightSelect>(); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_tc1::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value Ifc4x3_tc1::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_tc1::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1135]); }
Ifc4x3_tc1::IfcSurfaceStyleRendering Ifc4x3_tc1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_tc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_tc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_tc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_tc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod)));; return *this; }
// Function implementations for IfcSurfaceStyleShading
::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcColourRgb>(); }
void Ifc4x3_tc1::IfcSurfaceStyleShading::setSurfaceColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< double > Ifc4x3_tc1::IfcSurfaceStyleShading::Transparency() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1136]); }
Ifc4x3_tc1::IfcSurfaceStyleShading Ifc4x3_tc1::IfcSurfaceStyleShading::initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }; return *this; }
// Function implementations for IfcSurfaceStyleWithTextures
std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Ifc4x3_tc1::IfcSurfaceStyleWithTextures::Textures() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcSurfaceTexture>(es); }
void Ifc4x3_tc1::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1137]); }
Ifc4x3_tc1::IfcSurfaceStyleWithTextures Ifc4x3_tc1::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector<express::Base>(v1_Textures));; return *this; }
// Function implementations for IfcSurfaceTexture
bool Ifc4x3_tc1::IfcSurfaceTexture::RepeatS() const { bool v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcSurfaceTexture::setRepeatS(const bool& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
bool Ifc4x3_tc1::IfcSurfaceTexture::RepeatT() const { bool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSurfaceTexture::setRepeatT(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcSurfaceTexture::Mode() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSurfaceTexture::setMode(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcCartesianTransformationOperator2D Ifc4x3_tc1::IfcSurfaceTexture::TextureTransform() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcCartesianTransformationOperator2D>(); }
void Ifc4x3_tc1::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::vector<::Ifc4x3_tc1::IfcTextureCoordinate> Ifc4x3_tc1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector<IfcTextureCoordinate>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1189], 0)); }
std::vector<::Ifc4x3_tc1::IfcSurfaceStyleWithTextures> Ifc4x3_tc1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector<IfcSurfaceStyleWithTextures>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1137], 0)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1138]); }
Ifc4x3_tc1::IfcSurfaceTexture Ifc4x3_tc1::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT)); if (v3_Mode) {set_attribute_value(2, (*v3_Mode)); }set_attribute_value(3, (v4_TextureTransform)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }; return *this; }
// Function implementations for IfcSweptAreaSolid
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSweptAreaSolid::SweptArea() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcSweptAreaSolid::Position() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1139]); }
Ifc4x3_tc1::IfcSweptAreaSolid Ifc4x3_tc1::IfcSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));; return *this; }
// Function implementations for IfcSweptDiskSolid
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcSweptDiskSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcSweptDiskSolid::setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcSweptDiskSolid::Radius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcSweptDiskSolid::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolid::InnerRadius() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcSweptDiskSolid::setInnerRadius(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolid::StartParam() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcSweptDiskSolid::setStartParam(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolid::EndParam() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1140]); }
Ifc4x3_tc1::IfcSweptDiskSolid Ifc4x3_tc1::IfcSweptDiskSolid::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }; return *this; }
// Function implementations for IfcSweptDiskSolidPolygonal
std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::FilletRadius() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1141]); }
Ifc4x3_tc1::IfcSweptDiskSolidPolygonal Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); } if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); } if (v6_FilletRadius) {set_attribute_value(5, (*v6_FilletRadius)); }; return *this; }
// Function implementations for IfcSweptSurface
::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSweptSurface::SweptCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcProfileDef>(); }
void Ifc4x3_tc1::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcSweptSurface::Position() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); }
void Ifc4x3_tc1::IfcSweptSurface::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1142]); }
Ifc4x3_tc1::IfcSweptSurface Ifc4x3_tc1::IfcSweptSurface::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));; return *this; }
// Function implementations for IfcSwitchingDevice
std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_tc1::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1143]); }
Ifc4x3_tc1::IfcSwitchingDevice Ifc4x3_tc1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSwitchingDeviceType
::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_tc1::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1144]); }
Ifc4x3_tc1::IfcSwitchingDeviceType Ifc4x3_tc1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcSystem
std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSystem::ServicesBuildings() const { return cast_vector<IfcRelServicesBuildings>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[942], 4)); }
std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSystem::ServicesFacilities() const { return cast_vector<IfcRelReferencedInSpatialStructure>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1146]); }
Ifc4x3_tc1::IfcSystem Ifc4x3_tc1::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }; return *this; }
// Function implementations for IfcSystemFurnitureElement
std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_tc1::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1147]); }
Ifc4x3_tc1::IfcSystemFurnitureElement Ifc4x3_tc1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcSystemFurnitureElementType
std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_tc1::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1148]); }
Ifc4x3_tc1::IfcSystemFurnitureElementType Ifc4x3_tc1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcTShapeProfileDef
double Ifc4x3_tc1::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcTShapeProfileDef::FlangeWidth() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setFlangeWidth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcTShapeProfileDef::WebThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setWebThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcTShapeProfileDef::FlangeThickness() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setFlangeThickness(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::FilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::FlangeEdgeRadius() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setFlangeEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::WebEdgeRadius() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setWebEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::WebSlope() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setWebSlope(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::FlangeSlope() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1234]); }
Ifc4x3_tc1::IfcTShapeProfileDef Ifc4x3_tc1::IfcTShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_FlangeEdgeRadius) {set_attribute_value(8, (*v9_FlangeEdgeRadius)); } if (v10_WebEdgeRadius) {set_attribute_value(9, (*v10_WebEdgeRadius)); } if (v11_WebSlope) {set_attribute_value(10, (*v11_WebSlope)); } if (v12_FlangeSlope) {set_attribute_value(11, (*v12_FlangeSlope)); }; return *this; }
// Function implementations for IfcTable
std::optional< std::string > Ifc4x3_tc1::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTable::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcTableRow > > Ifc4x3_tc1::IfcTable::Rows() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcTableRow>(es); }
void Ifc4x3_tc1::IfcTable::setRows(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTableRow > >& v) { if (v) {set_attribute_value(1, cast_vector<express::Base>(*v));} else {unset_attribute_value(1);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > Ifc4x3_tc1::IfcTable::Columns() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcTableColumn>(es); }
void Ifc4x3_tc1::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector<express::Base>(*v));} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1150]); }
Ifc4x3_tc1::IfcTable Ifc4x3_tc1::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector<express::Base>(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector<express::Base>(*v3_Columns)); }; return *this; }
// Function implementations for IfcTableColumn
std::optional< std::string > Ifc4x3_tc1::IfcTableColumn::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTableColumn::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} }
std::optional< std::string > Ifc4x3_tc1::IfcTableColumn::Name() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTableColumn::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcTableColumn::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcTableColumn::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcTableColumn::Unit() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcTableColumn::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcReference Ifc4x3_tc1::IfcTableColumn::ReferencePath() 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::IfcTableColumn::setReferencePath(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1151]); }
Ifc4x3_tc1::IfcTableColumn Ifc4x3_tc1::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_tc1::IfcUnit v4_Unit, ::Ifc4x3_tc1::IfcReference v5_ReferencePath) { if (v1_Identifier) {set_attribute_value(0, (*v1_Identifier)); } if (v2_Name) {set_attribute_value(1, (*v2_Name)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_Unit));set_attribute_value(4, (v5_ReferencePath));; return *this; }
// Function implementations for IfcTableRow
std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > Ifc4x3_tc1::IfcTableRow::RowCells() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcTableRow::setRowCells(const std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > >& v) { if (v) {set_attribute_value(0, cast_vector<express::Base>(*v));} else {unset_attribute_value(0);} }
std::optional< bool > Ifc4x3_tc1::IfcTableRow::IsHeading() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } bool v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1152]); }
Ifc4x3_tc1::IfcTableRow Ifc4x3_tc1::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector<express::Base>(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); }; return *this; }
// Function implementations for IfcTank
std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > Ifc4x3_tc1::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTankTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1153]); }
Ifc4x3_tc1::IfcTank Ifc4x3_tc1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcTankType
::Ifc4x3_tc1::IfcTankTypeEnum::Value Ifc4x3_tc1::IfcTankType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTankTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTankType::setPredefinedType(const ::Ifc4x3_tc1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1154]); }
Ifc4x3_tc1::IfcTankType Ifc4x3_tc1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTask
std::optional< std::string > Ifc4x3_tc1::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTask::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcTask::WorkMethod() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
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);} }
::Ifc4x3_tc1::IfcTaskTime Ifc4x3_tc1::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_tc1::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_tc1::IfcTaskTime>(); }
void Ifc4x3_tc1::IfcTask::setTaskTime(const ::Ifc4x3_tc1::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); }
std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > Ifc4x3_tc1::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTaskTypeEnum::FromString(get_attribute_value(12)); }
void Ifc4x3_tc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} }
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; }
// Function implementations for IfcTaskTime
std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > Ifc4x3_tc1::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTaskDurationEnum::FromString(get_attribute_value(3)); }
void Ifc4x3_tc1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcTaskTime::setScheduleStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ScheduleFinish() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTaskTime::setScheduleFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::EarlyStart() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTaskTime::setEarlyStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::EarlyFinish() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcTaskTime::setEarlyFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::LateStart() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcTaskTime::setLateStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::LateFinish() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcTaskTime::setLateFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::FreeFloat() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcTaskTime::setFreeFloat(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::TotalFloat() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcTaskTime::setTotalFloat(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< bool > Ifc4x3_tc1::IfcTaskTime::IsCritical() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } bool v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcTaskTime::setIsCritical(const std::optional< bool >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::StatusTime() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcTaskTime::setStatusTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ActualDuration() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::string v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcTaskTime::setActualDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ActualStart() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } std::string v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcTaskTime::setActualStart(const std::optional< std::string >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ActualFinish() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } std::string v = get_attribute_value(17); return v; }
void Ifc4x3_tc1::IfcTaskTime::setActualFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} }
std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::RemainingTime() const { if(get_attribute_value(18).isNull()) { return std::nullopt; } std::string v = get_attribute_value(18); return v; }
void Ifc4x3_tc1::IfcTaskTime::setRemainingTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(18, *v);} else {unset_attribute_value(18);} }
std::optional< double > Ifc4x3_tc1::IfcTaskTime::Completion() const { if(get_attribute_value(19).isNull()) { return std::nullopt; } double v = get_attribute_value(19); return v; }
void Ifc4x3_tc1::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1158]); }
Ifc4x3_tc1::IfcTaskTime Ifc4x3_tc1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); }; return *this; }
// Function implementations for IfcTaskTimeRecurring
::Ifc4x3_tc1::IfcRecurrencePattern Ifc4x3_tc1::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_tc1::IfcRecurrencePattern>(); }
void Ifc4x3_tc1::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_tc1::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1159]); }
Ifc4x3_tc1::IfcTaskTimeRecurring Ifc4x3_tc1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_tc1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(),(size_t)*v4_DurationType))); } if (v5_ScheduleDuration) {set_attribute_value(4, (*v5_ScheduleDuration)); } if (v6_ScheduleStart) {set_attribute_value(5, (*v6_ScheduleStart)); } if (v7_ScheduleFinish) {set_attribute_value(6, (*v7_ScheduleFinish)); } if (v8_EarlyStart) {set_attribute_value(7, (*v8_EarlyStart)); } if (v9_EarlyFinish) {set_attribute_value(8, (*v9_EarlyFinish)); } if (v10_LateStart) {set_attribute_value(9, (*v10_LateStart)); } if (v11_LateFinish) {set_attribute_value(10, (*v11_LateFinish)); } if (v12_FreeFloat) {set_attribute_value(11, (*v12_FreeFloat)); } if (v13_TotalFloat) {set_attribute_value(12, (*v13_TotalFloat)); } if (v14_IsCritical) {set_attribute_value(13, (*v14_IsCritical)); } if (v15_StatusTime) {set_attribute_value(14, (*v15_StatusTime)); } if (v16_ActualDuration) {set_attribute_value(15, (*v16_ActualDuration)); } if (v17_ActualStart) {set_attribute_value(16, (*v17_ActualStart)); } if (v18_ActualFinish) {set_attribute_value(17, (*v18_ActualFinish)); } if (v19_RemainingTime) {set_attribute_value(18, (*v19_RemainingTime)); } if (v20_Completion) {set_attribute_value(19, (*v20_Completion)); }set_attribute_value(20, (v21_Recurrence));; return *this; }
// Function implementations for IfcTaskType
::Ifc4x3_tc1::IfcTaskTypeEnum::Value Ifc4x3_tc1::IfcTaskType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTaskTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTaskType::setPredefinedType(const ::Ifc4x3_tc1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< std::string > Ifc4x3_tc1::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1160]); }
Ifc4x3_tc1::IfcTaskType Ifc4x3_tc1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); }; return *this; }
// Function implementations for IfcTelecomAddress
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setTelephoneNumbers(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddress::FacsimileNumbers() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setFacsimileNumbers(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcTelecomAddress::PagerNumber() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setPagerNumber(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddress::ElectronicMailAddresses() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setElectronicMailAddresses(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcTelecomAddress::WWWHomePageURL() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setWWWHomePageURL(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddress::MessagingIDs() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1162]); }
Ifc4x3_tc1::IfcTelecomAddress Ifc4x3_tc1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } if (v4_TelephoneNumbers) {set_attribute_value(3, (*v4_TelephoneNumbers)); } if (v5_FacsimileNumbers) {set_attribute_value(4, (*v5_FacsimileNumbers)); } if (v6_PagerNumber) {set_attribute_value(5, (*v6_PagerNumber)); } if (v7_ElectronicMailAddresses) {set_attribute_value(6, (*v7_ElectronicMailAddresses)); } if (v8_WWWHomePageURL) {set_attribute_value(7, (*v8_WWWHomePageURL)); } if (v9_MessagingIDs) {set_attribute_value(8, (*v9_MessagingIDs)); }; return *this; }
// Function implementations for IfcTendon
std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > Ifc4x3_tc1::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcTendon::setCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::TensionForce() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcTendon::setTensionForce(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::PreStress() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcTendon::setPreStress(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::FrictionCoefficient() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } double v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcTendon::setFrictionCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::AnchorageSlip() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } double v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcTendon::setAnchorageSlip(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
std::optional< double > Ifc4x3_tc1::IfcTendon::MinCurvatureRadius() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; }
void Ifc4x3_tc1::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1165]); }
Ifc4x3_tc1::IfcTendon Ifc4x3_tc1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_TensionForce) {set_attribute_value(12, (*v13_TensionForce)); } if (v14_PreStress) {set_attribute_value(13, (*v14_PreStress)); } if (v15_FrictionCoefficient) {set_attribute_value(14, (*v15_FrictionCoefficient)); } if (v16_AnchorageSlip) {set_attribute_value(15, (*v16_AnchorageSlip)); } if (v17_MinCurvatureRadius) {set_attribute_value(16, (*v17_MinCurvatureRadius)); }; return *this; }
// Function implementations for IfcTendonAnchor
std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > Ifc4x3_tc1::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1166]); }
Ifc4x3_tc1::IfcTendonAnchor Ifc4x3_tc1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); }; return *this; }
// Function implementations for IfcTendonAnchorType
::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_tc1::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1167]); }
Ifc4x3_tc1::IfcTendonAnchorType Ifc4x3_tc1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTendonConduit
::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1169]); }
Ifc4x3_tc1::IfcTendonConduit Ifc4x3_tc1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTendonConduitType
::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1170]); }
Ifc4x3_tc1::IfcTendonConduitType Ifc4x3_tc1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTendonType
::Ifc4x3_tc1::IfcTendonTypeEnum::Value Ifc4x3_tc1::IfcTendonType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTendonType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
std::optional< double > Ifc4x3_tc1::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcTendonType::setCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< double > Ifc4x3_tc1::IfcTendonType::SheathDiameter() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1172]); }
Ifc4x3_tc1::IfcTendonType Ifc4x3_tc1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_CrossSectionArea) {set_attribute_value(11, (*v12_CrossSectionArea)); } if (v13_SheathDiameter) {set_attribute_value(12, (*v13_SheathDiameter)); }; return *this; }
// Function implementations for IfcTessellatedFaceSet
::Ifc4x3_tc1::IfcCartesianPointList3D Ifc4x3_tc1::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPointList3D>(); }
void Ifc4x3_tc1::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_tc1::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector<::Ifc4x3_tc1::IfcIndexedColourMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasColours() const { return cast_vector<IfcIndexedColourMap>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[541], 0)); }
std::vector<::Ifc4x3_tc1::IfcIndexedTextureMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector<IfcIndexedTextureMap>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[546], 1)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1174]); }
Ifc4x3_tc1::IfcTessellatedFaceSet Ifc4x3_tc1::IfcTessellatedFaceSet::initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates));; return *this; }
// Function implementations for IfcTessellatedItem
const ifcopenshell::entity& Ifc4x3_tc1::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1175]); }
Ifc4x3_tc1::IfcTessellatedItem Ifc4x3_tc1::IfcTessellatedItem::initialize() { ; return *this; }
// Function implementations for IfcTextLiteral
std::string Ifc4x3_tc1::IfcTextLiteral::Literal() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); }
void Ifc4x3_tc1::IfcTextLiteral::setPlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcTextPath::Value Ifc4x3_tc1::IfcTextLiteral::Path() const { return ::Ifc4x3_tc1::IfcTextPath::FromString(get_attribute_value(2)); }
void Ifc4x3_tc1::IfcTextLiteral::setPath(const ::Ifc4x3_tc1::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1181]); }
Ifc4x3_tc1::IfcTextLiteral Ifc4x3_tc1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path)));; return *this; }
// Function implementations for IfcTextLiteralWithExtent
::Ifc4x3_tc1::IfcPlanarExtent Ifc4x3_tc1::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcPlanarExtent>(); }
void Ifc4x3_tc1::IfcTextLiteralWithExtent::setExtent(const ::Ifc4x3_tc1::IfcPlanarExtent& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::string Ifc4x3_tc1::IfcTextLiteralWithExtent::BoxAlignment() const { std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1182]); }
Ifc4x3_tc1::IfcTextLiteralWithExtent Ifc4x3_tc1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path, ::Ifc4x3_tc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment));; return *this; }
// Function implementations for IfcTextStyle
::Ifc4x3_tc1::IfcTextStyleForDefinedFont Ifc4x3_tc1::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcTextStyleForDefinedFont>(); }
void Ifc4x3_tc1::IfcTextStyle::setTextCharacterAppearance(const ::Ifc4x3_tc1::IfcTextStyleForDefinedFont& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcTextStyleTextModel Ifc4x3_tc1::IfcTextStyle::TextStyle() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcTextStyleTextModel{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcTextStyleTextModel>(); }
void Ifc4x3_tc1::IfcTextStyle::setTextStyle(const ::Ifc4x3_tc1::IfcTextStyleTextModel& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
::Ifc4x3_tc1::IfcTextFontSelect Ifc4x3_tc1::IfcTextStyle::TextFontStyle() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcTextFontSelect>(); }
void Ifc4x3_tc1::IfcTextStyle::setTextFontStyle(const ::Ifc4x3_tc1::IfcTextFontSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< bool > Ifc4x3_tc1::IfcTextStyle::ModelOrDraughting() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } bool v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1184]); }
Ifc4x3_tc1::IfcTextStyle Ifc4x3_tc1::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_tc1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_tc1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); }; return *this; }
// Function implementations for IfcTextStyleFontModel
std::vector< std::string > /*[1:?]*/ Ifc4x3_tc1::IfcTextStyleFontModel::FontFamily() const { std::vector< std::string > /*[1:?]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTextStyleFontModel::setFontFamily(const std::vector< std::string > /*[1:?]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleFontModel::FontStyle() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcTextStyleFontModel::setFontStyle(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleFontModel::FontVariant() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTextStyleFontModel::setFontVariant(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleFontModel::FontWeight() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTextStyleFontModel::setFontWeight(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcTextStyleFontModel::FontSize() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1185]); }
Ifc4x3_tc1::IfcTextStyleFontModel Ifc4x3_tc1::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_tc1::IfcSizeSelect v6_FontSize) { set_attribute_value(0, (v1_Name));set_attribute_value(1, (v2_FontFamily)); if (v3_FontStyle) {set_attribute_value(2, (*v3_FontStyle)); } if (v4_FontVariant) {set_attribute_value(3, (*v4_FontVariant)); } if (v5_FontWeight) {set_attribute_value(4, (*v5_FontWeight)); }set_attribute_value(5, (v6_FontSize));; return *this; }
// Function implementations for IfcTextStyleForDefinedFont
::Ifc4x3_tc1::IfcColour Ifc4x3_tc1::IfcTextStyleForDefinedFont::Colour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcColour>(); }
void Ifc4x3_tc1::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_tc1::IfcColour& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
::Ifc4x3_tc1::IfcColour Ifc4x3_tc1::IfcTextStyleForDefinedFont::BackgroundColour() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcColour{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcColour>(); }
void Ifc4x3_tc1::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_tc1::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1186]); }
Ifc4x3_tc1::IfcTextStyleForDefinedFont Ifc4x3_tc1::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_tc1::IfcColour v1_Colour, ::Ifc4x3_tc1::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour));; return *this; }
// Function implementations for IfcTextStyleTextModel
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcTextStyleTextModel::TextIndent() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcSizeSelect{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcTextStyleTextModel::setTextIndent(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleTextModel::TextAlign() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTextStyleTextModel::setTextAlign(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleTextModel::TextDecoration() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcTextStyleTextModel::setTextDecoration(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcTextStyleTextModel::LetterSpacing() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcSizeSelect{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcTextStyleTextModel::setLetterSpacing(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcTextStyleTextModel::WordSpacing() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcSizeSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcTextStyleTextModel::setWordSpacing(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
std::optional< std::string > Ifc4x3_tc1::IfcTextStyleTextModel::TextTransform() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcTextStyleTextModel::setTextTransform(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
::Ifc4x3_tc1::IfcSizeSelect Ifc4x3_tc1::IfcTextStyleTextModel::LineHeight() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcSizeSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcSizeSelect>(); }
void Ifc4x3_tc1::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1187]); }
Ifc4x3_tc1::IfcTextStyleTextModel Ifc4x3_tc1::IfcTextStyleTextModel::initialize(::Ifc4x3_tc1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_tc1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_tc1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_tc1::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight));; return *this; }
// Function implementations for IfcTextureCoordinate
std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Ifc4x3_tc1::IfcTextureCoordinate::Maps() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcSurfaceTexture>(es); }
void Ifc4x3_tc1::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1189]); }
Ifc4x3_tc1::IfcTextureCoordinate Ifc4x3_tc1::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector<express::Base>(v1_Maps));; return *this; }
// Function implementations for IfcTextureCoordinateGenerator
std::string Ifc4x3_tc1::IfcTextureCoordinateGenerator::Mode() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTextureCoordinateGenerator::setMode(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_tc1::IfcTextureCoordinateGenerator::Parameter() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< double > /*[1:?]*/ v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1190]); }
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<express::Base>(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); }
::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<IfcIndexedPolygonalTextureMap>(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; }
// 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); }
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; }
// Function implementations for IfcTextureMap
std::vector< ::Ifc4x3_tc1::IfcTextureVertex > Ifc4x3_tc1::IfcTextureMap::Vertices() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcTextureVertex>(es); }
void Ifc4x3_tc1::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_tc1::IfcTextureVertex >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
::Ifc4x3_tc1::IfcFace Ifc4x3_tc1::IfcTextureMap::MappedTo() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcFace>(); }
void Ifc4x3_tc1::IfcTextureMap::setMappedTo(const ::Ifc4x3_tc1::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1193]); }
Ifc4x3_tc1::IfcTextureMap Ifc4x3_tc1::IfcTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_tc1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_tc1::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector<express::Base>(v1_Maps));set_attribute_value(1, cast_vector<express::Base>(v2_Vertices));set_attribute_value(2, (v3_MappedTo));; return *this; }
// Function implementations for IfcTextureVertex
std::vector< double > /*[2:2]*/ Ifc4x3_tc1::IfcTextureVertex::Coordinates() const { std::vector< double > /*[2:2]*/ v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1194]); }
Ifc4x3_tc1::IfcTextureVertex Ifc4x3_tc1::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates));; return *this; }
// Function implementations for IfcTextureVertexList
std::vector< std::vector< double > > Ifc4x3_tc1::IfcTextureVertexList::TexCoordsList() const { std::vector< std::vector< double > > v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1195]); }
Ifc4x3_tc1::IfcTextureVertexList Ifc4x3_tc1::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList));; return *this; }
// Function implementations for IfcThirdOrderPolynomialSpiral
double Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::CubicTerm() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::setCubicTerm(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
std::optional< double > Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::QuadraticTerm() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::setQuadraticTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} }
std::optional< double > Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::LinearTerm() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::setLinearTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} }
std::optional< double > Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::ConstantTerm() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1202]); }
Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CubicTerm)); if (v3_QuadraticTerm) {set_attribute_value(2, (*v3_QuadraticTerm)); } if (v4_LinearTerm) {set_attribute_value(3, (*v4_LinearTerm)); } if (v5_ConstantTerm) {set_attribute_value(4, (*v5_ConstantTerm)); }; return *this; }
// Function implementations for IfcTimePeriod
std::string Ifc4x3_tc1::IfcTimePeriod::StartTime() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTimePeriod::setStartTime(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::string Ifc4x3_tc1::IfcTimePeriod::EndTime() const { std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1206]); }
Ifc4x3_tc1::IfcTimePeriod Ifc4x3_tc1::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime));; return *this; }
// Function implementations for IfcTimeSeries
std::string Ifc4x3_tc1::IfcTimeSeries::Name() const { std::string v = get_attribute_value(0); return v; }
void Ifc4x3_tc1::IfcTimeSeries::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::optional< std::string > Ifc4x3_tc1::IfcTimeSeries::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcTimeSeries::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} }
std::string Ifc4x3_tc1::IfcTimeSeries::StartTime() const { std::string v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcTimeSeries::setStartTime(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
std::string Ifc4x3_tc1::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_tc1::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcDataOriginEnum::Value Ifc4x3_tc1::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_tc1::IfcDataOriginEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_tc1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
std::optional< std::string > Ifc4x3_tc1::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcUnit>(); }
void Ifc4x3_tc1::IfcTimeSeries::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); }
std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcTimeSeries::HasExternalReference() const { return cast_vector<IfcExternalReferenceRelationship>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1207]); }
Ifc4x3_tc1::IfcTimeSeries Ifc4x3_tc1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_StartTime));set_attribute_value(3, (v4_EndTime));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));; return *this; }
// Function implementations for IfcTimeSeriesValue
std::vector< ::Ifc4x3_tc1::IfcValue > Ifc4x3_tc1::IfcTimeSeriesValue::ListValues() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); }
void Ifc4x3_tc1::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1209]); }
Ifc4x3_tc1::IfcTimeSeriesValue Ifc4x3_tc1::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_tc1::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector<express::Base>(v1_ListValues));; return *this; }
// Function implementations for IfcTopologicalRepresentationItem
const ifcopenshell::entity& Ifc4x3_tc1::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1211]); }
Ifc4x3_tc1::IfcTopologicalRepresentationItem Ifc4x3_tc1::IfcTopologicalRepresentationItem::initialize() { ; return *this; }
// Function implementations for IfcTopologyRepresentation
const ifcopenshell::entity& Ifc4x3_tc1::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1212]); }
Ifc4x3_tc1::IfcTopologyRepresentation Ifc4x3_tc1::IfcTopologyRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector<express::Base>(v4_Items));; return *this; }
// Function implementations for IfcToroidalSurface
double Ifc4x3_tc1::IfcToroidalSurface::MajorRadius() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcToroidalSurface::setMajorRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
double Ifc4x3_tc1::IfcToroidalSurface::MinorRadius() const { double v = get_attribute_value(2); return v; }
void Ifc4x3_tc1::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1213]); }
Ifc4x3_tc1::IfcToroidalSurface Ifc4x3_tc1::IfcToroidalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius));; return *this; }
// Function implementations for IfcTrackElement
std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > Ifc4x3_tc1::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1215]); }
Ifc4x3_tc1::IfcTrackElement Ifc4x3_tc1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcTrackElementType
::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value Ifc4x3_tc1::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1216]); }
Ifc4x3_tc1::IfcTrackElementType Ifc4x3_tc1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTransformer
std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > Ifc4x3_tc1::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1218]); }
Ifc4x3_tc1::IfcTransformer Ifc4x3_tc1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcTransformerType
::Ifc4x3_tc1::IfcTransformerTypeEnum::Value Ifc4x3_tc1::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1219]); }
Ifc4x3_tc1::IfcTransformerType Ifc4x3_tc1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTransportElement
std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > Ifc4x3_tc1::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1225]); }
Ifc4x3_tc1::IfcTransportElement Ifc4x3_tc1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcTransportElementType
::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value Ifc4x3_tc1::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1226]); }
Ifc4x3_tc1::IfcTransportElementType Ifc4x3_tc1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTransportationDevice
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportationDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1223]); }
Ifc4x3_tc1::IfcTransportationDevice Ifc4x3_tc1::IfcTransportationDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcTransportationDeviceType
const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportationDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1224]); }
Ifc4x3_tc1::IfcTransportationDeviceType Ifc4x3_tc1::IfcTransportationDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }; return *this; }
// Function implementations for IfcTrapeziumProfileDef
double Ifc4x3_tc1::IfcTrapeziumProfileDef::BottomXDim() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTrapeziumProfileDef::setBottomXDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcTrapeziumProfileDef::TopXDim() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTrapeziumProfileDef::setTopXDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcTrapeziumProfileDef::YDim() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcTrapeziumProfileDef::setYDim(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1228]); }
Ifc4x3_tc1::IfcTrapeziumProfileDef Ifc4x3_tc1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset));; return *this; }
// Function implementations for IfcTriangulatedFaceSet
std::optional< std::vector< std::vector< double > > > Ifc4x3_tc1::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; }
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);} }
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; }
// 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); }
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; }
// Function implementations for IfcTrimmedCurve
::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); }
void Ifc4x3_tc1::IfcTrimmedCurve::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > Ifc4x3_tc1::IfcTrimmedCurve::Trim1() const { std::vector<express::Base> es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcTrimmingSelect>(es); }
void Ifc4x3_tc1::IfcTrimmedCurve::setTrim1(const std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect >& v) { set_attribute_value(1, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(1); }
std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > Ifc4x3_tc1::IfcTrimmedCurve::Trim2() const { std::vector<express::Base> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcTrimmingSelect>(es); }
void Ifc4x3_tc1::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect >& v) { set_attribute_value(2, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(2); }
bool Ifc4x3_tc1::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
::Ifc4x3_tc1::IfcTrimmingPreference::Value Ifc4x3_tc1::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_tc1::IfcTrimmingPreference::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1231]); }
Ifc4x3_tc1::IfcTrimmedCurve Ifc4x3_tc1::IfcTrimmedCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_tc1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector<express::Base>(v2_Trim1));set_attribute_value(2, cast_vector<express::Base>(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation)));; return *this; }
// Function implementations for IfcTubeBundle
std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > Ifc4x3_tc1::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1235]); }
Ifc4x3_tc1::IfcTubeBundle Ifc4x3_tc1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcTubeBundleType
::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value Ifc4x3_tc1::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1236]); }
Ifc4x3_tc1::IfcTubeBundleType Ifc4x3_tc1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcTypeObject
std::optional< std::string > Ifc4x3_tc1::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcTypeObject::setApplicableOccurrence(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > Ifc4x3_tc1::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcPropertySetDefinition>(es); }
void Ifc4x3_tc1::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector<express::Base>(*v));} else {unset_attribute_value(5);} }
std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcTypeObject::Types() const { return cast_vector<IfcRelDefinesByType>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[933], 5)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1238]); }
Ifc4x3_tc1::IfcTypeObject Ifc4x3_tc1::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); }; return *this; }
// Function implementations for IfcTypeProcess
std::optional< std::string > Ifc4x3_tc1::IfcTypeProcess::Identification() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTypeProcess::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcTypeProcess::LongDescription() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTypeProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcTypeProcess::OperatesOn() const { return cast_vector<IfcRelAssignsToProcess>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[903], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1239]); }
Ifc4x3_tc1::IfcTypeProcess Ifc4x3_tc1::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ProcessType) {set_attribute_value(8, (*v9_ProcessType)); }; return *this; }
// Function implementations for IfcTypeProduct
std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > Ifc4x3_tc1::IfcTypeProduct::RepresentationMaps() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcRepresentationMap>(es); }
void Ifc4x3_tc1::IfcTypeProduct::setRepresentationMaps(const std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > >& v) { if (v) {set_attribute_value(6, cast_vector<express::Base>(*v));} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcTypeProduct::ReferencedBy() const { return cast_vector<IfcRelAssignsToProduct>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[904], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1240]); }
Ifc4x3_tc1::IfcTypeProduct Ifc4x3_tc1::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }; return *this; }
// Function implementations for IfcTypeResource
std::optional< std::string > Ifc4x3_tc1::IfcTypeResource::Identification() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcTypeResource::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< std::string > Ifc4x3_tc1::IfcTypeResource::LongDescription() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcTypeResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcTypeResource::ResourceOf() const { return cast_vector<IfcRelAssignsToResource>(file()->get_inverse(data()->id(), IFC4X3_TC1_types[905], 6)); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1241]); }
Ifc4x3_tc1::IfcTypeResource Ifc4x3_tc1::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_Identification) {set_attribute_value(6, (*v7_Identification)); } if (v8_LongDescription) {set_attribute_value(7, (*v8_LongDescription)); } if (v9_ResourceType) {set_attribute_value(8, (*v9_ResourceType)); }; return *this; }
// Function implementations for IfcUShapeProfileDef
double Ifc4x3_tc1::IfcUShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcUShapeProfileDef::FlangeWidth() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setFlangeWidth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcUShapeProfileDef::WebThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setWebThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcUShapeProfileDef::FlangeThickness() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setFlangeThickness(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcUShapeProfileDef::FilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcUShapeProfileDef::EdgeRadius() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcUShapeProfileDef::FlangeSlope() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1252]); }
Ifc4x3_tc1::IfcUShapeProfileDef Ifc4x3_tc1::IfcUShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); } if (v10_FlangeSlope) {set_attribute_value(9, (*v10_FlangeSlope)); }; return *this; }
// Function implementations for IfcUnitAssignment
std::vector< ::Ifc4x3_tc1::IfcUnit > Ifc4x3_tc1::IfcUnitAssignment::Units() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcUnit>(es); }
void Ifc4x3_tc1::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_tc1::IfcUnit >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1249]); }
Ifc4x3_tc1::IfcUnitAssignment Ifc4x3_tc1::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_tc1::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector<express::Base>(v1_Units));; return *this; }
// Function implementations for IfcUnitaryControlElement
std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_tc1::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1243]); }
Ifc4x3_tc1::IfcUnitaryControlElement Ifc4x3_tc1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcUnitaryControlElementType
::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_tc1::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1244]); }
Ifc4x3_tc1::IfcUnitaryControlElementType Ifc4x3_tc1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcUnitaryEquipment
std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_tc1::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1246]); }
Ifc4x3_tc1::IfcUnitaryEquipment Ifc4x3_tc1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcUnitaryEquipmentType
::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_tc1::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1247]); }
Ifc4x3_tc1::IfcUnitaryEquipmentType Ifc4x3_tc1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcValve
std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > Ifc4x3_tc1::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcValveTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1254]); }
Ifc4x3_tc1::IfcValve Ifc4x3_tc1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcValveType
::Ifc4x3_tc1::IfcValveTypeEnum::Value Ifc4x3_tc1::IfcValveType::PredefinedType() const { return ::Ifc4x3_tc1::IfcValveTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcValveType::setPredefinedType(const ::Ifc4x3_tc1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1255]); }
Ifc4x3_tc1::IfcValveType Ifc4x3_tc1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcVector
::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcDirection>(); }
void Ifc4x3_tc1::IfcVector::setOrientation(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
double Ifc4x3_tc1::IfcVector::Magnitude() const { double v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1258]); }
Ifc4x3_tc1::IfcVector Ifc4x3_tc1::IfcVector::initialize(::Ifc4x3_tc1::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude));; return *this; }
// Function implementations for IfcVehicle
std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > Ifc4x3_tc1::IfcVehicle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVehicleTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVehicle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1260]); }
Ifc4x3_tc1::IfcVehicle Ifc4x3_tc1::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcVehicleType
::Ifc4x3_tc1::IfcVehicleTypeEnum::Value Ifc4x3_tc1::IfcVehicleType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVehicleTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcVehicleType::setPredefinedType(const ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVehicleType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1261]); }
Ifc4x3_tc1::IfcVehicleType Ifc4x3_tc1::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcVertex
const ifcopenshell::entity& Ifc4x3_tc1::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1263]); }
Ifc4x3_tc1::IfcVertex Ifc4x3_tc1::IfcVertex::initialize() { ; return *this; }
// Function implementations for IfcVertexLoop
::Ifc4x3_tc1::IfcVertex Ifc4x3_tc1::IfcVertexLoop::LoopVertex() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcVertex>(); }
void Ifc4x3_tc1::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_tc1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1264]); }
Ifc4x3_tc1::IfcVertexLoop Ifc4x3_tc1::IfcVertexLoop::initialize(::Ifc4x3_tc1::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex));; return *this; }
// Function implementations for IfcVertexPoint
::Ifc4x3_tc1::IfcPoint Ifc4x3_tc1::IfcVertexPoint::VertexGeometry() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPoint>(); }
void Ifc4x3_tc1::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_tc1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1265]); }
Ifc4x3_tc1::IfcVertexPoint Ifc4x3_tc1::IfcVertexPoint::initialize(::Ifc4x3_tc1::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry));; return *this; }
// Function implementations for IfcVibrationDamper
std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > Ifc4x3_tc1::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1266]); }
Ifc4x3_tc1::IfcVibrationDamper Ifc4x3_tc1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcVibrationDamperType
::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value Ifc4x3_tc1::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1267]); }
Ifc4x3_tc1::IfcVibrationDamperType Ifc4x3_tc1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcVibrationIsolator
std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_tc1::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1269]); }
Ifc4x3_tc1::IfcVibrationIsolator Ifc4x3_tc1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcVibrationIsolatorType
::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_tc1::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1270]); }
Ifc4x3_tc1::IfcVibrationIsolatorType Ifc4x3_tc1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcVirtualElement
std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > Ifc4x3_tc1::IfcVirtualElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1272]); }
Ifc4x3_tc1::IfcVirtualElement Ifc4x3_tc1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcVirtualGridIntersection
std::vector< ::Ifc4x3_tc1::IfcGridAxis > Ifc4x3_tc1::IfcVirtualGridIntersection::IntersectingAxes() const { std::vector<express::Base> es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); }
void Ifc4x3_tc1::IfcVirtualGridIntersection::setIntersectingAxes(const std::vector< ::Ifc4x3_tc1::IfcGridAxis >& v) { set_attribute_value(0, cast_vector<express::Base>(v));if constexpr (false)unset_attribute_value(0); }
std::vector< double > /*[2:3]*/ Ifc4x3_tc1::IfcVirtualGridIntersection::OffsetDistances() const { std::vector< double > /*[2:3]*/ v = get_attribute_value(1); return v; }
void Ifc4x3_tc1::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1274]); }
Ifc4x3_tc1::IfcVirtualGridIntersection Ifc4x3_tc1::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_tc1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector<express::Base>(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances));; return *this; }
// Function implementations for IfcVoidingFeature
std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_tc1::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1275]); }
Ifc4x3_tc1::IfcVoidingFeature Ifc4x3_tc1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcWall
std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > Ifc4x3_tc1::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWallTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1279]); }
Ifc4x3_tc1::IfcWall Ifc4x3_tc1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcWallStandardCase
const ifcopenshell::entity& Ifc4x3_tc1::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1280]); }
Ifc4x3_tc1::IfcWallStandardCase Ifc4x3_tc1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcWallType
::Ifc4x3_tc1::IfcWallTypeEnum::Value Ifc4x3_tc1::IfcWallType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWallTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1281]); }
Ifc4x3_tc1::IfcWallType Ifc4x3_tc1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcWasteTerminal
std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > Ifc4x3_tc1::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1286]); }
Ifc4x3_tc1::IfcWasteTerminal Ifc4x3_tc1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcWasteTerminalType
::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_tc1::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1287]); }
Ifc4x3_tc1::IfcWasteTerminalType Ifc4x3_tc1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType)));; return *this; }
// Function implementations for IfcWindow
std::optional< double > Ifc4x3_tc1::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcWindow::setOverallHeight(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > Ifc4x3_tc1::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWindowTypeEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} }
std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > Ifc4x3_tc1::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); }
void Ifc4x3_tc1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1289]); }
Ifc4x3_tc1::IfcWindow Ifc4x3_tc1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OverallHeight) {set_attribute_value(8, (*v9_OverallHeight)); } if (v10_OverallWidth) {set_attribute_value(9, (*v10_OverallWidth)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); }; return *this; }
// Function implementations for IfcWindowLiningProperties
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningThickness() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningThickness(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::TransomThickness() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setTransomThickness(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::MullionThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setMullionThickness(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::FirstTransomOffset() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setFirstTransomOffset(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::SecondTransomOffset() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setSecondTransomOffset(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::FirstMullionOffset() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setFirstMullionOffset(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::SecondMullionOffset() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setSecondMullionOffset(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcWindowLiningProperties::ShapeAspectStyle() const { if(get_attribute_value(12).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(12))).as<::Ifc4x3_tc1::IfcShapeAspect>(); }
void Ifc4x3_tc1::IfcWindowLiningProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningOffset() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } double v = get_attribute_value(13); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningOffset(const std::optional< double >& v) { if (v) {set_attribute_value(13, *v);} else {unset_attribute_value(13);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningToPanelOffsetX() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } double v = get_attribute_value(14); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningToPanelOffsetX(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} }
std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningToPanelOffsetY() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } double v = get_attribute_value(15); return v; }
void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1290]); }
Ifc4x3_tc1::IfcWindowLiningProperties Ifc4x3_tc1::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_tc1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_LiningDepth) {set_attribute_value(4, (*v5_LiningDepth)); } if (v6_LiningThickness) {set_attribute_value(5, (*v6_LiningThickness)); } if (v7_TransomThickness) {set_attribute_value(6, (*v7_TransomThickness)); } if (v8_MullionThickness) {set_attribute_value(7, (*v8_MullionThickness)); } if (v9_FirstTransomOffset) {set_attribute_value(8, (*v9_FirstTransomOffset)); } if (v10_SecondTransomOffset) {set_attribute_value(9, (*v10_SecondTransomOffset)); } if (v11_FirstMullionOffset) {set_attribute_value(10, (*v11_FirstMullionOffset)); } if (v12_SecondMullionOffset) {set_attribute_value(11, (*v12_SecondMullionOffset)); }set_attribute_value(12, (v13_ShapeAspectStyle)); if (v14_LiningOffset) {set_attribute_value(13, (*v14_LiningOffset)); } if (v15_LiningToPanelOffsetX) {set_attribute_value(14, (*v15_LiningToPanelOffsetX)); } if (v16_LiningToPanelOffsetY) {set_attribute_value(15, (*v16_LiningToPanelOffsetY)); }; return *this; }
// Function implementations for IfcWindowPanelProperties
::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value Ifc4x3_tc1::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); }
void Ifc4x3_tc1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); }
::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); }
void Ifc4x3_tc1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); }
std::optional< double > Ifc4x3_tc1::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} }
std::optional< double > Ifc4x3_tc1::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcWindowPanelProperties::setFrameThickness(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcWindowPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcShapeAspect>(); }
void Ifc4x3_tc1::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1293]); }
Ifc4x3_tc1::IfcWindowPanelProperties Ifc4x3_tc1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(),(size_t)v6_PanelPosition))); if (v7_FrameDepth) {set_attribute_value(6, (*v7_FrameDepth)); } if (v8_FrameThickness) {set_attribute_value(7, (*v8_FrameThickness)); }set_attribute_value(8, (v9_ShapeAspectStyle));; return *this; }
// Function implementations for IfcWindowType
::Ifc4x3_tc1::IfcWindowTypeEnum::Value Ifc4x3_tc1::IfcWindowType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWindowTypeEnum::FromString(get_attribute_value(9)); }
void Ifc4x3_tc1::IfcWindowType::setPredefinedType(const ::Ifc4x3_tc1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); }
::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_tc1::IfcWindowType::PartitioningType() const { return ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); }
void Ifc4x3_tc1::IfcWindowType::setPartitioningType(const ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); }
std::optional< bool > Ifc4x3_tc1::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} }
std::optional< std::string > Ifc4x3_tc1::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1294]); }
Ifc4x3_tc1::IfcWindowType Ifc4x3_tc1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector<express::Base>(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector<express::Base>(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); }; return *this; }
// Function implementations for IfcWorkCalendar
std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > Ifc4x3_tc1::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcWorkTime>(es); }
void Ifc4x3_tc1::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > >& v) { if (v) {set_attribute_value(6, cast_vector<express::Base>(*v));} else {unset_attribute_value(6);} }
std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > Ifc4x3_tc1::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcWorkTime>(es); }
void Ifc4x3_tc1::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > Ifc4x3_tc1::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); }
void Ifc4x3_tc1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1297]); }
Ifc4x3_tc1::IfcWorkCalendar Ifc4x3_tc1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); } if (v7_WorkingTimes) {set_attribute_value(6, cast_vector<express::Base>(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector<express::Base>(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); }; return *this; }
// Function implementations for IfcWorkControl
std::string Ifc4x3_tc1::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcWorkControl::setCreationDate(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > Ifc4x3_tc1::IfcWorkControl::Creators() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector<express::Base> es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcPerson>(es); }
void Ifc4x3_tc1::IfcWorkControl::setCreators(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > >& v) { if (v) {set_attribute_value(7, cast_vector<express::Base>(*v));} else {unset_attribute_value(7);} }
std::optional< std::string > Ifc4x3_tc1::IfcWorkControl::Purpose() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcWorkControl::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
std::optional< std::string > Ifc4x3_tc1::IfcWorkControl::Duration() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; }
void Ifc4x3_tc1::IfcWorkControl::setDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} }
std::optional< std::string > Ifc4x3_tc1::IfcWorkControl::TotalFloat() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; }
void Ifc4x3_tc1::IfcWorkControl::setTotalFloat(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} }
std::string Ifc4x3_tc1::IfcWorkControl::StartTime() const { std::string v = get_attribute_value(11); return v; }
void Ifc4x3_tc1::IfcWorkControl::setStartTime(const std::string& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); }
std::optional< std::string > Ifc4x3_tc1::IfcWorkControl::FinishTime() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; }
void Ifc4x3_tc1::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1299]); }
Ifc4x3_tc1::IfcWorkControl Ifc4x3_tc1::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector<express::Base>(*v8_Creators)); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); }; return *this; }
// Function implementations for IfcWorkPlan
std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > Ifc4x3_tc1::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); }
void Ifc4x3_tc1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1300]); }
Ifc4x3_tc1::IfcWorkPlan Ifc4x3_tc1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector<express::Base>(*v8_Creators)); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); }; return *this; }
// Function implementations for IfcWorkSchedule
std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > Ifc4x3_tc1::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); }
void Ifc4x3_tc1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1302]); }
Ifc4x3_tc1::IfcWorkSchedule Ifc4x3_tc1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_Identification) {set_attribute_value(5, (*v6_Identification)); }set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector<express::Base>(*v8_Creators)); } if (v9_Purpose) {set_attribute_value(8, (*v9_Purpose)); } if (v10_Duration) {set_attribute_value(9, (*v10_Duration)); } if (v11_TotalFloat) {set_attribute_value(10, (*v11_TotalFloat)); }set_attribute_value(11, (v12_StartTime)); if (v13_FinishTime) {set_attribute_value(12, (*v13_FinishTime)); } if (v14_PredefinedType) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); }; return *this; }
// Function implementations for IfcWorkTime
::Ifc4x3_tc1::IfcRecurrencePattern Ifc4x3_tc1::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcRecurrencePattern>(); }
void Ifc4x3_tc1::IfcWorkTime::setRecurrencePattern(const ::Ifc4x3_tc1::IfcRecurrencePattern& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
std::optional< std::string > Ifc4x3_tc1::IfcWorkTime::StartDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcWorkTime::setStartDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} }
std::optional< std::string > Ifc4x3_tc1::IfcWorkTime::FinishDate() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcWorkTime::setFinishDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1304]); }
Ifc4x3_tc1::IfcWorkTime Ifc4x3_tc1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); }; return *this; }
// Function implementations for IfcZShapeProfileDef
double Ifc4x3_tc1::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); }
double Ifc4x3_tc1::IfcZShapeProfileDef::FlangeWidth() const { double v = get_attribute_value(4); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setFlangeWidth(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); }
double Ifc4x3_tc1::IfcZShapeProfileDef::WebThickness() const { double v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setWebThickness(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); }
double Ifc4x3_tc1::IfcZShapeProfileDef::FlangeThickness() const { double v = get_attribute_value(6); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setFlangeThickness(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); }
std::optional< double > Ifc4x3_tc1::IfcZShapeProfileDef::FilletRadius() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} }
std::optional< double > Ifc4x3_tc1::IfcZShapeProfileDef::EdgeRadius() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; }
void Ifc4x3_tc1::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1306]); }
Ifc4x3_tc1::IfcZShapeProfileDef Ifc4x3_tc1::IfcZShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_FlangeWidth));set_attribute_value(5, (v6_WebThickness));set_attribute_value(6, (v7_FlangeThickness)); if (v8_FilletRadius) {set_attribute_value(7, (*v8_FilletRadius)); } if (v9_EdgeRadius) {set_attribute_value(8, (*v9_EdgeRadius)); }; return *this; }
// Function implementations for IfcZone
std::optional< std::string > Ifc4x3_tc1::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; }
void Ifc4x3_tc1::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} }
const ifcopenshell::entity& Ifc4x3_tc1::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1305]); }
Ifc4x3_tc1::IfcZone Ifc4x3_tc1::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } if (v6_LongName) {set_attribute_value(5, (*v6_LongName)); }; return *this; }