From 0ef65774075b6920708676d356b97479a8b022fb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 13 Aug 2012 09:17:08 +0000 Subject: [PATCH] Fix some errors and warnings --- src/ifcexpressparser/IfcExpressParser.py | 18 +- src/ifcgeom/IfcRegisterConvertShape.h | 2 +- src/ifcparse/Ifc2x3.cpp | 4188 ++++++++++---------- src/ifcparse/Ifc2x3.h | 4414 +++++++++++----------- src/ifcparse/IfcUtil.cpp | 2 +- src/ifcparse/IfcUtil.h | 4 +- 6 files changed, 4314 insertions(+), 4314 deletions(-) diff --git a/src/ifcexpressparser/IfcExpressParser.py b/src/ifcexpressparser/IfcExpressParser.py index bae465920b..8d5867b3f4 100644 --- a/src/ifcexpressparser/IfcExpressParser.py +++ b/src/ifcexpressparser/IfcExpressParser.py @@ -148,11 +148,11 @@ class ArrayType: def is_select_list(self): return self.type in selections def __str__(self): if self.type in entity_names: - return "SHARED_PTR< IfcTemplatedEntityList<%s> >"%self.type + return "SHARED_PTR< IfcTemplatedEntityList< %s > >"%self.type elif self.type in selections: - return "SHARED_PTR< IfcTemplatedEntityList >" + return "SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > >" else: - return "std::vector<%(type)s> /*[%(lower)s:%(upper)s]*/"%self.__dict__ + return "std::vector< %(type)s > /*[%(lower)s:%(upper)s]*/"%self.__dict__ def is_shared_ptr(self): return self.type in entity_names or self.type in selections def type_enum(self): if self.type in simple_types: @@ -195,7 +195,7 @@ class EnumType: elif generator_mode == 'SOURCE_TO': return '{ "%s" }'%'","'.join([v1 for v1,v2 in self.v]) elif generator_mode == 'SOURCE_FROM': - return "".join([' if(s=="%s"%s) return %s::%s;\n'%(v1.upper()," "*(self.maxlen-len(v1)),"%(name)s",v2) for v1,v2 in self.v]) + return "".join([' if(s=="%s"%s) return ::%s::%s::%s;\n'%(v1.upper()," "*(self.maxlen-len(v1)),schema_version,"%(name)s",v2) for v1,v2 in self.v]) def is_select_list(self): return False def __len__(self): return len(self.v) def type_enum(self): @@ -250,12 +250,12 @@ class Argument(object): def type_str(self): if self.type.is_select_list(): # This is extremely hackish indeed - return "optional" if self.optional else "IfcEntities" + return "optional< IfcEntities >" if self.optional else "IfcEntities" elif str(self.type) in entity_names: return "%(type)s*"%self.__dict__ else: t = "%(type)s::%(type)s"%self.__dict__ if self.is_enum() else self.type - return "optional<%s>"%t if self.optional else t + return "optional< %s >"%t if self.optional else t class ArgumentList: def __init__(self,l): self.l = [Argument(a) for a in l] @@ -342,7 +342,7 @@ class InverseList: s = "" for i in self.l: if generator_mode == 'HEADER': - s += "\n SHARED_PTR< IfcTemplatedEntityList<%s> > %s(); // INVERSE %s::%s"%(i.type.type,i.name,i.type.type,i.reference) + s += "\n SHARED_PTR< IfcTemplatedEntityList< %s > > %s(); // INVERSE %s::%s"%(i.type.type,i.name,i.type.type,i.reference) elif generator_mode == 'SOURCE': s += "\n%s::list %s::%s() { RETURN_INVERSE(%s) }"%(i.type.type,"%(class_name)s",i.name,i.type.type) return s @@ -398,8 +398,8 @@ class Classdef: "\n %(class_name)s (IfcAbstractEntityPtr e = IfcAbstractEntityPtr());"+ ("\n %(class_name)s (%(constructor_args)s);" if len(self.constructor_args_list) else "")+ "\n typedef %(class_name)s* ptr;"+ - "\n typedef SHARED_PTR< IfcTemplatedEntityList<%(class_name)s> > list;"+ - "\n typedef IfcTemplatedEntityList<%(class_name)s>::it it;")%self.__dict__ + "\n typedef SHARED_PTR< IfcTemplatedEntityList< %(class_name)s > > list;"+ + "\n typedef IfcTemplatedEntityList< %(class_name)s >::it it;")%self.__dict__ ) elif generator_mode == 'SOURCE': self.arguments.argstart = argument_start(self.class_name) diff --git a/src/ifcgeom/IfcRegisterConvertShape.h b/src/ifcgeom/IfcRegisterConvertShape.h index c84f5fa19d..67c381ac93 100644 --- a/src/ifcgeom/IfcRegisterConvertShape.h +++ b/src/ifcgeom/IfcRegisterConvertShape.h @@ -8,7 +8,7 @@ } \ } catch(...) { } \ Logger::Message(Logger::LOG_ERROR,"Failed to convert:",l->entity); \ - return false; \ + return 0; \ } #include "IfcRegisterDef.h" diff --git a/src/ifcparse/Ifc2x3.cpp b/src/ifcparse/Ifc2x3.cpp index 04b3efdce2..1b33e0d84e 100644 --- a/src/ifcparse/Ifc2x3.cpp +++ b/src/ifcparse/Ifc2x3.cpp @@ -2134,33 +2134,33 @@ const char* IfcActionSourceTypeEnum::ToString(IfcActionSourceTypeEnum v) { return names[v]; } IfcActionSourceTypeEnum::IfcActionSourceTypeEnum IfcActionSourceTypeEnum::FromString(const std::string& s) { - if(s=="DEAD_LOAD_G") return IfcActionSourceTypeEnum::IfcActionSourceType_DEAD_LOAD_G; - if(s=="COMPLETION_G1") return IfcActionSourceTypeEnum::IfcActionSourceType_COMPLETION_G1; - if(s=="LIVE_LOAD_Q") return IfcActionSourceTypeEnum::IfcActionSourceType_LIVE_LOAD_Q; - if(s=="SNOW_S") return IfcActionSourceTypeEnum::IfcActionSourceType_SNOW_S; - if(s=="WIND_W") return IfcActionSourceTypeEnum::IfcActionSourceType_WIND_W; - if(s=="PRESTRESSING_P") return IfcActionSourceTypeEnum::IfcActionSourceType_PRESTRESSING_P; - if(s=="SETTLEMENT_U") return IfcActionSourceTypeEnum::IfcActionSourceType_SETTLEMENT_U; - if(s=="TEMPERATURE_T") return IfcActionSourceTypeEnum::IfcActionSourceType_TEMPERATURE_T; - if(s=="EARTHQUAKE_E") return IfcActionSourceTypeEnum::IfcActionSourceType_EARTHQUAKE_E; - if(s=="FIRE") return IfcActionSourceTypeEnum::IfcActionSourceType_FIRE; - if(s=="IMPULSE") return IfcActionSourceTypeEnum::IfcActionSourceType_IMPULSE; - if(s=="IMPACT") return IfcActionSourceTypeEnum::IfcActionSourceType_IMPACT; - if(s=="TRANSPORT") return IfcActionSourceTypeEnum::IfcActionSourceType_TRANSPORT; - if(s=="ERECTION") return IfcActionSourceTypeEnum::IfcActionSourceType_ERECTION; - if(s=="PROPPING") return IfcActionSourceTypeEnum::IfcActionSourceType_PROPPING; - if(s=="SYSTEM_IMPERFECTION") return IfcActionSourceTypeEnum::IfcActionSourceType_SYSTEM_IMPERFECTION; - if(s=="SHRINKAGE") return IfcActionSourceTypeEnum::IfcActionSourceType_SHRINKAGE; - if(s=="CREEP") return IfcActionSourceTypeEnum::IfcActionSourceType_CREEP; - if(s=="LACK_OF_FIT") return IfcActionSourceTypeEnum::IfcActionSourceType_LACK_OF_FIT; - if(s=="BUOYANCY") return IfcActionSourceTypeEnum::IfcActionSourceType_BUOYANCY; - if(s=="ICE") return IfcActionSourceTypeEnum::IfcActionSourceType_ICE; - if(s=="CURRENT") return IfcActionSourceTypeEnum::IfcActionSourceType_CURRENT; - if(s=="WAVE") return IfcActionSourceTypeEnum::IfcActionSourceType_WAVE; - if(s=="RAIN") return IfcActionSourceTypeEnum::IfcActionSourceType_RAIN; - if(s=="BRAKES") return IfcActionSourceTypeEnum::IfcActionSourceType_BRAKES; - if(s=="USERDEFINED") return IfcActionSourceTypeEnum::IfcActionSourceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcActionSourceTypeEnum::IfcActionSourceType_NOTDEFINED; + if(s=="DEAD_LOAD_G") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_DEAD_LOAD_G; + if(s=="COMPLETION_G1") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_COMPLETION_G1; + if(s=="LIVE_LOAD_Q") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_LIVE_LOAD_Q; + if(s=="SNOW_S") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_SNOW_S; + if(s=="WIND_W") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_WIND_W; + if(s=="PRESTRESSING_P") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_PRESTRESSING_P; + if(s=="SETTLEMENT_U") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_SETTLEMENT_U; + if(s=="TEMPERATURE_T") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_TEMPERATURE_T; + if(s=="EARTHQUAKE_E") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_EARTHQUAKE_E; + if(s=="FIRE") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_FIRE; + if(s=="IMPULSE") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_IMPULSE; + if(s=="IMPACT") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_IMPACT; + if(s=="TRANSPORT") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_TRANSPORT; + if(s=="ERECTION") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_ERECTION; + if(s=="PROPPING") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_PROPPING; + if(s=="SYSTEM_IMPERFECTION") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_SYSTEM_IMPERFECTION; + if(s=="SHRINKAGE") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_SHRINKAGE; + if(s=="CREEP") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_CREEP; + if(s=="LACK_OF_FIT") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_LACK_OF_FIT; + if(s=="BUOYANCY") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_BUOYANCY; + if(s=="ICE") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_ICE; + if(s=="CURRENT") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_CURRENT; + if(s=="WAVE") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_WAVE; + if(s=="RAIN") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_RAIN; + if(s=="BRAKES") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_BRAKES; + if(s=="USERDEFINED") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcActionTypeEnum::ToString(IfcActionTypeEnum v) { @@ -2169,11 +2169,11 @@ const char* IfcActionTypeEnum::ToString(IfcActionTypeEnum v) { return names[v]; } IfcActionTypeEnum::IfcActionTypeEnum IfcActionTypeEnum::FromString(const std::string& s) { - if(s=="PERMANENT_G") return IfcActionTypeEnum::IfcActionType_PERMANENT_G; - if(s=="VARIABLE_Q") return IfcActionTypeEnum::IfcActionType_VARIABLE_Q; - if(s=="EXTRAORDINARY_A") return IfcActionTypeEnum::IfcActionType_EXTRAORDINARY_A; - if(s=="USERDEFINED") return IfcActionTypeEnum::IfcActionType_USERDEFINED; - if(s=="NOTDEFINED") return IfcActionTypeEnum::IfcActionType_NOTDEFINED; + if(s=="PERMANENT_G") return ::Ifc2x3::IfcActionTypeEnum::IfcActionType_PERMANENT_G; + if(s=="VARIABLE_Q") return ::Ifc2x3::IfcActionTypeEnum::IfcActionType_VARIABLE_Q; + if(s=="EXTRAORDINARY_A") return ::Ifc2x3::IfcActionTypeEnum::IfcActionType_EXTRAORDINARY_A; + if(s=="USERDEFINED") return ::Ifc2x3::IfcActionTypeEnum::IfcActionType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcActionTypeEnum::IfcActionType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcActuatorTypeEnum::ToString(IfcActuatorTypeEnum v) { @@ -2182,13 +2182,13 @@ const char* IfcActuatorTypeEnum::ToString(IfcActuatorTypeEnum v) { return names[v]; } IfcActuatorTypeEnum::IfcActuatorTypeEnum IfcActuatorTypeEnum::FromString(const std::string& s) { - if(s=="ELECTRICACTUATOR") return IfcActuatorTypeEnum::IfcActuatorType_ELECTRICACTUATOR; - if(s=="HANDOPERATEDACTUATOR") return IfcActuatorTypeEnum::IfcActuatorType_HANDOPERATEDACTUATOR; - if(s=="HYDRAULICACTUATOR") return IfcActuatorTypeEnum::IfcActuatorType_HYDRAULICACTUATOR; - if(s=="PNEUMATICACTUATOR") return IfcActuatorTypeEnum::IfcActuatorType_PNEUMATICACTUATOR; - if(s=="THERMOSTATICACTUATOR") return IfcActuatorTypeEnum::IfcActuatorType_THERMOSTATICACTUATOR; - if(s=="USERDEFINED") return IfcActuatorTypeEnum::IfcActuatorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcActuatorTypeEnum::IfcActuatorType_NOTDEFINED; + if(s=="ELECTRICACTUATOR") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_ELECTRICACTUATOR; + if(s=="HANDOPERATEDACTUATOR") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_HANDOPERATEDACTUATOR; + if(s=="HYDRAULICACTUATOR") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_HYDRAULICACTUATOR; + if(s=="PNEUMATICACTUATOR") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_PNEUMATICACTUATOR; + if(s=="THERMOSTATICACTUATOR") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_THERMOSTATICACTUATOR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcActuatorTypeEnum::IfcActuatorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAddressTypeEnum::ToString(IfcAddressTypeEnum v) { @@ -2197,11 +2197,11 @@ const char* IfcAddressTypeEnum::ToString(IfcAddressTypeEnum v) { return names[v]; } IfcAddressTypeEnum::IfcAddressTypeEnum IfcAddressTypeEnum::FromString(const std::string& s) { - if(s=="OFFICE") return IfcAddressTypeEnum::IfcAddressType_OFFICE; - if(s=="SITE") return IfcAddressTypeEnum::IfcAddressType_SITE; - if(s=="HOME") return IfcAddressTypeEnum::IfcAddressType_HOME; - if(s=="DISTRIBUTIONPOINT") return IfcAddressTypeEnum::IfcAddressType_DISTRIBUTIONPOINT; - if(s=="USERDEFINED") return IfcAddressTypeEnum::IfcAddressType_USERDEFINED; + if(s=="OFFICE") return ::Ifc2x3::IfcAddressTypeEnum::IfcAddressType_OFFICE; + if(s=="SITE") return ::Ifc2x3::IfcAddressTypeEnum::IfcAddressType_SITE; + if(s=="HOME") return ::Ifc2x3::IfcAddressTypeEnum::IfcAddressType_HOME; + if(s=="DISTRIBUTIONPOINT") return ::Ifc2x3::IfcAddressTypeEnum::IfcAddressType_DISTRIBUTIONPOINT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAddressTypeEnum::IfcAddressType_USERDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAheadOrBehind::ToString(IfcAheadOrBehind v) { @@ -2210,8 +2210,8 @@ const char* IfcAheadOrBehind::ToString(IfcAheadOrBehind v) { return names[v]; } IfcAheadOrBehind::IfcAheadOrBehind IfcAheadOrBehind::FromString(const std::string& s) { - if(s=="AHEAD") return IfcAheadOrBehind::IfcAheadOrBehind_AHEAD; - if(s=="BEHIND") return IfcAheadOrBehind::IfcAheadOrBehind_BEHIND; + if(s=="AHEAD") return ::Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind_AHEAD; + if(s=="BEHIND") return ::Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind_BEHIND; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAirTerminalBoxTypeEnum::ToString(IfcAirTerminalBoxTypeEnum v) { @@ -2220,11 +2220,11 @@ const char* IfcAirTerminalBoxTypeEnum::ToString(IfcAirTerminalBoxTypeEnum v) { return names[v]; } IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum IfcAirTerminalBoxTypeEnum::FromString(const std::string& s) { - if(s=="CONSTANTFLOW") return IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_CONSTANTFLOW; - if(s=="VARIABLEFLOWPRESSUREDEPENDANT") return IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT; - if(s=="VARIABLEFLOWPRESSUREINDEPENDANT") return IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT; - if(s=="USERDEFINED") return IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_NOTDEFINED; + if(s=="CONSTANTFLOW") return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_CONSTANTFLOW; + if(s=="VARIABLEFLOWPRESSUREDEPENDANT") return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT; + if(s=="VARIABLEFLOWPRESSUREINDEPENDANT") return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAirTerminalTypeEnum::ToString(IfcAirTerminalTypeEnum v) { @@ -2233,15 +2233,15 @@ const char* IfcAirTerminalTypeEnum::ToString(IfcAirTerminalTypeEnum v) { return names[v]; } IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum IfcAirTerminalTypeEnum::FromString(const std::string& s) { - if(s=="GRILLE") return IfcAirTerminalTypeEnum::IfcAirTerminalType_GRILLE; - if(s=="REGISTER") return IfcAirTerminalTypeEnum::IfcAirTerminalType_REGISTER; - if(s=="DIFFUSER") return IfcAirTerminalTypeEnum::IfcAirTerminalType_DIFFUSER; - if(s=="EYEBALL") return IfcAirTerminalTypeEnum::IfcAirTerminalType_EYEBALL; - if(s=="IRIS") return IfcAirTerminalTypeEnum::IfcAirTerminalType_IRIS; - if(s=="LINEARGRILLE") return IfcAirTerminalTypeEnum::IfcAirTerminalType_LINEARGRILLE; - if(s=="LINEARDIFFUSER") return IfcAirTerminalTypeEnum::IfcAirTerminalType_LINEARDIFFUSER; - if(s=="USERDEFINED") return IfcAirTerminalTypeEnum::IfcAirTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAirTerminalTypeEnum::IfcAirTerminalType_NOTDEFINED; + if(s=="GRILLE") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_GRILLE; + if(s=="REGISTER") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_REGISTER; + if(s=="DIFFUSER") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_DIFFUSER; + if(s=="EYEBALL") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_EYEBALL; + if(s=="IRIS") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_IRIS; + if(s=="LINEARGRILLE") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_LINEARGRILLE; + if(s=="LINEARDIFFUSER") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_LINEARDIFFUSER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAirToAirHeatRecoveryTypeEnum::ToString(IfcAirToAirHeatRecoveryTypeEnum v) { @@ -2250,17 +2250,17 @@ const char* IfcAirToAirHeatRecoveryTypeEnum::ToString(IfcAirToAirHeatRecoveryTyp return names[v]; } IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum IfcAirToAirHeatRecoveryTypeEnum::FromString(const std::string& s) { - if(s=="FIXEDPLATECOUNTERFLOWEXCHANGER") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER; - if(s=="FIXEDPLATECROSSFLOWEXCHANGER") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER; - if(s=="FIXEDPLATEPARALLELFLOWEXCHANGER") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER; - if(s=="ROTARYWHEEL") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_ROTARYWHEEL; - if(s=="RUNAROUNDCOILLOOP") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP; - if(s=="HEATPIPE") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_HEATPIPE; - if(s=="TWINTOWERENTHALPYRECOVERYLOOPS") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS; - if(s=="THERMOSIPHONSEALEDTUBEHEATEXCHANGERS") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS; - if(s=="THERMOSIPHONCOILTYPEHEATEXCHANGERS") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS; - if(s=="USERDEFINED") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_NOTDEFINED; + if(s=="FIXEDPLATECOUNTERFLOWEXCHANGER") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER; + if(s=="FIXEDPLATECROSSFLOWEXCHANGER") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER; + if(s=="FIXEDPLATEPARALLELFLOWEXCHANGER") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER; + if(s=="ROTARYWHEEL") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_ROTARYWHEEL; + if(s=="RUNAROUNDCOILLOOP") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP; + if(s=="HEATPIPE") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_HEATPIPE; + if(s=="TWINTOWERENTHALPYRECOVERYLOOPS") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS; + if(s=="THERMOSIPHONSEALEDTUBEHEATEXCHANGERS") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS; + if(s=="THERMOSIPHONCOILTYPEHEATEXCHANGERS") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAlarmTypeEnum::ToString(IfcAlarmTypeEnum v) { @@ -2269,14 +2269,14 @@ const char* IfcAlarmTypeEnum::ToString(IfcAlarmTypeEnum v) { return names[v]; } IfcAlarmTypeEnum::IfcAlarmTypeEnum IfcAlarmTypeEnum::FromString(const std::string& s) { - if(s=="BELL") return IfcAlarmTypeEnum::IfcAlarmType_BELL; - if(s=="BREAKGLASSBUTTON") return IfcAlarmTypeEnum::IfcAlarmType_BREAKGLASSBUTTON; - if(s=="LIGHT") return IfcAlarmTypeEnum::IfcAlarmType_LIGHT; - if(s=="MANUALPULLBOX") return IfcAlarmTypeEnum::IfcAlarmType_MANUALPULLBOX; - if(s=="SIREN") return IfcAlarmTypeEnum::IfcAlarmType_SIREN; - if(s=="WHISTLE") return IfcAlarmTypeEnum::IfcAlarmType_WHISTLE; - if(s=="USERDEFINED") return IfcAlarmTypeEnum::IfcAlarmType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAlarmTypeEnum::IfcAlarmType_NOTDEFINED; + if(s=="BELL") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_BELL; + if(s=="BREAKGLASSBUTTON") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_BREAKGLASSBUTTON; + if(s=="LIGHT") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_LIGHT; + if(s=="MANUALPULLBOX") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_MANUALPULLBOX; + if(s=="SIREN") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_SIREN; + if(s=="WHISTLE") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_WHISTLE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAlarmTypeEnum::IfcAlarmType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAnalysisModelTypeEnum::ToString(IfcAnalysisModelTypeEnum v) { @@ -2285,11 +2285,11 @@ const char* IfcAnalysisModelTypeEnum::ToString(IfcAnalysisModelTypeEnum v) { return names[v]; } IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum IfcAnalysisModelTypeEnum::FromString(const std::string& s) { - if(s=="IN_PLANE_LOADING_2D") return IfcAnalysisModelTypeEnum::IfcAnalysisModelType_IN_PLANE_LOADING_2D; - if(s=="OUT_PLANE_LOADING_2D") return IfcAnalysisModelTypeEnum::IfcAnalysisModelType_OUT_PLANE_LOADING_2D; - if(s=="LOADING_3D") return IfcAnalysisModelTypeEnum::IfcAnalysisModelType_LOADING_3D; - if(s=="USERDEFINED") return IfcAnalysisModelTypeEnum::IfcAnalysisModelType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAnalysisModelTypeEnum::IfcAnalysisModelType_NOTDEFINED; + if(s=="IN_PLANE_LOADING_2D") return ::Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelType_IN_PLANE_LOADING_2D; + if(s=="OUT_PLANE_LOADING_2D") return ::Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelType_OUT_PLANE_LOADING_2D; + if(s=="LOADING_3D") return ::Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelType_LOADING_3D; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAnalysisTheoryTypeEnum::ToString(IfcAnalysisTheoryTypeEnum v) { @@ -2298,12 +2298,12 @@ const char* IfcAnalysisTheoryTypeEnum::ToString(IfcAnalysisTheoryTypeEnum v) { return names[v]; } IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum IfcAnalysisTheoryTypeEnum::FromString(const std::string& s) { - if(s=="FIRST_ORDER_THEORY") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_FIRST_ORDER_THEORY; - if(s=="SECOND_ORDER_THEORY") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_SECOND_ORDER_THEORY; - if(s=="THIRD_ORDER_THEORY") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_THIRD_ORDER_THEORY; - if(s=="FULL_NONLINEAR_THEORY") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY; - if(s=="USERDEFINED") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_USERDEFINED; - if(s=="NOTDEFINED") return IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_NOTDEFINED; + if(s=="FIRST_ORDER_THEORY") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_FIRST_ORDER_THEORY; + if(s=="SECOND_ORDER_THEORY") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_SECOND_ORDER_THEORY; + if(s=="THIRD_ORDER_THEORY") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_THIRD_ORDER_THEORY; + if(s=="FULL_NONLINEAR_THEORY") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcArithmeticOperatorEnum::ToString(IfcArithmeticOperatorEnum v) { @@ -2312,10 +2312,10 @@ const char* IfcArithmeticOperatorEnum::ToString(IfcArithmeticOperatorEnum v) { return names[v]; } IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum IfcArithmeticOperatorEnum::FromString(const std::string& s) { - if(s=="ADD") return IfcArithmeticOperatorEnum::IfcArithmeticOperator_ADD; - if(s=="DIVIDE") return IfcArithmeticOperatorEnum::IfcArithmeticOperator_DIVIDE; - if(s=="MULTIPLY") return IfcArithmeticOperatorEnum::IfcArithmeticOperator_MULTIPLY; - if(s=="SUBTRACT") return IfcArithmeticOperatorEnum::IfcArithmeticOperator_SUBTRACT; + if(s=="ADD") return ::Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperator_ADD; + if(s=="DIVIDE") return ::Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperator_DIVIDE; + if(s=="MULTIPLY") return ::Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperator_MULTIPLY; + if(s=="SUBTRACT") return ::Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperator_SUBTRACT; throw IfcException("Unable to find find keyword in schema"); } const char* IfcAssemblyPlaceEnum::ToString(IfcAssemblyPlaceEnum v) { @@ -2324,9 +2324,9 @@ const char* IfcAssemblyPlaceEnum::ToString(IfcAssemblyPlaceEnum v) { return names[v]; } IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum IfcAssemblyPlaceEnum::FromString(const std::string& s) { - if(s=="SITE") return IfcAssemblyPlaceEnum::IfcAssemblyPlace_SITE; - if(s=="FACTORY") return IfcAssemblyPlaceEnum::IfcAssemblyPlace_FACTORY; - if(s=="NOTDEFINED") return IfcAssemblyPlaceEnum::IfcAssemblyPlace_NOTDEFINED; + if(s=="SITE") return ::Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlace_SITE; + if(s=="FACTORY") return ::Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlace_FACTORY; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlace_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBSplineCurveForm::ToString(IfcBSplineCurveForm v) { @@ -2335,12 +2335,12 @@ const char* IfcBSplineCurveForm::ToString(IfcBSplineCurveForm v) { return names[v]; } IfcBSplineCurveForm::IfcBSplineCurveForm IfcBSplineCurveForm::FromString(const std::string& s) { - if(s=="POLYLINE_FORM") return IfcBSplineCurveForm::IfcBSplineCurveForm_POLYLINE_FORM; - if(s=="CIRCULAR_ARC") return IfcBSplineCurveForm::IfcBSplineCurveForm_CIRCULAR_ARC; - if(s=="ELLIPTIC_ARC") return IfcBSplineCurveForm::IfcBSplineCurveForm_ELLIPTIC_ARC; - if(s=="PARABOLIC_ARC") return IfcBSplineCurveForm::IfcBSplineCurveForm_PARABOLIC_ARC; - if(s=="HYPERBOLIC_ARC") return IfcBSplineCurveForm::IfcBSplineCurveForm_HYPERBOLIC_ARC; - if(s=="UNSPECIFIED") return IfcBSplineCurveForm::IfcBSplineCurveForm_UNSPECIFIED; + if(s=="POLYLINE_FORM") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_POLYLINE_FORM; + if(s=="CIRCULAR_ARC") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_CIRCULAR_ARC; + if(s=="ELLIPTIC_ARC") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_ELLIPTIC_ARC; + if(s=="PARABOLIC_ARC") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_PARABOLIC_ARC; + if(s=="HYPERBOLIC_ARC") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_HYPERBOLIC_ARC; + if(s=="UNSPECIFIED") return ::Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm_UNSPECIFIED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBeamTypeEnum::ToString(IfcBeamTypeEnum v) { @@ -2349,12 +2349,12 @@ const char* IfcBeamTypeEnum::ToString(IfcBeamTypeEnum v) { return names[v]; } IfcBeamTypeEnum::IfcBeamTypeEnum IfcBeamTypeEnum::FromString(const std::string& s) { - if(s=="BEAM") return IfcBeamTypeEnum::IfcBeamType_BEAM; - if(s=="JOIST") return IfcBeamTypeEnum::IfcBeamType_JOIST; - if(s=="LINTEL") return IfcBeamTypeEnum::IfcBeamType_LINTEL; - if(s=="T_BEAM") return IfcBeamTypeEnum::IfcBeamType_T_BEAM; - if(s=="USERDEFINED") return IfcBeamTypeEnum::IfcBeamType_USERDEFINED; - if(s=="NOTDEFINED") return IfcBeamTypeEnum::IfcBeamType_NOTDEFINED; + if(s=="BEAM") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_BEAM; + if(s=="JOIST") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_JOIST; + if(s=="LINTEL") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_LINTEL; + if(s=="T_BEAM") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_T_BEAM; + if(s=="USERDEFINED") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcBeamTypeEnum::IfcBeamType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBenchmarkEnum::ToString(IfcBenchmarkEnum v) { @@ -2363,12 +2363,12 @@ const char* IfcBenchmarkEnum::ToString(IfcBenchmarkEnum v) { return names[v]; } IfcBenchmarkEnum::IfcBenchmarkEnum IfcBenchmarkEnum::FromString(const std::string& s) { - if(s=="GREATERTHAN") return IfcBenchmarkEnum::IfcBenchmark_GREATERTHAN; - if(s=="GREATERTHANOREQUALTO") return IfcBenchmarkEnum::IfcBenchmark_GREATERTHANOREQUALTO; - if(s=="LESSTHAN") return IfcBenchmarkEnum::IfcBenchmark_LESSTHAN; - if(s=="LESSTHANOREQUALTO") return IfcBenchmarkEnum::IfcBenchmark_LESSTHANOREQUALTO; - if(s=="EQUALTO") return IfcBenchmarkEnum::IfcBenchmark_EQUALTO; - if(s=="NOTEQUALTO") return IfcBenchmarkEnum::IfcBenchmark_NOTEQUALTO; + if(s=="GREATERTHAN") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_GREATERTHAN; + if(s=="GREATERTHANOREQUALTO") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_GREATERTHANOREQUALTO; + if(s=="LESSTHAN") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_LESSTHAN; + if(s=="LESSTHANOREQUALTO") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_LESSTHANOREQUALTO; + if(s=="EQUALTO") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_EQUALTO; + if(s=="NOTEQUALTO") return ::Ifc2x3::IfcBenchmarkEnum::IfcBenchmark_NOTEQUALTO; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBoilerTypeEnum::ToString(IfcBoilerTypeEnum v) { @@ -2377,10 +2377,10 @@ const char* IfcBoilerTypeEnum::ToString(IfcBoilerTypeEnum v) { return names[v]; } IfcBoilerTypeEnum::IfcBoilerTypeEnum IfcBoilerTypeEnum::FromString(const std::string& s) { - if(s=="WATER") return IfcBoilerTypeEnum::IfcBoilerType_WATER; - if(s=="STEAM") return IfcBoilerTypeEnum::IfcBoilerType_STEAM; - if(s=="USERDEFINED") return IfcBoilerTypeEnum::IfcBoilerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcBoilerTypeEnum::IfcBoilerType_NOTDEFINED; + if(s=="WATER") return ::Ifc2x3::IfcBoilerTypeEnum::IfcBoilerType_WATER; + if(s=="STEAM") return ::Ifc2x3::IfcBoilerTypeEnum::IfcBoilerType_STEAM; + if(s=="USERDEFINED") return ::Ifc2x3::IfcBoilerTypeEnum::IfcBoilerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcBoilerTypeEnum::IfcBoilerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBooleanOperator::ToString(IfcBooleanOperator v) { @@ -2389,9 +2389,9 @@ const char* IfcBooleanOperator::ToString(IfcBooleanOperator v) { return names[v]; } IfcBooleanOperator::IfcBooleanOperator IfcBooleanOperator::FromString(const std::string& s) { - if(s=="UNION") return IfcBooleanOperator::IfcBooleanOperator_UNION; - if(s=="INTERSECTION") return IfcBooleanOperator::IfcBooleanOperator_INTERSECTION; - if(s=="DIFFERENCE") return IfcBooleanOperator::IfcBooleanOperator_DIFFERENCE; + if(s=="UNION") return ::Ifc2x3::IfcBooleanOperator::IfcBooleanOperator_UNION; + if(s=="INTERSECTION") return ::Ifc2x3::IfcBooleanOperator::IfcBooleanOperator_INTERSECTION; + if(s=="DIFFERENCE") return ::Ifc2x3::IfcBooleanOperator::IfcBooleanOperator_DIFFERENCE; throw IfcException("Unable to find find keyword in schema"); } const char* IfcBuildingElementProxyTypeEnum::ToString(IfcBuildingElementProxyTypeEnum v) { @@ -2400,8 +2400,8 @@ const char* IfcBuildingElementProxyTypeEnum::ToString(IfcBuildingElementProxyTyp return names[v]; } IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum IfcBuildingElementProxyTypeEnum::FromString(const std::string& s) { - if(s=="USERDEFINED") return IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyType_USERDEFINED; - if(s=="NOTDEFINED") return IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyType_NOTDEFINED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCableCarrierFittingTypeEnum::ToString(IfcCableCarrierFittingTypeEnum v) { @@ -2410,12 +2410,12 @@ const char* IfcCableCarrierFittingTypeEnum::ToString(IfcCableCarrierFittingTypeE return names[v]; } IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum IfcCableCarrierFittingTypeEnum::FromString(const std::string& s) { - if(s=="BEND") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_BEND; - if(s=="CROSS") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_CROSS; - if(s=="REDUCER") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_REDUCER; - if(s=="TEE") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_TEE; - if(s=="USERDEFINED") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_NOTDEFINED; + if(s=="BEND") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_BEND; + if(s=="CROSS") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_CROSS; + if(s=="REDUCER") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_REDUCER; + if(s=="TEE") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_TEE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCableCarrierSegmentTypeEnum::ToString(IfcCableCarrierSegmentTypeEnum v) { @@ -2424,12 +2424,12 @@ const char* IfcCableCarrierSegmentTypeEnum::ToString(IfcCableCarrierSegmentTypeE return names[v]; } IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum IfcCableCarrierSegmentTypeEnum::FromString(const std::string& s) { - if(s=="CABLELADDERSEGMENT") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLELADDERSEGMENT; - if(s=="CABLETRAYSEGMENT") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLETRAYSEGMENT; - if(s=="CABLETRUNKINGSEGMENT") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT; - if(s=="CONDUITSEGMENT") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CONDUITSEGMENT; - if(s=="USERDEFINED") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_NOTDEFINED; + if(s=="CABLELADDERSEGMENT") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLELADDERSEGMENT; + if(s=="CABLETRAYSEGMENT") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLETRAYSEGMENT; + if(s=="CABLETRUNKINGSEGMENT") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT; + if(s=="CONDUITSEGMENT") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_CONDUITSEGMENT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCableSegmentTypeEnum::ToString(IfcCableSegmentTypeEnum v) { @@ -2438,10 +2438,10 @@ const char* IfcCableSegmentTypeEnum::ToString(IfcCableSegmentTypeEnum v) { return names[v]; } IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum IfcCableSegmentTypeEnum::FromString(const std::string& s) { - if(s=="CABLESEGMENT") return IfcCableSegmentTypeEnum::IfcCableSegmentType_CABLESEGMENT; - if(s=="CONDUCTORSEGMENT") return IfcCableSegmentTypeEnum::IfcCableSegmentType_CONDUCTORSEGMENT; - if(s=="USERDEFINED") return IfcCableSegmentTypeEnum::IfcCableSegmentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCableSegmentTypeEnum::IfcCableSegmentType_NOTDEFINED; + if(s=="CABLESEGMENT") return ::Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentType_CABLESEGMENT; + if(s=="CONDUCTORSEGMENT") return ::Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentType_CONDUCTORSEGMENT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcChangeActionEnum::ToString(IfcChangeActionEnum v) { @@ -2450,12 +2450,12 @@ const char* IfcChangeActionEnum::ToString(IfcChangeActionEnum v) { return names[v]; } IfcChangeActionEnum::IfcChangeActionEnum IfcChangeActionEnum::FromString(const std::string& s) { - if(s=="NOCHANGE") return IfcChangeActionEnum::IfcChangeAction_NOCHANGE; - if(s=="MODIFIED") return IfcChangeActionEnum::IfcChangeAction_MODIFIED; - if(s=="ADDED") return IfcChangeActionEnum::IfcChangeAction_ADDED; - if(s=="DELETED") return IfcChangeActionEnum::IfcChangeAction_DELETED; - if(s=="MODIFIEDADDED") return IfcChangeActionEnum::IfcChangeAction_MODIFIEDADDED; - if(s=="MODIFIEDDELETED") return IfcChangeActionEnum::IfcChangeAction_MODIFIEDDELETED; + if(s=="NOCHANGE") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_NOCHANGE; + if(s=="MODIFIED") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_MODIFIED; + if(s=="ADDED") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_ADDED; + if(s=="DELETED") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_DELETED; + if(s=="MODIFIEDADDED") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_MODIFIEDADDED; + if(s=="MODIFIEDDELETED") return ::Ifc2x3::IfcChangeActionEnum::IfcChangeAction_MODIFIEDDELETED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcChillerTypeEnum::ToString(IfcChillerTypeEnum v) { @@ -2464,11 +2464,11 @@ const char* IfcChillerTypeEnum::ToString(IfcChillerTypeEnum v) { return names[v]; } IfcChillerTypeEnum::IfcChillerTypeEnum IfcChillerTypeEnum::FromString(const std::string& s) { - if(s=="AIRCOOLED") return IfcChillerTypeEnum::IfcChillerType_AIRCOOLED; - if(s=="WATERCOOLED") return IfcChillerTypeEnum::IfcChillerType_WATERCOOLED; - if(s=="HEATRECOVERY") return IfcChillerTypeEnum::IfcChillerType_HEATRECOVERY; - if(s=="USERDEFINED") return IfcChillerTypeEnum::IfcChillerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcChillerTypeEnum::IfcChillerType_NOTDEFINED; + if(s=="AIRCOOLED") return ::Ifc2x3::IfcChillerTypeEnum::IfcChillerType_AIRCOOLED; + if(s=="WATERCOOLED") return ::Ifc2x3::IfcChillerTypeEnum::IfcChillerType_WATERCOOLED; + if(s=="HEATRECOVERY") return ::Ifc2x3::IfcChillerTypeEnum::IfcChillerType_HEATRECOVERY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcChillerTypeEnum::IfcChillerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcChillerTypeEnum::IfcChillerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCoilTypeEnum::ToString(IfcCoilTypeEnum v) { @@ -2477,14 +2477,14 @@ const char* IfcCoilTypeEnum::ToString(IfcCoilTypeEnum v) { return names[v]; } IfcCoilTypeEnum::IfcCoilTypeEnum IfcCoilTypeEnum::FromString(const std::string& s) { - if(s=="DXCOOLINGCOIL") return IfcCoilTypeEnum::IfcCoilType_DXCOOLINGCOIL; - if(s=="WATERCOOLINGCOIL") return IfcCoilTypeEnum::IfcCoilType_WATERCOOLINGCOIL; - if(s=="STEAMHEATINGCOIL") return IfcCoilTypeEnum::IfcCoilType_STEAMHEATINGCOIL; - if(s=="WATERHEATINGCOIL") return IfcCoilTypeEnum::IfcCoilType_WATERHEATINGCOIL; - if(s=="ELECTRICHEATINGCOIL") return IfcCoilTypeEnum::IfcCoilType_ELECTRICHEATINGCOIL; - if(s=="GASHEATINGCOIL") return IfcCoilTypeEnum::IfcCoilType_GASHEATINGCOIL; - if(s=="USERDEFINED") return IfcCoilTypeEnum::IfcCoilType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCoilTypeEnum::IfcCoilType_NOTDEFINED; + if(s=="DXCOOLINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_DXCOOLINGCOIL; + if(s=="WATERCOOLINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_WATERCOOLINGCOIL; + if(s=="STEAMHEATINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_STEAMHEATINGCOIL; + if(s=="WATERHEATINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_WATERHEATINGCOIL; + if(s=="ELECTRICHEATINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_ELECTRICHEATINGCOIL; + if(s=="GASHEATINGCOIL") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_GASHEATINGCOIL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCoilTypeEnum::IfcCoilType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcColumnTypeEnum::ToString(IfcColumnTypeEnum v) { @@ -2493,9 +2493,9 @@ const char* IfcColumnTypeEnum::ToString(IfcColumnTypeEnum v) { return names[v]; } IfcColumnTypeEnum::IfcColumnTypeEnum IfcColumnTypeEnum::FromString(const std::string& s) { - if(s=="COLUMN") return IfcColumnTypeEnum::IfcColumnType_COLUMN; - if(s=="USERDEFINED") return IfcColumnTypeEnum::IfcColumnType_USERDEFINED; - if(s=="NOTDEFINED") return IfcColumnTypeEnum::IfcColumnType_NOTDEFINED; + if(s=="COLUMN") return ::Ifc2x3::IfcColumnTypeEnum::IfcColumnType_COLUMN; + if(s=="USERDEFINED") return ::Ifc2x3::IfcColumnTypeEnum::IfcColumnType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcColumnTypeEnum::IfcColumnType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCompressorTypeEnum::ToString(IfcCompressorTypeEnum v) { @@ -2504,23 +2504,23 @@ const char* IfcCompressorTypeEnum::ToString(IfcCompressorTypeEnum v) { return names[v]; } IfcCompressorTypeEnum::IfcCompressorTypeEnum IfcCompressorTypeEnum::FromString(const std::string& s) { - if(s=="DYNAMIC") return IfcCompressorTypeEnum::IfcCompressorType_DYNAMIC; - if(s=="RECIPROCATING") return IfcCompressorTypeEnum::IfcCompressorType_RECIPROCATING; - if(s=="ROTARY") return IfcCompressorTypeEnum::IfcCompressorType_ROTARY; - if(s=="SCROLL") return IfcCompressorTypeEnum::IfcCompressorType_SCROLL; - if(s=="TROCHOIDAL") return IfcCompressorTypeEnum::IfcCompressorType_TROCHOIDAL; - if(s=="SINGLESTAGE") return IfcCompressorTypeEnum::IfcCompressorType_SINGLESTAGE; - if(s=="BOOSTER") return IfcCompressorTypeEnum::IfcCompressorType_BOOSTER; - if(s=="OPENTYPE") return IfcCompressorTypeEnum::IfcCompressorType_OPENTYPE; - if(s=="HERMETIC") return IfcCompressorTypeEnum::IfcCompressorType_HERMETIC; - if(s=="SEMIHERMETIC") return IfcCompressorTypeEnum::IfcCompressorType_SEMIHERMETIC; - if(s=="WELDEDSHELLHERMETIC") return IfcCompressorTypeEnum::IfcCompressorType_WELDEDSHELLHERMETIC; - if(s=="ROLLINGPISTON") return IfcCompressorTypeEnum::IfcCompressorType_ROLLINGPISTON; - if(s=="ROTARYVANE") return IfcCompressorTypeEnum::IfcCompressorType_ROTARYVANE; - if(s=="SINGLESCREW") return IfcCompressorTypeEnum::IfcCompressorType_SINGLESCREW; - if(s=="TWINSCREW") return IfcCompressorTypeEnum::IfcCompressorType_TWINSCREW; - if(s=="USERDEFINED") return IfcCompressorTypeEnum::IfcCompressorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCompressorTypeEnum::IfcCompressorType_NOTDEFINED; + if(s=="DYNAMIC") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_DYNAMIC; + if(s=="RECIPROCATING") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_RECIPROCATING; + if(s=="ROTARY") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_ROTARY; + if(s=="SCROLL") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_SCROLL; + if(s=="TROCHOIDAL") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_TROCHOIDAL; + if(s=="SINGLESTAGE") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_SINGLESTAGE; + if(s=="BOOSTER") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_BOOSTER; + if(s=="OPENTYPE") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_OPENTYPE; + if(s=="HERMETIC") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_HERMETIC; + if(s=="SEMIHERMETIC") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_SEMIHERMETIC; + if(s=="WELDEDSHELLHERMETIC") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_WELDEDSHELLHERMETIC; + if(s=="ROLLINGPISTON") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_ROLLINGPISTON; + if(s=="ROTARYVANE") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_ROTARYVANE; + if(s=="SINGLESCREW") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_SINGLESCREW; + if(s=="TWINSCREW") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_TWINSCREW; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCompressorTypeEnum::IfcCompressorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCondenserTypeEnum::ToString(IfcCondenserTypeEnum v) { @@ -2529,14 +2529,14 @@ const char* IfcCondenserTypeEnum::ToString(IfcCondenserTypeEnum v) { return names[v]; } IfcCondenserTypeEnum::IfcCondenserTypeEnum IfcCondenserTypeEnum::FromString(const std::string& s) { - if(s=="WATERCOOLEDSHELLTUBE") return IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDSHELLTUBE; - if(s=="WATERCOOLEDSHELLCOIL") return IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDSHELLCOIL; - if(s=="WATERCOOLEDTUBEINTUBE") return IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDTUBEINTUBE; - if(s=="WATERCOOLEDBRAZEDPLATE") return IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDBRAZEDPLATE; - if(s=="AIRCOOLED") return IfcCondenserTypeEnum::IfcCondenserType_AIRCOOLED; - if(s=="EVAPORATIVECOOLED") return IfcCondenserTypeEnum::IfcCondenserType_EVAPORATIVECOOLED; - if(s=="USERDEFINED") return IfcCondenserTypeEnum::IfcCondenserType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCondenserTypeEnum::IfcCondenserType_NOTDEFINED; + if(s=="WATERCOOLEDSHELLTUBE") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDSHELLTUBE; + if(s=="WATERCOOLEDSHELLCOIL") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDSHELLCOIL; + if(s=="WATERCOOLEDTUBEINTUBE") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDTUBEINTUBE; + if(s=="WATERCOOLEDBRAZEDPLATE") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_WATERCOOLEDBRAZEDPLATE; + if(s=="AIRCOOLED") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_AIRCOOLED; + if(s=="EVAPORATIVECOOLED") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_EVAPORATIVECOOLED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCondenserTypeEnum::IfcCondenserType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcConnectionTypeEnum::ToString(IfcConnectionTypeEnum v) { @@ -2545,10 +2545,10 @@ const char* IfcConnectionTypeEnum::ToString(IfcConnectionTypeEnum v) { return names[v]; } IfcConnectionTypeEnum::IfcConnectionTypeEnum IfcConnectionTypeEnum::FromString(const std::string& s) { - if(s=="ATPATH") return IfcConnectionTypeEnum::IfcConnectionType_ATPATH; - if(s=="ATSTART") return IfcConnectionTypeEnum::IfcConnectionType_ATSTART; - if(s=="ATEND") return IfcConnectionTypeEnum::IfcConnectionType_ATEND; - if(s=="NOTDEFINED") return IfcConnectionTypeEnum::IfcConnectionType_NOTDEFINED; + if(s=="ATPATH") return ::Ifc2x3::IfcConnectionTypeEnum::IfcConnectionType_ATPATH; + if(s=="ATSTART") return ::Ifc2x3::IfcConnectionTypeEnum::IfcConnectionType_ATSTART; + if(s=="ATEND") return ::Ifc2x3::IfcConnectionTypeEnum::IfcConnectionType_ATEND; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcConnectionTypeEnum::IfcConnectionType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcConstraintEnum::ToString(IfcConstraintEnum v) { @@ -2557,11 +2557,11 @@ const char* IfcConstraintEnum::ToString(IfcConstraintEnum v) { return names[v]; } IfcConstraintEnum::IfcConstraintEnum IfcConstraintEnum::FromString(const std::string& s) { - if(s=="HARD") return IfcConstraintEnum::IfcConstraint_HARD; - if(s=="SOFT") return IfcConstraintEnum::IfcConstraint_SOFT; - if(s=="ADVISORY") return IfcConstraintEnum::IfcConstraint_ADVISORY; - if(s=="USERDEFINED") return IfcConstraintEnum::IfcConstraint_USERDEFINED; - if(s=="NOTDEFINED") return IfcConstraintEnum::IfcConstraint_NOTDEFINED; + if(s=="HARD") return ::Ifc2x3::IfcConstraintEnum::IfcConstraint_HARD; + if(s=="SOFT") return ::Ifc2x3::IfcConstraintEnum::IfcConstraint_SOFT; + if(s=="ADVISORY") return ::Ifc2x3::IfcConstraintEnum::IfcConstraint_ADVISORY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcConstraintEnum::IfcConstraint_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcConstraintEnum::IfcConstraint_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcControllerTypeEnum::ToString(IfcControllerTypeEnum v) { @@ -2570,14 +2570,14 @@ const char* IfcControllerTypeEnum::ToString(IfcControllerTypeEnum v) { return names[v]; } IfcControllerTypeEnum::IfcControllerTypeEnum IfcControllerTypeEnum::FromString(const std::string& s) { - if(s=="FLOATING") return IfcControllerTypeEnum::IfcControllerType_FLOATING; - if(s=="PROPORTIONAL") return IfcControllerTypeEnum::IfcControllerType_PROPORTIONAL; - if(s=="PROPORTIONALINTEGRAL") return IfcControllerTypeEnum::IfcControllerType_PROPORTIONALINTEGRAL; - if(s=="PROPORTIONALINTEGRALDERIVATIVE") return IfcControllerTypeEnum::IfcControllerType_PROPORTIONALINTEGRALDERIVATIVE; - if(s=="TIMEDTWOPOSITION") return IfcControllerTypeEnum::IfcControllerType_TIMEDTWOPOSITION; - if(s=="TWOPOSITION") return IfcControllerTypeEnum::IfcControllerType_TWOPOSITION; - if(s=="USERDEFINED") return IfcControllerTypeEnum::IfcControllerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcControllerTypeEnum::IfcControllerType_NOTDEFINED; + if(s=="FLOATING") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_FLOATING; + if(s=="PROPORTIONAL") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_PROPORTIONAL; + if(s=="PROPORTIONALINTEGRAL") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_PROPORTIONALINTEGRAL; + if(s=="PROPORTIONALINTEGRALDERIVATIVE") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_PROPORTIONALINTEGRALDERIVATIVE; + if(s=="TIMEDTWOPOSITION") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_TIMEDTWOPOSITION; + if(s=="TWOPOSITION") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_TWOPOSITION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcControllerTypeEnum::IfcControllerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCooledBeamTypeEnum::ToString(IfcCooledBeamTypeEnum v) { @@ -2586,10 +2586,10 @@ const char* IfcCooledBeamTypeEnum::ToString(IfcCooledBeamTypeEnum v) { return names[v]; } IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum IfcCooledBeamTypeEnum::FromString(const std::string& s) { - if(s=="ACTIVE") return IfcCooledBeamTypeEnum::IfcCooledBeamType_ACTIVE; - if(s=="PASSIVE") return IfcCooledBeamTypeEnum::IfcCooledBeamType_PASSIVE; - if(s=="USERDEFINED") return IfcCooledBeamTypeEnum::IfcCooledBeamType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCooledBeamTypeEnum::IfcCooledBeamType_NOTDEFINED; + if(s=="ACTIVE") return ::Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamType_ACTIVE; + if(s=="PASSIVE") return ::Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamType_PASSIVE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCoolingTowerTypeEnum::ToString(IfcCoolingTowerTypeEnum v) { @@ -2598,11 +2598,11 @@ const char* IfcCoolingTowerTypeEnum::ToString(IfcCoolingTowerTypeEnum v) { return names[v]; } IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum IfcCoolingTowerTypeEnum::FromString(const std::string& s) { - if(s=="NATURALDRAFT") return IfcCoolingTowerTypeEnum::IfcCoolingTowerType_NATURALDRAFT; - if(s=="MECHANICALINDUCEDDRAFT") return IfcCoolingTowerTypeEnum::IfcCoolingTowerType_MECHANICALINDUCEDDRAFT; - if(s=="MECHANICALFORCEDDRAFT") return IfcCoolingTowerTypeEnum::IfcCoolingTowerType_MECHANICALFORCEDDRAFT; - if(s=="USERDEFINED") return IfcCoolingTowerTypeEnum::IfcCoolingTowerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCoolingTowerTypeEnum::IfcCoolingTowerType_NOTDEFINED; + if(s=="NATURALDRAFT") return ::Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerType_NATURALDRAFT; + if(s=="MECHANICALINDUCEDDRAFT") return ::Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerType_MECHANICALINDUCEDDRAFT; + if(s=="MECHANICALFORCEDDRAFT") return ::Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerType_MECHANICALFORCEDDRAFT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCostScheduleTypeEnum::ToString(IfcCostScheduleTypeEnum v) { @@ -2611,15 +2611,15 @@ const char* IfcCostScheduleTypeEnum::ToString(IfcCostScheduleTypeEnum v) { return names[v]; } IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum IfcCostScheduleTypeEnum::FromString(const std::string& s) { - if(s=="BUDGET") return IfcCostScheduleTypeEnum::IfcCostScheduleType_BUDGET; - if(s=="COSTPLAN") return IfcCostScheduleTypeEnum::IfcCostScheduleType_COSTPLAN; - if(s=="ESTIMATE") return IfcCostScheduleTypeEnum::IfcCostScheduleType_ESTIMATE; - if(s=="TENDER") return IfcCostScheduleTypeEnum::IfcCostScheduleType_TENDER; - if(s=="PRICEDBILLOFQUANTITIES") return IfcCostScheduleTypeEnum::IfcCostScheduleType_PRICEDBILLOFQUANTITIES; - if(s=="UNPRICEDBILLOFQUANTITIES") return IfcCostScheduleTypeEnum::IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES; - if(s=="SCHEDULEOFRATES") return IfcCostScheduleTypeEnum::IfcCostScheduleType_SCHEDULEOFRATES; - if(s=="USERDEFINED") return IfcCostScheduleTypeEnum::IfcCostScheduleType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCostScheduleTypeEnum::IfcCostScheduleType_NOTDEFINED; + if(s=="BUDGET") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_BUDGET; + if(s=="COSTPLAN") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_COSTPLAN; + if(s=="ESTIMATE") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_ESTIMATE; + if(s=="TENDER") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_TENDER; + if(s=="PRICEDBILLOFQUANTITIES") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_PRICEDBILLOFQUANTITIES; + if(s=="UNPRICEDBILLOFQUANTITIES") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES; + if(s=="SCHEDULEOFRATES") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_SCHEDULEOFRATES; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCoveringTypeEnum::ToString(IfcCoveringTypeEnum v) { @@ -2628,16 +2628,16 @@ const char* IfcCoveringTypeEnum::ToString(IfcCoveringTypeEnum v) { return names[v]; } IfcCoveringTypeEnum::IfcCoveringTypeEnum IfcCoveringTypeEnum::FromString(const std::string& s) { - if(s=="CEILING") return IfcCoveringTypeEnum::IfcCoveringType_CEILING; - if(s=="FLOORING") return IfcCoveringTypeEnum::IfcCoveringType_FLOORING; - if(s=="CLADDING") return IfcCoveringTypeEnum::IfcCoveringType_CLADDING; - if(s=="ROOFING") return IfcCoveringTypeEnum::IfcCoveringType_ROOFING; - if(s=="INSULATION") return IfcCoveringTypeEnum::IfcCoveringType_INSULATION; - if(s=="MEMBRANE") return IfcCoveringTypeEnum::IfcCoveringType_MEMBRANE; - if(s=="SLEEVING") return IfcCoveringTypeEnum::IfcCoveringType_SLEEVING; - if(s=="WRAPPING") return IfcCoveringTypeEnum::IfcCoveringType_WRAPPING; - if(s=="USERDEFINED") return IfcCoveringTypeEnum::IfcCoveringType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCoveringTypeEnum::IfcCoveringType_NOTDEFINED; + if(s=="CEILING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_CEILING; + if(s=="FLOORING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_FLOORING; + if(s=="CLADDING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_CLADDING; + if(s=="ROOFING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_ROOFING; + if(s=="INSULATION") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_INSULATION; + if(s=="MEMBRANE") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_MEMBRANE; + if(s=="SLEEVING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_SLEEVING; + if(s=="WRAPPING") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_WRAPPING; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCoveringTypeEnum::IfcCoveringType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCurrencyEnum::ToString(IfcCurrencyEnum v) { @@ -2646,89 +2646,89 @@ const char* IfcCurrencyEnum::ToString(IfcCurrencyEnum v) { return names[v]; } IfcCurrencyEnum::IfcCurrencyEnum IfcCurrencyEnum::FromString(const std::string& s) { - if(s=="AED") return IfcCurrencyEnum::IfcCurrency_AED; - if(s=="AES") return IfcCurrencyEnum::IfcCurrency_AES; - if(s=="ATS") return IfcCurrencyEnum::IfcCurrency_ATS; - if(s=="AUD") return IfcCurrencyEnum::IfcCurrency_AUD; - if(s=="BBD") return IfcCurrencyEnum::IfcCurrency_BBD; - if(s=="BEG") return IfcCurrencyEnum::IfcCurrency_BEG; - if(s=="BGL") return IfcCurrencyEnum::IfcCurrency_BGL; - if(s=="BHD") return IfcCurrencyEnum::IfcCurrency_BHD; - if(s=="BMD") return IfcCurrencyEnum::IfcCurrency_BMD; - if(s=="BND") return IfcCurrencyEnum::IfcCurrency_BND; - if(s=="BRL") return IfcCurrencyEnum::IfcCurrency_BRL; - if(s=="BSD") return IfcCurrencyEnum::IfcCurrency_BSD; - if(s=="BWP") return IfcCurrencyEnum::IfcCurrency_BWP; - if(s=="BZD") return IfcCurrencyEnum::IfcCurrency_BZD; - if(s=="CAD") return IfcCurrencyEnum::IfcCurrency_CAD; - if(s=="CBD") return IfcCurrencyEnum::IfcCurrency_CBD; - if(s=="CHF") return IfcCurrencyEnum::IfcCurrency_CHF; - if(s=="CLP") return IfcCurrencyEnum::IfcCurrency_CLP; - if(s=="CNY") return IfcCurrencyEnum::IfcCurrency_CNY; - if(s=="CYS") return IfcCurrencyEnum::IfcCurrency_CYS; - if(s=="CZK") return IfcCurrencyEnum::IfcCurrency_CZK; - if(s=="DDP") return IfcCurrencyEnum::IfcCurrency_DDP; - if(s=="DEM") return IfcCurrencyEnum::IfcCurrency_DEM; - if(s=="DKK") return IfcCurrencyEnum::IfcCurrency_DKK; - if(s=="EGL") return IfcCurrencyEnum::IfcCurrency_EGL; - if(s=="EST") return IfcCurrencyEnum::IfcCurrency_EST; - if(s=="EUR") return IfcCurrencyEnum::IfcCurrency_EUR; - if(s=="FAK") return IfcCurrencyEnum::IfcCurrency_FAK; - if(s=="FIM") return IfcCurrencyEnum::IfcCurrency_FIM; - if(s=="FJD") return IfcCurrencyEnum::IfcCurrency_FJD; - if(s=="FKP") return IfcCurrencyEnum::IfcCurrency_FKP; - if(s=="FRF") return IfcCurrencyEnum::IfcCurrency_FRF; - if(s=="GBP") return IfcCurrencyEnum::IfcCurrency_GBP; - if(s=="GIP") return IfcCurrencyEnum::IfcCurrency_GIP; - if(s=="GMD") return IfcCurrencyEnum::IfcCurrency_GMD; - if(s=="GRX") return IfcCurrencyEnum::IfcCurrency_GRX; - if(s=="HKD") return IfcCurrencyEnum::IfcCurrency_HKD; - if(s=="HUF") return IfcCurrencyEnum::IfcCurrency_HUF; - if(s=="ICK") return IfcCurrencyEnum::IfcCurrency_ICK; - if(s=="IDR") return IfcCurrencyEnum::IfcCurrency_IDR; - if(s=="ILS") return IfcCurrencyEnum::IfcCurrency_ILS; - if(s=="INR") return IfcCurrencyEnum::IfcCurrency_INR; - if(s=="IRP") return IfcCurrencyEnum::IfcCurrency_IRP; - if(s=="ITL") return IfcCurrencyEnum::IfcCurrency_ITL; - if(s=="JMD") return IfcCurrencyEnum::IfcCurrency_JMD; - if(s=="JOD") return IfcCurrencyEnum::IfcCurrency_JOD; - if(s=="JPY") return IfcCurrencyEnum::IfcCurrency_JPY; - if(s=="KES") return IfcCurrencyEnum::IfcCurrency_KES; - if(s=="KRW") return IfcCurrencyEnum::IfcCurrency_KRW; - if(s=="KWD") return IfcCurrencyEnum::IfcCurrency_KWD; - if(s=="KYD") return IfcCurrencyEnum::IfcCurrency_KYD; - if(s=="LKR") return IfcCurrencyEnum::IfcCurrency_LKR; - if(s=="LUF") return IfcCurrencyEnum::IfcCurrency_LUF; - if(s=="MTL") return IfcCurrencyEnum::IfcCurrency_MTL; - if(s=="MUR") return IfcCurrencyEnum::IfcCurrency_MUR; - if(s=="MXN") return IfcCurrencyEnum::IfcCurrency_MXN; - if(s=="MYR") return IfcCurrencyEnum::IfcCurrency_MYR; - if(s=="NLG") return IfcCurrencyEnum::IfcCurrency_NLG; - if(s=="NZD") return IfcCurrencyEnum::IfcCurrency_NZD; - if(s=="OMR") return IfcCurrencyEnum::IfcCurrency_OMR; - if(s=="PGK") return IfcCurrencyEnum::IfcCurrency_PGK; - if(s=="PHP") return IfcCurrencyEnum::IfcCurrency_PHP; - if(s=="PKR") return IfcCurrencyEnum::IfcCurrency_PKR; - if(s=="PLN") return IfcCurrencyEnum::IfcCurrency_PLN; - if(s=="PTN") return IfcCurrencyEnum::IfcCurrency_PTN; - if(s=="QAR") return IfcCurrencyEnum::IfcCurrency_QAR; - if(s=="RUR") return IfcCurrencyEnum::IfcCurrency_RUR; - if(s=="SAR") return IfcCurrencyEnum::IfcCurrency_SAR; - if(s=="SCR") return IfcCurrencyEnum::IfcCurrency_SCR; - if(s=="SEK") return IfcCurrencyEnum::IfcCurrency_SEK; - if(s=="SGD") return IfcCurrencyEnum::IfcCurrency_SGD; - if(s=="SKP") return IfcCurrencyEnum::IfcCurrency_SKP; - if(s=="THB") return IfcCurrencyEnum::IfcCurrency_THB; - if(s=="TRL") return IfcCurrencyEnum::IfcCurrency_TRL; - if(s=="TTD") return IfcCurrencyEnum::IfcCurrency_TTD; - if(s=="TWD") return IfcCurrencyEnum::IfcCurrency_TWD; - if(s=="USD") return IfcCurrencyEnum::IfcCurrency_USD; - if(s=="VEB") return IfcCurrencyEnum::IfcCurrency_VEB; - if(s=="VND") return IfcCurrencyEnum::IfcCurrency_VND; - if(s=="XEU") return IfcCurrencyEnum::IfcCurrency_XEU; - if(s=="ZAR") return IfcCurrencyEnum::IfcCurrency_ZAR; - if(s=="ZWD") return IfcCurrencyEnum::IfcCurrency_ZWD; - if(s=="NOK") return IfcCurrencyEnum::IfcCurrency_NOK; + if(s=="AED") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_AED; + if(s=="AES") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_AES; + if(s=="ATS") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ATS; + if(s=="AUD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_AUD; + if(s=="BBD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BBD; + if(s=="BEG") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BEG; + if(s=="BGL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BGL; + if(s=="BHD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BHD; + if(s=="BMD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BMD; + if(s=="BND") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BND; + if(s=="BRL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BRL; + if(s=="BSD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BSD; + if(s=="BWP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BWP; + if(s=="BZD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_BZD; + if(s=="CAD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CAD; + if(s=="CBD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CBD; + if(s=="CHF") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CHF; + if(s=="CLP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CLP; + if(s=="CNY") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CNY; + if(s=="CYS") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CYS; + if(s=="CZK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_CZK; + if(s=="DDP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_DDP; + if(s=="DEM") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_DEM; + if(s=="DKK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_DKK; + if(s=="EGL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_EGL; + if(s=="EST") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_EST; + if(s=="EUR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_EUR; + if(s=="FAK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_FAK; + if(s=="FIM") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_FIM; + if(s=="FJD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_FJD; + if(s=="FKP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_FKP; + if(s=="FRF") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_FRF; + if(s=="GBP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_GBP; + if(s=="GIP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_GIP; + if(s=="GMD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_GMD; + if(s=="GRX") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_GRX; + if(s=="HKD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_HKD; + if(s=="HUF") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_HUF; + if(s=="ICK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ICK; + if(s=="IDR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_IDR; + if(s=="ILS") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ILS; + if(s=="INR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_INR; + if(s=="IRP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_IRP; + if(s=="ITL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ITL; + if(s=="JMD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_JMD; + if(s=="JOD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_JOD; + if(s=="JPY") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_JPY; + if(s=="KES") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_KES; + if(s=="KRW") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_KRW; + if(s=="KWD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_KWD; + if(s=="KYD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_KYD; + if(s=="LKR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_LKR; + if(s=="LUF") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_LUF; + if(s=="MTL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_MTL; + if(s=="MUR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_MUR; + if(s=="MXN") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_MXN; + if(s=="MYR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_MYR; + if(s=="NLG") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_NLG; + if(s=="NZD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_NZD; + if(s=="OMR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_OMR; + if(s=="PGK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_PGK; + if(s=="PHP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_PHP; + if(s=="PKR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_PKR; + if(s=="PLN") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_PLN; + if(s=="PTN") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_PTN; + if(s=="QAR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_QAR; + if(s=="RUR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_RUR; + if(s=="SAR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_SAR; + if(s=="SCR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_SCR; + if(s=="SEK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_SEK; + if(s=="SGD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_SGD; + if(s=="SKP") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_SKP; + if(s=="THB") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_THB; + if(s=="TRL") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_TRL; + if(s=="TTD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_TTD; + if(s=="TWD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_TWD; + if(s=="USD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_USD; + if(s=="VEB") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_VEB; + if(s=="VND") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_VND; + if(s=="XEU") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_XEU; + if(s=="ZAR") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ZAR; + if(s=="ZWD") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_ZWD; + if(s=="NOK") return ::Ifc2x3::IfcCurrencyEnum::IfcCurrency_NOK; throw IfcException("Unable to find find keyword in schema"); } const char* IfcCurtainWallTypeEnum::ToString(IfcCurtainWallTypeEnum v) { @@ -2737,8 +2737,8 @@ const char* IfcCurtainWallTypeEnum::ToString(IfcCurtainWallTypeEnum v) { return names[v]; } IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum IfcCurtainWallTypeEnum::FromString(const std::string& s) { - if(s=="USERDEFINED") return IfcCurtainWallTypeEnum::IfcCurtainWallType_USERDEFINED; - if(s=="NOTDEFINED") return IfcCurtainWallTypeEnum::IfcCurtainWallType_NOTDEFINED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDamperTypeEnum::ToString(IfcDamperTypeEnum v) { @@ -2747,19 +2747,19 @@ const char* IfcDamperTypeEnum::ToString(IfcDamperTypeEnum v) { return names[v]; } IfcDamperTypeEnum::IfcDamperTypeEnum IfcDamperTypeEnum::FromString(const std::string& s) { - if(s=="CONTROLDAMPER") return IfcDamperTypeEnum::IfcDamperType_CONTROLDAMPER; - if(s=="FIREDAMPER") return IfcDamperTypeEnum::IfcDamperType_FIREDAMPER; - if(s=="SMOKEDAMPER") return IfcDamperTypeEnum::IfcDamperType_SMOKEDAMPER; - if(s=="FIRESMOKEDAMPER") return IfcDamperTypeEnum::IfcDamperType_FIRESMOKEDAMPER; - if(s=="BACKDRAFTDAMPER") return IfcDamperTypeEnum::IfcDamperType_BACKDRAFTDAMPER; - if(s=="RELIEFDAMPER") return IfcDamperTypeEnum::IfcDamperType_RELIEFDAMPER; - if(s=="BLASTDAMPER") return IfcDamperTypeEnum::IfcDamperType_BLASTDAMPER; - if(s=="GRAVITYDAMPER") return IfcDamperTypeEnum::IfcDamperType_GRAVITYDAMPER; - if(s=="GRAVITYRELIEFDAMPER") return IfcDamperTypeEnum::IfcDamperType_GRAVITYRELIEFDAMPER; - if(s=="BALANCINGDAMPER") return IfcDamperTypeEnum::IfcDamperType_BALANCINGDAMPER; - if(s=="FUMEHOODEXHAUST") return IfcDamperTypeEnum::IfcDamperType_FUMEHOODEXHAUST; - if(s=="USERDEFINED") return IfcDamperTypeEnum::IfcDamperType_USERDEFINED; - if(s=="NOTDEFINED") return IfcDamperTypeEnum::IfcDamperType_NOTDEFINED; + if(s=="CONTROLDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_CONTROLDAMPER; + if(s=="FIREDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_FIREDAMPER; + if(s=="SMOKEDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_SMOKEDAMPER; + if(s=="FIRESMOKEDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_FIRESMOKEDAMPER; + if(s=="BACKDRAFTDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_BACKDRAFTDAMPER; + if(s=="RELIEFDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_RELIEFDAMPER; + if(s=="BLASTDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_BLASTDAMPER; + if(s=="GRAVITYDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_GRAVITYDAMPER; + if(s=="GRAVITYRELIEFDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_GRAVITYRELIEFDAMPER; + if(s=="BALANCINGDAMPER") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_BALANCINGDAMPER; + if(s=="FUMEHOODEXHAUST") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_FUMEHOODEXHAUST; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDamperTypeEnum::IfcDamperType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDataOriginEnum::ToString(IfcDataOriginEnum v) { @@ -2768,11 +2768,11 @@ const char* IfcDataOriginEnum::ToString(IfcDataOriginEnum v) { return names[v]; } IfcDataOriginEnum::IfcDataOriginEnum IfcDataOriginEnum::FromString(const std::string& s) { - if(s=="MEASURED") return IfcDataOriginEnum::IfcDataOrigin_MEASURED; - if(s=="PREDICTED") return IfcDataOriginEnum::IfcDataOrigin_PREDICTED; - if(s=="SIMULATED") return IfcDataOriginEnum::IfcDataOrigin_SIMULATED; - if(s=="USERDEFINED") return IfcDataOriginEnum::IfcDataOrigin_USERDEFINED; - if(s=="NOTDEFINED") return IfcDataOriginEnum::IfcDataOrigin_NOTDEFINED; + if(s=="MEASURED") return ::Ifc2x3::IfcDataOriginEnum::IfcDataOrigin_MEASURED; + if(s=="PREDICTED") return ::Ifc2x3::IfcDataOriginEnum::IfcDataOrigin_PREDICTED; + if(s=="SIMULATED") return ::Ifc2x3::IfcDataOriginEnum::IfcDataOrigin_SIMULATED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDataOriginEnum::IfcDataOrigin_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDataOriginEnum::IfcDataOrigin_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDerivedUnitEnum::ToString(IfcDerivedUnitEnum v) { @@ -2781,55 +2781,55 @@ const char* IfcDerivedUnitEnum::ToString(IfcDerivedUnitEnum v) { return names[v]; } IfcDerivedUnitEnum::IfcDerivedUnitEnum IfcDerivedUnitEnum::FromString(const std::string& s) { - if(s=="ANGULARVELOCITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ANGULARVELOCITYUNIT; - if(s=="COMPOUNDPLANEANGLEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT; - if(s=="DYNAMICVISCOSITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_DYNAMICVISCOSITYUNIT; - if(s=="HEATFLUXDENSITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_HEATFLUXDENSITYUNIT; - if(s=="INTEGERCOUNTRATEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_INTEGERCOUNTRATEUNIT; - if(s=="ISOTHERMALMOISTURECAPACITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT; - if(s=="KINEMATICVISCOSITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_KINEMATICVISCOSITYUNIT; - if(s=="LINEARVELOCITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_LINEARVELOCITYUNIT; - if(s=="MASSDENSITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MASSDENSITYUNIT; - if(s=="MASSFLOWRATEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MASSFLOWRATEUNIT; - if(s=="MOISTUREDIFFUSIVITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT; - if(s=="MOLECULARWEIGHTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MOLECULARWEIGHTUNIT; - if(s=="SPECIFICHEATCAPACITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT; - if(s=="THERMALADMITTANCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_THERMALADMITTANCEUNIT; - if(s=="THERMALCONDUCTANCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_THERMALCONDUCTANCEUNIT; - if(s=="THERMALRESISTANCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_THERMALRESISTANCEUNIT; - if(s=="THERMALTRANSMITTANCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_THERMALTRANSMITTANCEUNIT; - if(s=="VAPORPERMEABILITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_VAPORPERMEABILITYUNIT; - if(s=="VOLUMETRICFLOWRATEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT; - if(s=="ROTATIONALFREQUENCYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALFREQUENCYUNIT; - if(s=="TORQUEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_TORQUEUNIT; - if(s=="MOMENTOFINERTIAUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MOMENTOFINERTIAUNIT; - if(s=="LINEARMOMENTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_LINEARMOMENTUNIT; - if(s=="LINEARFORCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_LINEARFORCEUNIT; - if(s=="PLANARFORCEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_PLANARFORCEUNIT; - if(s=="MODULUSOFELASTICITYUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFELASTICITYUNIT; - if(s=="SHEARMODULUSUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SHEARMODULUSUNIT; - if(s=="LINEARSTIFFNESSUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_LINEARSTIFFNESSUNIT; - if(s=="ROTATIONALSTIFFNESSUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT; - if(s=="MODULUSOFSUBGRADEREACTIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT; - if(s=="ACCELERATIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ACCELERATIONUNIT; - if(s=="CURVATUREUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_CURVATUREUNIT; - if(s=="HEATINGVALUEUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_HEATINGVALUEUNIT; - if(s=="IONCONCENTRATIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_IONCONCENTRATIONUNIT; - if(s=="LUMINOUSINTENSITYDISTRIBUTIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT; - if(s=="MASSPERLENGTHUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MASSPERLENGTHUNIT; - if(s=="MODULUSOFLINEARSUBGRADEREACTIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT; - if(s=="MODULUSOFROTATIONALSUBGRADEREACTIONUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT; - if(s=="PHUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_PHUNIT; - if(s=="ROTATIONALMASSUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALMASSUNIT; - if(s=="SECTIONAREAINTEGRALUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SECTIONAREAINTEGRALUNIT; - if(s=="SECTIONMODULUSUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SECTIONMODULUSUNIT; - if(s=="SOUNDPOWERUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SOUNDPOWERUNIT; - if(s=="SOUNDPRESSUREUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_SOUNDPRESSUREUNIT; - if(s=="TEMPERATUREGRADIENTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_TEMPERATUREGRADIENTUNIT; - if(s=="THERMALEXPANSIONCOEFFICIENTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT; - if(s=="WARPINGCONSTANTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_WARPINGCONSTANTUNIT; - if(s=="WARPINGMOMENTUNIT") return IfcDerivedUnitEnum::IfcDerivedUnit_WARPINGMOMENTUNIT; - if(s=="USERDEFINED") return IfcDerivedUnitEnum::IfcDerivedUnit_USERDEFINED; + if(s=="ANGULARVELOCITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ANGULARVELOCITYUNIT; + if(s=="COMPOUNDPLANEANGLEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT; + if(s=="DYNAMICVISCOSITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_DYNAMICVISCOSITYUNIT; + if(s=="HEATFLUXDENSITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_HEATFLUXDENSITYUNIT; + if(s=="INTEGERCOUNTRATEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_INTEGERCOUNTRATEUNIT; + if(s=="ISOTHERMALMOISTURECAPACITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT; + if(s=="KINEMATICVISCOSITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_KINEMATICVISCOSITYUNIT; + if(s=="LINEARVELOCITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_LINEARVELOCITYUNIT; + if(s=="MASSDENSITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MASSDENSITYUNIT; + if(s=="MASSFLOWRATEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MASSFLOWRATEUNIT; + if(s=="MOISTUREDIFFUSIVITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT; + if(s=="MOLECULARWEIGHTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MOLECULARWEIGHTUNIT; + if(s=="SPECIFICHEATCAPACITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT; + if(s=="THERMALADMITTANCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_THERMALADMITTANCEUNIT; + if(s=="THERMALCONDUCTANCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_THERMALCONDUCTANCEUNIT; + if(s=="THERMALRESISTANCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_THERMALRESISTANCEUNIT; + if(s=="THERMALTRANSMITTANCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_THERMALTRANSMITTANCEUNIT; + if(s=="VAPORPERMEABILITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_VAPORPERMEABILITYUNIT; + if(s=="VOLUMETRICFLOWRATEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT; + if(s=="ROTATIONALFREQUENCYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALFREQUENCYUNIT; + if(s=="TORQUEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_TORQUEUNIT; + if(s=="MOMENTOFINERTIAUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MOMENTOFINERTIAUNIT; + if(s=="LINEARMOMENTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_LINEARMOMENTUNIT; + if(s=="LINEARFORCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_LINEARFORCEUNIT; + if(s=="PLANARFORCEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_PLANARFORCEUNIT; + if(s=="MODULUSOFELASTICITYUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFELASTICITYUNIT; + if(s=="SHEARMODULUSUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SHEARMODULUSUNIT; + if(s=="LINEARSTIFFNESSUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_LINEARSTIFFNESSUNIT; + if(s=="ROTATIONALSTIFFNESSUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT; + if(s=="MODULUSOFSUBGRADEREACTIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT; + if(s=="ACCELERATIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ACCELERATIONUNIT; + if(s=="CURVATUREUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_CURVATUREUNIT; + if(s=="HEATINGVALUEUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_HEATINGVALUEUNIT; + if(s=="IONCONCENTRATIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_IONCONCENTRATIONUNIT; + if(s=="LUMINOUSINTENSITYDISTRIBUTIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT; + if(s=="MASSPERLENGTHUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MASSPERLENGTHUNIT; + if(s=="MODULUSOFLINEARSUBGRADEREACTIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT; + if(s=="MODULUSOFROTATIONALSUBGRADEREACTIONUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT; + if(s=="PHUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_PHUNIT; + if(s=="ROTATIONALMASSUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_ROTATIONALMASSUNIT; + if(s=="SECTIONAREAINTEGRALUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SECTIONAREAINTEGRALUNIT; + if(s=="SECTIONMODULUSUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SECTIONMODULUSUNIT; + if(s=="SOUNDPOWERUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SOUNDPOWERUNIT; + if(s=="SOUNDPRESSUREUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_SOUNDPRESSUREUNIT; + if(s=="TEMPERATUREGRADIENTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_TEMPERATUREGRADIENTUNIT; + if(s=="THERMALEXPANSIONCOEFFICIENTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT; + if(s=="WARPINGCONSTANTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_WARPINGCONSTANTUNIT; + if(s=="WARPINGMOMENTUNIT") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_WARPINGMOMENTUNIT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnit_USERDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDimensionExtentUsage::ToString(IfcDimensionExtentUsage v) { @@ -2838,8 +2838,8 @@ const char* IfcDimensionExtentUsage::ToString(IfcDimensionExtentUsage v) { return names[v]; } IfcDimensionExtentUsage::IfcDimensionExtentUsage IfcDimensionExtentUsage::FromString(const std::string& s) { - if(s=="ORIGIN") return IfcDimensionExtentUsage::IfcDimensionExtentUsage_ORIGIN; - if(s=="TARGET") return IfcDimensionExtentUsage::IfcDimensionExtentUsage_TARGET; + if(s=="ORIGIN") return ::Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage_ORIGIN; + if(s=="TARGET") return ::Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage_TARGET; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDirectionSenseEnum::ToString(IfcDirectionSenseEnum v) { @@ -2848,8 +2848,8 @@ const char* IfcDirectionSenseEnum::ToString(IfcDirectionSenseEnum v) { return names[v]; } IfcDirectionSenseEnum::IfcDirectionSenseEnum IfcDirectionSenseEnum::FromString(const std::string& s) { - if(s=="POSITIVE") return IfcDirectionSenseEnum::IfcDirectionSense_POSITIVE; - if(s=="NEGATIVE") return IfcDirectionSenseEnum::IfcDirectionSense_NEGATIVE; + if(s=="POSITIVE") return ::Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSense_POSITIVE; + if(s=="NEGATIVE") return ::Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSense_NEGATIVE; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDistributionChamberElementTypeEnum::ToString(IfcDistributionChamberElementTypeEnum v) { @@ -2858,16 +2858,16 @@ const char* IfcDistributionChamberElementTypeEnum::ToString(IfcDistributionChamb return names[v]; } IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum IfcDistributionChamberElementTypeEnum::FromString(const std::string& s) { - if(s=="FORMEDDUCT") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_FORMEDDUCT; - if(s=="INSPECTIONCHAMBER") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_INSPECTIONCHAMBER; - if(s=="INSPECTIONPIT") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_INSPECTIONPIT; - if(s=="MANHOLE") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_MANHOLE; - if(s=="METERCHAMBER") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_METERCHAMBER; - if(s=="SUMP") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_SUMP; - if(s=="TRENCH") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_TRENCH; - if(s=="VALVECHAMBER") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_VALVECHAMBER; - if(s=="USERDEFINED") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_USERDEFINED; - if(s=="NOTDEFINED") return IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_NOTDEFINED; + if(s=="FORMEDDUCT") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_FORMEDDUCT; + if(s=="INSPECTIONCHAMBER") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_INSPECTIONCHAMBER; + if(s=="INSPECTIONPIT") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_INSPECTIONPIT; + if(s=="MANHOLE") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_MANHOLE; + if(s=="METERCHAMBER") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_METERCHAMBER; + if(s=="SUMP") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_SUMP; + if(s=="TRENCH") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_TRENCH; + if(s=="VALVECHAMBER") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_VALVECHAMBER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDocumentConfidentialityEnum::ToString(IfcDocumentConfidentialityEnum v) { @@ -2876,12 +2876,12 @@ const char* IfcDocumentConfidentialityEnum::ToString(IfcDocumentConfidentialityE return names[v]; } IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum IfcDocumentConfidentialityEnum::FromString(const std::string& s) { - if(s=="PUBLIC") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_PUBLIC; - if(s=="RESTRICTED") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_RESTRICTED; - if(s=="CONFIDENTIAL") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_CONFIDENTIAL; - if(s=="PERSONAL") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_PERSONAL; - if(s=="USERDEFINED") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_USERDEFINED; - if(s=="NOTDEFINED") return IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_NOTDEFINED; + if(s=="PUBLIC") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_PUBLIC; + if(s=="RESTRICTED") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_RESTRICTED; + if(s=="CONFIDENTIAL") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_CONFIDENTIAL; + if(s=="PERSONAL") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_PERSONAL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentiality_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDocumentStatusEnum::ToString(IfcDocumentStatusEnum v) { @@ -2890,11 +2890,11 @@ const char* IfcDocumentStatusEnum::ToString(IfcDocumentStatusEnum v) { return names[v]; } IfcDocumentStatusEnum::IfcDocumentStatusEnum IfcDocumentStatusEnum::FromString(const std::string& s) { - if(s=="DRAFT") return IfcDocumentStatusEnum::IfcDocumentStatus_DRAFT; - if(s=="FINALDRAFT") return IfcDocumentStatusEnum::IfcDocumentStatus_FINALDRAFT; - if(s=="FINAL") return IfcDocumentStatusEnum::IfcDocumentStatus_FINAL; - if(s=="REVISION") return IfcDocumentStatusEnum::IfcDocumentStatus_REVISION; - if(s=="NOTDEFINED") return IfcDocumentStatusEnum::IfcDocumentStatus_NOTDEFINED; + if(s=="DRAFT") return ::Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatus_DRAFT; + if(s=="FINALDRAFT") return ::Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatus_FINALDRAFT; + if(s=="FINAL") return ::Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatus_FINAL; + if(s=="REVISION") return ::Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatus_REVISION; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatus_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDoorPanelOperationEnum::ToString(IfcDoorPanelOperationEnum v) { @@ -2903,14 +2903,14 @@ const char* IfcDoorPanelOperationEnum::ToString(IfcDoorPanelOperationEnum v) { return names[v]; } IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum IfcDoorPanelOperationEnum::FromString(const std::string& s) { - if(s=="SWINGING") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_SWINGING; - if(s=="DOUBLE_ACTING") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_DOUBLE_ACTING; - if(s=="SLIDING") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_SLIDING; - if(s=="FOLDING") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_FOLDING; - if(s=="REVOLVING") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_REVOLVING; - if(s=="ROLLINGUP") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_ROLLINGUP; - if(s=="USERDEFINED") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_USERDEFINED; - if(s=="NOTDEFINED") return IfcDoorPanelOperationEnum::IfcDoorPanelOperation_NOTDEFINED; + if(s=="SWINGING") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_SWINGING; + if(s=="DOUBLE_ACTING") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_DOUBLE_ACTING; + if(s=="SLIDING") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_SLIDING; + if(s=="FOLDING") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_FOLDING; + if(s=="REVOLVING") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_REVOLVING; + if(s=="ROLLINGUP") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_ROLLINGUP; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperation_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDoorPanelPositionEnum::ToString(IfcDoorPanelPositionEnum v) { @@ -2919,10 +2919,10 @@ const char* IfcDoorPanelPositionEnum::ToString(IfcDoorPanelPositionEnum v) { return names[v]; } IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum IfcDoorPanelPositionEnum::FromString(const std::string& s) { - if(s=="LEFT") return IfcDoorPanelPositionEnum::IfcDoorPanelPosition_LEFT; - if(s=="MIDDLE") return IfcDoorPanelPositionEnum::IfcDoorPanelPosition_MIDDLE; - if(s=="RIGHT") return IfcDoorPanelPositionEnum::IfcDoorPanelPosition_RIGHT; - if(s=="NOTDEFINED") return IfcDoorPanelPositionEnum::IfcDoorPanelPosition_NOTDEFINED; + if(s=="LEFT") return ::Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPosition_LEFT; + if(s=="MIDDLE") return ::Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPosition_MIDDLE; + if(s=="RIGHT") return ::Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPosition_RIGHT; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPosition_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDoorStyleConstructionEnum::ToString(IfcDoorStyleConstructionEnum v) { @@ -2931,15 +2931,15 @@ const char* IfcDoorStyleConstructionEnum::ToString(IfcDoorStyleConstructionEnum return names[v]; } IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum IfcDoorStyleConstructionEnum::FromString(const std::string& s) { - if(s=="ALUMINIUM") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM; - if(s=="HIGH_GRADE_STEEL") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_HIGH_GRADE_STEEL; - if(s=="STEEL") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_STEEL; - if(s=="WOOD") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_WOOD; - if(s=="ALUMINIUM_WOOD") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM_WOOD; - if(s=="ALUMINIUM_PLASTIC") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM_PLASTIC; - if(s=="PLASTIC") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_PLASTIC; - if(s=="USERDEFINED") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_USERDEFINED; - if(s=="NOTDEFINED") return IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_NOTDEFINED; + if(s=="ALUMINIUM") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM; + if(s=="HIGH_GRADE_STEEL") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_HIGH_GRADE_STEEL; + if(s=="STEEL") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_STEEL; + if(s=="WOOD") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_WOOD; + if(s=="ALUMINIUM_WOOD") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM_WOOD; + if(s=="ALUMINIUM_PLASTIC") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_ALUMINIUM_PLASTIC; + if(s=="PLASTIC") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_PLASTIC; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstruction_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDoorStyleOperationEnum::ToString(IfcDoorStyleOperationEnum v) { @@ -2948,24 +2948,24 @@ const char* IfcDoorStyleOperationEnum::ToString(IfcDoorStyleOperationEnum v) { return names[v]; } IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum IfcDoorStyleOperationEnum::FromString(const std::string& s) { - if(s=="SINGLE_SWING_LEFT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SINGLE_SWING_LEFT; - if(s=="SINGLE_SWING_RIGHT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SINGLE_SWING_RIGHT; - if(s=="DOUBLE_DOOR_SINGLE_SWING") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING; - if(s=="DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT; - if(s=="DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT; - if(s=="DOUBLE_SWING_LEFT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_SWING_LEFT; - if(s=="DOUBLE_SWING_RIGHT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_SWING_RIGHT; - if(s=="DOUBLE_DOOR_DOUBLE_SWING") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING; - if(s=="SLIDING_TO_LEFT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SLIDING_TO_LEFT; - if(s=="SLIDING_TO_RIGHT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SLIDING_TO_RIGHT; - if(s=="DOUBLE_DOOR_SLIDING") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING; - if(s=="FOLDING_TO_LEFT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_FOLDING_TO_LEFT; - if(s=="FOLDING_TO_RIGHT") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_FOLDING_TO_RIGHT; - if(s=="DOUBLE_DOOR_FOLDING") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING; - if(s=="REVOLVING") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_REVOLVING; - if(s=="ROLLINGUP") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_ROLLINGUP; - if(s=="USERDEFINED") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_USERDEFINED; - if(s=="NOTDEFINED") return IfcDoorStyleOperationEnum::IfcDoorStyleOperation_NOTDEFINED; + if(s=="SINGLE_SWING_LEFT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SINGLE_SWING_LEFT; + if(s=="SINGLE_SWING_RIGHT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SINGLE_SWING_RIGHT; + if(s=="DOUBLE_DOOR_SINGLE_SWING") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING; + if(s=="DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT; + if(s=="DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT; + if(s=="DOUBLE_SWING_LEFT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_SWING_LEFT; + if(s=="DOUBLE_SWING_RIGHT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_SWING_RIGHT; + if(s=="DOUBLE_DOOR_DOUBLE_SWING") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING; + if(s=="SLIDING_TO_LEFT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SLIDING_TO_LEFT; + if(s=="SLIDING_TO_RIGHT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_SLIDING_TO_RIGHT; + if(s=="DOUBLE_DOOR_SLIDING") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING; + if(s=="FOLDING_TO_LEFT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_FOLDING_TO_LEFT; + if(s=="FOLDING_TO_RIGHT") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_FOLDING_TO_RIGHT; + if(s=="DOUBLE_DOOR_FOLDING") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING; + if(s=="REVOLVING") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_REVOLVING; + if(s=="ROLLINGUP") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_ROLLINGUP; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperation_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDuctFittingTypeEnum::ToString(IfcDuctFittingTypeEnum v) { @@ -2974,15 +2974,15 @@ const char* IfcDuctFittingTypeEnum::ToString(IfcDuctFittingTypeEnum v) { return names[v]; } IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum IfcDuctFittingTypeEnum::FromString(const std::string& s) { - if(s=="BEND") return IfcDuctFittingTypeEnum::IfcDuctFittingType_BEND; - if(s=="CONNECTOR") return IfcDuctFittingTypeEnum::IfcDuctFittingType_CONNECTOR; - if(s=="ENTRY") return IfcDuctFittingTypeEnum::IfcDuctFittingType_ENTRY; - if(s=="EXIT") return IfcDuctFittingTypeEnum::IfcDuctFittingType_EXIT; - if(s=="JUNCTION") return IfcDuctFittingTypeEnum::IfcDuctFittingType_JUNCTION; - if(s=="OBSTRUCTION") return IfcDuctFittingTypeEnum::IfcDuctFittingType_OBSTRUCTION; - if(s=="TRANSITION") return IfcDuctFittingTypeEnum::IfcDuctFittingType_TRANSITION; - if(s=="USERDEFINED") return IfcDuctFittingTypeEnum::IfcDuctFittingType_USERDEFINED; - if(s=="NOTDEFINED") return IfcDuctFittingTypeEnum::IfcDuctFittingType_NOTDEFINED; + if(s=="BEND") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_BEND; + if(s=="CONNECTOR") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_CONNECTOR; + if(s=="ENTRY") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_ENTRY; + if(s=="EXIT") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_EXIT; + if(s=="JUNCTION") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_JUNCTION; + if(s=="OBSTRUCTION") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_OBSTRUCTION; + if(s=="TRANSITION") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_TRANSITION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDuctSegmentTypeEnum::ToString(IfcDuctSegmentTypeEnum v) { @@ -2991,10 +2991,10 @@ const char* IfcDuctSegmentTypeEnum::ToString(IfcDuctSegmentTypeEnum v) { return names[v]; } IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum IfcDuctSegmentTypeEnum::FromString(const std::string& s) { - if(s=="RIGIDSEGMENT") return IfcDuctSegmentTypeEnum::IfcDuctSegmentType_RIGIDSEGMENT; - if(s=="FLEXIBLESEGMENT") return IfcDuctSegmentTypeEnum::IfcDuctSegmentType_FLEXIBLESEGMENT; - if(s=="USERDEFINED") return IfcDuctSegmentTypeEnum::IfcDuctSegmentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcDuctSegmentTypeEnum::IfcDuctSegmentType_NOTDEFINED; + if(s=="RIGIDSEGMENT") return ::Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentType_RIGIDSEGMENT; + if(s=="FLEXIBLESEGMENT") return ::Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentType_FLEXIBLESEGMENT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcDuctSilencerTypeEnum::ToString(IfcDuctSilencerTypeEnum v) { @@ -3003,11 +3003,11 @@ const char* IfcDuctSilencerTypeEnum::ToString(IfcDuctSilencerTypeEnum v) { return names[v]; } IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum IfcDuctSilencerTypeEnum::FromString(const std::string& s) { - if(s=="FLATOVAL") return IfcDuctSilencerTypeEnum::IfcDuctSilencerType_FLATOVAL; - if(s=="RECTANGULAR") return IfcDuctSilencerTypeEnum::IfcDuctSilencerType_RECTANGULAR; - if(s=="ROUND") return IfcDuctSilencerTypeEnum::IfcDuctSilencerType_ROUND; - if(s=="USERDEFINED") return IfcDuctSilencerTypeEnum::IfcDuctSilencerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcDuctSilencerTypeEnum::IfcDuctSilencerType_NOTDEFINED; + if(s=="FLATOVAL") return ::Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerType_FLATOVAL; + if(s=="RECTANGULAR") return ::Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerType_RECTANGULAR; + if(s=="ROUND") return ::Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerType_ROUND; + if(s=="USERDEFINED") return ::Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricApplianceTypeEnum::ToString(IfcElectricApplianceTypeEnum v) { @@ -3016,32 +3016,32 @@ const char* IfcElectricApplianceTypeEnum::ToString(IfcElectricApplianceTypeEnum return names[v]; } IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum IfcElectricApplianceTypeEnum::FromString(const std::string& s) { - if(s=="COMPUTER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_COMPUTER; - if(s=="DIRECTWATERHEATER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_DIRECTWATERHEATER; - if(s=="DISHWASHER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_DISHWASHER; - if(s=="ELECTRICCOOKER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_ELECTRICCOOKER; - if(s=="ELECTRICHEATER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_ELECTRICHEATER; - if(s=="FACSIMILE") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FACSIMILE; - if(s=="FREESTANDINGFAN") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FREESTANDINGFAN; - if(s=="FREEZER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FREEZER; - if(s=="FRIDGE_FREEZER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FRIDGE_FREEZER; - if(s=="HANDDRYER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_HANDDRYER; - if(s=="INDIRECTWATERHEATER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_INDIRECTWATERHEATER; - if(s=="MICROWAVE") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_MICROWAVE; - if(s=="PHOTOCOPIER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_PHOTOCOPIER; - if(s=="PRINTER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_PRINTER; - if(s=="REFRIGERATOR") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_REFRIGERATOR; - if(s=="RADIANTHEATER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_RADIANTHEATER; - if(s=="SCANNER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_SCANNER; - if(s=="TELEPHONE") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TELEPHONE; - if(s=="TUMBLEDRYER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TUMBLEDRYER; - if(s=="TV") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TV; - if(s=="VENDINGMACHINE") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_VENDINGMACHINE; - if(s=="WASHINGMACHINE") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WASHINGMACHINE; - if(s=="WATERHEATER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WATERHEATER; - if(s=="WATERCOOLER") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WATERCOOLER; - if(s=="USERDEFINED") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricApplianceTypeEnum::IfcElectricApplianceType_NOTDEFINED; + if(s=="COMPUTER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_COMPUTER; + if(s=="DIRECTWATERHEATER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_DIRECTWATERHEATER; + if(s=="DISHWASHER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_DISHWASHER; + if(s=="ELECTRICCOOKER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_ELECTRICCOOKER; + if(s=="ELECTRICHEATER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_ELECTRICHEATER; + if(s=="FACSIMILE") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FACSIMILE; + if(s=="FREESTANDINGFAN") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FREESTANDINGFAN; + if(s=="FREEZER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FREEZER; + if(s=="FRIDGE_FREEZER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_FRIDGE_FREEZER; + if(s=="HANDDRYER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_HANDDRYER; + if(s=="INDIRECTWATERHEATER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_INDIRECTWATERHEATER; + if(s=="MICROWAVE") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_MICROWAVE; + if(s=="PHOTOCOPIER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_PHOTOCOPIER; + if(s=="PRINTER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_PRINTER; + if(s=="REFRIGERATOR") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_REFRIGERATOR; + if(s=="RADIANTHEATER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_RADIANTHEATER; + if(s=="SCANNER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_SCANNER; + if(s=="TELEPHONE") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TELEPHONE; + if(s=="TUMBLEDRYER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TUMBLEDRYER; + if(s=="TV") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_TV; + if(s=="VENDINGMACHINE") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_VENDINGMACHINE; + if(s=="WASHINGMACHINE") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WASHINGMACHINE; + if(s=="WATERHEATER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WATERHEATER; + if(s=="WATERCOOLER") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_WATERCOOLER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricCurrentEnum::ToString(IfcElectricCurrentEnum v) { @@ -3050,9 +3050,9 @@ const char* IfcElectricCurrentEnum::ToString(IfcElectricCurrentEnum v) { return names[v]; } IfcElectricCurrentEnum::IfcElectricCurrentEnum IfcElectricCurrentEnum::FromString(const std::string& s) { - if(s=="ALTERNATING") return IfcElectricCurrentEnum::IfcElectricCurrent_ALTERNATING; - if(s=="DIRECT") return IfcElectricCurrentEnum::IfcElectricCurrent_DIRECT; - if(s=="NOTDEFINED") return IfcElectricCurrentEnum::IfcElectricCurrent_NOTDEFINED; + if(s=="ALTERNATING") return ::Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrent_ALTERNATING; + if(s=="DIRECT") return ::Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrent_DIRECT; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrent_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricDistributionPointFunctionEnum::ToString(IfcElectricDistributionPointFunctionEnum v) { @@ -3061,17 +3061,17 @@ const char* IfcElectricDistributionPointFunctionEnum::ToString(IfcElectricDistri return names[v]; } IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum IfcElectricDistributionPointFunctionEnum::FromString(const std::string& s) { - if(s=="ALARMPANEL") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_ALARMPANEL; - if(s=="CONSUMERUNIT") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_CONSUMERUNIT; - if(s=="CONTROLPANEL") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_CONTROLPANEL; - if(s=="DISTRIBUTIONBOARD") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_DISTRIBUTIONBOARD; - if(s=="GASDETECTORPANEL") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_GASDETECTORPANEL; - if(s=="INDICATORPANEL") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_INDICATORPANEL; - if(s=="MIMICPANEL") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_MIMICPANEL; - if(s=="MOTORCONTROLCENTRE") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_MOTORCONTROLCENTRE; - if(s=="SWITCHBOARD") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_SWITCHBOARD; - if(s=="USERDEFINED") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_NOTDEFINED; + if(s=="ALARMPANEL") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_ALARMPANEL; + if(s=="CONSUMERUNIT") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_CONSUMERUNIT; + if(s=="CONTROLPANEL") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_CONTROLPANEL; + if(s=="DISTRIBUTIONBOARD") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_DISTRIBUTIONBOARD; + if(s=="GASDETECTORPANEL") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_GASDETECTORPANEL; + if(s=="INDICATORPANEL") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_INDICATORPANEL; + if(s=="MIMICPANEL") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_MIMICPANEL; + if(s=="MOTORCONTROLCENTRE") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_MOTORCONTROLCENTRE; + if(s=="SWITCHBOARD") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_SWITCHBOARD; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunction_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricFlowStorageDeviceTypeEnum::ToString(IfcElectricFlowStorageDeviceTypeEnum v) { @@ -3080,13 +3080,13 @@ const char* IfcElectricFlowStorageDeviceTypeEnum::ToString(IfcElectricFlowStorag return names[v]; } IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum IfcElectricFlowStorageDeviceTypeEnum::FromString(const std::string& s) { - if(s=="BATTERY") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_BATTERY; - if(s=="CAPACITORBANK") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_CAPACITORBANK; - if(s=="HARMONICFILTER") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_HARMONICFILTER; - if(s=="INDUCTORBANK") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_INDUCTORBANK; - if(s=="UPS") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_UPS; - if(s=="USERDEFINED") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_NOTDEFINED; + if(s=="BATTERY") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_BATTERY; + if(s=="CAPACITORBANK") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_CAPACITORBANK; + if(s=="HARMONICFILTER") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_HARMONICFILTER; + if(s=="INDUCTORBANK") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_INDUCTORBANK; + if(s=="UPS") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_UPS; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricGeneratorTypeEnum::ToString(IfcElectricGeneratorTypeEnum v) { @@ -3095,8 +3095,8 @@ const char* IfcElectricGeneratorTypeEnum::ToString(IfcElectricGeneratorTypeEnum return names[v]; } IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum IfcElectricGeneratorTypeEnum::FromString(const std::string& s) { - if(s=="USERDEFINED") return IfcElectricGeneratorTypeEnum::IfcElectricGeneratorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricGeneratorTypeEnum::IfcElectricGeneratorType_NOTDEFINED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricHeaterTypeEnum::ToString(IfcElectricHeaterTypeEnum v) { @@ -3105,11 +3105,11 @@ const char* IfcElectricHeaterTypeEnum::ToString(IfcElectricHeaterTypeEnum v) { return names[v]; } IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum IfcElectricHeaterTypeEnum::FromString(const std::string& s) { - if(s=="ELECTRICPOINTHEATER") return IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICPOINTHEATER; - if(s=="ELECTRICCABLEHEATER") return IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICCABLEHEATER; - if(s=="ELECTRICMATHEATER") return IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICMATHEATER; - if(s=="USERDEFINED") return IfcElectricHeaterTypeEnum::IfcElectricHeaterType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricHeaterTypeEnum::IfcElectricHeaterType_NOTDEFINED; + if(s=="ELECTRICPOINTHEATER") return ::Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICPOINTHEATER; + if(s=="ELECTRICCABLEHEATER") return ::Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICCABLEHEATER; + if(s=="ELECTRICMATHEATER") return ::Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterType_ELECTRICMATHEATER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricMotorTypeEnum::ToString(IfcElectricMotorTypeEnum v) { @@ -3118,13 +3118,13 @@ const char* IfcElectricMotorTypeEnum::ToString(IfcElectricMotorTypeEnum v) { return names[v]; } IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum IfcElectricMotorTypeEnum::FromString(const std::string& s) { - if(s=="DC") return IfcElectricMotorTypeEnum::IfcElectricMotorType_DC; - if(s=="INDUCTION") return IfcElectricMotorTypeEnum::IfcElectricMotorType_INDUCTION; - if(s=="POLYPHASE") return IfcElectricMotorTypeEnum::IfcElectricMotorType_POLYPHASE; - if(s=="RELUCTANCESYNCHRONOUS") return IfcElectricMotorTypeEnum::IfcElectricMotorType_RELUCTANCESYNCHRONOUS; - if(s=="SYNCHRONOUS") return IfcElectricMotorTypeEnum::IfcElectricMotorType_SYNCHRONOUS; - if(s=="USERDEFINED") return IfcElectricMotorTypeEnum::IfcElectricMotorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricMotorTypeEnum::IfcElectricMotorType_NOTDEFINED; + if(s=="DC") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_DC; + if(s=="INDUCTION") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_INDUCTION; + if(s=="POLYPHASE") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_POLYPHASE; + if(s=="RELUCTANCESYNCHRONOUS") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_RELUCTANCESYNCHRONOUS; + if(s=="SYNCHRONOUS") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_SYNCHRONOUS; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElectricTimeControlTypeEnum::ToString(IfcElectricTimeControlTypeEnum v) { @@ -3133,11 +3133,11 @@ const char* IfcElectricTimeControlTypeEnum::ToString(IfcElectricTimeControlTypeE return names[v]; } IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum IfcElectricTimeControlTypeEnum::FromString(const std::string& s) { - if(s=="TIMECLOCK") return IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_TIMECLOCK; - if(s=="TIMEDELAY") return IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_TIMEDELAY; - if(s=="RELAY") return IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_RELAY; - if(s=="USERDEFINED") return IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_NOTDEFINED; + if(s=="TIMECLOCK") return ::Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_TIMECLOCK; + if(s=="TIMEDELAY") return ::Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_TIMEDELAY; + if(s=="RELAY") return ::Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_RELAY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElementAssemblyTypeEnum::ToString(IfcElementAssemblyTypeEnum v) { @@ -3146,17 +3146,17 @@ const char* IfcElementAssemblyTypeEnum::ToString(IfcElementAssemblyTypeEnum v) { return names[v]; } IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum IfcElementAssemblyTypeEnum::FromString(const std::string& s) { - if(s=="ACCESSORY_ASSEMBLY") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_ACCESSORY_ASSEMBLY; - if(s=="ARCH") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_ARCH; - if(s=="BEAM_GRID") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_BEAM_GRID; - if(s=="BRACED_FRAME") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_BRACED_FRAME; - if(s=="GIRDER") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_GIRDER; - if(s=="REINFORCEMENT_UNIT") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_REINFORCEMENT_UNIT; - if(s=="RIGID_FRAME") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_RIGID_FRAME; - if(s=="SLAB_FIELD") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_SLAB_FIELD; - if(s=="TRUSS") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_TRUSS; - if(s=="USERDEFINED") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_USERDEFINED; - if(s=="NOTDEFINED") return IfcElementAssemblyTypeEnum::IfcElementAssemblyType_NOTDEFINED; + if(s=="ACCESSORY_ASSEMBLY") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_ACCESSORY_ASSEMBLY; + if(s=="ARCH") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_ARCH; + if(s=="BEAM_GRID") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_BEAM_GRID; + if(s=="BRACED_FRAME") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_BRACED_FRAME; + if(s=="GIRDER") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_GIRDER; + if(s=="REINFORCEMENT_UNIT") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_REINFORCEMENT_UNIT; + if(s=="RIGID_FRAME") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_RIGID_FRAME; + if(s=="SLAB_FIELD") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_SLAB_FIELD; + if(s=="TRUSS") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_TRUSS; + if(s=="USERDEFINED") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcElementCompositionEnum::ToString(IfcElementCompositionEnum v) { @@ -3165,9 +3165,9 @@ const char* IfcElementCompositionEnum::ToString(IfcElementCompositionEnum v) { return names[v]; } IfcElementCompositionEnum::IfcElementCompositionEnum IfcElementCompositionEnum::FromString(const std::string& s) { - if(s=="COMPLEX") return IfcElementCompositionEnum::IfcElementComposition_COMPLEX; - if(s=="ELEMENT") return IfcElementCompositionEnum::IfcElementComposition_ELEMENT; - if(s=="PARTIAL") return IfcElementCompositionEnum::IfcElementComposition_PARTIAL; + if(s=="COMPLEX") return ::Ifc2x3::IfcElementCompositionEnum::IfcElementComposition_COMPLEX; + if(s=="ELEMENT") return ::Ifc2x3::IfcElementCompositionEnum::IfcElementComposition_ELEMENT; + if(s=="PARTIAL") return ::Ifc2x3::IfcElementCompositionEnum::IfcElementComposition_PARTIAL; throw IfcException("Unable to find find keyword in schema"); } const char* IfcEnergySequenceEnum::ToString(IfcEnergySequenceEnum v) { @@ -3176,12 +3176,12 @@ const char* IfcEnergySequenceEnum::ToString(IfcEnergySequenceEnum v) { return names[v]; } IfcEnergySequenceEnum::IfcEnergySequenceEnum IfcEnergySequenceEnum::FromString(const std::string& s) { - if(s=="PRIMARY") return IfcEnergySequenceEnum::IfcEnergySequence_PRIMARY; - if(s=="SECONDARY") return IfcEnergySequenceEnum::IfcEnergySequence_SECONDARY; - if(s=="TERTIARY") return IfcEnergySequenceEnum::IfcEnergySequence_TERTIARY; - if(s=="AUXILIARY") return IfcEnergySequenceEnum::IfcEnergySequence_AUXILIARY; - if(s=="USERDEFINED") return IfcEnergySequenceEnum::IfcEnergySequence_USERDEFINED; - if(s=="NOTDEFINED") return IfcEnergySequenceEnum::IfcEnergySequence_NOTDEFINED; + if(s=="PRIMARY") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_PRIMARY; + if(s=="SECONDARY") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_SECONDARY; + if(s=="TERTIARY") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_TERTIARY; + if(s=="AUXILIARY") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_AUXILIARY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequence_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcEnvironmentalImpactCategoryEnum::ToString(IfcEnvironmentalImpactCategoryEnum v) { @@ -3190,14 +3190,14 @@ const char* IfcEnvironmentalImpactCategoryEnum::ToString(IfcEnvironmentalImpactC return names[v]; } IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum IfcEnvironmentalImpactCategoryEnum::FromString(const std::string& s) { - if(s=="COMBINEDVALUE") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_COMBINEDVALUE; - if(s=="DISPOSAL") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_DISPOSAL; - if(s=="EXTRACTION") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_EXTRACTION; - if(s=="INSTALLATION") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_INSTALLATION; - if(s=="MANUFACTURE") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_MANUFACTURE; - if(s=="TRANSPORTATION") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_TRANSPORTATION; - if(s=="USERDEFINED") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_USERDEFINED; - if(s=="NOTDEFINED") return IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_NOTDEFINED; + if(s=="COMBINEDVALUE") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_COMBINEDVALUE; + if(s=="DISPOSAL") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_DISPOSAL; + if(s=="EXTRACTION") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_EXTRACTION; + if(s=="INSTALLATION") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_INSTALLATION; + if(s=="MANUFACTURE") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_MANUFACTURE; + if(s=="TRANSPORTATION") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_TRANSPORTATION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategory_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcEvaporativeCoolerTypeEnum::ToString(IfcEvaporativeCoolerTypeEnum v) { @@ -3206,17 +3206,17 @@ const char* IfcEvaporativeCoolerTypeEnum::ToString(IfcEvaporativeCoolerTypeEnum return names[v]; } IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum IfcEvaporativeCoolerTypeEnum::FromString(const std::string& s) { - if(s=="DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER; - if(s=="DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER; - if(s=="DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER; - if(s=="DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER; - if(s=="DIRECTEVAPORATIVEAIRWASHER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER; - if(s=="INDIRECTEVAPORATIVEPACKAGEAIRCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER; - if(s=="INDIRECTEVAPORATIVEWETCOIL") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL; - if(s=="INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER; - if(s=="INDIRECTDIRECTCOMBINATION") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION; - if(s=="USERDEFINED") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_NOTDEFINED; + if(s=="DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER; + if(s=="DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER; + if(s=="DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER; + if(s=="DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER; + if(s=="DIRECTEVAPORATIVEAIRWASHER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER; + if(s=="INDIRECTEVAPORATIVEPACKAGEAIRCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER; + if(s=="INDIRECTEVAPORATIVEWETCOIL") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL; + if(s=="INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER; + if(s=="INDIRECTDIRECTCOMBINATION") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcEvaporatorTypeEnum::ToString(IfcEvaporatorTypeEnum v) { @@ -3225,13 +3225,13 @@ const char* IfcEvaporatorTypeEnum::ToString(IfcEvaporatorTypeEnum v) { return names[v]; } IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum IfcEvaporatorTypeEnum::FromString(const std::string& s) { - if(s=="DIRECTEXPANSIONSHELLANDTUBE") return IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE; - if(s=="DIRECTEXPANSIONTUBEINTUBE") return IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE; - if(s=="DIRECTEXPANSIONBRAZEDPLATE") return IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE; - if(s=="FLOODEDSHELLANDTUBE") return IfcEvaporatorTypeEnum::IfcEvaporatorType_FLOODEDSHELLANDTUBE; - if(s=="SHELLANDCOIL") return IfcEvaporatorTypeEnum::IfcEvaporatorType_SHELLANDCOIL; - if(s=="USERDEFINED") return IfcEvaporatorTypeEnum::IfcEvaporatorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcEvaporatorTypeEnum::IfcEvaporatorType_NOTDEFINED; + if(s=="DIRECTEXPANSIONSHELLANDTUBE") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE; + if(s=="DIRECTEXPANSIONTUBEINTUBE") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE; + if(s=="DIRECTEXPANSIONBRAZEDPLATE") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE; + if(s=="FLOODEDSHELLANDTUBE") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_FLOODEDSHELLANDTUBE; + if(s=="SHELLANDCOIL") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_SHELLANDCOIL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFanTypeEnum::ToString(IfcFanTypeEnum v) { @@ -3240,15 +3240,15 @@ const char* IfcFanTypeEnum::ToString(IfcFanTypeEnum v) { return names[v]; } IfcFanTypeEnum::IfcFanTypeEnum IfcFanTypeEnum::FromString(const std::string& s) { - if(s=="CENTRIFUGALFORWARDCURVED") return IfcFanTypeEnum::IfcFanType_CENTRIFUGALFORWARDCURVED; - if(s=="CENTRIFUGALRADIAL") return IfcFanTypeEnum::IfcFanType_CENTRIFUGALRADIAL; - if(s=="CENTRIFUGALBACKWARDINCLINEDCURVED") return IfcFanTypeEnum::IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED; - if(s=="CENTRIFUGALAIRFOIL") return IfcFanTypeEnum::IfcFanType_CENTRIFUGALAIRFOIL; - if(s=="TUBEAXIAL") return IfcFanTypeEnum::IfcFanType_TUBEAXIAL; - if(s=="VANEAXIAL") return IfcFanTypeEnum::IfcFanType_VANEAXIAL; - if(s=="PROPELLORAXIAL") return IfcFanTypeEnum::IfcFanType_PROPELLORAXIAL; - if(s=="USERDEFINED") return IfcFanTypeEnum::IfcFanType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFanTypeEnum::IfcFanType_NOTDEFINED; + if(s=="CENTRIFUGALFORWARDCURVED") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_CENTRIFUGALFORWARDCURVED; + if(s=="CENTRIFUGALRADIAL") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_CENTRIFUGALRADIAL; + if(s=="CENTRIFUGALBACKWARDINCLINEDCURVED") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED; + if(s=="CENTRIFUGALAIRFOIL") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_CENTRIFUGALAIRFOIL; + if(s=="TUBEAXIAL") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_TUBEAXIAL; + if(s=="VANEAXIAL") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_VANEAXIAL; + if(s=="PROPELLORAXIAL") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_PROPELLORAXIAL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFanTypeEnum::IfcFanType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFilterTypeEnum::ToString(IfcFilterTypeEnum v) { @@ -3257,13 +3257,13 @@ const char* IfcFilterTypeEnum::ToString(IfcFilterTypeEnum v) { return names[v]; } IfcFilterTypeEnum::IfcFilterTypeEnum IfcFilterTypeEnum::FromString(const std::string& s) { - if(s=="AIRPARTICLEFILTER") return IfcFilterTypeEnum::IfcFilterType_AIRPARTICLEFILTER; - if(s=="ODORFILTER") return IfcFilterTypeEnum::IfcFilterType_ODORFILTER; - if(s=="OILFILTER") return IfcFilterTypeEnum::IfcFilterType_OILFILTER; - if(s=="STRAINER") return IfcFilterTypeEnum::IfcFilterType_STRAINER; - if(s=="WATERFILTER") return IfcFilterTypeEnum::IfcFilterType_WATERFILTER; - if(s=="USERDEFINED") return IfcFilterTypeEnum::IfcFilterType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFilterTypeEnum::IfcFilterType_NOTDEFINED; + if(s=="AIRPARTICLEFILTER") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_AIRPARTICLEFILTER; + if(s=="ODORFILTER") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_ODORFILTER; + if(s=="OILFILTER") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_OILFILTER; + if(s=="STRAINER") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_STRAINER; + if(s=="WATERFILTER") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_WATERFILTER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFilterTypeEnum::IfcFilterType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFireSuppressionTerminalTypeEnum::ToString(IfcFireSuppressionTerminalTypeEnum v) { @@ -3272,13 +3272,13 @@ const char* IfcFireSuppressionTerminalTypeEnum::ToString(IfcFireSuppressionTermi return names[v]; } IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum IfcFireSuppressionTerminalTypeEnum::FromString(const std::string& s) { - if(s=="BREECHINGINLET") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_BREECHINGINLET; - if(s=="FIREHYDRANT") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_FIREHYDRANT; - if(s=="HOSEREEL") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_HOSEREEL; - if(s=="SPRINKLER") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_SPRINKLER; - if(s=="SPRINKLERDEFLECTOR") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR; - if(s=="USERDEFINED") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_NOTDEFINED; + if(s=="BREECHINGINLET") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_BREECHINGINLET; + if(s=="FIREHYDRANT") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_FIREHYDRANT; + if(s=="HOSEREEL") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_HOSEREEL; + if(s=="SPRINKLER") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_SPRINKLER; + if(s=="SPRINKLERDEFLECTOR") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFlowDirectionEnum::ToString(IfcFlowDirectionEnum v) { @@ -3287,10 +3287,10 @@ const char* IfcFlowDirectionEnum::ToString(IfcFlowDirectionEnum v) { return names[v]; } IfcFlowDirectionEnum::IfcFlowDirectionEnum IfcFlowDirectionEnum::FromString(const std::string& s) { - if(s=="SOURCE") return IfcFlowDirectionEnum::IfcFlowDirection_SOURCE; - if(s=="SINK") return IfcFlowDirectionEnum::IfcFlowDirection_SINK; - if(s=="SOURCEANDSINK") return IfcFlowDirectionEnum::IfcFlowDirection_SOURCEANDSINK; - if(s=="NOTDEFINED") return IfcFlowDirectionEnum::IfcFlowDirection_NOTDEFINED; + if(s=="SOURCE") return ::Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirection_SOURCE; + if(s=="SINK") return ::Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirection_SINK; + if(s=="SOURCEANDSINK") return ::Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirection_SOURCEANDSINK; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirection_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFlowInstrumentTypeEnum::ToString(IfcFlowInstrumentTypeEnum v) { @@ -3299,16 +3299,16 @@ const char* IfcFlowInstrumentTypeEnum::ToString(IfcFlowInstrumentTypeEnum v) { return names[v]; } IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum IfcFlowInstrumentTypeEnum::FromString(const std::string& s) { - if(s=="PRESSUREGAUGE") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_PRESSUREGAUGE; - if(s=="THERMOMETER") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_THERMOMETER; - if(s=="AMMETER") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_AMMETER; - if(s=="FREQUENCYMETER") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_FREQUENCYMETER; - if(s=="POWERFACTORMETER") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_POWERFACTORMETER; - if(s=="PHASEANGLEMETER") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_PHASEANGLEMETER; - if(s=="VOLTMETER_PEAK") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_VOLTMETER_PEAK; - if(s=="VOLTMETER_RMS") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_VOLTMETER_RMS; - if(s=="USERDEFINED") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_NOTDEFINED; + if(s=="PRESSUREGAUGE") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_PRESSUREGAUGE; + if(s=="THERMOMETER") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_THERMOMETER; + if(s=="AMMETER") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_AMMETER; + if(s=="FREQUENCYMETER") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_FREQUENCYMETER; + if(s=="POWERFACTORMETER") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_POWERFACTORMETER; + if(s=="PHASEANGLEMETER") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_PHASEANGLEMETER; + if(s=="VOLTMETER_PEAK") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_VOLTMETER_PEAK; + if(s=="VOLTMETER_RMS") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_VOLTMETER_RMS; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFlowMeterTypeEnum::ToString(IfcFlowMeterTypeEnum v) { @@ -3317,14 +3317,14 @@ const char* IfcFlowMeterTypeEnum::ToString(IfcFlowMeterTypeEnum v) { return names[v]; } IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum IfcFlowMeterTypeEnum::FromString(const std::string& s) { - if(s=="ELECTRICMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_ELECTRICMETER; - if(s=="ENERGYMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_ENERGYMETER; - if(s=="FLOWMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_FLOWMETER; - if(s=="GASMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_GASMETER; - if(s=="OILMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_OILMETER; - if(s=="WATERMETER") return IfcFlowMeterTypeEnum::IfcFlowMeterType_WATERMETER; - if(s=="USERDEFINED") return IfcFlowMeterTypeEnum::IfcFlowMeterType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFlowMeterTypeEnum::IfcFlowMeterType_NOTDEFINED; + if(s=="ELECTRICMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_ELECTRICMETER; + if(s=="ENERGYMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_ENERGYMETER; + if(s=="FLOWMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_FLOWMETER; + if(s=="GASMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_GASMETER; + if(s=="OILMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_OILMETER; + if(s=="WATERMETER") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_WATERMETER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcFootingTypeEnum::ToString(IfcFootingTypeEnum v) { @@ -3333,12 +3333,12 @@ const char* IfcFootingTypeEnum::ToString(IfcFootingTypeEnum v) { return names[v]; } IfcFootingTypeEnum::IfcFootingTypeEnum IfcFootingTypeEnum::FromString(const std::string& s) { - if(s=="FOOTING_BEAM") return IfcFootingTypeEnum::IfcFootingType_FOOTING_BEAM; - if(s=="PAD_FOOTING") return IfcFootingTypeEnum::IfcFootingType_PAD_FOOTING; - if(s=="PILE_CAP") return IfcFootingTypeEnum::IfcFootingType_PILE_CAP; - if(s=="STRIP_FOOTING") return IfcFootingTypeEnum::IfcFootingType_STRIP_FOOTING; - if(s=="USERDEFINED") return IfcFootingTypeEnum::IfcFootingType_USERDEFINED; - if(s=="NOTDEFINED") return IfcFootingTypeEnum::IfcFootingType_NOTDEFINED; + if(s=="FOOTING_BEAM") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_FOOTING_BEAM; + if(s=="PAD_FOOTING") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_PAD_FOOTING; + if(s=="PILE_CAP") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_PILE_CAP; + if(s=="STRIP_FOOTING") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_STRIP_FOOTING; + if(s=="USERDEFINED") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcFootingTypeEnum::IfcFootingType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcGasTerminalTypeEnum::ToString(IfcGasTerminalTypeEnum v) { @@ -3347,11 +3347,11 @@ const char* IfcGasTerminalTypeEnum::ToString(IfcGasTerminalTypeEnum v) { return names[v]; } IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum IfcGasTerminalTypeEnum::FromString(const std::string& s) { - if(s=="GASAPPLIANCE") return IfcGasTerminalTypeEnum::IfcGasTerminalType_GASAPPLIANCE; - if(s=="GASBOOSTER") return IfcGasTerminalTypeEnum::IfcGasTerminalType_GASBOOSTER; - if(s=="GASBURNER") return IfcGasTerminalTypeEnum::IfcGasTerminalType_GASBURNER; - if(s=="USERDEFINED") return IfcGasTerminalTypeEnum::IfcGasTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcGasTerminalTypeEnum::IfcGasTerminalType_NOTDEFINED; + if(s=="GASAPPLIANCE") return ::Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalType_GASAPPLIANCE; + if(s=="GASBOOSTER") return ::Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalType_GASBOOSTER; + if(s=="GASBURNER") return ::Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalType_GASBURNER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcGeometricProjectionEnum::ToString(IfcGeometricProjectionEnum v) { @@ -3360,15 +3360,15 @@ const char* IfcGeometricProjectionEnum::ToString(IfcGeometricProjectionEnum v) { return names[v]; } IfcGeometricProjectionEnum::IfcGeometricProjectionEnum IfcGeometricProjectionEnum::FromString(const std::string& s) { - if(s=="GRAPH_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_GRAPH_VIEW; - if(s=="SKETCH_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_SKETCH_VIEW; - if(s=="MODEL_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_MODEL_VIEW; - if(s=="PLAN_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_PLAN_VIEW; - if(s=="REFLECTED_PLAN_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_REFLECTED_PLAN_VIEW; - if(s=="SECTION_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_SECTION_VIEW; - if(s=="ELEVATION_VIEW") return IfcGeometricProjectionEnum::IfcGeometricProjection_ELEVATION_VIEW; - if(s=="USERDEFINED") return IfcGeometricProjectionEnum::IfcGeometricProjection_USERDEFINED; - if(s=="NOTDEFINED") return IfcGeometricProjectionEnum::IfcGeometricProjection_NOTDEFINED; + if(s=="GRAPH_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_GRAPH_VIEW; + if(s=="SKETCH_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_SKETCH_VIEW; + if(s=="MODEL_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_MODEL_VIEW; + if(s=="PLAN_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_PLAN_VIEW; + if(s=="REFLECTED_PLAN_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_REFLECTED_PLAN_VIEW; + if(s=="SECTION_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_SECTION_VIEW; + if(s=="ELEVATION_VIEW") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_ELEVATION_VIEW; + if(s=="USERDEFINED") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjection_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcGlobalOrLocalEnum::ToString(IfcGlobalOrLocalEnum v) { @@ -3377,8 +3377,8 @@ const char* IfcGlobalOrLocalEnum::ToString(IfcGlobalOrLocalEnum v) { return names[v]; } IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum IfcGlobalOrLocalEnum::FromString(const std::string& s) { - if(s=="GLOBAL_COORDS") return IfcGlobalOrLocalEnum::IfcGlobalOrLocal_GLOBAL_COORDS; - if(s=="LOCAL_COORDS") return IfcGlobalOrLocalEnum::IfcGlobalOrLocal_LOCAL_COORDS; + if(s=="GLOBAL_COORDS") return ::Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocal_GLOBAL_COORDS; + if(s=="LOCAL_COORDS") return ::Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocal_LOCAL_COORDS; throw IfcException("Unable to find find keyword in schema"); } const char* IfcHeatExchangerTypeEnum::ToString(IfcHeatExchangerTypeEnum v) { @@ -3387,10 +3387,10 @@ const char* IfcHeatExchangerTypeEnum::ToString(IfcHeatExchangerTypeEnum v) { return names[v]; } IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum IfcHeatExchangerTypeEnum::FromString(const std::string& s) { - if(s=="PLATE") return IfcHeatExchangerTypeEnum::IfcHeatExchangerType_PLATE; - if(s=="SHELLANDTUBE") return IfcHeatExchangerTypeEnum::IfcHeatExchangerType_SHELLANDTUBE; - if(s=="USERDEFINED") return IfcHeatExchangerTypeEnum::IfcHeatExchangerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcHeatExchangerTypeEnum::IfcHeatExchangerType_NOTDEFINED; + if(s=="PLATE") return ::Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerType_PLATE; + if(s=="SHELLANDTUBE") return ::Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerType_SHELLANDTUBE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcHumidifierTypeEnum::ToString(IfcHumidifierTypeEnum v) { @@ -3399,21 +3399,21 @@ const char* IfcHumidifierTypeEnum::ToString(IfcHumidifierTypeEnum v) { return names[v]; } IfcHumidifierTypeEnum::IfcHumidifierTypeEnum IfcHumidifierTypeEnum::FromString(const std::string& s) { - if(s=="STEAMINJECTION") return IfcHumidifierTypeEnum::IfcHumidifierType_STEAMINJECTION; - if(s=="ADIABATICAIRWASHER") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICAIRWASHER; - if(s=="ADIABATICPAN") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICPAN; - if(s=="ADIABATICWETTEDELEMENT") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICWETTEDELEMENT; - if(s=="ADIABATICATOMIZING") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICATOMIZING; - if(s=="ADIABATICULTRASONIC") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICULTRASONIC; - if(s=="ADIABATICRIGIDMEDIA") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICRIGIDMEDIA; - if(s=="ADIABATICCOMPRESSEDAIRNOZZLE") return IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE; - if(s=="ASSISTEDELECTRIC") return IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDELECTRIC; - if(s=="ASSISTEDNATURALGAS") return IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDNATURALGAS; - if(s=="ASSISTEDPROPANE") return IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDPROPANE; - if(s=="ASSISTEDBUTANE") return IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDBUTANE; - if(s=="ASSISTEDSTEAM") return IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDSTEAM; - if(s=="USERDEFINED") return IfcHumidifierTypeEnum::IfcHumidifierType_USERDEFINED; - if(s=="NOTDEFINED") return IfcHumidifierTypeEnum::IfcHumidifierType_NOTDEFINED; + if(s=="STEAMINJECTION") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_STEAMINJECTION; + if(s=="ADIABATICAIRWASHER") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICAIRWASHER; + if(s=="ADIABATICPAN") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICPAN; + if(s=="ADIABATICWETTEDELEMENT") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICWETTEDELEMENT; + if(s=="ADIABATICATOMIZING") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICATOMIZING; + if(s=="ADIABATICULTRASONIC") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICULTRASONIC; + if(s=="ADIABATICRIGIDMEDIA") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICRIGIDMEDIA; + if(s=="ADIABATICCOMPRESSEDAIRNOZZLE") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE; + if(s=="ASSISTEDELECTRIC") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDELECTRIC; + if(s=="ASSISTEDNATURALGAS") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDNATURALGAS; + if(s=="ASSISTEDPROPANE") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDPROPANE; + if(s=="ASSISTEDBUTANE") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDBUTANE; + if(s=="ASSISTEDSTEAM") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_ASSISTEDSTEAM; + if(s=="USERDEFINED") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcInternalOrExternalEnum::ToString(IfcInternalOrExternalEnum v) { @@ -3422,9 +3422,9 @@ const char* IfcInternalOrExternalEnum::ToString(IfcInternalOrExternalEnum v) { return names[v]; } IfcInternalOrExternalEnum::IfcInternalOrExternalEnum IfcInternalOrExternalEnum::FromString(const std::string& s) { - if(s=="INTERNAL") return IfcInternalOrExternalEnum::IfcInternalOrExternal_INTERNAL; - if(s=="EXTERNAL") return IfcInternalOrExternalEnum::IfcInternalOrExternal_EXTERNAL; - if(s=="NOTDEFINED") return IfcInternalOrExternalEnum::IfcInternalOrExternal_NOTDEFINED; + if(s=="INTERNAL") return ::Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternal_INTERNAL; + if(s=="EXTERNAL") return ::Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternal_EXTERNAL; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternal_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcInventoryTypeEnum::ToString(IfcInventoryTypeEnum v) { @@ -3433,11 +3433,11 @@ const char* IfcInventoryTypeEnum::ToString(IfcInventoryTypeEnum v) { return names[v]; } IfcInventoryTypeEnum::IfcInventoryTypeEnum IfcInventoryTypeEnum::FromString(const std::string& s) { - if(s=="ASSETINVENTORY") return IfcInventoryTypeEnum::IfcInventoryType_ASSETINVENTORY; - if(s=="SPACEINVENTORY") return IfcInventoryTypeEnum::IfcInventoryType_SPACEINVENTORY; - if(s=="FURNITUREINVENTORY") return IfcInventoryTypeEnum::IfcInventoryType_FURNITUREINVENTORY; - if(s=="USERDEFINED") return IfcInventoryTypeEnum::IfcInventoryType_USERDEFINED; - if(s=="NOTDEFINED") return IfcInventoryTypeEnum::IfcInventoryType_NOTDEFINED; + if(s=="ASSETINVENTORY") return ::Ifc2x3::IfcInventoryTypeEnum::IfcInventoryType_ASSETINVENTORY; + if(s=="SPACEINVENTORY") return ::Ifc2x3::IfcInventoryTypeEnum::IfcInventoryType_SPACEINVENTORY; + if(s=="FURNITUREINVENTORY") return ::Ifc2x3::IfcInventoryTypeEnum::IfcInventoryType_FURNITUREINVENTORY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcInventoryTypeEnum::IfcInventoryType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcInventoryTypeEnum::IfcInventoryType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcJunctionBoxTypeEnum::ToString(IfcJunctionBoxTypeEnum v) { @@ -3446,8 +3446,8 @@ const char* IfcJunctionBoxTypeEnum::ToString(IfcJunctionBoxTypeEnum v) { return names[v]; } IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum IfcJunctionBoxTypeEnum::FromString(const std::string& s) { - if(s=="USERDEFINED") return IfcJunctionBoxTypeEnum::IfcJunctionBoxType_USERDEFINED; - if(s=="NOTDEFINED") return IfcJunctionBoxTypeEnum::IfcJunctionBoxType_NOTDEFINED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLampTypeEnum::ToString(IfcLampTypeEnum v) { @@ -3456,14 +3456,14 @@ const char* IfcLampTypeEnum::ToString(IfcLampTypeEnum v) { return names[v]; } IfcLampTypeEnum::IfcLampTypeEnum IfcLampTypeEnum::FromString(const std::string& s) { - if(s=="COMPACTFLUORESCENT") return IfcLampTypeEnum::IfcLampType_COMPACTFLUORESCENT; - if(s=="FLUORESCENT") return IfcLampTypeEnum::IfcLampType_FLUORESCENT; - if(s=="HIGHPRESSUREMERCURY") return IfcLampTypeEnum::IfcLampType_HIGHPRESSUREMERCURY; - if(s=="HIGHPRESSURESODIUM") return IfcLampTypeEnum::IfcLampType_HIGHPRESSURESODIUM; - if(s=="METALHALIDE") return IfcLampTypeEnum::IfcLampType_METALHALIDE; - if(s=="TUNGSTENFILAMENT") return IfcLampTypeEnum::IfcLampType_TUNGSTENFILAMENT; - if(s=="USERDEFINED") return IfcLampTypeEnum::IfcLampType_USERDEFINED; - if(s=="NOTDEFINED") return IfcLampTypeEnum::IfcLampType_NOTDEFINED; + if(s=="COMPACTFLUORESCENT") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_COMPACTFLUORESCENT; + if(s=="FLUORESCENT") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_FLUORESCENT; + if(s=="HIGHPRESSUREMERCURY") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_HIGHPRESSUREMERCURY; + if(s=="HIGHPRESSURESODIUM") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_HIGHPRESSURESODIUM; + if(s=="METALHALIDE") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_METALHALIDE; + if(s=="TUNGSTENFILAMENT") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_TUNGSTENFILAMENT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcLampTypeEnum::IfcLampType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLayerSetDirectionEnum::ToString(IfcLayerSetDirectionEnum v) { @@ -3472,9 +3472,9 @@ const char* IfcLayerSetDirectionEnum::ToString(IfcLayerSetDirectionEnum v) { return names[v]; } IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum IfcLayerSetDirectionEnum::FromString(const std::string& s) { - if(s=="AXIS1") return IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS1; - if(s=="AXIS2") return IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS2; - if(s=="AXIS3") return IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS3; + if(s=="AXIS1") return ::Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS1; + if(s=="AXIS2") return ::Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS2; + if(s=="AXIS3") return ::Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirection_AXIS3; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLightDistributionCurveEnum::ToString(IfcLightDistributionCurveEnum v) { @@ -3483,10 +3483,10 @@ const char* IfcLightDistributionCurveEnum::ToString(IfcLightDistributionCurveEnu return names[v]; } IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum IfcLightDistributionCurveEnum::FromString(const std::string& s) { - if(s=="TYPE_A") return IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_A; - if(s=="TYPE_B") return IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_B; - if(s=="TYPE_C") return IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_C; - if(s=="NOTDEFINED") return IfcLightDistributionCurveEnum::IfcLightDistributionCurve_NOTDEFINED; + if(s=="TYPE_A") return ::Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_A; + if(s=="TYPE_B") return ::Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_B; + if(s=="TYPE_C") return ::Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurve_TYPE_C; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurve_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLightEmissionSourceEnum::ToString(IfcLightEmissionSourceEnum v) { @@ -3495,17 +3495,17 @@ const char* IfcLightEmissionSourceEnum::ToString(IfcLightEmissionSourceEnum v) { return names[v]; } IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum IfcLightEmissionSourceEnum::FromString(const std::string& s) { - if(s=="COMPACTFLUORESCENT") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_COMPACTFLUORESCENT; - if(s=="FLUORESCENT") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_FLUORESCENT; - if(s=="HIGHPRESSUREMERCURY") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_HIGHPRESSUREMERCURY; - if(s=="HIGHPRESSURESODIUM") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_HIGHPRESSURESODIUM; - if(s=="LIGHTEMITTINGDIODE") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_LIGHTEMITTINGDIODE; - if(s=="LOWPRESSURESODIUM") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_LOWPRESSURESODIUM; - if(s=="LOWVOLTAGEHALOGEN") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_LOWVOLTAGEHALOGEN; - if(s=="MAINVOLTAGEHALOGEN") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_MAINVOLTAGEHALOGEN; - if(s=="METALHALIDE") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_METALHALIDE; - if(s=="TUNGSTENFILAMENT") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_TUNGSTENFILAMENT; - if(s=="NOTDEFINED") return IfcLightEmissionSourceEnum::IfcLightEmissionSource_NOTDEFINED; + if(s=="COMPACTFLUORESCENT") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_COMPACTFLUORESCENT; + if(s=="FLUORESCENT") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_FLUORESCENT; + if(s=="HIGHPRESSUREMERCURY") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_HIGHPRESSUREMERCURY; + if(s=="HIGHPRESSURESODIUM") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_HIGHPRESSURESODIUM; + if(s=="LIGHTEMITTINGDIODE") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_LIGHTEMITTINGDIODE; + if(s=="LOWPRESSURESODIUM") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_LOWPRESSURESODIUM; + if(s=="LOWVOLTAGEHALOGEN") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_LOWVOLTAGEHALOGEN; + if(s=="MAINVOLTAGEHALOGEN") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_MAINVOLTAGEHALOGEN; + if(s=="METALHALIDE") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_METALHALIDE; + if(s=="TUNGSTENFILAMENT") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_TUNGSTENFILAMENT; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSource_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLightFixtureTypeEnum::ToString(IfcLightFixtureTypeEnum v) { @@ -3514,10 +3514,10 @@ const char* IfcLightFixtureTypeEnum::ToString(IfcLightFixtureTypeEnum v) { return names[v]; } IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum IfcLightFixtureTypeEnum::FromString(const std::string& s) { - if(s=="POINTSOURCE") return IfcLightFixtureTypeEnum::IfcLightFixtureType_POINTSOURCE; - if(s=="DIRECTIONSOURCE") return IfcLightFixtureTypeEnum::IfcLightFixtureType_DIRECTIONSOURCE; - if(s=="USERDEFINED") return IfcLightFixtureTypeEnum::IfcLightFixtureType_USERDEFINED; - if(s=="NOTDEFINED") return IfcLightFixtureTypeEnum::IfcLightFixtureType_NOTDEFINED; + if(s=="POINTSOURCE") return ::Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureType_POINTSOURCE; + if(s=="DIRECTIONSOURCE") return ::Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureType_DIRECTIONSOURCE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLoadGroupTypeEnum::ToString(IfcLoadGroupTypeEnum v) { @@ -3526,12 +3526,12 @@ const char* IfcLoadGroupTypeEnum::ToString(IfcLoadGroupTypeEnum v) { return names[v]; } IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum IfcLoadGroupTypeEnum::FromString(const std::string& s) { - if(s=="LOAD_GROUP") return IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_GROUP; - if(s=="LOAD_CASE") return IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_CASE; - if(s=="LOAD_COMBINATION_GROUP") return IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_COMBINATION_GROUP; - if(s=="LOAD_COMBINATION") return IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_COMBINATION; - if(s=="USERDEFINED") return IfcLoadGroupTypeEnum::IfcLoadGroupType_USERDEFINED; - if(s=="NOTDEFINED") return IfcLoadGroupTypeEnum::IfcLoadGroupType_NOTDEFINED; + if(s=="LOAD_GROUP") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_GROUP; + if(s=="LOAD_CASE") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_CASE; + if(s=="LOAD_COMBINATION_GROUP") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_COMBINATION_GROUP; + if(s=="LOAD_COMBINATION") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_LOAD_COMBINATION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcLogicalOperatorEnum::ToString(IfcLogicalOperatorEnum v) { @@ -3540,8 +3540,8 @@ const char* IfcLogicalOperatorEnum::ToString(IfcLogicalOperatorEnum v) { return names[v]; } IfcLogicalOperatorEnum::IfcLogicalOperatorEnum IfcLogicalOperatorEnum::FromString(const std::string& s) { - if(s=="LOGICALAND") return IfcLogicalOperatorEnum::IfcLogicalOperator_LOGICALAND; - if(s=="LOGICALOR") return IfcLogicalOperatorEnum::IfcLogicalOperator_LOGICALOR; + if(s=="LOGICALAND") return ::Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperator_LOGICALAND; + if(s=="LOGICALOR") return ::Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperator_LOGICALOR; throw IfcException("Unable to find find keyword in schema"); } const char* IfcMemberTypeEnum::ToString(IfcMemberTypeEnum v) { @@ -3550,20 +3550,20 @@ const char* IfcMemberTypeEnum::ToString(IfcMemberTypeEnum v) { return names[v]; } IfcMemberTypeEnum::IfcMemberTypeEnum IfcMemberTypeEnum::FromString(const std::string& s) { - if(s=="BRACE") return IfcMemberTypeEnum::IfcMemberType_BRACE; - if(s=="CHORD") return IfcMemberTypeEnum::IfcMemberType_CHORD; - if(s=="COLLAR") return IfcMemberTypeEnum::IfcMemberType_COLLAR; - if(s=="MEMBER") return IfcMemberTypeEnum::IfcMemberType_MEMBER; - if(s=="MULLION") return IfcMemberTypeEnum::IfcMemberType_MULLION; - if(s=="PLATE") return IfcMemberTypeEnum::IfcMemberType_PLATE; - if(s=="POST") return IfcMemberTypeEnum::IfcMemberType_POST; - if(s=="PURLIN") return IfcMemberTypeEnum::IfcMemberType_PURLIN; - if(s=="RAFTER") return IfcMemberTypeEnum::IfcMemberType_RAFTER; - if(s=="STRINGER") return IfcMemberTypeEnum::IfcMemberType_STRINGER; - if(s=="STRUT") return IfcMemberTypeEnum::IfcMemberType_STRUT; - if(s=="STUD") return IfcMemberTypeEnum::IfcMemberType_STUD; - if(s=="USERDEFINED") return IfcMemberTypeEnum::IfcMemberType_USERDEFINED; - if(s=="NOTDEFINED") return IfcMemberTypeEnum::IfcMemberType_NOTDEFINED; + if(s=="BRACE") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_BRACE; + if(s=="CHORD") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_CHORD; + if(s=="COLLAR") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_COLLAR; + if(s=="MEMBER") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_MEMBER; + if(s=="MULLION") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_MULLION; + if(s=="PLATE") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_PLATE; + if(s=="POST") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_POST; + if(s=="PURLIN") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_PURLIN; + if(s=="RAFTER") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_RAFTER; + if(s=="STRINGER") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_STRINGER; + if(s=="STRUT") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_STRUT; + if(s=="STUD") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_STUD; + if(s=="USERDEFINED") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcMemberTypeEnum::IfcMemberType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcMotorConnectionTypeEnum::ToString(IfcMotorConnectionTypeEnum v) { @@ -3572,11 +3572,11 @@ const char* IfcMotorConnectionTypeEnum::ToString(IfcMotorConnectionTypeEnum v) { return names[v]; } IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum IfcMotorConnectionTypeEnum::FromString(const std::string& s) { - if(s=="BELTDRIVE") return IfcMotorConnectionTypeEnum::IfcMotorConnectionType_BELTDRIVE; - if(s=="COUPLING") return IfcMotorConnectionTypeEnum::IfcMotorConnectionType_COUPLING; - if(s=="DIRECTDRIVE") return IfcMotorConnectionTypeEnum::IfcMotorConnectionType_DIRECTDRIVE; - if(s=="USERDEFINED") return IfcMotorConnectionTypeEnum::IfcMotorConnectionType_USERDEFINED; - if(s=="NOTDEFINED") return IfcMotorConnectionTypeEnum::IfcMotorConnectionType_NOTDEFINED; + if(s=="BELTDRIVE") return ::Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionType_BELTDRIVE; + if(s=="COUPLING") return ::Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionType_COUPLING; + if(s=="DIRECTDRIVE") return ::Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionType_DIRECTDRIVE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcNullStyle::ToString(IfcNullStyle v) { @@ -3585,7 +3585,7 @@ const char* IfcNullStyle::ToString(IfcNullStyle v) { return names[v]; } IfcNullStyle::IfcNullStyle IfcNullStyle::FromString(const std::string& s) { - if(s=="NULL") return IfcNullStyle::IfcNullStyle_NULL; + if(s=="NULL") return ::Ifc2x3::IfcNullStyle::IfcNullStyle_NULL; throw IfcException("Unable to find find keyword in schema"); } const char* IfcObjectTypeEnum::ToString(IfcObjectTypeEnum v) { @@ -3594,14 +3594,14 @@ const char* IfcObjectTypeEnum::ToString(IfcObjectTypeEnum v) { return names[v]; } IfcObjectTypeEnum::IfcObjectTypeEnum IfcObjectTypeEnum::FromString(const std::string& s) { - if(s=="PRODUCT") return IfcObjectTypeEnum::IfcObjectType_PRODUCT; - if(s=="PROCESS") return IfcObjectTypeEnum::IfcObjectType_PROCESS; - if(s=="CONTROL") return IfcObjectTypeEnum::IfcObjectType_CONTROL; - if(s=="RESOURCE") return IfcObjectTypeEnum::IfcObjectType_RESOURCE; - if(s=="ACTOR") return IfcObjectTypeEnum::IfcObjectType_ACTOR; - if(s=="GROUP") return IfcObjectTypeEnum::IfcObjectType_GROUP; - if(s=="PROJECT") return IfcObjectTypeEnum::IfcObjectType_PROJECT; - if(s=="NOTDEFINED") return IfcObjectTypeEnum::IfcObjectType_NOTDEFINED; + if(s=="PRODUCT") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_PRODUCT; + if(s=="PROCESS") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_PROCESS; + if(s=="CONTROL") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_CONTROL; + if(s=="RESOURCE") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_RESOURCE; + if(s=="ACTOR") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_ACTOR; + if(s=="GROUP") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_GROUP; + if(s=="PROJECT") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_PROJECT; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcObjectTypeEnum::IfcObjectType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcObjectiveEnum::ToString(IfcObjectiveEnum v) { @@ -3610,14 +3610,14 @@ const char* IfcObjectiveEnum::ToString(IfcObjectiveEnum v) { return names[v]; } IfcObjectiveEnum::IfcObjectiveEnum IfcObjectiveEnum::FromString(const std::string& s) { - if(s=="CODECOMPLIANCE") return IfcObjectiveEnum::IfcObjective_CODECOMPLIANCE; - if(s=="DESIGNINTENT") return IfcObjectiveEnum::IfcObjective_DESIGNINTENT; - if(s=="HEALTHANDSAFETY") return IfcObjectiveEnum::IfcObjective_HEALTHANDSAFETY; - if(s=="REQUIREMENT") return IfcObjectiveEnum::IfcObjective_REQUIREMENT; - if(s=="SPECIFICATION") return IfcObjectiveEnum::IfcObjective_SPECIFICATION; - if(s=="TRIGGERCONDITION") return IfcObjectiveEnum::IfcObjective_TRIGGERCONDITION; - if(s=="USERDEFINED") return IfcObjectiveEnum::IfcObjective_USERDEFINED; - if(s=="NOTDEFINED") return IfcObjectiveEnum::IfcObjective_NOTDEFINED; + if(s=="CODECOMPLIANCE") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_CODECOMPLIANCE; + if(s=="DESIGNINTENT") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_DESIGNINTENT; + if(s=="HEALTHANDSAFETY") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_HEALTHANDSAFETY; + if(s=="REQUIREMENT") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_REQUIREMENT; + if(s=="SPECIFICATION") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_SPECIFICATION; + if(s=="TRIGGERCONDITION") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_TRIGGERCONDITION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcObjectiveEnum::IfcObjective_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcOccupantTypeEnum::ToString(IfcOccupantTypeEnum v) { @@ -3626,15 +3626,15 @@ const char* IfcOccupantTypeEnum::ToString(IfcOccupantTypeEnum v) { return names[v]; } IfcOccupantTypeEnum::IfcOccupantTypeEnum IfcOccupantTypeEnum::FromString(const std::string& s) { - if(s=="ASSIGNEE") return IfcOccupantTypeEnum::IfcOccupantType_ASSIGNEE; - if(s=="ASSIGNOR") return IfcOccupantTypeEnum::IfcOccupantType_ASSIGNOR; - if(s=="LESSEE") return IfcOccupantTypeEnum::IfcOccupantType_LESSEE; - if(s=="LESSOR") return IfcOccupantTypeEnum::IfcOccupantType_LESSOR; - if(s=="LETTINGAGENT") return IfcOccupantTypeEnum::IfcOccupantType_LETTINGAGENT; - if(s=="OWNER") return IfcOccupantTypeEnum::IfcOccupantType_OWNER; - if(s=="TENANT") return IfcOccupantTypeEnum::IfcOccupantType_TENANT; - if(s=="USERDEFINED") return IfcOccupantTypeEnum::IfcOccupantType_USERDEFINED; - if(s=="NOTDEFINED") return IfcOccupantTypeEnum::IfcOccupantType_NOTDEFINED; + if(s=="ASSIGNEE") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_ASSIGNEE; + if(s=="ASSIGNOR") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_ASSIGNOR; + if(s=="LESSEE") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_LESSEE; + if(s=="LESSOR") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_LESSOR; + if(s=="LETTINGAGENT") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_LETTINGAGENT; + if(s=="OWNER") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_OWNER; + if(s=="TENANT") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_TENANT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcOccupantTypeEnum::IfcOccupantType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcOutletTypeEnum::ToString(IfcOutletTypeEnum v) { @@ -3643,11 +3643,11 @@ const char* IfcOutletTypeEnum::ToString(IfcOutletTypeEnum v) { return names[v]; } IfcOutletTypeEnum::IfcOutletTypeEnum IfcOutletTypeEnum::FromString(const std::string& s) { - if(s=="AUDIOVISUALOUTLET") return IfcOutletTypeEnum::IfcOutletType_AUDIOVISUALOUTLET; - if(s=="COMMUNICATIONSOUTLET") return IfcOutletTypeEnum::IfcOutletType_COMMUNICATIONSOUTLET; - if(s=="POWEROUTLET") return IfcOutletTypeEnum::IfcOutletType_POWEROUTLET; - if(s=="USERDEFINED") return IfcOutletTypeEnum::IfcOutletType_USERDEFINED; - if(s=="NOTDEFINED") return IfcOutletTypeEnum::IfcOutletType_NOTDEFINED; + if(s=="AUDIOVISUALOUTLET") return ::Ifc2x3::IfcOutletTypeEnum::IfcOutletType_AUDIOVISUALOUTLET; + if(s=="COMMUNICATIONSOUTLET") return ::Ifc2x3::IfcOutletTypeEnum::IfcOutletType_COMMUNICATIONSOUTLET; + if(s=="POWEROUTLET") return ::Ifc2x3::IfcOutletTypeEnum::IfcOutletType_POWEROUTLET; + if(s=="USERDEFINED") return ::Ifc2x3::IfcOutletTypeEnum::IfcOutletType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcOutletTypeEnum::IfcOutletType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPermeableCoveringOperationEnum::ToString(IfcPermeableCoveringOperationEnum v) { @@ -3656,11 +3656,11 @@ const char* IfcPermeableCoveringOperationEnum::ToString(IfcPermeableCoveringOper return names[v]; } IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum IfcPermeableCoveringOperationEnum::FromString(const std::string& s) { - if(s=="GRILL") return IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_GRILL; - if(s=="LOUVER") return IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_LOUVER; - if(s=="SCREEN") return IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_SCREEN; - if(s=="USERDEFINED") return IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_USERDEFINED; - if(s=="NOTDEFINED") return IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_NOTDEFINED; + if(s=="GRILL") return ::Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_GRILL; + if(s=="LOUVER") return ::Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_LOUVER; + if(s=="SCREEN") return ::Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_SCREEN; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperation_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPhysicalOrVirtualEnum::ToString(IfcPhysicalOrVirtualEnum v) { @@ -3669,9 +3669,9 @@ const char* IfcPhysicalOrVirtualEnum::ToString(IfcPhysicalOrVirtualEnum v) { return names[v]; } IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum IfcPhysicalOrVirtualEnum::FromString(const std::string& s) { - if(s=="PHYSICAL") return IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_PHYSICAL; - if(s=="VIRTUAL") return IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_VIRTUAL; - if(s=="NOTDEFINED") return IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_NOTDEFINED; + if(s=="PHYSICAL") return ::Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_PHYSICAL; + if(s=="VIRTUAL") return ::Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_VIRTUAL; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtual_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPileConstructionEnum::ToString(IfcPileConstructionEnum v) { @@ -3680,12 +3680,12 @@ const char* IfcPileConstructionEnum::ToString(IfcPileConstructionEnum v) { return names[v]; } IfcPileConstructionEnum::IfcPileConstructionEnum IfcPileConstructionEnum::FromString(const std::string& s) { - if(s=="CAST_IN_PLACE") return IfcPileConstructionEnum::IfcPileConstruction_CAST_IN_PLACE; - if(s=="COMPOSITE") return IfcPileConstructionEnum::IfcPileConstruction_COMPOSITE; - if(s=="PRECAST_CONCRETE") return IfcPileConstructionEnum::IfcPileConstruction_PRECAST_CONCRETE; - if(s=="PREFAB_STEEL") return IfcPileConstructionEnum::IfcPileConstruction_PREFAB_STEEL; - if(s=="USERDEFINED") return IfcPileConstructionEnum::IfcPileConstruction_USERDEFINED; - if(s=="NOTDEFINED") return IfcPileConstructionEnum::IfcPileConstruction_NOTDEFINED; + if(s=="CAST_IN_PLACE") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_CAST_IN_PLACE; + if(s=="COMPOSITE") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_COMPOSITE; + if(s=="PRECAST_CONCRETE") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_PRECAST_CONCRETE; + if(s=="PREFAB_STEEL") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_PREFAB_STEEL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPileConstructionEnum::IfcPileConstruction_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPileTypeEnum::ToString(IfcPileTypeEnum v) { @@ -3694,11 +3694,11 @@ const char* IfcPileTypeEnum::ToString(IfcPileTypeEnum v) { return names[v]; } IfcPileTypeEnum::IfcPileTypeEnum IfcPileTypeEnum::FromString(const std::string& s) { - if(s=="COHESION") return IfcPileTypeEnum::IfcPileType_COHESION; - if(s=="FRICTION") return IfcPileTypeEnum::IfcPileType_FRICTION; - if(s=="SUPPORT") return IfcPileTypeEnum::IfcPileType_SUPPORT; - if(s=="USERDEFINED") return IfcPileTypeEnum::IfcPileType_USERDEFINED; - if(s=="NOTDEFINED") return IfcPileTypeEnum::IfcPileType_NOTDEFINED; + if(s=="COHESION") return ::Ifc2x3::IfcPileTypeEnum::IfcPileType_COHESION; + if(s=="FRICTION") return ::Ifc2x3::IfcPileTypeEnum::IfcPileType_FRICTION; + if(s=="SUPPORT") return ::Ifc2x3::IfcPileTypeEnum::IfcPileType_SUPPORT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPileTypeEnum::IfcPileType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPileTypeEnum::IfcPileType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPipeFittingTypeEnum::ToString(IfcPipeFittingTypeEnum v) { @@ -3707,15 +3707,15 @@ const char* IfcPipeFittingTypeEnum::ToString(IfcPipeFittingTypeEnum v) { return names[v]; } IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum IfcPipeFittingTypeEnum::FromString(const std::string& s) { - if(s=="BEND") return IfcPipeFittingTypeEnum::IfcPipeFittingType_BEND; - if(s=="CONNECTOR") return IfcPipeFittingTypeEnum::IfcPipeFittingType_CONNECTOR; - if(s=="ENTRY") return IfcPipeFittingTypeEnum::IfcPipeFittingType_ENTRY; - if(s=="EXIT") return IfcPipeFittingTypeEnum::IfcPipeFittingType_EXIT; - if(s=="JUNCTION") return IfcPipeFittingTypeEnum::IfcPipeFittingType_JUNCTION; - if(s=="OBSTRUCTION") return IfcPipeFittingTypeEnum::IfcPipeFittingType_OBSTRUCTION; - if(s=="TRANSITION") return IfcPipeFittingTypeEnum::IfcPipeFittingType_TRANSITION; - if(s=="USERDEFINED") return IfcPipeFittingTypeEnum::IfcPipeFittingType_USERDEFINED; - if(s=="NOTDEFINED") return IfcPipeFittingTypeEnum::IfcPipeFittingType_NOTDEFINED; + if(s=="BEND") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_BEND; + if(s=="CONNECTOR") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_CONNECTOR; + if(s=="ENTRY") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_ENTRY; + if(s=="EXIT") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_EXIT; + if(s=="JUNCTION") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_JUNCTION; + if(s=="OBSTRUCTION") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_OBSTRUCTION; + if(s=="TRANSITION") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_TRANSITION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPipeSegmentTypeEnum::ToString(IfcPipeSegmentTypeEnum v) { @@ -3724,12 +3724,12 @@ const char* IfcPipeSegmentTypeEnum::ToString(IfcPipeSegmentTypeEnum v) { return names[v]; } IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum IfcPipeSegmentTypeEnum::FromString(const std::string& s) { - if(s=="FLEXIBLESEGMENT") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_FLEXIBLESEGMENT; - if(s=="RIGIDSEGMENT") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_RIGIDSEGMENT; - if(s=="GUTTER") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_GUTTER; - if(s=="SPOOL") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_SPOOL; - if(s=="USERDEFINED") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcPipeSegmentTypeEnum::IfcPipeSegmentType_NOTDEFINED; + if(s=="FLEXIBLESEGMENT") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_FLEXIBLESEGMENT; + if(s=="RIGIDSEGMENT") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_RIGIDSEGMENT; + if(s=="GUTTER") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_GUTTER; + if(s=="SPOOL") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_SPOOL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPlateTypeEnum::ToString(IfcPlateTypeEnum v) { @@ -3738,10 +3738,10 @@ const char* IfcPlateTypeEnum::ToString(IfcPlateTypeEnum v) { return names[v]; } IfcPlateTypeEnum::IfcPlateTypeEnum IfcPlateTypeEnum::FromString(const std::string& s) { - if(s=="CURTAIN_PANEL") return IfcPlateTypeEnum::IfcPlateType_CURTAIN_PANEL; - if(s=="SHEET") return IfcPlateTypeEnum::IfcPlateType_SHEET; - if(s=="USERDEFINED") return IfcPlateTypeEnum::IfcPlateType_USERDEFINED; - if(s=="NOTDEFINED") return IfcPlateTypeEnum::IfcPlateType_NOTDEFINED; + if(s=="CURTAIN_PANEL") return ::Ifc2x3::IfcPlateTypeEnum::IfcPlateType_CURTAIN_PANEL; + if(s=="SHEET") return ::Ifc2x3::IfcPlateTypeEnum::IfcPlateType_SHEET; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPlateTypeEnum::IfcPlateType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPlateTypeEnum::IfcPlateType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProcedureTypeEnum::ToString(IfcProcedureTypeEnum v) { @@ -3750,15 +3750,15 @@ const char* IfcProcedureTypeEnum::ToString(IfcProcedureTypeEnum v) { return names[v]; } IfcProcedureTypeEnum::IfcProcedureTypeEnum IfcProcedureTypeEnum::FromString(const std::string& s) { - if(s=="ADVICE_CAUTION") return IfcProcedureTypeEnum::IfcProcedureType_ADVICE_CAUTION; - if(s=="ADVICE_NOTE") return IfcProcedureTypeEnum::IfcProcedureType_ADVICE_NOTE; - if(s=="ADVICE_WARNING") return IfcProcedureTypeEnum::IfcProcedureType_ADVICE_WARNING; - if(s=="CALIBRATION") return IfcProcedureTypeEnum::IfcProcedureType_CALIBRATION; - if(s=="DIAGNOSTIC") return IfcProcedureTypeEnum::IfcProcedureType_DIAGNOSTIC; - if(s=="SHUTDOWN") return IfcProcedureTypeEnum::IfcProcedureType_SHUTDOWN; - if(s=="STARTUP") return IfcProcedureTypeEnum::IfcProcedureType_STARTUP; - if(s=="USERDEFINED") return IfcProcedureTypeEnum::IfcProcedureType_USERDEFINED; - if(s=="NOTDEFINED") return IfcProcedureTypeEnum::IfcProcedureType_NOTDEFINED; + if(s=="ADVICE_CAUTION") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_ADVICE_CAUTION; + if(s=="ADVICE_NOTE") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_ADVICE_NOTE; + if(s=="ADVICE_WARNING") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_ADVICE_WARNING; + if(s=="CALIBRATION") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_CALIBRATION; + if(s=="DIAGNOSTIC") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_DIAGNOSTIC; + if(s=="SHUTDOWN") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_SHUTDOWN; + if(s=="STARTUP") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_STARTUP; + if(s=="USERDEFINED") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcProcedureTypeEnum::IfcProcedureType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProfileTypeEnum::ToString(IfcProfileTypeEnum v) { @@ -3767,8 +3767,8 @@ const char* IfcProfileTypeEnum::ToString(IfcProfileTypeEnum v) { return names[v]; } IfcProfileTypeEnum::IfcProfileTypeEnum IfcProfileTypeEnum::FromString(const std::string& s) { - if(s=="CURVE") return IfcProfileTypeEnum::IfcProfileType_CURVE; - if(s=="AREA") return IfcProfileTypeEnum::IfcProfileType_AREA; + if(s=="CURVE") return ::Ifc2x3::IfcProfileTypeEnum::IfcProfileType_CURVE; + if(s=="AREA") return ::Ifc2x3::IfcProfileTypeEnum::IfcProfileType_AREA; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProjectOrderRecordTypeEnum::ToString(IfcProjectOrderRecordTypeEnum v) { @@ -3777,13 +3777,13 @@ const char* IfcProjectOrderRecordTypeEnum::ToString(IfcProjectOrderRecordTypeEnu return names[v]; } IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum IfcProjectOrderRecordTypeEnum::FromString(const std::string& s) { - if(s=="CHANGE") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_CHANGE; - if(s=="MAINTENANCE") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_MAINTENANCE; - if(s=="MOVE") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_MOVE; - if(s=="PURCHASE") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_PURCHASE; - if(s=="WORK") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_WORK; - if(s=="USERDEFINED") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_USERDEFINED; - if(s=="NOTDEFINED") return IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_NOTDEFINED; + if(s=="CHANGE") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_CHANGE; + if(s=="MAINTENANCE") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_MAINTENANCE; + if(s=="MOVE") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_MOVE; + if(s=="PURCHASE") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_PURCHASE; + if(s=="WORK") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_WORK; + if(s=="USERDEFINED") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProjectOrderTypeEnum::ToString(IfcProjectOrderTypeEnum v) { @@ -3792,13 +3792,13 @@ const char* IfcProjectOrderTypeEnum::ToString(IfcProjectOrderTypeEnum v) { return names[v]; } IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum IfcProjectOrderTypeEnum::FromString(const std::string& s) { - if(s=="CHANGEORDER") return IfcProjectOrderTypeEnum::IfcProjectOrderType_CHANGEORDER; - if(s=="MAINTENANCEWORKORDER") return IfcProjectOrderTypeEnum::IfcProjectOrderType_MAINTENANCEWORKORDER; - if(s=="MOVEORDER") return IfcProjectOrderTypeEnum::IfcProjectOrderType_MOVEORDER; - if(s=="PURCHASEORDER") return IfcProjectOrderTypeEnum::IfcProjectOrderType_PURCHASEORDER; - if(s=="WORKORDER") return IfcProjectOrderTypeEnum::IfcProjectOrderType_WORKORDER; - if(s=="USERDEFINED") return IfcProjectOrderTypeEnum::IfcProjectOrderType_USERDEFINED; - if(s=="NOTDEFINED") return IfcProjectOrderTypeEnum::IfcProjectOrderType_NOTDEFINED; + if(s=="CHANGEORDER") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_CHANGEORDER; + if(s=="MAINTENANCEWORKORDER") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_MAINTENANCEWORKORDER; + if(s=="MOVEORDER") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_MOVEORDER; + if(s=="PURCHASEORDER") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_PURCHASEORDER; + if(s=="WORKORDER") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_WORKORDER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProjectedOrTrueLengthEnum::ToString(IfcProjectedOrTrueLengthEnum v) { @@ -3807,8 +3807,8 @@ const char* IfcProjectedOrTrueLengthEnum::ToString(IfcProjectedOrTrueLengthEnum return names[v]; } IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum IfcProjectedOrTrueLengthEnum::FromString(const std::string& s) { - if(s=="PROJECTED_LENGTH") return IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLength_PROJECTED_LENGTH; - if(s=="TRUE_LENGTH") return IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLength_TRUE_LENGTH; + if(s=="PROJECTED_LENGTH") return ::Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLength_PROJECTED_LENGTH; + if(s=="TRUE_LENGTH") return ::Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLength_TRUE_LENGTH; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPropertySourceEnum::ToString(IfcPropertySourceEnum v) { @@ -3817,15 +3817,15 @@ const char* IfcPropertySourceEnum::ToString(IfcPropertySourceEnum v) { return names[v]; } IfcPropertySourceEnum::IfcPropertySourceEnum IfcPropertySourceEnum::FromString(const std::string& s) { - if(s=="DESIGN") return IfcPropertySourceEnum::IfcPropertySource_DESIGN; - if(s=="DESIGNMAXIMUM") return IfcPropertySourceEnum::IfcPropertySource_DESIGNMAXIMUM; - if(s=="DESIGNMINIMUM") return IfcPropertySourceEnum::IfcPropertySource_DESIGNMINIMUM; - if(s=="SIMULATED") return IfcPropertySourceEnum::IfcPropertySource_SIMULATED; - if(s=="ASBUILT") return IfcPropertySourceEnum::IfcPropertySource_ASBUILT; - if(s=="COMMISSIONING") return IfcPropertySourceEnum::IfcPropertySource_COMMISSIONING; - if(s=="MEASURED") return IfcPropertySourceEnum::IfcPropertySource_MEASURED; - if(s=="USERDEFINED") return IfcPropertySourceEnum::IfcPropertySource_USERDEFINED; - if(s=="NOTKNOWN") return IfcPropertySourceEnum::IfcPropertySource_NOTKNOWN; + if(s=="DESIGN") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_DESIGN; + if(s=="DESIGNMAXIMUM") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_DESIGNMAXIMUM; + if(s=="DESIGNMINIMUM") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_DESIGNMINIMUM; + if(s=="SIMULATED") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_SIMULATED; + if(s=="ASBUILT") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_ASBUILT; + if(s=="COMMISSIONING") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_COMMISSIONING; + if(s=="MEASURED") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_MEASURED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_USERDEFINED; + if(s=="NOTKNOWN") return ::Ifc2x3::IfcPropertySourceEnum::IfcPropertySource_NOTKNOWN; throw IfcException("Unable to find find keyword in schema"); } const char* IfcProtectiveDeviceTypeEnum::ToString(IfcProtectiveDeviceTypeEnum v) { @@ -3834,14 +3834,14 @@ const char* IfcProtectiveDeviceTypeEnum::ToString(IfcProtectiveDeviceTypeEnum v) return names[v]; } IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum IfcProtectiveDeviceTypeEnum::FromString(const std::string& s) { - if(s=="FUSEDISCONNECTOR") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_FUSEDISCONNECTOR; - if(s=="CIRCUITBREAKER") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_CIRCUITBREAKER; - if(s=="EARTHFAILUREDEVICE") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_EARTHFAILUREDEVICE; - if(s=="RESIDUALCURRENTCIRCUITBREAKER") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER; - if(s=="RESIDUALCURRENTSWITCH") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH; - if(s=="VARISTOR") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_VARISTOR; - if(s=="USERDEFINED") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_NOTDEFINED; + if(s=="FUSEDISCONNECTOR") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_FUSEDISCONNECTOR; + if(s=="CIRCUITBREAKER") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_CIRCUITBREAKER; + if(s=="EARTHFAILUREDEVICE") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_EARTHFAILUREDEVICE; + if(s=="RESIDUALCURRENTCIRCUITBREAKER") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER; + if(s=="RESIDUALCURRENTSWITCH") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH; + if(s=="VARISTOR") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_VARISTOR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcPumpTypeEnum::ToString(IfcPumpTypeEnum v) { @@ -3850,13 +3850,13 @@ const char* IfcPumpTypeEnum::ToString(IfcPumpTypeEnum v) { return names[v]; } IfcPumpTypeEnum::IfcPumpTypeEnum IfcPumpTypeEnum::FromString(const std::string& s) { - if(s=="CIRCULATOR") return IfcPumpTypeEnum::IfcPumpType_CIRCULATOR; - if(s=="ENDSUCTION") return IfcPumpTypeEnum::IfcPumpType_ENDSUCTION; - if(s=="SPLITCASE") return IfcPumpTypeEnum::IfcPumpType_SPLITCASE; - if(s=="VERTICALINLINE") return IfcPumpTypeEnum::IfcPumpType_VERTICALINLINE; - if(s=="VERTICALTURBINE") return IfcPumpTypeEnum::IfcPumpType_VERTICALTURBINE; - if(s=="USERDEFINED") return IfcPumpTypeEnum::IfcPumpType_USERDEFINED; - if(s=="NOTDEFINED") return IfcPumpTypeEnum::IfcPumpType_NOTDEFINED; + if(s=="CIRCULATOR") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_CIRCULATOR; + if(s=="ENDSUCTION") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_ENDSUCTION; + if(s=="SPLITCASE") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_SPLITCASE; + if(s=="VERTICALINLINE") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_VERTICALINLINE; + if(s=="VERTICALTURBINE") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_VERTICALTURBINE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcPumpTypeEnum::IfcPumpType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRailingTypeEnum::ToString(IfcRailingTypeEnum v) { @@ -3865,11 +3865,11 @@ const char* IfcRailingTypeEnum::ToString(IfcRailingTypeEnum v) { return names[v]; } IfcRailingTypeEnum::IfcRailingTypeEnum IfcRailingTypeEnum::FromString(const std::string& s) { - if(s=="HANDRAIL") return IfcRailingTypeEnum::IfcRailingType_HANDRAIL; - if(s=="GUARDRAIL") return IfcRailingTypeEnum::IfcRailingType_GUARDRAIL; - if(s=="BALUSTRADE") return IfcRailingTypeEnum::IfcRailingType_BALUSTRADE; - if(s=="USERDEFINED") return IfcRailingTypeEnum::IfcRailingType_USERDEFINED; - if(s=="NOTDEFINED") return IfcRailingTypeEnum::IfcRailingType_NOTDEFINED; + if(s=="HANDRAIL") return ::Ifc2x3::IfcRailingTypeEnum::IfcRailingType_HANDRAIL; + if(s=="GUARDRAIL") return ::Ifc2x3::IfcRailingTypeEnum::IfcRailingType_GUARDRAIL; + if(s=="BALUSTRADE") return ::Ifc2x3::IfcRailingTypeEnum::IfcRailingType_BALUSTRADE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcRailingTypeEnum::IfcRailingType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcRailingTypeEnum::IfcRailingType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRampFlightTypeEnum::ToString(IfcRampFlightTypeEnum v) { @@ -3878,10 +3878,10 @@ const char* IfcRampFlightTypeEnum::ToString(IfcRampFlightTypeEnum v) { return names[v]; } IfcRampFlightTypeEnum::IfcRampFlightTypeEnum IfcRampFlightTypeEnum::FromString(const std::string& s) { - if(s=="STRAIGHT") return IfcRampFlightTypeEnum::IfcRampFlightType_STRAIGHT; - if(s=="SPIRAL") return IfcRampFlightTypeEnum::IfcRampFlightType_SPIRAL; - if(s=="USERDEFINED") return IfcRampFlightTypeEnum::IfcRampFlightType_USERDEFINED; - if(s=="NOTDEFINED") return IfcRampFlightTypeEnum::IfcRampFlightType_NOTDEFINED; + if(s=="STRAIGHT") return ::Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightType_STRAIGHT; + if(s=="SPIRAL") return ::Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightType_SPIRAL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRampTypeEnum::ToString(IfcRampTypeEnum v) { @@ -3890,14 +3890,14 @@ const char* IfcRampTypeEnum::ToString(IfcRampTypeEnum v) { return names[v]; } IfcRampTypeEnum::IfcRampTypeEnum IfcRampTypeEnum::FromString(const std::string& s) { - if(s=="STRAIGHT_RUN_RAMP") return IfcRampTypeEnum::IfcRampType_STRAIGHT_RUN_RAMP; - if(s=="TWO_STRAIGHT_RUN_RAMP") return IfcRampTypeEnum::IfcRampType_TWO_STRAIGHT_RUN_RAMP; - if(s=="QUARTER_TURN_RAMP") return IfcRampTypeEnum::IfcRampType_QUARTER_TURN_RAMP; - if(s=="TWO_QUARTER_TURN_RAMP") return IfcRampTypeEnum::IfcRampType_TWO_QUARTER_TURN_RAMP; - if(s=="HALF_TURN_RAMP") return IfcRampTypeEnum::IfcRampType_HALF_TURN_RAMP; - if(s=="SPIRAL_RAMP") return IfcRampTypeEnum::IfcRampType_SPIRAL_RAMP; - if(s=="USERDEFINED") return IfcRampTypeEnum::IfcRampType_USERDEFINED; - if(s=="NOTDEFINED") return IfcRampTypeEnum::IfcRampType_NOTDEFINED; + if(s=="STRAIGHT_RUN_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_STRAIGHT_RUN_RAMP; + if(s=="TWO_STRAIGHT_RUN_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_TWO_STRAIGHT_RUN_RAMP; + if(s=="QUARTER_TURN_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_QUARTER_TURN_RAMP; + if(s=="TWO_QUARTER_TURN_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_TWO_QUARTER_TURN_RAMP; + if(s=="HALF_TURN_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_HALF_TURN_RAMP; + if(s=="SPIRAL_RAMP") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_SPIRAL_RAMP; + if(s=="USERDEFINED") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcRampTypeEnum::IfcRampType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcReflectanceMethodEnum::ToString(IfcReflectanceMethodEnum v) { @@ -3906,16 +3906,16 @@ const char* IfcReflectanceMethodEnum::ToString(IfcReflectanceMethodEnum v) { return names[v]; } IfcReflectanceMethodEnum::IfcReflectanceMethodEnum IfcReflectanceMethodEnum::FromString(const std::string& s) { - if(s=="BLINN") return IfcReflectanceMethodEnum::IfcReflectanceMethod_BLINN; - if(s=="FLAT") return IfcReflectanceMethodEnum::IfcReflectanceMethod_FLAT; - if(s=="GLASS") return IfcReflectanceMethodEnum::IfcReflectanceMethod_GLASS; - if(s=="MATT") return IfcReflectanceMethodEnum::IfcReflectanceMethod_MATT; - if(s=="METAL") return IfcReflectanceMethodEnum::IfcReflectanceMethod_METAL; - if(s=="MIRROR") return IfcReflectanceMethodEnum::IfcReflectanceMethod_MIRROR; - if(s=="PHONG") return IfcReflectanceMethodEnum::IfcReflectanceMethod_PHONG; - if(s=="PLASTIC") return IfcReflectanceMethodEnum::IfcReflectanceMethod_PLASTIC; - if(s=="STRAUSS") return IfcReflectanceMethodEnum::IfcReflectanceMethod_STRAUSS; - if(s=="NOTDEFINED") return IfcReflectanceMethodEnum::IfcReflectanceMethod_NOTDEFINED; + if(s=="BLINN") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_BLINN; + if(s=="FLAT") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_FLAT; + if(s=="GLASS") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_GLASS; + if(s=="MATT") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_MATT; + if(s=="METAL") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_METAL; + if(s=="MIRROR") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_MIRROR; + if(s=="PHONG") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_PHONG; + if(s=="PLASTIC") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_PLASTIC; + if(s=="STRAUSS") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_STRAUSS; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethod_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcReinforcingBarRoleEnum::ToString(IfcReinforcingBarRoleEnum v) { @@ -3924,15 +3924,15 @@ const char* IfcReinforcingBarRoleEnum::ToString(IfcReinforcingBarRoleEnum v) { return names[v]; } IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum IfcReinforcingBarRoleEnum::FromString(const std::string& s) { - if(s=="MAIN") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_MAIN; - if(s=="SHEAR") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_SHEAR; - if(s=="LIGATURE") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_LIGATURE; - if(s=="STUD") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_STUD; - if(s=="PUNCHING") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_PUNCHING; - if(s=="EDGE") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_EDGE; - if(s=="RING") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_RING; - if(s=="USERDEFINED") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_USERDEFINED; - if(s=="NOTDEFINED") return IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_NOTDEFINED; + if(s=="MAIN") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_MAIN; + if(s=="SHEAR") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_SHEAR; + if(s=="LIGATURE") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_LIGATURE; + if(s=="STUD") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_STUD; + if(s=="PUNCHING") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_PUNCHING; + if(s=="EDGE") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_EDGE; + if(s=="RING") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_RING; + if(s=="USERDEFINED") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRole_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcReinforcingBarSurfaceEnum::ToString(IfcReinforcingBarSurfaceEnum v) { @@ -3941,8 +3941,8 @@ const char* IfcReinforcingBarSurfaceEnum::ToString(IfcReinforcingBarSurfaceEnum return names[v]; } IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum IfcReinforcingBarSurfaceEnum::FromString(const std::string& s) { - if(s=="PLAIN") return IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurface_PLAIN; - if(s=="TEXTURED") return IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurface_TEXTURED; + if(s=="PLAIN") return ::Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurface_PLAIN; + if(s=="TEXTURED") return ::Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurface_TEXTURED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcResourceConsumptionEnum::ToString(IfcResourceConsumptionEnum v) { @@ -3951,14 +3951,14 @@ const char* IfcResourceConsumptionEnum::ToString(IfcResourceConsumptionEnum v) { return names[v]; } IfcResourceConsumptionEnum::IfcResourceConsumptionEnum IfcResourceConsumptionEnum::FromString(const std::string& s) { - if(s=="CONSUMED") return IfcResourceConsumptionEnum::IfcResourceConsumption_CONSUMED; - if(s=="PARTIALLYCONSUMED") return IfcResourceConsumptionEnum::IfcResourceConsumption_PARTIALLYCONSUMED; - if(s=="NOTCONSUMED") return IfcResourceConsumptionEnum::IfcResourceConsumption_NOTCONSUMED; - if(s=="OCCUPIED") return IfcResourceConsumptionEnum::IfcResourceConsumption_OCCUPIED; - if(s=="PARTIALLYOCCUPIED") return IfcResourceConsumptionEnum::IfcResourceConsumption_PARTIALLYOCCUPIED; - if(s=="NOTOCCUPIED") return IfcResourceConsumptionEnum::IfcResourceConsumption_NOTOCCUPIED; - if(s=="USERDEFINED") return IfcResourceConsumptionEnum::IfcResourceConsumption_USERDEFINED; - if(s=="NOTDEFINED") return IfcResourceConsumptionEnum::IfcResourceConsumption_NOTDEFINED; + if(s=="CONSUMED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_CONSUMED; + if(s=="PARTIALLYCONSUMED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_PARTIALLYCONSUMED; + if(s=="NOTCONSUMED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_NOTCONSUMED; + if(s=="OCCUPIED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_OCCUPIED; + if(s=="PARTIALLYOCCUPIED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_PARTIALLYOCCUPIED; + if(s=="NOTOCCUPIED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_NOTOCCUPIED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumption_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRibPlateDirectionEnum::ToString(IfcRibPlateDirectionEnum v) { @@ -3967,8 +3967,8 @@ const char* IfcRibPlateDirectionEnum::ToString(IfcRibPlateDirectionEnum v) { return names[v]; } IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum IfcRibPlateDirectionEnum::FromString(const std::string& s) { - if(s=="DIRECTION_X") return IfcRibPlateDirectionEnum::IfcRibPlateDirection_DIRECTION_X; - if(s=="DIRECTION_Y") return IfcRibPlateDirectionEnum::IfcRibPlateDirection_DIRECTION_Y; + if(s=="DIRECTION_X") return ::Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirection_DIRECTION_X; + if(s=="DIRECTION_Y") return ::Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirection_DIRECTION_Y; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRoleEnum::ToString(IfcRoleEnum v) { @@ -3977,29 +3977,29 @@ const char* IfcRoleEnum::ToString(IfcRoleEnum v) { return names[v]; } IfcRoleEnum::IfcRoleEnum IfcRoleEnum::FromString(const std::string& s) { - if(s=="SUPPLIER") return IfcRoleEnum::IfcRole_SUPPLIER; - if(s=="MANUFACTURER") return IfcRoleEnum::IfcRole_MANUFACTURER; - if(s=="CONTRACTOR") return IfcRoleEnum::IfcRole_CONTRACTOR; - if(s=="SUBCONTRACTOR") return IfcRoleEnum::IfcRole_SUBCONTRACTOR; - if(s=="ARCHITECT") return IfcRoleEnum::IfcRole_ARCHITECT; - if(s=="STRUCTURALENGINEER") return IfcRoleEnum::IfcRole_STRUCTURALENGINEER; - if(s=="COSTENGINEER") return IfcRoleEnum::IfcRole_COSTENGINEER; - if(s=="CLIENT") return IfcRoleEnum::IfcRole_CLIENT; - if(s=="BUILDINGOWNER") return IfcRoleEnum::IfcRole_BUILDINGOWNER; - if(s=="BUILDINGOPERATOR") return IfcRoleEnum::IfcRole_BUILDINGOPERATOR; - if(s=="MECHANICALENGINEER") return IfcRoleEnum::IfcRole_MECHANICALENGINEER; - if(s=="ELECTRICALENGINEER") return IfcRoleEnum::IfcRole_ELECTRICALENGINEER; - if(s=="PROJECTMANAGER") return IfcRoleEnum::IfcRole_PROJECTMANAGER; - if(s=="FACILITIESMANAGER") return IfcRoleEnum::IfcRole_FACILITIESMANAGER; - if(s=="CIVILENGINEER") return IfcRoleEnum::IfcRole_CIVILENGINEER; - if(s=="COMISSIONINGENGINEER") return IfcRoleEnum::IfcRole_COMISSIONINGENGINEER; - if(s=="ENGINEER") return IfcRoleEnum::IfcRole_ENGINEER; - if(s=="OWNER") return IfcRoleEnum::IfcRole_OWNER; - if(s=="CONSULTANT") return IfcRoleEnum::IfcRole_CONSULTANT; - if(s=="CONSTRUCTIONMANAGER") return IfcRoleEnum::IfcRole_CONSTRUCTIONMANAGER; - if(s=="FIELDCONSTRUCTIONMANAGER") return IfcRoleEnum::IfcRole_FIELDCONSTRUCTIONMANAGER; - if(s=="RESELLER") return IfcRoleEnum::IfcRole_RESELLER; - if(s=="USERDEFINED") return IfcRoleEnum::IfcRole_USERDEFINED; + if(s=="SUPPLIER") return ::Ifc2x3::IfcRoleEnum::IfcRole_SUPPLIER; + if(s=="MANUFACTURER") return ::Ifc2x3::IfcRoleEnum::IfcRole_MANUFACTURER; + if(s=="CONTRACTOR") return ::Ifc2x3::IfcRoleEnum::IfcRole_CONTRACTOR; + if(s=="SUBCONTRACTOR") return ::Ifc2x3::IfcRoleEnum::IfcRole_SUBCONTRACTOR; + if(s=="ARCHITECT") return ::Ifc2x3::IfcRoleEnum::IfcRole_ARCHITECT; + if(s=="STRUCTURALENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_STRUCTURALENGINEER; + if(s=="COSTENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_COSTENGINEER; + if(s=="CLIENT") return ::Ifc2x3::IfcRoleEnum::IfcRole_CLIENT; + if(s=="BUILDINGOWNER") return ::Ifc2x3::IfcRoleEnum::IfcRole_BUILDINGOWNER; + if(s=="BUILDINGOPERATOR") return ::Ifc2x3::IfcRoleEnum::IfcRole_BUILDINGOPERATOR; + if(s=="MECHANICALENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_MECHANICALENGINEER; + if(s=="ELECTRICALENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_ELECTRICALENGINEER; + if(s=="PROJECTMANAGER") return ::Ifc2x3::IfcRoleEnum::IfcRole_PROJECTMANAGER; + if(s=="FACILITIESMANAGER") return ::Ifc2x3::IfcRoleEnum::IfcRole_FACILITIESMANAGER; + if(s=="CIVILENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_CIVILENGINEER; + if(s=="COMISSIONINGENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_COMISSIONINGENGINEER; + if(s=="ENGINEER") return ::Ifc2x3::IfcRoleEnum::IfcRole_ENGINEER; + if(s=="OWNER") return ::Ifc2x3::IfcRoleEnum::IfcRole_OWNER; + if(s=="CONSULTANT") return ::Ifc2x3::IfcRoleEnum::IfcRole_CONSULTANT; + if(s=="CONSTRUCTIONMANAGER") return ::Ifc2x3::IfcRoleEnum::IfcRole_CONSTRUCTIONMANAGER; + if(s=="FIELDCONSTRUCTIONMANAGER") return ::Ifc2x3::IfcRoleEnum::IfcRole_FIELDCONSTRUCTIONMANAGER; + if(s=="RESELLER") return ::Ifc2x3::IfcRoleEnum::IfcRole_RESELLER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcRoleEnum::IfcRole_USERDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcRoofTypeEnum::ToString(IfcRoofTypeEnum v) { @@ -4008,20 +4008,20 @@ const char* IfcRoofTypeEnum::ToString(IfcRoofTypeEnum v) { return names[v]; } IfcRoofTypeEnum::IfcRoofTypeEnum IfcRoofTypeEnum::FromString(const std::string& s) { - if(s=="FLAT_ROOF") return IfcRoofTypeEnum::IfcRoofType_FLAT_ROOF; - if(s=="SHED_ROOF") return IfcRoofTypeEnum::IfcRoofType_SHED_ROOF; - if(s=="GABLE_ROOF") return IfcRoofTypeEnum::IfcRoofType_GABLE_ROOF; - if(s=="HIP_ROOF") return IfcRoofTypeEnum::IfcRoofType_HIP_ROOF; - if(s=="HIPPED_GABLE_ROOF") return IfcRoofTypeEnum::IfcRoofType_HIPPED_GABLE_ROOF; - if(s=="GAMBREL_ROOF") return IfcRoofTypeEnum::IfcRoofType_GAMBREL_ROOF; - if(s=="MANSARD_ROOF") return IfcRoofTypeEnum::IfcRoofType_MANSARD_ROOF; - if(s=="BARREL_ROOF") return IfcRoofTypeEnum::IfcRoofType_BARREL_ROOF; - if(s=="RAINBOW_ROOF") return IfcRoofTypeEnum::IfcRoofType_RAINBOW_ROOF; - if(s=="BUTTERFLY_ROOF") return IfcRoofTypeEnum::IfcRoofType_BUTTERFLY_ROOF; - if(s=="PAVILION_ROOF") return IfcRoofTypeEnum::IfcRoofType_PAVILION_ROOF; - if(s=="DOME_ROOF") return IfcRoofTypeEnum::IfcRoofType_DOME_ROOF; - if(s=="FREEFORM") return IfcRoofTypeEnum::IfcRoofType_FREEFORM; - if(s=="NOTDEFINED") return IfcRoofTypeEnum::IfcRoofType_NOTDEFINED; + if(s=="FLAT_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_FLAT_ROOF; + if(s=="SHED_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_SHED_ROOF; + if(s=="GABLE_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_GABLE_ROOF; + if(s=="HIP_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_HIP_ROOF; + if(s=="HIPPED_GABLE_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_HIPPED_GABLE_ROOF; + if(s=="GAMBREL_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_GAMBREL_ROOF; + if(s=="MANSARD_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_MANSARD_ROOF; + if(s=="BARREL_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_BARREL_ROOF; + if(s=="RAINBOW_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_RAINBOW_ROOF; + if(s=="BUTTERFLY_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_BUTTERFLY_ROOF; + if(s=="PAVILION_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_PAVILION_ROOF; + if(s=="DOME_ROOF") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_DOME_ROOF; + if(s=="FREEFORM") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_FREEFORM; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcRoofTypeEnum::IfcRoofType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSIPrefix::ToString(IfcSIPrefix v) { @@ -4030,22 +4030,22 @@ const char* IfcSIPrefix::ToString(IfcSIPrefix v) { return names[v]; } IfcSIPrefix::IfcSIPrefix IfcSIPrefix::FromString(const std::string& s) { - if(s=="EXA") return IfcSIPrefix::IfcSIPrefix_EXA; - if(s=="PETA") return IfcSIPrefix::IfcSIPrefix_PETA; - if(s=="TERA") return IfcSIPrefix::IfcSIPrefix_TERA; - if(s=="GIGA") return IfcSIPrefix::IfcSIPrefix_GIGA; - if(s=="MEGA") return IfcSIPrefix::IfcSIPrefix_MEGA; - if(s=="KILO") return IfcSIPrefix::IfcSIPrefix_KILO; - if(s=="HECTO") return IfcSIPrefix::IfcSIPrefix_HECTO; - if(s=="DECA") return IfcSIPrefix::IfcSIPrefix_DECA; - if(s=="DECI") return IfcSIPrefix::IfcSIPrefix_DECI; - if(s=="CENTI") return IfcSIPrefix::IfcSIPrefix_CENTI; - if(s=="MILLI") return IfcSIPrefix::IfcSIPrefix_MILLI; - if(s=="MICRO") return IfcSIPrefix::IfcSIPrefix_MICRO; - if(s=="NANO") return IfcSIPrefix::IfcSIPrefix_NANO; - if(s=="PICO") return IfcSIPrefix::IfcSIPrefix_PICO; - if(s=="FEMTO") return IfcSIPrefix::IfcSIPrefix_FEMTO; - if(s=="ATTO") return IfcSIPrefix::IfcSIPrefix_ATTO; + if(s=="EXA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_EXA; + if(s=="PETA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_PETA; + if(s=="TERA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_TERA; + if(s=="GIGA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_GIGA; + if(s=="MEGA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_MEGA; + if(s=="KILO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_KILO; + if(s=="HECTO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_HECTO; + if(s=="DECA") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_DECA; + if(s=="DECI") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_DECI; + if(s=="CENTI") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_CENTI; + if(s=="MILLI") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_MILLI; + if(s=="MICRO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_MICRO; + if(s=="NANO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_NANO; + if(s=="PICO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_PICO; + if(s=="FEMTO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_FEMTO; + if(s=="ATTO") return ::Ifc2x3::IfcSIPrefix::IfcSIPrefix_ATTO; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSIUnitName::ToString(IfcSIUnitName v) { @@ -4054,36 +4054,36 @@ const char* IfcSIUnitName::ToString(IfcSIUnitName v) { return names[v]; } IfcSIUnitName::IfcSIUnitName IfcSIUnitName::FromString(const std::string& s) { - if(s=="AMPERE") return IfcSIUnitName::IfcSIUnitName_AMPERE; - if(s=="BECQUEREL") return IfcSIUnitName::IfcSIUnitName_BECQUEREL; - if(s=="CANDELA") return IfcSIUnitName::IfcSIUnitName_CANDELA; - if(s=="COULOMB") return IfcSIUnitName::IfcSIUnitName_COULOMB; - if(s=="CUBIC_METRE") return IfcSIUnitName::IfcSIUnitName_CUBIC_METRE; - if(s=="DEGREE_CELSIUS") return IfcSIUnitName::IfcSIUnitName_DEGREE_CELSIUS; - if(s=="FARAD") return IfcSIUnitName::IfcSIUnitName_FARAD; - if(s=="GRAM") return IfcSIUnitName::IfcSIUnitName_GRAM; - if(s=="GRAY") return IfcSIUnitName::IfcSIUnitName_GRAY; - if(s=="HENRY") return IfcSIUnitName::IfcSIUnitName_HENRY; - if(s=="HERTZ") return IfcSIUnitName::IfcSIUnitName_HERTZ; - if(s=="JOULE") return IfcSIUnitName::IfcSIUnitName_JOULE; - if(s=="KELVIN") return IfcSIUnitName::IfcSIUnitName_KELVIN; - if(s=="LUMEN") return IfcSIUnitName::IfcSIUnitName_LUMEN; - if(s=="LUX") return IfcSIUnitName::IfcSIUnitName_LUX; - if(s=="METRE") return IfcSIUnitName::IfcSIUnitName_METRE; - if(s=="MOLE") return IfcSIUnitName::IfcSIUnitName_MOLE; - if(s=="NEWTON") return IfcSIUnitName::IfcSIUnitName_NEWTON; - if(s=="OHM") return IfcSIUnitName::IfcSIUnitName_OHM; - if(s=="PASCAL") return IfcSIUnitName::IfcSIUnitName_PASCAL; - if(s=="RADIAN") return IfcSIUnitName::IfcSIUnitName_RADIAN; - if(s=="SECOND") return IfcSIUnitName::IfcSIUnitName_SECOND; - if(s=="SIEMENS") return IfcSIUnitName::IfcSIUnitName_SIEMENS; - if(s=="SIEVERT") return IfcSIUnitName::IfcSIUnitName_SIEVERT; - if(s=="SQUARE_METRE") return IfcSIUnitName::IfcSIUnitName_SQUARE_METRE; - if(s=="STERADIAN") return IfcSIUnitName::IfcSIUnitName_STERADIAN; - if(s=="TESLA") return IfcSIUnitName::IfcSIUnitName_TESLA; - if(s=="VOLT") return IfcSIUnitName::IfcSIUnitName_VOLT; - if(s=="WATT") return IfcSIUnitName::IfcSIUnitName_WATT; - if(s=="WEBER") return IfcSIUnitName::IfcSIUnitName_WEBER; + if(s=="AMPERE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_AMPERE; + if(s=="BECQUEREL") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_BECQUEREL; + if(s=="CANDELA") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_CANDELA; + if(s=="COULOMB") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_COULOMB; + if(s=="CUBIC_METRE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_CUBIC_METRE; + if(s=="DEGREE_CELSIUS") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_DEGREE_CELSIUS; + if(s=="FARAD") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_FARAD; + if(s=="GRAM") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_GRAM; + if(s=="GRAY") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_GRAY; + if(s=="HENRY") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_HENRY; + if(s=="HERTZ") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_HERTZ; + if(s=="JOULE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_JOULE; + if(s=="KELVIN") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_KELVIN; + if(s=="LUMEN") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_LUMEN; + if(s=="LUX") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_LUX; + if(s=="METRE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_METRE; + if(s=="MOLE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_MOLE; + if(s=="NEWTON") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_NEWTON; + if(s=="OHM") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_OHM; + if(s=="PASCAL") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_PASCAL; + if(s=="RADIAN") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_RADIAN; + if(s=="SECOND") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_SECOND; + if(s=="SIEMENS") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_SIEMENS; + if(s=="SIEVERT") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_SIEVERT; + if(s=="SQUARE_METRE") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_SQUARE_METRE; + if(s=="STERADIAN") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_STERADIAN; + if(s=="TESLA") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_TESLA; + if(s=="VOLT") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_VOLT; + if(s=="WATT") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_WATT; + if(s=="WEBER") return ::Ifc2x3::IfcSIUnitName::IfcSIUnitName_WEBER; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSanitaryTerminalTypeEnum::ToString(IfcSanitaryTerminalTypeEnum v) { @@ -4092,18 +4092,18 @@ const char* IfcSanitaryTerminalTypeEnum::ToString(IfcSanitaryTerminalTypeEnum v) return names[v]; } IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum IfcSanitaryTerminalTypeEnum::FromString(const std::string& s) { - if(s=="BATH") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_BATH; - if(s=="BIDET") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_BIDET; - if(s=="CISTERN") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_CISTERN; - if(s=="SHOWER") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SHOWER; - if(s=="SINK") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SINK; - if(s=="SANITARYFOUNTAIN") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SANITARYFOUNTAIN; - if(s=="TOILETPAN") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_TOILETPAN; - if(s=="URINAL") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_URINAL; - if(s=="WASHHANDBASIN") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_WASHHANDBASIN; - if(s=="WCSEAT") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_WCSEAT; - if(s=="USERDEFINED") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_NOTDEFINED; + if(s=="BATH") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_BATH; + if(s=="BIDET") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_BIDET; + if(s=="CISTERN") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_CISTERN; + if(s=="SHOWER") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SHOWER; + if(s=="SINK") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SINK; + if(s=="SANITARYFOUNTAIN") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_SANITARYFOUNTAIN; + if(s=="TOILETPAN") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_TOILETPAN; + if(s=="URINAL") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_URINAL; + if(s=="WASHHANDBASIN") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_WASHHANDBASIN; + if(s=="WCSEAT") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_WCSEAT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSectionTypeEnum::ToString(IfcSectionTypeEnum v) { @@ -4112,8 +4112,8 @@ const char* IfcSectionTypeEnum::ToString(IfcSectionTypeEnum v) { return names[v]; } IfcSectionTypeEnum::IfcSectionTypeEnum IfcSectionTypeEnum::FromString(const std::string& s) { - if(s=="UNIFORM") return IfcSectionTypeEnum::IfcSectionType_UNIFORM; - if(s=="TAPERED") return IfcSectionTypeEnum::IfcSectionType_TAPERED; + if(s=="UNIFORM") return ::Ifc2x3::IfcSectionTypeEnum::IfcSectionType_UNIFORM; + if(s=="TAPERED") return ::Ifc2x3::IfcSectionTypeEnum::IfcSectionType_TAPERED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSensorTypeEnum::ToString(IfcSensorTypeEnum v) { @@ -4122,21 +4122,21 @@ const char* IfcSensorTypeEnum::ToString(IfcSensorTypeEnum v) { return names[v]; } IfcSensorTypeEnum::IfcSensorTypeEnum IfcSensorTypeEnum::FromString(const std::string& s) { - if(s=="CO2SENSOR") return IfcSensorTypeEnum::IfcSensorType_CO2SENSOR; - if(s=="FIRESENSOR") return IfcSensorTypeEnum::IfcSensorType_FIRESENSOR; - if(s=="FLOWSENSOR") return IfcSensorTypeEnum::IfcSensorType_FLOWSENSOR; - if(s=="GASSENSOR") return IfcSensorTypeEnum::IfcSensorType_GASSENSOR; - if(s=="HEATSENSOR") return IfcSensorTypeEnum::IfcSensorType_HEATSENSOR; - if(s=="HUMIDITYSENSOR") return IfcSensorTypeEnum::IfcSensorType_HUMIDITYSENSOR; - if(s=="LIGHTSENSOR") return IfcSensorTypeEnum::IfcSensorType_LIGHTSENSOR; - if(s=="MOISTURESENSOR") return IfcSensorTypeEnum::IfcSensorType_MOISTURESENSOR; - if(s=="MOVEMENTSENSOR") return IfcSensorTypeEnum::IfcSensorType_MOVEMENTSENSOR; - if(s=="PRESSURESENSOR") return IfcSensorTypeEnum::IfcSensorType_PRESSURESENSOR; - if(s=="SMOKESENSOR") return IfcSensorTypeEnum::IfcSensorType_SMOKESENSOR; - if(s=="SOUNDSENSOR") return IfcSensorTypeEnum::IfcSensorType_SOUNDSENSOR; - if(s=="TEMPERATURESENSOR") return IfcSensorTypeEnum::IfcSensorType_TEMPERATURESENSOR; - if(s=="USERDEFINED") return IfcSensorTypeEnum::IfcSensorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSensorTypeEnum::IfcSensorType_NOTDEFINED; + if(s=="CO2SENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_CO2SENSOR; + if(s=="FIRESENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_FIRESENSOR; + if(s=="FLOWSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_FLOWSENSOR; + if(s=="GASSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_GASSENSOR; + if(s=="HEATSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_HEATSENSOR; + if(s=="HUMIDITYSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_HUMIDITYSENSOR; + if(s=="LIGHTSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_LIGHTSENSOR; + if(s=="MOISTURESENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_MOISTURESENSOR; + if(s=="MOVEMENTSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_MOVEMENTSENSOR; + if(s=="PRESSURESENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_PRESSURESENSOR; + if(s=="SMOKESENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_SMOKESENSOR; + if(s=="SOUNDSENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_SOUNDSENSOR; + if(s=="TEMPERATURESENSOR") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_TEMPERATURESENSOR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSensorTypeEnum::IfcSensorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSequenceEnum::ToString(IfcSequenceEnum v) { @@ -4145,11 +4145,11 @@ const char* IfcSequenceEnum::ToString(IfcSequenceEnum v) { return names[v]; } IfcSequenceEnum::IfcSequenceEnum IfcSequenceEnum::FromString(const std::string& s) { - if(s=="START_START") return IfcSequenceEnum::IfcSequence_START_START; - if(s=="START_FINISH") return IfcSequenceEnum::IfcSequence_START_FINISH; - if(s=="FINISH_START") return IfcSequenceEnum::IfcSequence_FINISH_START; - if(s=="FINISH_FINISH") return IfcSequenceEnum::IfcSequence_FINISH_FINISH; - if(s=="NOTDEFINED") return IfcSequenceEnum::IfcSequence_NOTDEFINED; + if(s=="START_START") return ::Ifc2x3::IfcSequenceEnum::IfcSequence_START_START; + if(s=="START_FINISH") return ::Ifc2x3::IfcSequenceEnum::IfcSequence_START_FINISH; + if(s=="FINISH_START") return ::Ifc2x3::IfcSequenceEnum::IfcSequence_FINISH_START; + if(s=="FINISH_FINISH") return ::Ifc2x3::IfcSequenceEnum::IfcSequence_FINISH_FINISH; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSequenceEnum::IfcSequence_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcServiceLifeFactorTypeEnum::ToString(IfcServiceLifeFactorTypeEnum v) { @@ -4158,15 +4158,15 @@ const char* IfcServiceLifeFactorTypeEnum::ToString(IfcServiceLifeFactorTypeEnum return names[v]; } IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum IfcServiceLifeFactorTypeEnum::FromString(const std::string& s) { - if(s=="A_QUALITYOFCOMPONENTS") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_A_QUALITYOFCOMPONENTS; - if(s=="B_DESIGNLEVEL") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_B_DESIGNLEVEL; - if(s=="C_WORKEXECUTIONLEVEL") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_C_WORKEXECUTIONLEVEL; - if(s=="D_INDOORENVIRONMENT") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_D_INDOORENVIRONMENT; - if(s=="E_OUTDOORENVIRONMENT") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_E_OUTDOORENVIRONMENT; - if(s=="F_INUSECONDITIONS") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_F_INUSECONDITIONS; - if(s=="G_MAINTENANCELEVEL") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_G_MAINTENANCELEVEL; - if(s=="USERDEFINED") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_NOTDEFINED; + if(s=="A_QUALITYOFCOMPONENTS") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_A_QUALITYOFCOMPONENTS; + if(s=="B_DESIGNLEVEL") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_B_DESIGNLEVEL; + if(s=="C_WORKEXECUTIONLEVEL") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_C_WORKEXECUTIONLEVEL; + if(s=="D_INDOORENVIRONMENT") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_D_INDOORENVIRONMENT; + if(s=="E_OUTDOORENVIRONMENT") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_E_OUTDOORENVIRONMENT; + if(s=="F_INUSECONDITIONS") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_F_INUSECONDITIONS; + if(s=="G_MAINTENANCELEVEL") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_G_MAINTENANCELEVEL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcServiceLifeTypeEnum::ToString(IfcServiceLifeTypeEnum v) { @@ -4175,11 +4175,11 @@ const char* IfcServiceLifeTypeEnum::ToString(IfcServiceLifeTypeEnum v) { return names[v]; } IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum IfcServiceLifeTypeEnum::FromString(const std::string& s) { - if(s=="ACTUALSERVICELIFE") return IfcServiceLifeTypeEnum::IfcServiceLifeType_ACTUALSERVICELIFE; - if(s=="EXPECTEDSERVICELIFE") return IfcServiceLifeTypeEnum::IfcServiceLifeType_EXPECTEDSERVICELIFE; - if(s=="OPTIMISTICREFERENCESERVICELIFE") return IfcServiceLifeTypeEnum::IfcServiceLifeType_OPTIMISTICREFERENCESERVICELIFE; - if(s=="PESSIMISTICREFERENCESERVICELIFE") return IfcServiceLifeTypeEnum::IfcServiceLifeType_PESSIMISTICREFERENCESERVICELIFE; - if(s=="REFERENCESERVICELIFE") return IfcServiceLifeTypeEnum::IfcServiceLifeType_REFERENCESERVICELIFE; + if(s=="ACTUALSERVICELIFE") return ::Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeType_ACTUALSERVICELIFE; + if(s=="EXPECTEDSERVICELIFE") return ::Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeType_EXPECTEDSERVICELIFE; + if(s=="OPTIMISTICREFERENCESERVICELIFE") return ::Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeType_OPTIMISTICREFERENCESERVICELIFE; + if(s=="PESSIMISTICREFERENCESERVICELIFE") return ::Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeType_PESSIMISTICREFERENCESERVICELIFE; + if(s=="REFERENCESERVICELIFE") return ::Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeType_REFERENCESERVICELIFE; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSlabTypeEnum::ToString(IfcSlabTypeEnum v) { @@ -4188,12 +4188,12 @@ const char* IfcSlabTypeEnum::ToString(IfcSlabTypeEnum v) { return names[v]; } IfcSlabTypeEnum::IfcSlabTypeEnum IfcSlabTypeEnum::FromString(const std::string& s) { - if(s=="FLOOR") return IfcSlabTypeEnum::IfcSlabType_FLOOR; - if(s=="ROOF") return IfcSlabTypeEnum::IfcSlabType_ROOF; - if(s=="LANDING") return IfcSlabTypeEnum::IfcSlabType_LANDING; - if(s=="BASESLAB") return IfcSlabTypeEnum::IfcSlabType_BASESLAB; - if(s=="USERDEFINED") return IfcSlabTypeEnum::IfcSlabType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSlabTypeEnum::IfcSlabType_NOTDEFINED; + if(s=="FLOOR") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_FLOOR; + if(s=="ROOF") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_ROOF; + if(s=="LANDING") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_LANDING; + if(s=="BASESLAB") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_BASESLAB; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSlabTypeEnum::IfcSlabType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSoundScaleEnum::ToString(IfcSoundScaleEnum v) { @@ -4202,13 +4202,13 @@ const char* IfcSoundScaleEnum::ToString(IfcSoundScaleEnum v) { return names[v]; } IfcSoundScaleEnum::IfcSoundScaleEnum IfcSoundScaleEnum::FromString(const std::string& s) { - if(s=="DBA") return IfcSoundScaleEnum::IfcSoundScale_DBA; - if(s=="DBB") return IfcSoundScaleEnum::IfcSoundScale_DBB; - if(s=="DBC") return IfcSoundScaleEnum::IfcSoundScale_DBC; - if(s=="NC") return IfcSoundScaleEnum::IfcSoundScale_NC; - if(s=="NR") return IfcSoundScaleEnum::IfcSoundScale_NR; - if(s=="USERDEFINED") return IfcSoundScaleEnum::IfcSoundScale_USERDEFINED; - if(s=="NOTDEFINED") return IfcSoundScaleEnum::IfcSoundScale_NOTDEFINED; + if(s=="DBA") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_DBA; + if(s=="DBB") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_DBB; + if(s=="DBC") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_DBC; + if(s=="NC") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_NC; + if(s=="NR") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_NR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSoundScaleEnum::IfcSoundScale_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSpaceHeaterTypeEnum::ToString(IfcSpaceHeaterTypeEnum v) { @@ -4217,15 +4217,15 @@ const char* IfcSpaceHeaterTypeEnum::ToString(IfcSpaceHeaterTypeEnum v) { return names[v]; } IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum IfcSpaceHeaterTypeEnum::FromString(const std::string& s) { - if(s=="SECTIONALRADIATOR") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_SECTIONALRADIATOR; - if(s=="PANELRADIATOR") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_PANELRADIATOR; - if(s=="TUBULARRADIATOR") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_TUBULARRADIATOR; - if(s=="CONVECTOR") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_CONVECTOR; - if(s=="BASEBOARDHEATER") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_BASEBOARDHEATER; - if(s=="FINNEDTUBEUNIT") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_FINNEDTUBEUNIT; - if(s=="UNITHEATER") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_UNITHEATER; - if(s=="USERDEFINED") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_NOTDEFINED; + if(s=="SECTIONALRADIATOR") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_SECTIONALRADIATOR; + if(s=="PANELRADIATOR") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_PANELRADIATOR; + if(s=="TUBULARRADIATOR") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_TUBULARRADIATOR; + if(s=="CONVECTOR") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_CONVECTOR; + if(s=="BASEBOARDHEATER") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_BASEBOARDHEATER; + if(s=="FINNEDTUBEUNIT") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_FINNEDTUBEUNIT; + if(s=="UNITHEATER") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_UNITHEATER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSpaceTypeEnum::ToString(IfcSpaceTypeEnum v) { @@ -4234,8 +4234,8 @@ const char* IfcSpaceTypeEnum::ToString(IfcSpaceTypeEnum v) { return names[v]; } IfcSpaceTypeEnum::IfcSpaceTypeEnum IfcSpaceTypeEnum::FromString(const std::string& s) { - if(s=="USERDEFINED") return IfcSpaceTypeEnum::IfcSpaceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSpaceTypeEnum::IfcSpaceType_NOTDEFINED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSpaceTypeEnum::IfcSpaceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSpaceTypeEnum::IfcSpaceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStackTerminalTypeEnum::ToString(IfcStackTerminalTypeEnum v) { @@ -4244,11 +4244,11 @@ const char* IfcStackTerminalTypeEnum::ToString(IfcStackTerminalTypeEnum v) { return names[v]; } IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum IfcStackTerminalTypeEnum::FromString(const std::string& s) { - if(s=="BIRDCAGE") return IfcStackTerminalTypeEnum::IfcStackTerminalType_BIRDCAGE; - if(s=="COWL") return IfcStackTerminalTypeEnum::IfcStackTerminalType_COWL; - if(s=="RAINWATERHOPPER") return IfcStackTerminalTypeEnum::IfcStackTerminalType_RAINWATERHOPPER; - if(s=="USERDEFINED") return IfcStackTerminalTypeEnum::IfcStackTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcStackTerminalTypeEnum::IfcStackTerminalType_NOTDEFINED; + if(s=="BIRDCAGE") return ::Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalType_BIRDCAGE; + if(s=="COWL") return ::Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalType_COWL; + if(s=="RAINWATERHOPPER") return ::Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalType_RAINWATERHOPPER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStairFlightTypeEnum::ToString(IfcStairFlightTypeEnum v) { @@ -4257,13 +4257,13 @@ const char* IfcStairFlightTypeEnum::ToString(IfcStairFlightTypeEnum v) { return names[v]; } IfcStairFlightTypeEnum::IfcStairFlightTypeEnum IfcStairFlightTypeEnum::FromString(const std::string& s) { - if(s=="STRAIGHT") return IfcStairFlightTypeEnum::IfcStairFlightType_STRAIGHT; - if(s=="WINDER") return IfcStairFlightTypeEnum::IfcStairFlightType_WINDER; - if(s=="SPIRAL") return IfcStairFlightTypeEnum::IfcStairFlightType_SPIRAL; - if(s=="CURVED") return IfcStairFlightTypeEnum::IfcStairFlightType_CURVED; - if(s=="FREEFORM") return IfcStairFlightTypeEnum::IfcStairFlightType_FREEFORM; - if(s=="USERDEFINED") return IfcStairFlightTypeEnum::IfcStairFlightType_USERDEFINED; - if(s=="NOTDEFINED") return IfcStairFlightTypeEnum::IfcStairFlightType_NOTDEFINED; + if(s=="STRAIGHT") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_STRAIGHT; + if(s=="WINDER") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_WINDER; + if(s=="SPIRAL") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_SPIRAL; + if(s=="CURVED") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_CURVED; + if(s=="FREEFORM") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_FREEFORM; + if(s=="USERDEFINED") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStairTypeEnum::ToString(IfcStairTypeEnum v) { @@ -4272,22 +4272,22 @@ const char* IfcStairTypeEnum::ToString(IfcStairTypeEnum v) { return names[v]; } IfcStairTypeEnum::IfcStairTypeEnum IfcStairTypeEnum::FromString(const std::string& s) { - if(s=="STRAIGHT_RUN_STAIR") return IfcStairTypeEnum::IfcStairType_STRAIGHT_RUN_STAIR; - if(s=="TWO_STRAIGHT_RUN_STAIR") return IfcStairTypeEnum::IfcStairType_TWO_STRAIGHT_RUN_STAIR; - if(s=="QUARTER_WINDING_STAIR") return IfcStairTypeEnum::IfcStairType_QUARTER_WINDING_STAIR; - if(s=="QUARTER_TURN_STAIR") return IfcStairTypeEnum::IfcStairType_QUARTER_TURN_STAIR; - if(s=="HALF_WINDING_STAIR") return IfcStairTypeEnum::IfcStairType_HALF_WINDING_STAIR; - if(s=="HALF_TURN_STAIR") return IfcStairTypeEnum::IfcStairType_HALF_TURN_STAIR; - if(s=="TWO_QUARTER_WINDING_STAIR") return IfcStairTypeEnum::IfcStairType_TWO_QUARTER_WINDING_STAIR; - if(s=="TWO_QUARTER_TURN_STAIR") return IfcStairTypeEnum::IfcStairType_TWO_QUARTER_TURN_STAIR; - if(s=="THREE_QUARTER_WINDING_STAIR") return IfcStairTypeEnum::IfcStairType_THREE_QUARTER_WINDING_STAIR; - if(s=="THREE_QUARTER_TURN_STAIR") return IfcStairTypeEnum::IfcStairType_THREE_QUARTER_TURN_STAIR; - if(s=="SPIRAL_STAIR") return IfcStairTypeEnum::IfcStairType_SPIRAL_STAIR; - if(s=="DOUBLE_RETURN_STAIR") return IfcStairTypeEnum::IfcStairType_DOUBLE_RETURN_STAIR; - if(s=="CURVED_RUN_STAIR") return IfcStairTypeEnum::IfcStairType_CURVED_RUN_STAIR; - if(s=="TWO_CURVED_RUN_STAIR") return IfcStairTypeEnum::IfcStairType_TWO_CURVED_RUN_STAIR; - if(s=="USERDEFINED") return IfcStairTypeEnum::IfcStairType_USERDEFINED; - if(s=="NOTDEFINED") return IfcStairTypeEnum::IfcStairType_NOTDEFINED; + if(s=="STRAIGHT_RUN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_STRAIGHT_RUN_STAIR; + if(s=="TWO_STRAIGHT_RUN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_TWO_STRAIGHT_RUN_STAIR; + if(s=="QUARTER_WINDING_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_QUARTER_WINDING_STAIR; + if(s=="QUARTER_TURN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_QUARTER_TURN_STAIR; + if(s=="HALF_WINDING_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_HALF_WINDING_STAIR; + if(s=="HALF_TURN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_HALF_TURN_STAIR; + if(s=="TWO_QUARTER_WINDING_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_TWO_QUARTER_WINDING_STAIR; + if(s=="TWO_QUARTER_TURN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_TWO_QUARTER_TURN_STAIR; + if(s=="THREE_QUARTER_WINDING_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_THREE_QUARTER_WINDING_STAIR; + if(s=="THREE_QUARTER_TURN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_THREE_QUARTER_TURN_STAIR; + if(s=="SPIRAL_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_SPIRAL_STAIR; + if(s=="DOUBLE_RETURN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_DOUBLE_RETURN_STAIR; + if(s=="CURVED_RUN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_CURVED_RUN_STAIR; + if(s=="TWO_CURVED_RUN_STAIR") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_TWO_CURVED_RUN_STAIR; + if(s=="USERDEFINED") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcStairTypeEnum::IfcStairType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStateEnum::ToString(IfcStateEnum v) { @@ -4296,11 +4296,11 @@ const char* IfcStateEnum::ToString(IfcStateEnum v) { return names[v]; } IfcStateEnum::IfcStateEnum IfcStateEnum::FromString(const std::string& s) { - if(s=="READWRITE") return IfcStateEnum::IfcState_READWRITE; - if(s=="READONLY") return IfcStateEnum::IfcState_READONLY; - if(s=="LOCKED") return IfcStateEnum::IfcState_LOCKED; - if(s=="READWRITELOCKED") return IfcStateEnum::IfcState_READWRITELOCKED; - if(s=="READONLYLOCKED") return IfcStateEnum::IfcState_READONLYLOCKED; + if(s=="READWRITE") return ::Ifc2x3::IfcStateEnum::IfcState_READWRITE; + if(s=="READONLY") return ::Ifc2x3::IfcStateEnum::IfcState_READONLY; + if(s=="LOCKED") return ::Ifc2x3::IfcStateEnum::IfcState_LOCKED; + if(s=="READWRITELOCKED") return ::Ifc2x3::IfcStateEnum::IfcState_READWRITELOCKED; + if(s=="READONLYLOCKED") return ::Ifc2x3::IfcStateEnum::IfcState_READONLYLOCKED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStructuralCurveTypeEnum::ToString(IfcStructuralCurveTypeEnum v) { @@ -4309,13 +4309,13 @@ const char* IfcStructuralCurveTypeEnum::ToString(IfcStructuralCurveTypeEnum v) { return names[v]; } IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum IfcStructuralCurveTypeEnum::FromString(const std::string& s) { - if(s=="RIGID_JOINED_MEMBER") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_RIGID_JOINED_MEMBER; - if(s=="PIN_JOINED_MEMBER") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_PIN_JOINED_MEMBER; - if(s=="CABLE") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_CABLE; - if(s=="TENSION_MEMBER") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_TENSION_MEMBER; - if(s=="COMPRESSION_MEMBER") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_COMPRESSION_MEMBER; - if(s=="USERDEFINED") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_USERDEFINED; - if(s=="NOTDEFINED") return IfcStructuralCurveTypeEnum::IfcStructuralCurveType_NOTDEFINED; + if(s=="RIGID_JOINED_MEMBER") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_RIGID_JOINED_MEMBER; + if(s=="PIN_JOINED_MEMBER") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_PIN_JOINED_MEMBER; + if(s=="CABLE") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_CABLE; + if(s=="TENSION_MEMBER") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_TENSION_MEMBER; + if(s=="COMPRESSION_MEMBER") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_COMPRESSION_MEMBER; + if(s=="USERDEFINED") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcStructuralSurfaceTypeEnum::ToString(IfcStructuralSurfaceTypeEnum v) { @@ -4324,11 +4324,11 @@ const char* IfcStructuralSurfaceTypeEnum::ToString(IfcStructuralSurfaceTypeEnum return names[v]; } IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum IfcStructuralSurfaceTypeEnum::FromString(const std::string& s) { - if(s=="BENDING_ELEMENT") return IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_BENDING_ELEMENT; - if(s=="MEMBRANE_ELEMENT") return IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_MEMBRANE_ELEMENT; - if(s=="SHELL") return IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_SHELL; - if(s=="USERDEFINED") return IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_NOTDEFINED; + if(s=="BENDING_ELEMENT") return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_BENDING_ELEMENT; + if(s=="MEMBRANE_ELEMENT") return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_MEMBRANE_ELEMENT; + if(s=="SHELL") return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_SHELL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSurfaceSide::ToString(IfcSurfaceSide v) { @@ -4337,9 +4337,9 @@ const char* IfcSurfaceSide::ToString(IfcSurfaceSide v) { return names[v]; } IfcSurfaceSide::IfcSurfaceSide IfcSurfaceSide::FromString(const std::string& s) { - if(s=="POSITIVE") return IfcSurfaceSide::IfcSurfaceSide_POSITIVE; - if(s=="NEGATIVE") return IfcSurfaceSide::IfcSurfaceSide_NEGATIVE; - if(s=="BOTH") return IfcSurfaceSide::IfcSurfaceSide_BOTH; + if(s=="POSITIVE") return ::Ifc2x3::IfcSurfaceSide::IfcSurfaceSide_POSITIVE; + if(s=="NEGATIVE") return ::Ifc2x3::IfcSurfaceSide::IfcSurfaceSide_NEGATIVE; + if(s=="BOTH") return ::Ifc2x3::IfcSurfaceSide::IfcSurfaceSide_BOTH; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSurfaceTextureEnum::ToString(IfcSurfaceTextureEnum v) { @@ -4348,15 +4348,15 @@ const char* IfcSurfaceTextureEnum::ToString(IfcSurfaceTextureEnum v) { return names[v]; } IfcSurfaceTextureEnum::IfcSurfaceTextureEnum IfcSurfaceTextureEnum::FromString(const std::string& s) { - if(s=="BUMP") return IfcSurfaceTextureEnum::IfcSurfaceTexture_BUMP; - if(s=="OPACITY") return IfcSurfaceTextureEnum::IfcSurfaceTexture_OPACITY; - if(s=="REFLECTION") return IfcSurfaceTextureEnum::IfcSurfaceTexture_REFLECTION; - if(s=="SELFILLUMINATION") return IfcSurfaceTextureEnum::IfcSurfaceTexture_SELFILLUMINATION; - if(s=="SHININESS") return IfcSurfaceTextureEnum::IfcSurfaceTexture_SHININESS; - if(s=="SPECULAR") return IfcSurfaceTextureEnum::IfcSurfaceTexture_SPECULAR; - if(s=="TEXTURE") return IfcSurfaceTextureEnum::IfcSurfaceTexture_TEXTURE; - if(s=="TRANSPARENCYMAP") return IfcSurfaceTextureEnum::IfcSurfaceTexture_TRANSPARENCYMAP; - if(s=="NOTDEFINED") return IfcSurfaceTextureEnum::IfcSurfaceTexture_NOTDEFINED; + if(s=="BUMP") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_BUMP; + if(s=="OPACITY") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_OPACITY; + if(s=="REFLECTION") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_REFLECTION; + if(s=="SELFILLUMINATION") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_SELFILLUMINATION; + if(s=="SHININESS") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_SHININESS; + if(s=="SPECULAR") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_SPECULAR; + if(s=="TEXTURE") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_TEXTURE; + if(s=="TRANSPARENCYMAP") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_TRANSPARENCYMAP; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTexture_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcSwitchingDeviceTypeEnum::ToString(IfcSwitchingDeviceTypeEnum v) { @@ -4365,13 +4365,13 @@ const char* IfcSwitchingDeviceTypeEnum::ToString(IfcSwitchingDeviceTypeEnum v) { return names[v]; } IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum IfcSwitchingDeviceTypeEnum::FromString(const std::string& s) { - if(s=="CONTACTOR") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_CONTACTOR; - if(s=="EMERGENCYSTOP") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_EMERGENCYSTOP; - if(s=="STARTER") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_STARTER; - if(s=="SWITCHDISCONNECTOR") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_SWITCHDISCONNECTOR; - if(s=="TOGGLESWITCH") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_TOGGLESWITCH; - if(s=="USERDEFINED") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_USERDEFINED; - if(s=="NOTDEFINED") return IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_NOTDEFINED; + if(s=="CONTACTOR") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_CONTACTOR; + if(s=="EMERGENCYSTOP") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_EMERGENCYSTOP; + if(s=="STARTER") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_STARTER; + if(s=="SWITCHDISCONNECTOR") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_SWITCHDISCONNECTOR; + if(s=="TOGGLESWITCH") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_TOGGLESWITCH; + if(s=="USERDEFINED") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTankTypeEnum::ToString(IfcTankTypeEnum v) { @@ -4380,12 +4380,12 @@ const char* IfcTankTypeEnum::ToString(IfcTankTypeEnum v) { return names[v]; } IfcTankTypeEnum::IfcTankTypeEnum IfcTankTypeEnum::FromString(const std::string& s) { - if(s=="PREFORMED") return IfcTankTypeEnum::IfcTankType_PREFORMED; - if(s=="SECTIONAL") return IfcTankTypeEnum::IfcTankType_SECTIONAL; - if(s=="EXPANSION") return IfcTankTypeEnum::IfcTankType_EXPANSION; - if(s=="PRESSUREVESSEL") return IfcTankTypeEnum::IfcTankType_PRESSUREVESSEL; - if(s=="USERDEFINED") return IfcTankTypeEnum::IfcTankType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTankTypeEnum::IfcTankType_NOTDEFINED; + if(s=="PREFORMED") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_PREFORMED; + if(s=="SECTIONAL") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_SECTIONAL; + if(s=="EXPANSION") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_EXPANSION; + if(s=="PRESSUREVESSEL") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_PRESSUREVESSEL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTankTypeEnum::IfcTankType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTendonTypeEnum::ToString(IfcTendonTypeEnum v) { @@ -4394,12 +4394,12 @@ const char* IfcTendonTypeEnum::ToString(IfcTendonTypeEnum v) { return names[v]; } IfcTendonTypeEnum::IfcTendonTypeEnum IfcTendonTypeEnum::FromString(const std::string& s) { - if(s=="STRAND") return IfcTendonTypeEnum::IfcTendonType_STRAND; - if(s=="WIRE") return IfcTendonTypeEnum::IfcTendonType_WIRE; - if(s=="BAR") return IfcTendonTypeEnum::IfcTendonType_BAR; - if(s=="COATED") return IfcTendonTypeEnum::IfcTendonType_COATED; - if(s=="USERDEFINED") return IfcTendonTypeEnum::IfcTendonType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTendonTypeEnum::IfcTendonType_NOTDEFINED; + if(s=="STRAND") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_STRAND; + if(s=="WIRE") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_WIRE; + if(s=="BAR") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_BAR; + if(s=="COATED") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_COATED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTendonTypeEnum::IfcTendonType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTextPath::ToString(IfcTextPath v) { @@ -4408,10 +4408,10 @@ const char* IfcTextPath::ToString(IfcTextPath v) { return names[v]; } IfcTextPath::IfcTextPath IfcTextPath::FromString(const std::string& s) { - if(s=="LEFT") return IfcTextPath::IfcTextPath_LEFT; - if(s=="RIGHT") return IfcTextPath::IfcTextPath_RIGHT; - if(s=="UP") return IfcTextPath::IfcTextPath_UP; - if(s=="DOWN") return IfcTextPath::IfcTextPath_DOWN; + if(s=="LEFT") return ::Ifc2x3::IfcTextPath::IfcTextPath_LEFT; + if(s=="RIGHT") return ::Ifc2x3::IfcTextPath::IfcTextPath_RIGHT; + if(s=="UP") return ::Ifc2x3::IfcTextPath::IfcTextPath_UP; + if(s=="DOWN") return ::Ifc2x3::IfcTextPath::IfcTextPath_DOWN; throw IfcException("Unable to find find keyword in schema"); } const char* IfcThermalLoadSourceEnum::ToString(IfcThermalLoadSourceEnum v) { @@ -4420,19 +4420,19 @@ const char* IfcThermalLoadSourceEnum::ToString(IfcThermalLoadSourceEnum v) { return names[v]; } IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum IfcThermalLoadSourceEnum::FromString(const std::string& s) { - if(s=="PEOPLE") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_PEOPLE; - if(s=="LIGHTING") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_LIGHTING; - if(s=="EQUIPMENT") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_EQUIPMENT; - if(s=="VENTILATIONINDOORAIR") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_VENTILATIONINDOORAIR; - if(s=="VENTILATIONOUTSIDEAIR") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_VENTILATIONOUTSIDEAIR; - if(s=="RECIRCULATEDAIR") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_RECIRCULATEDAIR; - if(s=="EXHAUSTAIR") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_EXHAUSTAIR; - if(s=="AIREXCHANGERATE") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_AIREXCHANGERATE; - if(s=="DRYBULBTEMPERATURE") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_DRYBULBTEMPERATURE; - if(s=="RELATIVEHUMIDITY") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_RELATIVEHUMIDITY; - if(s=="INFILTRATION") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_INFILTRATION; - if(s=="USERDEFINED") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_USERDEFINED; - if(s=="NOTDEFINED") return IfcThermalLoadSourceEnum::IfcThermalLoadSource_NOTDEFINED; + if(s=="PEOPLE") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_PEOPLE; + if(s=="LIGHTING") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_LIGHTING; + if(s=="EQUIPMENT") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_EQUIPMENT; + if(s=="VENTILATIONINDOORAIR") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_VENTILATIONINDOORAIR; + if(s=="VENTILATIONOUTSIDEAIR") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_VENTILATIONOUTSIDEAIR; + if(s=="RECIRCULATEDAIR") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_RECIRCULATEDAIR; + if(s=="EXHAUSTAIR") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_EXHAUSTAIR; + if(s=="AIREXCHANGERATE") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_AIREXCHANGERATE; + if(s=="DRYBULBTEMPERATURE") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_DRYBULBTEMPERATURE; + if(s=="RELATIVEHUMIDITY") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_RELATIVEHUMIDITY; + if(s=="INFILTRATION") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_INFILTRATION; + if(s=="USERDEFINED") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSource_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcThermalLoadTypeEnum::ToString(IfcThermalLoadTypeEnum v) { @@ -4441,10 +4441,10 @@ const char* IfcThermalLoadTypeEnum::ToString(IfcThermalLoadTypeEnum v) { return names[v]; } IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum IfcThermalLoadTypeEnum::FromString(const std::string& s) { - if(s=="SENSIBLE") return IfcThermalLoadTypeEnum::IfcThermalLoadType_SENSIBLE; - if(s=="LATENT") return IfcThermalLoadTypeEnum::IfcThermalLoadType_LATENT; - if(s=="RADIANT") return IfcThermalLoadTypeEnum::IfcThermalLoadType_RADIANT; - if(s=="NOTDEFINED") return IfcThermalLoadTypeEnum::IfcThermalLoadType_NOTDEFINED; + if(s=="SENSIBLE") return ::Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadType_SENSIBLE; + if(s=="LATENT") return ::Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadType_LATENT; + if(s=="RADIANT") return ::Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadType_RADIANT; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTimeSeriesDataTypeEnum::ToString(IfcTimeSeriesDataTypeEnum v) { @@ -4453,13 +4453,13 @@ const char* IfcTimeSeriesDataTypeEnum::ToString(IfcTimeSeriesDataTypeEnum v) { return names[v]; } IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum IfcTimeSeriesDataTypeEnum::FromString(const std::string& s) { - if(s=="CONTINUOUS") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_CONTINUOUS; - if(s=="DISCRETE") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_DISCRETE; - if(s=="DISCRETEBINARY") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_DISCRETEBINARY; - if(s=="PIECEWISEBINARY") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISEBINARY; - if(s=="PIECEWISECONSTANT") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISECONSTANT; - if(s=="PIECEWISECONTINUOUS") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISECONTINUOUS; - if(s=="NOTDEFINED") return IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_NOTDEFINED; + if(s=="CONTINUOUS") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_CONTINUOUS; + if(s=="DISCRETE") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_DISCRETE; + if(s=="DISCRETEBINARY") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_DISCRETEBINARY; + if(s=="PIECEWISEBINARY") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISEBINARY; + if(s=="PIECEWISECONSTANT") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISECONSTANT; + if(s=="PIECEWISECONTINUOUS") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_PIECEWISECONTINUOUS; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTimeSeriesScheduleTypeEnum::ToString(IfcTimeSeriesScheduleTypeEnum v) { @@ -4468,12 +4468,12 @@ const char* IfcTimeSeriesScheduleTypeEnum::ToString(IfcTimeSeriesScheduleTypeEnu return names[v]; } IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum IfcTimeSeriesScheduleTypeEnum::FromString(const std::string& s) { - if(s=="ANNUAL") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_ANNUAL; - if(s=="MONTHLY") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_MONTHLY; - if(s=="WEEKLY") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_WEEKLY; - if(s=="DAILY") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_DAILY; - if(s=="USERDEFINED") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_NOTDEFINED; + if(s=="ANNUAL") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_ANNUAL; + if(s=="MONTHLY") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_MONTHLY; + if(s=="WEEKLY") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_WEEKLY; + if(s=="DAILY") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_DAILY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTransformerTypeEnum::ToString(IfcTransformerTypeEnum v) { @@ -4482,11 +4482,11 @@ const char* IfcTransformerTypeEnum::ToString(IfcTransformerTypeEnum v) { return names[v]; } IfcTransformerTypeEnum::IfcTransformerTypeEnum IfcTransformerTypeEnum::FromString(const std::string& s) { - if(s=="CURRENT") return IfcTransformerTypeEnum::IfcTransformerType_CURRENT; - if(s=="FREQUENCY") return IfcTransformerTypeEnum::IfcTransformerType_FREQUENCY; - if(s=="VOLTAGE") return IfcTransformerTypeEnum::IfcTransformerType_VOLTAGE; - if(s=="USERDEFINED") return IfcTransformerTypeEnum::IfcTransformerType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTransformerTypeEnum::IfcTransformerType_NOTDEFINED; + if(s=="CURRENT") return ::Ifc2x3::IfcTransformerTypeEnum::IfcTransformerType_CURRENT; + if(s=="FREQUENCY") return ::Ifc2x3::IfcTransformerTypeEnum::IfcTransformerType_FREQUENCY; + if(s=="VOLTAGE") return ::Ifc2x3::IfcTransformerTypeEnum::IfcTransformerType_VOLTAGE; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTransformerTypeEnum::IfcTransformerType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTransformerTypeEnum::IfcTransformerType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTransitionCode::ToString(IfcTransitionCode v) { @@ -4495,10 +4495,10 @@ const char* IfcTransitionCode::ToString(IfcTransitionCode v) { return names[v]; } IfcTransitionCode::IfcTransitionCode IfcTransitionCode::FromString(const std::string& s) { - if(s=="DISCONTINUOUS") return IfcTransitionCode::IfcTransitionCode_DISCONTINUOUS; - if(s=="CONTINUOUS") return IfcTransitionCode::IfcTransitionCode_CONTINUOUS; - if(s=="CONTSAMEGRADIENT") return IfcTransitionCode::IfcTransitionCode_CONTSAMEGRADIENT; - if(s=="CONTSAMEGRADIENTSAMECURVATURE") return IfcTransitionCode::IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE; + if(s=="DISCONTINUOUS") return ::Ifc2x3::IfcTransitionCode::IfcTransitionCode_DISCONTINUOUS; + if(s=="CONTINUOUS") return ::Ifc2x3::IfcTransitionCode::IfcTransitionCode_CONTINUOUS; + if(s=="CONTSAMEGRADIENT") return ::Ifc2x3::IfcTransitionCode::IfcTransitionCode_CONTSAMEGRADIENT; + if(s=="CONTSAMEGRADIENTSAMECURVATURE") return ::Ifc2x3::IfcTransitionCode::IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTransportElementTypeEnum::ToString(IfcTransportElementTypeEnum v) { @@ -4507,11 +4507,11 @@ const char* IfcTransportElementTypeEnum::ToString(IfcTransportElementTypeEnum v) return names[v]; } IfcTransportElementTypeEnum::IfcTransportElementTypeEnum IfcTransportElementTypeEnum::FromString(const std::string& s) { - if(s=="ELEVATOR") return IfcTransportElementTypeEnum::IfcTransportElementType_ELEVATOR; - if(s=="ESCALATOR") return IfcTransportElementTypeEnum::IfcTransportElementType_ESCALATOR; - if(s=="MOVINGWALKWAY") return IfcTransportElementTypeEnum::IfcTransportElementType_MOVINGWALKWAY; - if(s=="USERDEFINED") return IfcTransportElementTypeEnum::IfcTransportElementType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTransportElementTypeEnum::IfcTransportElementType_NOTDEFINED; + if(s=="ELEVATOR") return ::Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementType_ELEVATOR; + if(s=="ESCALATOR") return ::Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementType_ESCALATOR; + if(s=="MOVINGWALKWAY") return ::Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementType_MOVINGWALKWAY; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTrimmingPreference::ToString(IfcTrimmingPreference v) { @@ -4520,9 +4520,9 @@ const char* IfcTrimmingPreference::ToString(IfcTrimmingPreference v) { return names[v]; } IfcTrimmingPreference::IfcTrimmingPreference IfcTrimmingPreference::FromString(const std::string& s) { - if(s=="CARTESIAN") return IfcTrimmingPreference::IfcTrimmingPreference_CARTESIAN; - if(s=="PARAMETER") return IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER; - if(s=="UNSPECIFIED") return IfcTrimmingPreference::IfcTrimmingPreference_UNSPECIFIED; + if(s=="CARTESIAN") return ::Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_CARTESIAN; + if(s=="PARAMETER") return ::Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER; + if(s=="UNSPECIFIED") return ::Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_UNSPECIFIED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcTubeBundleTypeEnum::ToString(IfcTubeBundleTypeEnum v) { @@ -4531,9 +4531,9 @@ const char* IfcTubeBundleTypeEnum::ToString(IfcTubeBundleTypeEnum v) { return names[v]; } IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum IfcTubeBundleTypeEnum::FromString(const std::string& s) { - if(s=="FINNED") return IfcTubeBundleTypeEnum::IfcTubeBundleType_FINNED; - if(s=="USERDEFINED") return IfcTubeBundleTypeEnum::IfcTubeBundleType_USERDEFINED; - if(s=="NOTDEFINED") return IfcTubeBundleTypeEnum::IfcTubeBundleType_NOTDEFINED; + if(s=="FINNED") return ::Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleType_FINNED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcUnitEnum::ToString(IfcUnitEnum v) { @@ -4542,36 +4542,36 @@ const char* IfcUnitEnum::ToString(IfcUnitEnum v) { return names[v]; } IfcUnitEnum::IfcUnitEnum IfcUnitEnum::FromString(const std::string& s) { - if(s=="ABSORBEDDOSEUNIT") return IfcUnitEnum::IfcUnit_ABSORBEDDOSEUNIT; - if(s=="AMOUNTOFSUBSTANCEUNIT") return IfcUnitEnum::IfcUnit_AMOUNTOFSUBSTANCEUNIT; - if(s=="AREAUNIT") return IfcUnitEnum::IfcUnit_AREAUNIT; - if(s=="DOSEEQUIVALENTUNIT") return IfcUnitEnum::IfcUnit_DOSEEQUIVALENTUNIT; - if(s=="ELECTRICCAPACITANCEUNIT") return IfcUnitEnum::IfcUnit_ELECTRICCAPACITANCEUNIT; - if(s=="ELECTRICCHARGEUNIT") return IfcUnitEnum::IfcUnit_ELECTRICCHARGEUNIT; - if(s=="ELECTRICCONDUCTANCEUNIT") return IfcUnitEnum::IfcUnit_ELECTRICCONDUCTANCEUNIT; - if(s=="ELECTRICCURRENTUNIT") return IfcUnitEnum::IfcUnit_ELECTRICCURRENTUNIT; - if(s=="ELECTRICRESISTANCEUNIT") return IfcUnitEnum::IfcUnit_ELECTRICRESISTANCEUNIT; - if(s=="ELECTRICVOLTAGEUNIT") return IfcUnitEnum::IfcUnit_ELECTRICVOLTAGEUNIT; - if(s=="ENERGYUNIT") return IfcUnitEnum::IfcUnit_ENERGYUNIT; - if(s=="FORCEUNIT") return IfcUnitEnum::IfcUnit_FORCEUNIT; - if(s=="FREQUENCYUNIT") return IfcUnitEnum::IfcUnit_FREQUENCYUNIT; - if(s=="ILLUMINANCEUNIT") return IfcUnitEnum::IfcUnit_ILLUMINANCEUNIT; - if(s=="INDUCTANCEUNIT") return IfcUnitEnum::IfcUnit_INDUCTANCEUNIT; - if(s=="LENGTHUNIT") return IfcUnitEnum::IfcUnit_LENGTHUNIT; - if(s=="LUMINOUSFLUXUNIT") return IfcUnitEnum::IfcUnit_LUMINOUSFLUXUNIT; - if(s=="LUMINOUSINTENSITYUNIT") return IfcUnitEnum::IfcUnit_LUMINOUSINTENSITYUNIT; - if(s=="MAGNETICFLUXDENSITYUNIT") return IfcUnitEnum::IfcUnit_MAGNETICFLUXDENSITYUNIT; - if(s=="MAGNETICFLUXUNIT") return IfcUnitEnum::IfcUnit_MAGNETICFLUXUNIT; - if(s=="MASSUNIT") return IfcUnitEnum::IfcUnit_MASSUNIT; - if(s=="PLANEANGLEUNIT") return IfcUnitEnum::IfcUnit_PLANEANGLEUNIT; - if(s=="POWERUNIT") return IfcUnitEnum::IfcUnit_POWERUNIT; - if(s=="PRESSUREUNIT") return IfcUnitEnum::IfcUnit_PRESSUREUNIT; - if(s=="RADIOACTIVITYUNIT") return IfcUnitEnum::IfcUnit_RADIOACTIVITYUNIT; - if(s=="SOLIDANGLEUNIT") return IfcUnitEnum::IfcUnit_SOLIDANGLEUNIT; - if(s=="THERMODYNAMICTEMPERATUREUNIT") return IfcUnitEnum::IfcUnit_THERMODYNAMICTEMPERATUREUNIT; - if(s=="TIMEUNIT") return IfcUnitEnum::IfcUnit_TIMEUNIT; - if(s=="VOLUMEUNIT") return IfcUnitEnum::IfcUnit_VOLUMEUNIT; - if(s=="USERDEFINED") return IfcUnitEnum::IfcUnit_USERDEFINED; + if(s=="ABSORBEDDOSEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ABSORBEDDOSEUNIT; + if(s=="AMOUNTOFSUBSTANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_AMOUNTOFSUBSTANCEUNIT; + if(s=="AREAUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_AREAUNIT; + if(s=="DOSEEQUIVALENTUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_DOSEEQUIVALENTUNIT; + if(s=="ELECTRICCAPACITANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICCAPACITANCEUNIT; + if(s=="ELECTRICCHARGEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICCHARGEUNIT; + if(s=="ELECTRICCONDUCTANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICCONDUCTANCEUNIT; + if(s=="ELECTRICCURRENTUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICCURRENTUNIT; + if(s=="ELECTRICRESISTANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICRESISTANCEUNIT; + if(s=="ELECTRICVOLTAGEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ELECTRICVOLTAGEUNIT; + if(s=="ENERGYUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ENERGYUNIT; + if(s=="FORCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_FORCEUNIT; + if(s=="FREQUENCYUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_FREQUENCYUNIT; + if(s=="ILLUMINANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_ILLUMINANCEUNIT; + if(s=="INDUCTANCEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_INDUCTANCEUNIT; + if(s=="LENGTHUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_LENGTHUNIT; + if(s=="LUMINOUSFLUXUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_LUMINOUSFLUXUNIT; + if(s=="LUMINOUSINTENSITYUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_LUMINOUSINTENSITYUNIT; + if(s=="MAGNETICFLUXDENSITYUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_MAGNETICFLUXDENSITYUNIT; + if(s=="MAGNETICFLUXUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_MAGNETICFLUXUNIT; + if(s=="MASSUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_MASSUNIT; + if(s=="PLANEANGLEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_PLANEANGLEUNIT; + if(s=="POWERUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_POWERUNIT; + if(s=="PRESSUREUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_PRESSUREUNIT; + if(s=="RADIOACTIVITYUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_RADIOACTIVITYUNIT; + if(s=="SOLIDANGLEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_SOLIDANGLEUNIT; + if(s=="THERMODYNAMICTEMPERATUREUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_THERMODYNAMICTEMPERATUREUNIT; + if(s=="TIMEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_TIMEUNIT; + if(s=="VOLUMEUNIT") return ::Ifc2x3::IfcUnitEnum::IfcUnit_VOLUMEUNIT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcUnitEnum::IfcUnit_USERDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcUnitaryEquipmentTypeEnum::ToString(IfcUnitaryEquipmentTypeEnum v) { @@ -4580,12 +4580,12 @@ const char* IfcUnitaryEquipmentTypeEnum::ToString(IfcUnitaryEquipmentTypeEnum v) return names[v]; } IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum IfcUnitaryEquipmentTypeEnum::FromString(const std::string& s) { - if(s=="AIRHANDLER") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_AIRHANDLER; - if(s=="AIRCONDITIONINGUNIT") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT; - if(s=="SPLITSYSTEM") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_SPLITSYSTEM; - if(s=="ROOFTOPUNIT") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_ROOFTOPUNIT; - if(s=="USERDEFINED") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_USERDEFINED; - if(s=="NOTDEFINED") return IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_NOTDEFINED; + if(s=="AIRHANDLER") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_AIRHANDLER; + if(s=="AIRCONDITIONINGUNIT") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT; + if(s=="SPLITSYSTEM") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_SPLITSYSTEM; + if(s=="ROOFTOPUNIT") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_ROOFTOPUNIT; + if(s=="USERDEFINED") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcValveTypeEnum::ToString(IfcValveTypeEnum v) { @@ -4594,29 +4594,29 @@ const char* IfcValveTypeEnum::ToString(IfcValveTypeEnum v) { return names[v]; } IfcValveTypeEnum::IfcValveTypeEnum IfcValveTypeEnum::FromString(const std::string& s) { - if(s=="AIRRELEASE") return IfcValveTypeEnum::IfcValveType_AIRRELEASE; - if(s=="ANTIVACUUM") return IfcValveTypeEnum::IfcValveType_ANTIVACUUM; - if(s=="CHANGEOVER") return IfcValveTypeEnum::IfcValveType_CHANGEOVER; - if(s=="CHECK") return IfcValveTypeEnum::IfcValveType_CHECK; - if(s=="COMMISSIONING") return IfcValveTypeEnum::IfcValveType_COMMISSIONING; - if(s=="DIVERTING") return IfcValveTypeEnum::IfcValveType_DIVERTING; - if(s=="DRAWOFFCOCK") return IfcValveTypeEnum::IfcValveType_DRAWOFFCOCK; - if(s=="DOUBLECHECK") return IfcValveTypeEnum::IfcValveType_DOUBLECHECK; - if(s=="DOUBLEREGULATING") return IfcValveTypeEnum::IfcValveType_DOUBLEREGULATING; - if(s=="FAUCET") return IfcValveTypeEnum::IfcValveType_FAUCET; - if(s=="FLUSHING") return IfcValveTypeEnum::IfcValveType_FLUSHING; - if(s=="GASCOCK") return IfcValveTypeEnum::IfcValveType_GASCOCK; - if(s=="GASTAP") return IfcValveTypeEnum::IfcValveType_GASTAP; - if(s=="ISOLATING") return IfcValveTypeEnum::IfcValveType_ISOLATING; - if(s=="MIXING") return IfcValveTypeEnum::IfcValveType_MIXING; - if(s=="PRESSUREREDUCING") return IfcValveTypeEnum::IfcValveType_PRESSUREREDUCING; - if(s=="PRESSURERELIEF") return IfcValveTypeEnum::IfcValveType_PRESSURERELIEF; - if(s=="REGULATING") return IfcValveTypeEnum::IfcValveType_REGULATING; - if(s=="SAFETYCUTOFF") return IfcValveTypeEnum::IfcValveType_SAFETYCUTOFF; - if(s=="STEAMTRAP") return IfcValveTypeEnum::IfcValveType_STEAMTRAP; - if(s=="STOPCOCK") return IfcValveTypeEnum::IfcValveType_STOPCOCK; - if(s=="USERDEFINED") return IfcValveTypeEnum::IfcValveType_USERDEFINED; - if(s=="NOTDEFINED") return IfcValveTypeEnum::IfcValveType_NOTDEFINED; + if(s=="AIRRELEASE") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_AIRRELEASE; + if(s=="ANTIVACUUM") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_ANTIVACUUM; + if(s=="CHANGEOVER") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_CHANGEOVER; + if(s=="CHECK") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_CHECK; + if(s=="COMMISSIONING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_COMMISSIONING; + if(s=="DIVERTING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_DIVERTING; + if(s=="DRAWOFFCOCK") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_DRAWOFFCOCK; + if(s=="DOUBLECHECK") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_DOUBLECHECK; + if(s=="DOUBLEREGULATING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_DOUBLEREGULATING; + if(s=="FAUCET") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_FAUCET; + if(s=="FLUSHING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_FLUSHING; + if(s=="GASCOCK") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_GASCOCK; + if(s=="GASTAP") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_GASTAP; + if(s=="ISOLATING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_ISOLATING; + if(s=="MIXING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_MIXING; + if(s=="PRESSUREREDUCING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_PRESSUREREDUCING; + if(s=="PRESSURERELIEF") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_PRESSURERELIEF; + if(s=="REGULATING") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_REGULATING; + if(s=="SAFETYCUTOFF") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_SAFETYCUTOFF; + if(s=="STEAMTRAP") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_STEAMTRAP; + if(s=="STOPCOCK") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_STOPCOCK; + if(s=="USERDEFINED") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcValveTypeEnum::IfcValveType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcVibrationIsolatorTypeEnum::ToString(IfcVibrationIsolatorTypeEnum v) { @@ -4625,10 +4625,10 @@ const char* IfcVibrationIsolatorTypeEnum::ToString(IfcVibrationIsolatorTypeEnum return names[v]; } IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum IfcVibrationIsolatorTypeEnum::FromString(const std::string& s) { - if(s=="COMPRESSION") return IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_COMPRESSION; - if(s=="SPRING") return IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_SPRING; - if(s=="USERDEFINED") return IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_USERDEFINED; - if(s=="NOTDEFINED") return IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_NOTDEFINED; + if(s=="COMPRESSION") return ::Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_COMPRESSION; + if(s=="SPRING") return ::Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_SPRING; + if(s=="USERDEFINED") return ::Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWallTypeEnum::ToString(IfcWallTypeEnum v) { @@ -4637,13 +4637,13 @@ const char* IfcWallTypeEnum::ToString(IfcWallTypeEnum v) { return names[v]; } IfcWallTypeEnum::IfcWallTypeEnum IfcWallTypeEnum::FromString(const std::string& s) { - if(s=="STANDARD") return IfcWallTypeEnum::IfcWallType_STANDARD; - if(s=="POLYGONAL") return IfcWallTypeEnum::IfcWallType_POLYGONAL; - if(s=="SHEAR") return IfcWallTypeEnum::IfcWallType_SHEAR; - if(s=="ELEMENTEDWALL") return IfcWallTypeEnum::IfcWallType_ELEMENTEDWALL; - if(s=="PLUMBINGWALL") return IfcWallTypeEnum::IfcWallType_PLUMBINGWALL; - if(s=="USERDEFINED") return IfcWallTypeEnum::IfcWallType_USERDEFINED; - if(s=="NOTDEFINED") return IfcWallTypeEnum::IfcWallType_NOTDEFINED; + if(s=="STANDARD") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_STANDARD; + if(s=="POLYGONAL") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_POLYGONAL; + if(s=="SHEAR") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_SHEAR; + if(s=="ELEMENTEDWALL") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_ELEMENTEDWALL; + if(s=="PLUMBINGWALL") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_PLUMBINGWALL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWallTypeEnum::IfcWallType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWasteTerminalTypeEnum::ToString(IfcWasteTerminalTypeEnum v) { @@ -4652,18 +4652,18 @@ const char* IfcWasteTerminalTypeEnum::ToString(IfcWasteTerminalTypeEnum v) { return names[v]; } IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum IfcWasteTerminalTypeEnum::FromString(const std::string& s) { - if(s=="FLOORTRAP") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_FLOORTRAP; - if(s=="FLOORWASTE") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_FLOORWASTE; - if(s=="GULLYSUMP") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GULLYSUMP; - if(s=="GULLYTRAP") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GULLYTRAP; - if(s=="GREASEINTERCEPTOR") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GREASEINTERCEPTOR; - if(s=="OILINTERCEPTOR") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_OILINTERCEPTOR; - if(s=="PETROLINTERCEPTOR") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_PETROLINTERCEPTOR; - if(s=="ROOFDRAIN") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_ROOFDRAIN; - if(s=="WASTEDISPOSALUNIT") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_WASTEDISPOSALUNIT; - if(s=="WASTETRAP") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_WASTETRAP; - if(s=="USERDEFINED") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_USERDEFINED; - if(s=="NOTDEFINED") return IfcWasteTerminalTypeEnum::IfcWasteTerminalType_NOTDEFINED; + if(s=="FLOORTRAP") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_FLOORTRAP; + if(s=="FLOORWASTE") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_FLOORWASTE; + if(s=="GULLYSUMP") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GULLYSUMP; + if(s=="GULLYTRAP") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GULLYTRAP; + if(s=="GREASEINTERCEPTOR") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_GREASEINTERCEPTOR; + if(s=="OILINTERCEPTOR") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_OILINTERCEPTOR; + if(s=="PETROLINTERCEPTOR") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_PETROLINTERCEPTOR; + if(s=="ROOFDRAIN") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_ROOFDRAIN; + if(s=="WASTEDISPOSALUNIT") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_WASTEDISPOSALUNIT; + if(s=="WASTETRAP") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_WASTETRAP; + if(s=="USERDEFINED") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWindowPanelOperationEnum::ToString(IfcWindowPanelOperationEnum v) { @@ -4672,20 +4672,20 @@ const char* IfcWindowPanelOperationEnum::ToString(IfcWindowPanelOperationEnum v) return names[v]; } IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum IfcWindowPanelOperationEnum::FromString(const std::string& s) { - if(s=="SIDEHUNGRIGHTHAND") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SIDEHUNGRIGHTHAND; - if(s=="SIDEHUNGLEFTHAND") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SIDEHUNGLEFTHAND; - if(s=="TILTANDTURNRIGHTHAND") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TILTANDTURNRIGHTHAND; - if(s=="TILTANDTURNLEFTHAND") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TILTANDTURNLEFTHAND; - if(s=="TOPHUNG") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TOPHUNG; - if(s=="BOTTOMHUNG") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_BOTTOMHUNG; - if(s=="PIVOTHORIZONTAL") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_PIVOTHORIZONTAL; - if(s=="PIVOTVERTICAL") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_PIVOTVERTICAL; - if(s=="SLIDINGHORIZONTAL") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SLIDINGHORIZONTAL; - if(s=="SLIDINGVERTICAL") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SLIDINGVERTICAL; - if(s=="REMOVABLECASEMENT") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_REMOVABLECASEMENT; - if(s=="FIXEDCASEMENT") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_FIXEDCASEMENT; - if(s=="OTHEROPERATION") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_OTHEROPERATION; - if(s=="NOTDEFINED") return IfcWindowPanelOperationEnum::IfcWindowPanelOperation_NOTDEFINED; + if(s=="SIDEHUNGRIGHTHAND") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SIDEHUNGRIGHTHAND; + if(s=="SIDEHUNGLEFTHAND") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SIDEHUNGLEFTHAND; + if(s=="TILTANDTURNRIGHTHAND") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TILTANDTURNRIGHTHAND; + if(s=="TILTANDTURNLEFTHAND") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TILTANDTURNLEFTHAND; + if(s=="TOPHUNG") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_TOPHUNG; + if(s=="BOTTOMHUNG") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_BOTTOMHUNG; + if(s=="PIVOTHORIZONTAL") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_PIVOTHORIZONTAL; + if(s=="PIVOTVERTICAL") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_PIVOTVERTICAL; + if(s=="SLIDINGHORIZONTAL") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SLIDINGHORIZONTAL; + if(s=="SLIDINGVERTICAL") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_SLIDINGVERTICAL; + if(s=="REMOVABLECASEMENT") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_REMOVABLECASEMENT; + if(s=="FIXEDCASEMENT") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_FIXEDCASEMENT; + if(s=="OTHEROPERATION") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_OTHEROPERATION; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperation_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWindowPanelPositionEnum::ToString(IfcWindowPanelPositionEnum v) { @@ -4694,12 +4694,12 @@ const char* IfcWindowPanelPositionEnum::ToString(IfcWindowPanelPositionEnum v) { return names[v]; } IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum IfcWindowPanelPositionEnum::FromString(const std::string& s) { - if(s=="LEFT") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_LEFT; - if(s=="MIDDLE") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_MIDDLE; - if(s=="RIGHT") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_RIGHT; - if(s=="BOTTOM") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_BOTTOM; - if(s=="TOP") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_TOP; - if(s=="NOTDEFINED") return IfcWindowPanelPositionEnum::IfcWindowPanelPosition_NOTDEFINED; + if(s=="LEFT") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_LEFT; + if(s=="MIDDLE") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_MIDDLE; + if(s=="RIGHT") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_RIGHT; + if(s=="BOTTOM") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_BOTTOM; + if(s=="TOP") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_TOP; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPosition_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWindowStyleConstructionEnum::ToString(IfcWindowStyleConstructionEnum v) { @@ -4708,14 +4708,14 @@ const char* IfcWindowStyleConstructionEnum::ToString(IfcWindowStyleConstructionE return names[v]; } IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum IfcWindowStyleConstructionEnum::FromString(const std::string& s) { - if(s=="ALUMINIUM") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_ALUMINIUM; - if(s=="HIGH_GRADE_STEEL") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_HIGH_GRADE_STEEL; - if(s=="STEEL") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_STEEL; - if(s=="WOOD") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_WOOD; - if(s=="ALUMINIUM_WOOD") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_ALUMINIUM_WOOD; - if(s=="PLASTIC") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_PLASTIC; - if(s=="OTHER_CONSTRUCTION") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_OTHER_CONSTRUCTION; - if(s=="NOTDEFINED") return IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_NOTDEFINED; + if(s=="ALUMINIUM") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_ALUMINIUM; + if(s=="HIGH_GRADE_STEEL") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_HIGH_GRADE_STEEL; + if(s=="STEEL") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_STEEL; + if(s=="WOOD") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_WOOD; + if(s=="ALUMINIUM_WOOD") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_ALUMINIUM_WOOD; + if(s=="PLASTIC") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_PLASTIC; + if(s=="OTHER_CONSTRUCTION") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_OTHER_CONSTRUCTION; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstruction_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWindowStyleOperationEnum::ToString(IfcWindowStyleOperationEnum v) { @@ -4724,17 +4724,17 @@ const char* IfcWindowStyleOperationEnum::ToString(IfcWindowStyleOperationEnum v) return names[v]; } IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum IfcWindowStyleOperationEnum::FromString(const std::string& s) { - if(s=="SINGLE_PANEL") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_SINGLE_PANEL; - if(s=="DOUBLE_PANEL_VERTICAL") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL; - if(s=="DOUBLE_PANEL_HORIZONTAL") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL; - if(s=="TRIPLE_PANEL_VERTICAL") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL; - if(s=="TRIPLE_PANEL_BOTTOM") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM; - if(s=="TRIPLE_PANEL_TOP") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_TOP; - if(s=="TRIPLE_PANEL_LEFT") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_LEFT; - if(s=="TRIPLE_PANEL_RIGHT") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT; - if(s=="TRIPLE_PANEL_HORIZONTAL") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL; - if(s=="USERDEFINED") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_USERDEFINED; - if(s=="NOTDEFINED") return IfcWindowStyleOperationEnum::IfcWindowStyleOperation_NOTDEFINED; + if(s=="SINGLE_PANEL") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_SINGLE_PANEL; + if(s=="DOUBLE_PANEL_VERTICAL") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL; + if(s=="DOUBLE_PANEL_HORIZONTAL") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL; + if(s=="TRIPLE_PANEL_VERTICAL") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL; + if(s=="TRIPLE_PANEL_BOTTOM") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM; + if(s=="TRIPLE_PANEL_TOP") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_TOP; + if(s=="TRIPLE_PANEL_LEFT") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_LEFT; + if(s=="TRIPLE_PANEL_RIGHT") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT; + if(s=="TRIPLE_PANEL_HORIZONTAL") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL; + if(s=="USERDEFINED") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperation_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } const char* IfcWorkControlTypeEnum::ToString(IfcWorkControlTypeEnum v) { @@ -4743,11 +4743,11 @@ const char* IfcWorkControlTypeEnum::ToString(IfcWorkControlTypeEnum v) { return names[v]; } IfcWorkControlTypeEnum::IfcWorkControlTypeEnum IfcWorkControlTypeEnum::FromString(const std::string& s) { - if(s=="ACTUAL") return IfcWorkControlTypeEnum::IfcWorkControlType_ACTUAL; - if(s=="BASELINE") return IfcWorkControlTypeEnum::IfcWorkControlType_BASELINE; - if(s=="PLANNED") return IfcWorkControlTypeEnum::IfcWorkControlType_PLANNED; - if(s=="USERDEFINED") return IfcWorkControlTypeEnum::IfcWorkControlType_USERDEFINED; - if(s=="NOTDEFINED") return IfcWorkControlTypeEnum::IfcWorkControlType_NOTDEFINED; + if(s=="ACTUAL") return ::Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlType_ACTUAL; + if(s=="BASELINE") return ::Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlType_BASELINE; + if(s=="PLANNED") return ::Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlType_PLANNED; + if(s=="USERDEFINED") return ::Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlType_USERDEFINED; + if(s=="NOTDEFINED") return ::Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlType_NOTDEFINED; throw IfcException("Unable to find find keyword in schema"); } @@ -4756,7 +4756,7 @@ bool Ifc2DCompositeCurve::is(Type::Enum v) const { return v == Type::Ifc2DCompos Type::Enum Ifc2DCompositeCurve::type() const { return Type::Ifc2DCompositeCurve; } Type::Enum Ifc2DCompositeCurve::Class() { return Type::Ifc2DCompositeCurve; } Ifc2DCompositeCurve::Ifc2DCompositeCurve(IfcAbstractEntityPtr e) { if (!is(Type::Ifc2DCompositeCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -Ifc2DCompositeCurve::Ifc2DCompositeCurve(SHARED_PTR< IfcTemplatedEntityList > v1_Segments, bool v2_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Segments)->generalize()); e->setArgument(1,(v2_SelfIntersect)); entity = e; EntityBuffer::Add(this); } +Ifc2DCompositeCurve::Ifc2DCompositeCurve(SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v1_Segments, bool v2_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Segments)->generalize()); e->setArgument(1,(v2_SelfIntersect)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcActionRequest IfcIdentifier IfcActionRequest::RequestID() { return *entity->getArgument(5); } void IfcActionRequest::setRequestID(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -4764,7 +4764,7 @@ bool IfcActionRequest::is(Type::Enum v) const { return v == Type::IfcActionReque Type::Enum IfcActionRequest::type() const { return Type::IfcActionRequest; } Type::Enum IfcActionRequest::Class() { return Type::IfcActionRequest; } IfcActionRequest::IfcActionRequest(IfcAbstractEntityPtr e) { if (!is(Type::IfcActionRequest)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcActionRequest::IfcActionRequest(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_RequestID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_RequestID)); entity = e; EntityBuffer::Add(this); } +IfcActionRequest::IfcActionRequest(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_RequestID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_RequestID)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcActor IfcActorSelect IfcActor::TheActor() { return *entity->getArgument(5); } void IfcActor::setTheActor(IfcActorSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -4773,7 +4773,7 @@ bool IfcActor::is(Type::Enum v) const { return v == Type::IfcActor || IfcObject: Type::Enum IfcActor::type() const { return Type::IfcActor; } Type::Enum IfcActor::Class() { return Type::IfcActor; } IfcActor::IfcActor(IfcAbstractEntityPtr e) { if (!is(Type::IfcActor)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcActor::IfcActor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcActorSelect v6_TheActor) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TheActor)); entity = e; EntityBuffer::Add(this); } +IfcActor::IfcActor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcActorSelect v6_TheActor) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TheActor)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcActorRole IfcRoleEnum::IfcRoleEnum IfcActorRole::Role() { return IfcRoleEnum::FromString(*entity->getArgument(0)); } void IfcActorRole::setRole(IfcRoleEnum::IfcRoleEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcRoleEnum::ToString(v)); } @@ -4787,7 +4787,7 @@ bool IfcActorRole::is(Type::Enum v) const { return v == Type::IfcActorRole; } Type::Enum IfcActorRole::type() const { return Type::IfcActorRole; } Type::Enum IfcActorRole::Class() { return Type::IfcActorRole; } IfcActorRole::IfcActorRole(IfcAbstractEntityPtr e) { if (!is(Type::IfcActorRole)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcActorRole::IfcActorRole(IfcRoleEnum::IfcRoleEnum v1_Role, optional v2_UserDefinedRole, optional v3_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_Role,IfcRoleEnum::ToString(v1_Role)); if (v2_UserDefinedRole) { e->setArgument(1,(*v2_UserDefinedRole)); } else { e->setArgument(1); } ; if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcActorRole::IfcActorRole(IfcRoleEnum::IfcRoleEnum v1_Role, optional< IfcLabel > v2_UserDefinedRole, optional< IfcText > v3_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_Role,IfcRoleEnum::ToString(v1_Role)); if (v2_UserDefinedRole) { e->setArgument(1,(*v2_UserDefinedRole)); } else { e->setArgument(1); } ; if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcActuatorType IfcActuatorTypeEnum::IfcActuatorTypeEnum IfcActuatorType::PredefinedType() { return IfcActuatorTypeEnum::FromString(*entity->getArgument(9)); } void IfcActuatorType::setPredefinedType(IfcActuatorTypeEnum::IfcActuatorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcActuatorTypeEnum::ToString(v)); } @@ -4795,7 +4795,7 @@ bool IfcActuatorType::is(Type::Enum v) const { return v == Type::IfcActuatorType Type::Enum IfcActuatorType::type() const { return Type::IfcActuatorType; } Type::Enum IfcActuatorType::Class() { return Type::IfcActuatorType; } IfcActuatorType::IfcActuatorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcActuatorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcActuatorType::IfcActuatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcActuatorTypeEnum::IfcActuatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcActuatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcActuatorType::IfcActuatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcActuatorTypeEnum::IfcActuatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcActuatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAddress bool IfcAddress::hasPurpose() { return !entity->getArgument(0)->isNull(); } IfcAddressTypeEnum::IfcAddressTypeEnum IfcAddress::Purpose() { return IfcAddressTypeEnum::FromString(*entity->getArgument(0)); } @@ -4812,7 +4812,7 @@ bool IfcAddress::is(Type::Enum v) const { return v == Type::IfcAddress; } Type::Enum IfcAddress::type() const { return Type::IfcAddress; } Type::Enum IfcAddress::Class() { return Type::IfcAddress; } IfcAddress::IfcAddress(IfcAbstractEntityPtr e) { if (!is(Type::IfcAddress)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAddress::IfcAddress(optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAddress::IfcAddress(optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAirTerminalBoxType IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum IfcAirTerminalBoxType::PredefinedType() { return IfcAirTerminalBoxTypeEnum::FromString(*entity->getArgument(9)); } void IfcAirTerminalBoxType::setPredefinedType(IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcAirTerminalBoxTypeEnum::ToString(v)); } @@ -4820,7 +4820,7 @@ bool IfcAirTerminalBoxType::is(Type::Enum v) const { return v == Type::IfcAirTer Type::Enum IfcAirTerminalBoxType::type() const { return Type::IfcAirTerminalBoxType; } Type::Enum IfcAirTerminalBoxType::Class() { return Type::IfcAirTerminalBoxType; } IfcAirTerminalBoxType::IfcAirTerminalBoxType(IfcAbstractEntityPtr e) { if (!is(Type::IfcAirTerminalBoxType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAirTerminalBoxType::IfcAirTerminalBoxType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirTerminalBoxTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcAirTerminalBoxType::IfcAirTerminalBoxType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirTerminalBoxTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAirTerminalType IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum IfcAirTerminalType::PredefinedType() { return IfcAirTerminalTypeEnum::FromString(*entity->getArgument(9)); } void IfcAirTerminalType::setPredefinedType(IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcAirTerminalTypeEnum::ToString(v)); } @@ -4828,7 +4828,7 @@ bool IfcAirTerminalType::is(Type::Enum v) const { return v == Type::IfcAirTermin Type::Enum IfcAirTerminalType::type() const { return Type::IfcAirTerminalType; } Type::Enum IfcAirTerminalType::Class() { return Type::IfcAirTerminalType; } IfcAirTerminalType::IfcAirTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcAirTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAirTerminalType::IfcAirTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcAirTerminalType::IfcAirTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAirToAirHeatRecoveryType IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum IfcAirToAirHeatRecoveryType::PredefinedType() { return IfcAirToAirHeatRecoveryTypeEnum::FromString(*entity->getArgument(9)); } void IfcAirToAirHeatRecoveryType::setPredefinedType(IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcAirToAirHeatRecoveryTypeEnum::ToString(v)); } @@ -4836,7 +4836,7 @@ bool IfcAirToAirHeatRecoveryType::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcAirToAirHeatRecoveryType::type() const { return Type::IfcAirToAirHeatRecoveryType; } Type::Enum IfcAirToAirHeatRecoveryType::Class() { return Type::IfcAirToAirHeatRecoveryType; } IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(IfcAbstractEntityPtr e) { if (!is(Type::IfcAirToAirHeatRecoveryType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirToAirHeatRecoveryTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcAirToAirHeatRecoveryType::IfcAirToAirHeatRecoveryType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAirToAirHeatRecoveryTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAlarmType IfcAlarmTypeEnum::IfcAlarmTypeEnum IfcAlarmType::PredefinedType() { return IfcAlarmTypeEnum::FromString(*entity->getArgument(9)); } void IfcAlarmType::setPredefinedType(IfcAlarmTypeEnum::IfcAlarmTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcAlarmTypeEnum::ToString(v)); } @@ -4844,7 +4844,7 @@ bool IfcAlarmType::is(Type::Enum v) const { return v == Type::IfcAlarmType || If Type::Enum IfcAlarmType::type() const { return Type::IfcAlarmType; } Type::Enum IfcAlarmType::Class() { return Type::IfcAlarmType; } IfcAlarmType::IfcAlarmType(IfcAbstractEntityPtr e) { if (!is(Type::IfcAlarmType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAlarmType::IfcAlarmType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAlarmTypeEnum::IfcAlarmTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAlarmTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcAlarmType::IfcAlarmType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAlarmTypeEnum::IfcAlarmTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcAlarmTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAngularDimension bool IfcAngularDimension::is(Type::Enum v) const { return v == Type::IfcAngularDimension || IfcDimensionCurveDirectedCallout::is(v); } Type::Enum IfcAngularDimension::type() const { return Type::IfcAngularDimension; } @@ -4857,24 +4857,24 @@ bool IfcAnnotation::is(Type::Enum v) const { return v == Type::IfcAnnotation || Type::Enum IfcAnnotation::type() const { return Type::IfcAnnotation; } Type::Enum IfcAnnotation::Class() { return Type::IfcAnnotation; } IfcAnnotation::IfcAnnotation(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotation::IfcAnnotation(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } +IfcAnnotation::IfcAnnotation(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationCurveOccurrence bool IfcAnnotationCurveOccurrence::is(Type::Enum v) const { return v == Type::IfcAnnotationCurveOccurrence || IfcAnnotationOccurrence::is(v); } Type::Enum IfcAnnotationCurveOccurrence::type() const { return Type::IfcAnnotationCurveOccurrence; } Type::Enum IfcAnnotationCurveOccurrence::Class() { return Type::IfcAnnotationCurveOccurrence; } IfcAnnotationCurveOccurrence::IfcAnnotationCurveOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationCurveOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationCurveOccurrence::IfcAnnotationCurveOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationCurveOccurrence::IfcAnnotationCurveOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationFillArea IfcCurve* IfcAnnotationFillArea::OuterBoundary() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcAnnotationFillArea::setOuterBoundary(IfcCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } bool IfcAnnotationFillArea::hasInnerBoundaries() { return !entity->getArgument(1)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcAnnotationFillArea::InnerBoundaries() { RETURN_AS_LIST(IfcCurve,1) } -void IfcAnnotationFillArea::setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > IfcAnnotationFillArea::InnerBoundaries() { RETURN_AS_LIST(IfcCurve,1) } +void IfcAnnotationFillArea::setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcAnnotationFillArea::is(Type::Enum v) const { return v == Type::IfcAnnotationFillArea || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcAnnotationFillArea::type() const { return Type::IfcAnnotationFillArea; } Type::Enum IfcAnnotationFillArea::Class() { return Type::IfcAnnotationFillArea; } IfcAnnotationFillArea::IfcAnnotationFillArea(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationFillArea)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationFillArea::IfcAnnotationFillArea(IfcCurve* v1_OuterBoundary, optional >> v2_InnerBoundaries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_OuterBoundary)); if (v2_InnerBoundaries) { e->setArgument(1,(*v2_InnerBoundaries)->generalize()); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationFillArea::IfcAnnotationFillArea(IfcCurve* v1_OuterBoundary, optional< SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > > v2_InnerBoundaries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_OuterBoundary)); if (v2_InnerBoundaries) { e->setArgument(1,(*v2_InnerBoundaries)->generalize()); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationFillAreaOccurrence bool IfcAnnotationFillAreaOccurrence::hasFillStyleTarget() { return !entity->getArgument(3)->isNull(); } IfcPoint* IfcAnnotationFillAreaOccurrence::FillStyleTarget() { return reinterpret_pointer_cast(*entity->getArgument(3)); } @@ -4886,13 +4886,13 @@ bool IfcAnnotationFillAreaOccurrence::is(Type::Enum v) const { return v == Type: Type::Enum IfcAnnotationFillAreaOccurrence::type() const { return Type::IfcAnnotationFillAreaOccurrence; } Type::Enum IfcAnnotationFillAreaOccurrence::Class() { return Type::IfcAnnotationFillAreaOccurrence; } IfcAnnotationFillAreaOccurrence::IfcAnnotationFillAreaOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationFillAreaOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationFillAreaOccurrence::IfcAnnotationFillAreaOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcPoint* v4_FillStyleTarget, optional v5_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_FillStyleTarget)); if (v5_GlobalOrLocal) { e->setArgument(4,*v5_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(*v5_GlobalOrLocal)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationFillAreaOccurrence::IfcAnnotationFillAreaOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcPoint* v4_FillStyleTarget, optional< IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum > v5_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_FillStyleTarget)); if (v5_GlobalOrLocal) { e->setArgument(4,*v5_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(*v5_GlobalOrLocal)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationOccurrence bool IfcAnnotationOccurrence::is(Type::Enum v) const { return v == Type::IfcAnnotationOccurrence || IfcStyledItem::is(v); } Type::Enum IfcAnnotationOccurrence::type() const { return Type::IfcAnnotationOccurrence; } Type::Enum IfcAnnotationOccurrence::Class() { return Type::IfcAnnotationOccurrence; } IfcAnnotationOccurrence::IfcAnnotationOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationOccurrence::IfcAnnotationOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationOccurrence::IfcAnnotationOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationSurface IfcGeometricRepresentationItem* IfcAnnotationSurface::Item() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcAnnotationSurface::setItem(IfcGeometricRepresentationItem* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -4909,19 +4909,19 @@ bool IfcAnnotationSurfaceOccurrence::is(Type::Enum v) const { return v == Type:: Type::Enum IfcAnnotationSurfaceOccurrence::type() const { return Type::IfcAnnotationSurfaceOccurrence; } Type::Enum IfcAnnotationSurfaceOccurrence::Class() { return Type::IfcAnnotationSurfaceOccurrence; } IfcAnnotationSurfaceOccurrence::IfcAnnotationSurfaceOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationSurfaceOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationSurfaceOccurrence::IfcAnnotationSurfaceOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationSurfaceOccurrence::IfcAnnotationSurfaceOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationSymbolOccurrence bool IfcAnnotationSymbolOccurrence::is(Type::Enum v) const { return v == Type::IfcAnnotationSymbolOccurrence || IfcAnnotationOccurrence::is(v); } Type::Enum IfcAnnotationSymbolOccurrence::type() const { return Type::IfcAnnotationSymbolOccurrence; } Type::Enum IfcAnnotationSymbolOccurrence::Class() { return Type::IfcAnnotationSymbolOccurrence; } IfcAnnotationSymbolOccurrence::IfcAnnotationSymbolOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationSymbolOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationSymbolOccurrence::IfcAnnotationSymbolOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationSymbolOccurrence::IfcAnnotationSymbolOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAnnotationTextOccurrence bool IfcAnnotationTextOccurrence::is(Type::Enum v) const { return v == Type::IfcAnnotationTextOccurrence || IfcAnnotationOccurrence::is(v); } Type::Enum IfcAnnotationTextOccurrence::type() const { return Type::IfcAnnotationTextOccurrence; } Type::Enum IfcAnnotationTextOccurrence::Class() { return Type::IfcAnnotationTextOccurrence; } IfcAnnotationTextOccurrence::IfcAnnotationTextOccurrence(IfcAbstractEntityPtr e) { if (!is(Type::IfcAnnotationTextOccurrence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAnnotationTextOccurrence::IfcAnnotationTextOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcAnnotationTextOccurrence::IfcAnnotationTextOccurrence(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcApplication IfcOrganization* IfcApplication::ApplicationDeveloper() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcApplication::setApplicationDeveloper(IfcOrganization* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -4962,12 +4962,12 @@ bool IfcAppliedValue::is(Type::Enum v) const { return v == Type::IfcAppliedValue Type::Enum IfcAppliedValue::type() const { return Type::IfcAppliedValue; } Type::Enum IfcAppliedValue::Class() { return Type::IfcAppliedValue; } IfcAppliedValue::IfcAppliedValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcAppliedValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAppliedValue::IfcAppliedValue(optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcAppliedValue::IfcAppliedValue(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAppliedValueRelationship IfcAppliedValue* IfcAppliedValueRelationship::ComponentOfTotal() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcAppliedValueRelationship::setComponentOfTotal(IfcAppliedValue* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcAppliedValueRelationship::Components() { RETURN_AS_LIST(IfcAppliedValue,1) } -void IfcAppliedValueRelationship::setComponents(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > IfcAppliedValueRelationship::Components() { RETURN_AS_LIST(IfcAppliedValue,1) } +void IfcAppliedValueRelationship::setComponents(SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum IfcAppliedValueRelationship::ArithmeticOperator() { return IfcArithmeticOperatorEnum::FromString(*entity->getArgument(2)); } void IfcAppliedValueRelationship::setArithmeticOperator(IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v,IfcArithmeticOperatorEnum::ToString(v)); } bool IfcAppliedValueRelationship::hasName() { return !entity->getArgument(3)->isNull(); } @@ -4980,7 +4980,7 @@ bool IfcAppliedValueRelationship::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcAppliedValueRelationship::type() const { return Type::IfcAppliedValueRelationship; } Type::Enum IfcAppliedValueRelationship::Class() { return Type::IfcAppliedValueRelationship; } IfcAppliedValueRelationship::IfcAppliedValueRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcAppliedValueRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAppliedValueRelationship::IfcAppliedValueRelationship(IfcAppliedValue* v1_ComponentOfTotal, SHARED_PTR< IfcTemplatedEntityList > v2_Components, IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v3_ArithmeticOperator, optional v4_Name, optional v5_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ComponentOfTotal)); e->setArgument(1,(v2_Components)->generalize()); e->setArgument(2,v3_ArithmeticOperator,IfcArithmeticOperatorEnum::ToString(v3_ArithmeticOperator)); if (v4_Name) { e->setArgument(3,(*v4_Name)); } else { e->setArgument(3); } ; if (v5_Description) { e->setArgument(4,(*v5_Description)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcAppliedValueRelationship::IfcAppliedValueRelationship(IfcAppliedValue* v1_ComponentOfTotal, SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v2_Components, IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v3_ArithmeticOperator, optional< IfcLabel > v4_Name, optional< IfcText > v5_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ComponentOfTotal)); e->setArgument(1,(v2_Components)->generalize()); e->setArgument(2,v3_ArithmeticOperator,IfcArithmeticOperatorEnum::ToString(v3_ArithmeticOperator)); if (v4_Name) { e->setArgument(3,(*v4_Name)); } else { e->setArgument(3); } ; if (v5_Description) { e->setArgument(4,(*v5_Description)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcApproval bool IfcApproval::hasDescription() { return !entity->getArgument(0)->isNull(); } IfcText IfcApproval::Description() { return *entity->getArgument(0); } @@ -5007,7 +5007,7 @@ bool IfcApproval::is(Type::Enum v) const { return v == Type::IfcApproval; } Type::Enum IfcApproval::type() const { return Type::IfcApproval; } Type::Enum IfcApproval::Class() { return Type::IfcApproval; } IfcApproval::IfcApproval(IfcAbstractEntityPtr e) { if (!is(Type::IfcApproval)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcApproval::IfcApproval(optional v1_Description, IfcDateTimeSelect v2_ApprovalDateTime, optional v3_ApprovalStatus, optional v4_ApprovalLevel, optional v5_ApprovalQualifier, IfcLabel v6_Name, IfcIdentifier v7_Identifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Description) { e->setArgument(0,(*v1_Description)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ApprovalDateTime)); if (v3_ApprovalStatus) { e->setArgument(2,(*v3_ApprovalStatus)); } else { e->setArgument(2); } ; if (v4_ApprovalLevel) { e->setArgument(3,(*v4_ApprovalLevel)); } else { e->setArgument(3); } ; if (v5_ApprovalQualifier) { e->setArgument(4,(*v5_ApprovalQualifier)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Name)); e->setArgument(6,(v7_Identifier)); entity = e; EntityBuffer::Add(this); } +IfcApproval::IfcApproval(optional< IfcText > v1_Description, IfcDateTimeSelect v2_ApprovalDateTime, optional< IfcLabel > v3_ApprovalStatus, optional< IfcLabel > v4_ApprovalLevel, optional< IfcText > v5_ApprovalQualifier, IfcLabel v6_Name, IfcIdentifier v7_Identifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Description) { e->setArgument(0,(*v1_Description)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ApprovalDateTime)); if (v3_ApprovalStatus) { e->setArgument(2,(*v3_ApprovalStatus)); } else { e->setArgument(2); } ; if (v4_ApprovalLevel) { e->setArgument(3,(*v4_ApprovalLevel)); } else { e->setArgument(3); } ; if (v5_ApprovalQualifier) { e->setArgument(4,(*v5_ApprovalQualifier)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Name)); e->setArgument(6,(v7_Identifier)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcApprovalActorRelationship IfcActorSelect IfcApprovalActorRelationship::Actor() { return *entity->getArgument(0); } void IfcApprovalActorRelationship::setActor(IfcActorSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5021,15 +5021,15 @@ Type::Enum IfcApprovalActorRelationship::Class() { return Type::IfcApprovalActor IfcApprovalActorRelationship::IfcApprovalActorRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcApprovalActorRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcApprovalActorRelationship::IfcApprovalActorRelationship(IfcActorSelect v1_Actor, IfcApproval* v2_Approval, IfcActorRole* v3_Role) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Actor)); e->setArgument(1,(v2_Approval)); e->setArgument(2,(v3_Role)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcApprovalPropertyRelationship -SHARED_PTR< IfcTemplatedEntityList > IfcApprovalPropertyRelationship::ApprovedProperties() { RETURN_AS_LIST(IfcProperty,0) } -void IfcApprovalPropertyRelationship::setApprovedProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcApprovalPropertyRelationship::ApprovedProperties() { RETURN_AS_LIST(IfcProperty,0) } +void IfcApprovalPropertyRelationship::setApprovedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } IfcApproval* IfcApprovalPropertyRelationship::Approval() { return reinterpret_pointer_cast(*entity->getArgument(1)); } void IfcApprovalPropertyRelationship::setApproval(IfcApproval* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcApprovalPropertyRelationship::is(Type::Enum v) const { return v == Type::IfcApprovalPropertyRelationship; } Type::Enum IfcApprovalPropertyRelationship::type() const { return Type::IfcApprovalPropertyRelationship; } Type::Enum IfcApprovalPropertyRelationship::Class() { return Type::IfcApprovalPropertyRelationship; } IfcApprovalPropertyRelationship::IfcApprovalPropertyRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcApprovalPropertyRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcApprovalPropertyRelationship::IfcApprovalPropertyRelationship(SHARED_PTR< IfcTemplatedEntityList > v1_ApprovedProperties, IfcApproval* v2_Approval) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ApprovedProperties)->generalize()); e->setArgument(1,(v2_Approval)); entity = e; EntityBuffer::Add(this); } +IfcApprovalPropertyRelationship::IfcApprovalPropertyRelationship(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v1_ApprovedProperties, IfcApproval* v2_Approval) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ApprovedProperties)->generalize()); e->setArgument(1,(v2_Approval)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcApprovalRelationship IfcApproval* IfcApprovalRelationship::RelatedApproval() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcApprovalRelationship::setRelatedApproval(IfcApproval* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5044,7 +5044,7 @@ bool IfcApprovalRelationship::is(Type::Enum v) const { return v == Type::IfcAppr Type::Enum IfcApprovalRelationship::type() const { return Type::IfcApprovalRelationship; } Type::Enum IfcApprovalRelationship::Class() { return Type::IfcApprovalRelationship; } IfcApprovalRelationship::IfcApprovalRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcApprovalRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcApprovalRelationship::IfcApprovalRelationship(IfcApproval* v1_RelatedApproval, IfcApproval* v2_RelatingApproval, optional v3_Description, IfcLabel v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatedApproval)); e->setArgument(1,(v2_RelatingApproval)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Name)); entity = e; EntityBuffer::Add(this); } +IfcApprovalRelationship::IfcApprovalRelationship(IfcApproval* v1_RelatedApproval, IfcApproval* v2_RelatingApproval, optional< IfcText > v3_Description, IfcLabel v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatedApproval)); e->setArgument(1,(v2_RelatingApproval)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Name)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcArbitraryClosedProfileDef IfcCurve* IfcArbitraryClosedProfileDef::OuterCurve() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcArbitraryClosedProfileDef::setOuterCurve(IfcCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -5052,7 +5052,7 @@ bool IfcArbitraryClosedProfileDef::is(Type::Enum v) const { return v == Type::If Type::Enum IfcArbitraryClosedProfileDef::type() const { return Type::IfcArbitraryClosedProfileDef; } Type::Enum IfcArbitraryClosedProfileDef::Class() { return Type::IfcArbitraryClosedProfileDef; } IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcArbitraryClosedProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcCurve* v3_OuterCurve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_OuterCurve)); entity = e; EntityBuffer::Add(this); } +IfcArbitraryClosedProfileDef::IfcArbitraryClosedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcCurve* v3_OuterCurve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_OuterCurve)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcArbitraryOpenProfileDef IfcBoundedCurve* IfcArbitraryOpenProfileDef::Curve() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcArbitraryOpenProfileDef::setCurve(IfcBoundedCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -5060,15 +5060,15 @@ bool IfcArbitraryOpenProfileDef::is(Type::Enum v) const { return v == Type::IfcA Type::Enum IfcArbitraryOpenProfileDef::type() const { return Type::IfcArbitraryOpenProfileDef; } Type::Enum IfcArbitraryOpenProfileDef::Class() { return Type::IfcArbitraryOpenProfileDef; } IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcArbitraryOpenProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcBoundedCurve* v3_Curve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Curve)); entity = e; EntityBuffer::Add(this); } +IfcArbitraryOpenProfileDef::IfcArbitraryOpenProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcBoundedCurve* v3_Curve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Curve)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcArbitraryProfileDefWithVoids -SHARED_PTR< IfcTemplatedEntityList > IfcArbitraryProfileDefWithVoids::InnerCurves() { RETURN_AS_LIST(IfcCurve,3) } -void IfcArbitraryProfileDefWithVoids::setInnerCurves(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > IfcArbitraryProfileDefWithVoids::InnerCurves() { RETURN_AS_LIST(IfcCurve,3) } +void IfcArbitraryProfileDefWithVoids::setInnerCurves(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcArbitraryProfileDefWithVoids::is(Type::Enum v) const { return v == Type::IfcArbitraryProfileDefWithVoids || IfcArbitraryClosedProfileDef::is(v); } Type::Enum IfcArbitraryProfileDefWithVoids::type() const { return Type::IfcArbitraryProfileDefWithVoids; } Type::Enum IfcArbitraryProfileDefWithVoids::Class() { return Type::IfcArbitraryProfileDefWithVoids; } IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(IfcAbstractEntityPtr e) { if (!is(Type::IfcArbitraryProfileDefWithVoids)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcCurve* v3_OuterCurve, SHARED_PTR< IfcTemplatedEntityList > v4_InnerCurves) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_OuterCurve)); e->setArgument(3,(v4_InnerCurves)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcArbitraryProfileDefWithVoids::IfcArbitraryProfileDefWithVoids(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcCurve* v3_OuterCurve, SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v4_InnerCurves) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_OuterCurve)); e->setArgument(3,(v4_InnerCurves)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAsset IfcIdentifier IfcAsset::AssetID() { return *entity->getArgument(5); } void IfcAsset::setAssetID(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -5092,7 +5092,7 @@ bool IfcAsset::is(Type::Enum v) const { return v == Type::IfcAsset || IfcGroup:: Type::Enum IfcAsset::type() const { return Type::IfcAsset; } Type::Enum IfcAsset::Class() { return Type::IfcAsset; } IfcAsset::IfcAsset(IfcAbstractEntityPtr e) { if (!is(Type::IfcAsset)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAsset::IfcAsset(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_AssetID, IfcCostValue* v7_OriginalValue, IfcCostValue* v8_CurrentValue, IfcCostValue* v9_TotalReplacementCost, IfcActorSelect v10_Owner, IfcActorSelect v11_User, IfcPerson* v12_ResponsiblePerson, IfcCalendarDate* v13_IncorporationDate, IfcCostValue* v14_DepreciatedValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_AssetID)); e->setArgument(6,(v7_OriginalValue)); e->setArgument(7,(v8_CurrentValue)); e->setArgument(8,(v9_TotalReplacementCost)); e->setArgument(9,(v10_Owner)); e->setArgument(10,(v11_User)); e->setArgument(11,(v12_ResponsiblePerson)); e->setArgument(12,(v13_IncorporationDate)); e->setArgument(13,(v14_DepreciatedValue)); entity = e; EntityBuffer::Add(this); } +IfcAsset::IfcAsset(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_AssetID, IfcCostValue* v7_OriginalValue, IfcCostValue* v8_CurrentValue, IfcCostValue* v9_TotalReplacementCost, IfcActorSelect v10_Owner, IfcActorSelect v11_User, IfcPerson* v12_ResponsiblePerson, IfcCalendarDate* v13_IncorporationDate, IfcCostValue* v14_DepreciatedValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_AssetID)); e->setArgument(6,(v7_OriginalValue)); e->setArgument(7,(v8_CurrentValue)); e->setArgument(8,(v9_TotalReplacementCost)); e->setArgument(9,(v10_Owner)); e->setArgument(10,(v11_User)); e->setArgument(11,(v12_ResponsiblePerson)); e->setArgument(12,(v13_IncorporationDate)); e->setArgument(13,(v14_DepreciatedValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAsymmetricIShapeProfileDef IfcPositiveLengthMeasure IfcAsymmetricIShapeProfileDef::TopFlangeWidth() { return *entity->getArgument(8); } void IfcAsymmetricIShapeProfileDef::setTopFlangeWidth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } @@ -5109,7 +5109,7 @@ bool IfcAsymmetricIShapeProfileDef::is(Type::Enum v) const { return v == Type::I Type::Enum IfcAsymmetricIShapeProfileDef::type() const { return Type::IfcAsymmetricIShapeProfileDef; } Type::Enum IfcAsymmetricIShapeProfileDef::Class() { return Type::IfcAsymmetricIShapeProfileDef; } IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcAsymmetricIShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, IfcPositiveLengthMeasure v9_TopFlangeWidth, optional v10_TopFlangeThickness, optional v11_TopFlangeFilletRadius, optional v12_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallWidth)); e->setArgument(4,(v5_OverallDepth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_TopFlangeWidth)); if (v10_TopFlangeThickness) { e->setArgument(9,(*v10_TopFlangeThickness)); } else { e->setArgument(9); } ; if (v11_TopFlangeFilletRadius) { e->setArgument(10,(*v11_TopFlangeFilletRadius)); } else { e->setArgument(10); } ; if (v12_CentreOfGravityInY) { e->setArgument(11,(*v12_CentreOfGravityInY)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } +IfcAsymmetricIShapeProfileDef::IfcAsymmetricIShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, IfcPositiveLengthMeasure v9_TopFlangeWidth, optional< IfcPositiveLengthMeasure > v10_TopFlangeThickness, optional< IfcPositiveLengthMeasure > v11_TopFlangeFilletRadius, optional< IfcPositiveLengthMeasure > v12_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallWidth)); e->setArgument(4,(v5_OverallDepth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_TopFlangeWidth)); if (v10_TopFlangeThickness) { e->setArgument(9,(*v10_TopFlangeThickness)); } else { e->setArgument(9); } ; if (v11_TopFlangeFilletRadius) { e->setArgument(10,(*v11_TopFlangeFilletRadius)); } else { e->setArgument(10); } ; if (v12_CentreOfGravityInY) { e->setArgument(11,(*v12_CentreOfGravityInY)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcAxis1Placement bool IfcAxis1Placement::hasAxis() { return !entity->getArgument(1)->isNull(); } IfcDirection* IfcAxis1Placement::Axis() { return reinterpret_pointer_cast(*entity->getArgument(1)); } @@ -5143,8 +5143,8 @@ IfcAxis2Placement3D::IfcAxis2Placement3D(IfcCartesianPoint* v1_Location, IfcDire // Function implementations for IfcBSplineCurve int IfcBSplineCurve::Degree() { return *entity->getArgument(0); } void IfcBSplineCurve::setDegree(int v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcBSplineCurve::ControlPointsList() { RETURN_AS_LIST(IfcCartesianPoint,1) } -void IfcBSplineCurve::setControlPointsList(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > IfcBSplineCurve::ControlPointsList() { RETURN_AS_LIST(IfcCartesianPoint,1) } +void IfcBSplineCurve::setControlPointsList(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } IfcBSplineCurveForm::IfcBSplineCurveForm IfcBSplineCurve::CurveForm() { return IfcBSplineCurveForm::FromString(*entity->getArgument(2)); } void IfcBSplineCurve::setCurveForm(IfcBSplineCurveForm::IfcBSplineCurveForm v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v,IfcBSplineCurveForm::ToString(v)); } bool IfcBSplineCurve::ClosedCurve() { return *entity->getArgument(3); } @@ -5155,13 +5155,13 @@ bool IfcBSplineCurve::is(Type::Enum v) const { return v == Type::IfcBSplineCurve Type::Enum IfcBSplineCurve::type() const { return Type::IfcBSplineCurve; } Type::Enum IfcBSplineCurve::Class() { return Type::IfcBSplineCurve; } IfcBSplineCurve::IfcBSplineCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcBSplineCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBSplineCurve::IfcBSplineCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); entity = e; EntityBuffer::Add(this); } +IfcBSplineCurve::IfcBSplineCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBeam bool IfcBeam::is(Type::Enum v) const { return v == Type::IfcBeam || IfcBuildingElement::is(v); } Type::Enum IfcBeam::type() const { return Type::IfcBeam; } Type::Enum IfcBeam::Class() { return Type::IfcBeam; } IfcBeam::IfcBeam(IfcAbstractEntityPtr e) { if (!is(Type::IfcBeam)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBeam::IfcBeam(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcBeam::IfcBeam(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBeamType IfcBeamTypeEnum::IfcBeamTypeEnum IfcBeamType::PredefinedType() { return IfcBeamTypeEnum::FromString(*entity->getArgument(9)); } void IfcBeamType::setPredefinedType(IfcBeamTypeEnum::IfcBeamTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcBeamTypeEnum::ToString(v)); } @@ -5169,13 +5169,13 @@ bool IfcBeamType::is(Type::Enum v) const { return v == Type::IfcBeamType || IfcB Type::Enum IfcBeamType::type() const { return Type::IfcBeamType; } Type::Enum IfcBeamType::Class() { return Type::IfcBeamType; } IfcBeamType::IfcBeamType(IfcAbstractEntityPtr e) { if (!is(Type::IfcBeamType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBeamType::IfcBeamType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBeamTypeEnum::IfcBeamTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBeamTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcBeamType::IfcBeamType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBeamTypeEnum::IfcBeamTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBeamTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBezierCurve bool IfcBezierCurve::is(Type::Enum v) const { return v == Type::IfcBezierCurve || IfcBSplineCurve::is(v); } Type::Enum IfcBezierCurve::type() const { return Type::IfcBezierCurve; } Type::Enum IfcBezierCurve::Class() { return Type::IfcBezierCurve; } IfcBezierCurve::IfcBezierCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcBezierCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBezierCurve::IfcBezierCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); entity = e; EntityBuffer::Add(this); } +IfcBezierCurve::IfcBezierCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBlobTexture IfcIdentifier IfcBlobTexture::RasterFormat() { return *entity->getArgument(4); } void IfcBlobTexture::setRasterFormat(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -5205,7 +5205,7 @@ bool IfcBoilerType::is(Type::Enum v) const { return v == Type::IfcBoilerType || Type::Enum IfcBoilerType::type() const { return Type::IfcBoilerType; } Type::Enum IfcBoilerType::Class() { return Type::IfcBoilerType; } IfcBoilerType::IfcBoilerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoilerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoilerType::IfcBoilerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBoilerTypeEnum::IfcBoilerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBoilerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcBoilerType::IfcBoilerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBoilerTypeEnum::IfcBoilerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBoilerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBooleanClippingResult bool IfcBooleanClippingResult::is(Type::Enum v) const { return v == Type::IfcBooleanClippingResult || IfcBooleanResult::is(v); } Type::Enum IfcBooleanClippingResult::type() const { return Type::IfcBooleanClippingResult; } @@ -5232,7 +5232,7 @@ bool IfcBoundaryCondition::is(Type::Enum v) const { return v == Type::IfcBoundar Type::Enum IfcBoundaryCondition::type() const { return Type::IfcBoundaryCondition; } Type::Enum IfcBoundaryCondition::Class() { return Type::IfcBoundaryCondition; } IfcBoundaryCondition::IfcBoundaryCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoundaryCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoundaryCondition::IfcBoundaryCondition(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcBoundaryCondition::IfcBoundaryCondition(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBoundaryEdgeCondition bool IfcBoundaryEdgeCondition::hasLinearStiffnessByLengthX() { return !entity->getArgument(1)->isNull(); } IfcModulusOfLinearSubgradeReactionMeasure IfcBoundaryEdgeCondition::LinearStiffnessByLengthX() { return *entity->getArgument(1); } @@ -5256,7 +5256,7 @@ bool IfcBoundaryEdgeCondition::is(Type::Enum v) const { return v == Type::IfcBou Type::Enum IfcBoundaryEdgeCondition::type() const { return Type::IfcBoundaryEdgeCondition; } Type::Enum IfcBoundaryEdgeCondition::Class() { return Type::IfcBoundaryEdgeCondition; } IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoundaryEdgeCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(optional v1_Name, optional v2_LinearStiffnessByLengthX, optional v3_LinearStiffnessByLengthY, optional v4_LinearStiffnessByLengthZ, optional v5_RotationalStiffnessByLengthX, optional v6_RotationalStiffnessByLengthY, optional v7_RotationalStiffnessByLengthZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessByLengthX) { e->setArgument(1,(*v2_LinearStiffnessByLengthX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessByLengthY) { e->setArgument(2,(*v3_LinearStiffnessByLengthY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessByLengthZ) { e->setArgument(3,(*v4_LinearStiffnessByLengthZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessByLengthX) { e->setArgument(4,(*v5_RotationalStiffnessByLengthX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessByLengthY) { e->setArgument(5,(*v6_RotationalStiffnessByLengthY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessByLengthZ) { e->setArgument(6,(*v7_RotationalStiffnessByLengthZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcBoundaryEdgeCondition::IfcBoundaryEdgeCondition(optional< IfcLabel > v1_Name, optional< IfcModulusOfLinearSubgradeReactionMeasure > v2_LinearStiffnessByLengthX, optional< IfcModulusOfLinearSubgradeReactionMeasure > v3_LinearStiffnessByLengthY, optional< IfcModulusOfLinearSubgradeReactionMeasure > v4_LinearStiffnessByLengthZ, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v5_RotationalStiffnessByLengthX, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v6_RotationalStiffnessByLengthY, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v7_RotationalStiffnessByLengthZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessByLengthX) { e->setArgument(1,(*v2_LinearStiffnessByLengthX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessByLengthY) { e->setArgument(2,(*v3_LinearStiffnessByLengthY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessByLengthZ) { e->setArgument(3,(*v4_LinearStiffnessByLengthZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessByLengthX) { e->setArgument(4,(*v5_RotationalStiffnessByLengthX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessByLengthY) { e->setArgument(5,(*v6_RotationalStiffnessByLengthY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessByLengthZ) { e->setArgument(6,(*v7_RotationalStiffnessByLengthZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBoundaryFaceCondition bool IfcBoundaryFaceCondition::hasLinearStiffnessByAreaX() { return !entity->getArgument(1)->isNull(); } IfcModulusOfSubgradeReactionMeasure IfcBoundaryFaceCondition::LinearStiffnessByAreaX() { return *entity->getArgument(1); } @@ -5271,7 +5271,7 @@ bool IfcBoundaryFaceCondition::is(Type::Enum v) const { return v == Type::IfcBou Type::Enum IfcBoundaryFaceCondition::type() const { return Type::IfcBoundaryFaceCondition; } Type::Enum IfcBoundaryFaceCondition::Class() { return Type::IfcBoundaryFaceCondition; } IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoundaryFaceCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(optional v1_Name, optional v2_LinearStiffnessByAreaX, optional v3_LinearStiffnessByAreaY, optional v4_LinearStiffnessByAreaZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessByAreaX) { e->setArgument(1,(*v2_LinearStiffnessByAreaX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessByAreaY) { e->setArgument(2,(*v3_LinearStiffnessByAreaY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessByAreaZ) { e->setArgument(3,(*v4_LinearStiffnessByAreaZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcBoundaryFaceCondition::IfcBoundaryFaceCondition(optional< IfcLabel > v1_Name, optional< IfcModulusOfSubgradeReactionMeasure > v2_LinearStiffnessByAreaX, optional< IfcModulusOfSubgradeReactionMeasure > v3_LinearStiffnessByAreaY, optional< IfcModulusOfSubgradeReactionMeasure > v4_LinearStiffnessByAreaZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessByAreaX) { e->setArgument(1,(*v2_LinearStiffnessByAreaX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessByAreaY) { e->setArgument(2,(*v3_LinearStiffnessByAreaY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessByAreaZ) { e->setArgument(3,(*v4_LinearStiffnessByAreaZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBoundaryNodeCondition bool IfcBoundaryNodeCondition::hasLinearStiffnessX() { return !entity->getArgument(1)->isNull(); } IfcLinearStiffnessMeasure IfcBoundaryNodeCondition::LinearStiffnessX() { return *entity->getArgument(1); } @@ -5295,7 +5295,7 @@ bool IfcBoundaryNodeCondition::is(Type::Enum v) const { return v == Type::IfcBou Type::Enum IfcBoundaryNodeCondition::type() const { return Type::IfcBoundaryNodeCondition; } Type::Enum IfcBoundaryNodeCondition::Class() { return Type::IfcBoundaryNodeCondition; } IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoundaryNodeCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(optional v1_Name, optional v2_LinearStiffnessX, optional v3_LinearStiffnessY, optional v4_LinearStiffnessZ, optional v5_RotationalStiffnessX, optional v6_RotationalStiffnessY, optional v7_RotationalStiffnessZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessX) { e->setArgument(1,(*v2_LinearStiffnessX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessY) { e->setArgument(2,(*v3_LinearStiffnessY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessZ) { e->setArgument(3,(*v4_LinearStiffnessZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessX) { e->setArgument(4,(*v5_RotationalStiffnessX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessY) { e->setArgument(5,(*v6_RotationalStiffnessY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessZ) { e->setArgument(6,(*v7_RotationalStiffnessZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcBoundaryNodeCondition::IfcBoundaryNodeCondition(optional< IfcLabel > v1_Name, optional< IfcLinearStiffnessMeasure > v2_LinearStiffnessX, optional< IfcLinearStiffnessMeasure > v3_LinearStiffnessY, optional< IfcLinearStiffnessMeasure > v4_LinearStiffnessZ, optional< IfcRotationalStiffnessMeasure > v5_RotationalStiffnessX, optional< IfcRotationalStiffnessMeasure > v6_RotationalStiffnessY, optional< IfcRotationalStiffnessMeasure > v7_RotationalStiffnessZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessX) { e->setArgument(1,(*v2_LinearStiffnessX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessY) { e->setArgument(2,(*v3_LinearStiffnessY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessZ) { e->setArgument(3,(*v4_LinearStiffnessZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessX) { e->setArgument(4,(*v5_RotationalStiffnessX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessY) { e->setArgument(5,(*v6_RotationalStiffnessY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessZ) { e->setArgument(6,(*v7_RotationalStiffnessZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBoundaryNodeConditionWarping bool IfcBoundaryNodeConditionWarping::hasWarpingStiffness() { return !entity->getArgument(7)->isNull(); } IfcWarpingMomentMeasure IfcBoundaryNodeConditionWarping::WarpingStiffness() { return *entity->getArgument(7); } @@ -5304,7 +5304,7 @@ bool IfcBoundaryNodeConditionWarping::is(Type::Enum v) const { return v == Type: Type::Enum IfcBoundaryNodeConditionWarping::type() const { return Type::IfcBoundaryNodeConditionWarping; } Type::Enum IfcBoundaryNodeConditionWarping::Class() { return Type::IfcBoundaryNodeConditionWarping; } IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(IfcAbstractEntityPtr e) { if (!is(Type::IfcBoundaryNodeConditionWarping)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(optional v1_Name, optional v2_LinearStiffnessX, optional v3_LinearStiffnessY, optional v4_LinearStiffnessZ, optional v5_RotationalStiffnessX, optional v6_RotationalStiffnessY, optional v7_RotationalStiffnessZ, optional v8_WarpingStiffness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessX) { e->setArgument(1,(*v2_LinearStiffnessX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessY) { e->setArgument(2,(*v3_LinearStiffnessY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessZ) { e->setArgument(3,(*v4_LinearStiffnessZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessX) { e->setArgument(4,(*v5_RotationalStiffnessX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessY) { e->setArgument(5,(*v6_RotationalStiffnessY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessZ) { e->setArgument(6,(*v7_RotationalStiffnessZ)); } else { e->setArgument(6); } ; if (v8_WarpingStiffness) { e->setArgument(7,(*v8_WarpingStiffness)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcBoundaryNodeConditionWarping::IfcBoundaryNodeConditionWarping(optional< IfcLabel > v1_Name, optional< IfcLinearStiffnessMeasure > v2_LinearStiffnessX, optional< IfcLinearStiffnessMeasure > v3_LinearStiffnessY, optional< IfcLinearStiffnessMeasure > v4_LinearStiffnessZ, optional< IfcRotationalStiffnessMeasure > v5_RotationalStiffnessX, optional< IfcRotationalStiffnessMeasure > v6_RotationalStiffnessY, optional< IfcRotationalStiffnessMeasure > v7_RotationalStiffnessZ, optional< IfcWarpingMomentMeasure > v8_WarpingStiffness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearStiffnessX) { e->setArgument(1,(*v2_LinearStiffnessX)); } else { e->setArgument(1); } ; if (v3_LinearStiffnessY) { e->setArgument(2,(*v3_LinearStiffnessY)); } else { e->setArgument(2); } ; if (v4_LinearStiffnessZ) { e->setArgument(3,(*v4_LinearStiffnessZ)); } else { e->setArgument(3); } ; if (v5_RotationalStiffnessX) { e->setArgument(4,(*v5_RotationalStiffnessX)); } else { e->setArgument(4); } ; if (v6_RotationalStiffnessY) { e->setArgument(5,(*v6_RotationalStiffnessY)); } else { e->setArgument(5); } ; if (v7_RotationalStiffnessZ) { e->setArgument(6,(*v7_RotationalStiffnessZ)); } else { e->setArgument(6); } ; if (v8_WarpingStiffness) { e->setArgument(7,(*v8_WarpingStiffness)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBoundedCurve bool IfcBoundedCurve::is(Type::Enum v) const { return v == Type::IfcBoundedCurve || IfcCurve::is(v); } Type::Enum IfcBoundedCurve::type() const { return Type::IfcBoundedCurve; } @@ -5351,25 +5351,25 @@ bool IfcBuilding::is(Type::Enum v) const { return v == Type::IfcBuilding || IfcS Type::Enum IfcBuilding::type() const { return Type::IfcBuilding; } Type::Enum IfcBuilding::Class() { return Type::IfcBuilding; } IfcBuilding::IfcBuilding(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuilding)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuilding::IfcBuilding(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_ElevationOfRefHeight, optional v11_ElevationOfTerrain, IfcPostalAddress* v12_BuildingAddress) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_ElevationOfRefHeight) { e->setArgument(9,(*v10_ElevationOfRefHeight)); } else { e->setArgument(9); } ; if (v11_ElevationOfTerrain) { e->setArgument(10,(*v11_ElevationOfTerrain)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_BuildingAddress)); entity = e; EntityBuffer::Add(this); } +IfcBuilding::IfcBuilding(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcLengthMeasure > v10_ElevationOfRefHeight, optional< IfcLengthMeasure > v11_ElevationOfTerrain, IfcPostalAddress* v12_BuildingAddress) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_ElevationOfRefHeight) { e->setArgument(9,(*v10_ElevationOfRefHeight)); } else { e->setArgument(9); } ; if (v11_ElevationOfTerrain) { e->setArgument(10,(*v11_ElevationOfTerrain)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_BuildingAddress)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElement bool IfcBuildingElement::is(Type::Enum v) const { return v == Type::IfcBuildingElement || IfcElement::is(v); } Type::Enum IfcBuildingElement::type() const { return Type::IfcBuildingElement; } Type::Enum IfcBuildingElement::Class() { return Type::IfcBuildingElement; } IfcBuildingElement::IfcBuildingElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElement::IfcBuildingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingElement::IfcBuildingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElementComponent bool IfcBuildingElementComponent::is(Type::Enum v) const { return v == Type::IfcBuildingElementComponent || IfcBuildingElement::is(v); } Type::Enum IfcBuildingElementComponent::type() const { return Type::IfcBuildingElementComponent; } Type::Enum IfcBuildingElementComponent::Class() { return Type::IfcBuildingElementComponent; } IfcBuildingElementComponent::IfcBuildingElementComponent(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElementComponent)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElementComponent::IfcBuildingElementComponent(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingElementComponent::IfcBuildingElementComponent(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElementPart bool IfcBuildingElementPart::is(Type::Enum v) const { return v == Type::IfcBuildingElementPart || IfcBuildingElementComponent::is(v); } Type::Enum IfcBuildingElementPart::type() const { return Type::IfcBuildingElementPart; } Type::Enum IfcBuildingElementPart::Class() { return Type::IfcBuildingElementPart; } IfcBuildingElementPart::IfcBuildingElementPart(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElementPart)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElementPart::IfcBuildingElementPart(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingElementPart::IfcBuildingElementPart(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElementProxy bool IfcBuildingElementProxy::hasCompositionType() { return !entity->getArgument(8)->isNull(); } IfcElementCompositionEnum::IfcElementCompositionEnum IfcBuildingElementProxy::CompositionType() { return IfcElementCompositionEnum::FromString(*entity->getArgument(8)); } @@ -5378,7 +5378,7 @@ bool IfcBuildingElementProxy::is(Type::Enum v) const { return v == Type::IfcBuil Type::Enum IfcBuildingElementProxy::type() const { return Type::IfcBuildingElementProxy; } Type::Enum IfcBuildingElementProxy::Class() { return Type::IfcBuildingElementProxy; } IfcBuildingElementProxy::IfcBuildingElementProxy(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElementProxy)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElementProxy::IfcBuildingElementProxy(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_CompositionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_CompositionType) { e->setArgument(8,*v9_CompositionType,IfcElementCompositionEnum::ToString(*v9_CompositionType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingElementProxy::IfcBuildingElementProxy(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcElementCompositionEnum::IfcElementCompositionEnum > v9_CompositionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_CompositionType) { e->setArgument(8,*v9_CompositionType,IfcElementCompositionEnum::ToString(*v9_CompositionType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElementProxyType IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum IfcBuildingElementProxyType::PredefinedType() { return IfcBuildingElementProxyTypeEnum::FromString(*entity->getArgument(9)); } void IfcBuildingElementProxyType::setPredefinedType(IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcBuildingElementProxyTypeEnum::ToString(v)); } @@ -5386,13 +5386,13 @@ bool IfcBuildingElementProxyType::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcBuildingElementProxyType::type() const { return Type::IfcBuildingElementProxyType; } Type::Enum IfcBuildingElementProxyType::Class() { return Type::IfcBuildingElementProxyType; } IfcBuildingElementProxyType::IfcBuildingElementProxyType(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElementProxyType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElementProxyType::IfcBuildingElementProxyType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBuildingElementProxyTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcBuildingElementProxyType::IfcBuildingElementProxyType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcBuildingElementProxyTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingElementType bool IfcBuildingElementType::is(Type::Enum v) const { return v == Type::IfcBuildingElementType || IfcElementType::is(v); } Type::Enum IfcBuildingElementType::type() const { return Type::IfcBuildingElementType; } Type::Enum IfcBuildingElementType::Class() { return Type::IfcBuildingElementType; } IfcBuildingElementType::IfcBuildingElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingElementType::IfcBuildingElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingElementType::IfcBuildingElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcBuildingStorey bool IfcBuildingStorey::hasElevation() { return !entity->getArgument(9)->isNull(); } IfcLengthMeasure IfcBuildingStorey::Elevation() { return *entity->getArgument(9); } @@ -5401,7 +5401,7 @@ bool IfcBuildingStorey::is(Type::Enum v) const { return v == Type::IfcBuildingSt Type::Enum IfcBuildingStorey::type() const { return Type::IfcBuildingStorey; } Type::Enum IfcBuildingStorey::Class() { return Type::IfcBuildingStorey; } IfcBuildingStorey::IfcBuildingStorey(IfcAbstractEntityPtr e) { if (!is(Type::IfcBuildingStorey)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcBuildingStorey::IfcBuildingStorey(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_Elevation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_Elevation) { e->setArgument(9,(*v10_Elevation)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcBuildingStorey::IfcBuildingStorey(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcLengthMeasure > v10_Elevation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_Elevation) { e->setArgument(9,(*v10_Elevation)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCShapeProfileDef IfcPositiveLengthMeasure IfcCShapeProfileDef::Depth() { return *entity->getArgument(3); } void IfcCShapeProfileDef::setDepth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -5421,7 +5421,7 @@ bool IfcCShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcCShapePr Type::Enum IfcCShapeProfileDef::type() const { return Type::IfcCShapeProfileDef; } Type::Enum IfcCShapeProfileDef::Class() { return Type::IfcCShapeProfileDef; } IfcCShapeProfileDef::IfcCShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCShapeProfileDef::IfcCShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_Width, IfcPositiveLengthMeasure v6_WallThickness, IfcPositiveLengthMeasure v7_Girth, optional v8_InternalFilletRadius, optional v9_CentreOfGravityInX) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_Width)); e->setArgument(5,(v6_WallThickness)); e->setArgument(6,(v7_Girth)); if (v8_InternalFilletRadius) { e->setArgument(7,(*v8_InternalFilletRadius)); } else { e->setArgument(7); } ; if (v9_CentreOfGravityInX) { e->setArgument(8,(*v9_CentreOfGravityInX)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcCShapeProfileDef::IfcCShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_Width, IfcPositiveLengthMeasure v6_WallThickness, IfcPositiveLengthMeasure v7_Girth, optional< IfcPositiveLengthMeasure > v8_InternalFilletRadius, optional< IfcPositiveLengthMeasure > v9_CentreOfGravityInX) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_Width)); e->setArgument(5,(v6_WallThickness)); e->setArgument(6,(v7_Girth)); if (v8_InternalFilletRadius) { e->setArgument(7,(*v8_InternalFilletRadius)); } else { e->setArgument(7); } ; if (v9_CentreOfGravityInX) { e->setArgument(8,(*v9_CentreOfGravityInX)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCableCarrierFittingType IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum IfcCableCarrierFittingType::PredefinedType() { return IfcCableCarrierFittingTypeEnum::FromString(*entity->getArgument(9)); } void IfcCableCarrierFittingType::setPredefinedType(IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCableCarrierFittingTypeEnum::ToString(v)); } @@ -5429,7 +5429,7 @@ bool IfcCableCarrierFittingType::is(Type::Enum v) const { return v == Type::IfcC Type::Enum IfcCableCarrierFittingType::type() const { return Type::IfcCableCarrierFittingType; } Type::Enum IfcCableCarrierFittingType::Class() { return Type::IfcCableCarrierFittingType; } IfcCableCarrierFittingType::IfcCableCarrierFittingType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCableCarrierFittingType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCableCarrierFittingType::IfcCableCarrierFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableCarrierFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCableCarrierFittingType::IfcCableCarrierFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableCarrierFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCableCarrierSegmentType IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum IfcCableCarrierSegmentType::PredefinedType() { return IfcCableCarrierSegmentTypeEnum::FromString(*entity->getArgument(9)); } void IfcCableCarrierSegmentType::setPredefinedType(IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCableCarrierSegmentTypeEnum::ToString(v)); } @@ -5437,7 +5437,7 @@ bool IfcCableCarrierSegmentType::is(Type::Enum v) const { return v == Type::IfcC Type::Enum IfcCableCarrierSegmentType::type() const { return Type::IfcCableCarrierSegmentType; } Type::Enum IfcCableCarrierSegmentType::Class() { return Type::IfcCableCarrierSegmentType; } IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCableCarrierSegmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableCarrierSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCableCarrierSegmentType::IfcCableCarrierSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableCarrierSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCableSegmentType IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum IfcCableSegmentType::PredefinedType() { return IfcCableSegmentTypeEnum::FromString(*entity->getArgument(9)); } void IfcCableSegmentType::setPredefinedType(IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCableSegmentTypeEnum::ToString(v)); } @@ -5445,7 +5445,7 @@ bool IfcCableSegmentType::is(Type::Enum v) const { return v == Type::IfcCableSeg Type::Enum IfcCableSegmentType::type() const { return Type::IfcCableSegmentType; } Type::Enum IfcCableSegmentType::Class() { return Type::IfcCableSegmentType; } IfcCableSegmentType::IfcCableSegmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCableSegmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCableSegmentType::IfcCableSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCableSegmentType::IfcCableSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCableSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCalendarDate IfcDayInMonthNumber IfcCalendarDate::DayComponent() { return *entity->getArgument(0); } void IfcCalendarDate::setDayComponent(IfcDayInMonthNumber v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5459,13 +5459,13 @@ Type::Enum IfcCalendarDate::Class() { return Type::IfcCalendarDate; } IfcCalendarDate::IfcCalendarDate(IfcAbstractEntityPtr e) { if (!is(Type::IfcCalendarDate)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcCalendarDate::IfcCalendarDate(IfcDayInMonthNumber v1_DayComponent, IfcMonthInYearNumber v2_MonthComponent, IfcYearNumber v3_YearComponent) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DayComponent)); e->setArgument(1,(v2_MonthComponent)); e->setArgument(2,(v3_YearComponent)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianPoint -std::vector /*[1:3]*/ IfcCartesianPoint::Coordinates() { return *entity->getArgument(0); } -void IfcCartesianPoint::setCoordinates(std::vector /*[1:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } +std::vector< IfcLengthMeasure > /*[1:3]*/ IfcCartesianPoint::Coordinates() { return *entity->getArgument(0); } +void IfcCartesianPoint::setCoordinates(std::vector< IfcLengthMeasure > /*[1:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } bool IfcCartesianPoint::is(Type::Enum v) const { return v == Type::IfcCartesianPoint || IfcPoint::is(v); } Type::Enum IfcCartesianPoint::type() const { return Type::IfcCartesianPoint; } Type::Enum IfcCartesianPoint::Class() { return Type::IfcCartesianPoint; } IfcCartesianPoint::IfcCartesianPoint(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianPoint)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianPoint::IfcCartesianPoint(std::vector /*[1:3]*/ v1_Coordinates) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Coordinates)); entity = e; EntityBuffer::Add(this); } +IfcCartesianPoint::IfcCartesianPoint(std::vector< IfcLengthMeasure > /*[1:3]*/ v1_Coordinates) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Coordinates)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianTransformationOperator bool IfcCartesianTransformationOperator::hasAxis1() { return !entity->getArgument(0)->isNull(); } IfcDirection* IfcCartesianTransformationOperator::Axis1() { return reinterpret_pointer_cast(*entity->getArgument(0)); } @@ -5482,13 +5482,13 @@ bool IfcCartesianTransformationOperator::is(Type::Enum v) const { return v == Ty Type::Enum IfcCartesianTransformationOperator::type() const { return Type::IfcCartesianTransformationOperator; } Type::Enum IfcCartesianTransformationOperator::Class() { return Type::IfcCartesianTransformationOperator; } IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianTransformationOperator)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcCartesianTransformationOperator::IfcCartesianTransformationOperator(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianTransformationOperator2D bool IfcCartesianTransformationOperator2D::is(Type::Enum v) const { return v == Type::IfcCartesianTransformationOperator2D || IfcCartesianTransformationOperator::is(v); } Type::Enum IfcCartesianTransformationOperator2D::type() const { return Type::IfcCartesianTransformationOperator2D; } Type::Enum IfcCartesianTransformationOperator2D::Class() { return Type::IfcCartesianTransformationOperator2D; } IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianTransformationOperator2D)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcCartesianTransformationOperator2D::IfcCartesianTransformationOperator2D(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianTransformationOperator2DnonUniform bool IfcCartesianTransformationOperator2DnonUniform::hasScale2() { return !entity->getArgument(4)->isNull(); } double IfcCartesianTransformationOperator2DnonUniform::Scale2() { return *entity->getArgument(4); } @@ -5497,7 +5497,7 @@ bool IfcCartesianTransformationOperator2DnonUniform::is(Type::Enum v) const { re Type::Enum IfcCartesianTransformationOperator2DnonUniform::type() const { return Type::IfcCartesianTransformationOperator2DnonUniform; } Type::Enum IfcCartesianTransformationOperator2DnonUniform::Class() { return Type::IfcCartesianTransformationOperator2DnonUniform; } IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianTransformationOperator2DnonUniform)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, optional v5_Scale2) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; if (v5_Scale2) { e->setArgument(4,(*v5_Scale2)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcCartesianTransformationOperator2DnonUniform::IfcCartesianTransformationOperator2DnonUniform(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, optional< double > v5_Scale2) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; if (v5_Scale2) { e->setArgument(4,(*v5_Scale2)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianTransformationOperator3D bool IfcCartesianTransformationOperator3D::hasAxis3() { return !entity->getArgument(4)->isNull(); } IfcDirection* IfcCartesianTransformationOperator3D::Axis3() { return reinterpret_pointer_cast(*entity->getArgument(4)); } @@ -5506,7 +5506,7 @@ bool IfcCartesianTransformationOperator3D::is(Type::Enum v) const { return v == Type::Enum IfcCartesianTransformationOperator3D::type() const { return Type::IfcCartesianTransformationOperator3D; } Type::Enum IfcCartesianTransformationOperator3D::Class() { return Type::IfcCartesianTransformationOperator3D; } IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianTransformationOperator3D)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, IfcDirection* v5_Axis3) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Axis3)); entity = e; EntityBuffer::Add(this); } +IfcCartesianTransformationOperator3D::IfcCartesianTransformationOperator3D(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, IfcDirection* v5_Axis3) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Axis3)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform bool IfcCartesianTransformationOperator3DnonUniform::hasScale2() { return !entity->getArgument(5)->isNull(); } double IfcCartesianTransformationOperator3DnonUniform::Scale2() { return *entity->getArgument(5); } @@ -5518,7 +5518,7 @@ bool IfcCartesianTransformationOperator3DnonUniform::is(Type::Enum v) const { re Type::Enum IfcCartesianTransformationOperator3DnonUniform::type() const { return Type::IfcCartesianTransformationOperator3DnonUniform; } Type::Enum IfcCartesianTransformationOperator3DnonUniform::Class() { return Type::IfcCartesianTransformationOperator3DnonUniform; } IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(IfcAbstractEntityPtr e) { if (!is(Type::IfcCartesianTransformationOperator3DnonUniform)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, IfcDirection* v5_Axis3, optional v6_Scale2, optional v7_Scale3) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Axis3)); if (v6_Scale2) { e->setArgument(5,(*v6_Scale2)); } else { e->setArgument(5); } ; if (v7_Scale3) { e->setArgument(6,(*v7_Scale3)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcCartesianTransformationOperator3DnonUniform::IfcCartesianTransformationOperator3DnonUniform(IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, IfcDirection* v5_Axis3, optional< double > v6_Scale2, optional< double > v7_Scale3) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Axis1)); e->setArgument(1,(v2_Axis2)); e->setArgument(2,(v3_LocalOrigin)); if (v4_Scale) { e->setArgument(3,(*v4_Scale)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Axis3)); if (v6_Scale2) { e->setArgument(5,(*v6_Scale2)); } else { e->setArgument(5); } ; if (v7_Scale3) { e->setArgument(6,(*v7_Scale3)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCenterLineProfileDef IfcPositiveLengthMeasure IfcCenterLineProfileDef::Thickness() { return *entity->getArgument(3); } void IfcCenterLineProfileDef::setThickness(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -5526,7 +5526,7 @@ bool IfcCenterLineProfileDef::is(Type::Enum v) const { return v == Type::IfcCent Type::Enum IfcCenterLineProfileDef::type() const { return Type::IfcCenterLineProfileDef; } Type::Enum IfcCenterLineProfileDef::Class() { return Type::IfcCenterLineProfileDef; } IfcCenterLineProfileDef::IfcCenterLineProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCenterLineProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCenterLineProfileDef::IfcCenterLineProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcBoundedCurve* v3_Curve, IfcPositiveLengthMeasure v4_Thickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Curve)); e->setArgument(3,(v4_Thickness)); entity = e; EntityBuffer::Add(this); } +IfcCenterLineProfileDef::IfcCenterLineProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcBoundedCurve* v3_Curve, IfcPositiveLengthMeasure v4_Thickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Curve)); e->setArgument(3,(v4_Thickness)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcChamferEdgeFeature bool IfcChamferEdgeFeature::hasWidth() { return !entity->getArgument(9)->isNull(); } IfcPositiveLengthMeasure IfcChamferEdgeFeature::Width() { return *entity->getArgument(9); } @@ -5538,7 +5538,7 @@ bool IfcChamferEdgeFeature::is(Type::Enum v) const { return v == Type::IfcChamfe Type::Enum IfcChamferEdgeFeature::type() const { return Type::IfcChamferEdgeFeature; } Type::Enum IfcChamferEdgeFeature::Class() { return Type::IfcChamferEdgeFeature; } IfcChamferEdgeFeature::IfcChamferEdgeFeature(IfcAbstractEntityPtr e) { if (!is(Type::IfcChamferEdgeFeature)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcChamferEdgeFeature::IfcChamferEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength, optional v10_Width, optional v11_Height) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; if (v10_Width) { e->setArgument(9,(*v10_Width)); } else { e->setArgument(9); } ; if (v11_Height) { e->setArgument(10,(*v11_Height)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcChamferEdgeFeature::IfcChamferEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength, optional< IfcPositiveLengthMeasure > v10_Width, optional< IfcPositiveLengthMeasure > v11_Height) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; if (v10_Width) { e->setArgument(9,(*v10_Width)); } else { e->setArgument(9); } ; if (v11_Height) { e->setArgument(10,(*v11_Height)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcChillerType IfcChillerTypeEnum::IfcChillerTypeEnum IfcChillerType::PredefinedType() { return IfcChillerTypeEnum::FromString(*entity->getArgument(9)); } void IfcChillerType::setPredefinedType(IfcChillerTypeEnum::IfcChillerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcChillerTypeEnum::ToString(v)); } @@ -5546,7 +5546,7 @@ bool IfcChillerType::is(Type::Enum v) const { return v == Type::IfcChillerType | Type::Enum IfcChillerType::type() const { return Type::IfcChillerType; } Type::Enum IfcChillerType::Class() { return Type::IfcChillerType; } IfcChillerType::IfcChillerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcChillerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcChillerType::IfcChillerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcChillerTypeEnum::IfcChillerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcChillerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcChillerType::IfcChillerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcChillerTypeEnum::IfcChillerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcChillerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCircle IfcPositiveLengthMeasure IfcCircle::Radius() { return *entity->getArgument(1); } void IfcCircle::setRadius(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -5562,7 +5562,7 @@ bool IfcCircleHollowProfileDef::is(Type::Enum v) const { return v == Type::IfcCi Type::Enum IfcCircleHollowProfileDef::type() const { return Type::IfcCircleHollowProfileDef; } Type::Enum IfcCircleHollowProfileDef::Class() { return Type::IfcCircleHollowProfileDef; } IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCircleHollowProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius, IfcPositiveLengthMeasure v5_WallThickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Radius)); e->setArgument(4,(v5_WallThickness)); entity = e; EntityBuffer::Add(this); } +IfcCircleHollowProfileDef::IfcCircleHollowProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius, IfcPositiveLengthMeasure v5_WallThickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Radius)); e->setArgument(4,(v5_WallThickness)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCircleProfileDef IfcPositiveLengthMeasure IfcCircleProfileDef::Radius() { return *entity->getArgument(3); } void IfcCircleProfileDef::setRadius(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -5570,7 +5570,7 @@ bool IfcCircleProfileDef::is(Type::Enum v) const { return v == Type::IfcCirclePr Type::Enum IfcCircleProfileDef::type() const { return Type::IfcCircleProfileDef; } Type::Enum IfcCircleProfileDef::Class() { return Type::IfcCircleProfileDef; } IfcCircleProfileDef::IfcCircleProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCircleProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCircleProfileDef::IfcCircleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Radius)); entity = e; EntityBuffer::Add(this); } +IfcCircleProfileDef::IfcCircleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Radius)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcClassification IfcLabel IfcClassification::Source() { return *entity->getArgument(0); } void IfcClassification::setSource(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5605,21 +5605,21 @@ IfcClassificationItem::IfcClassificationItem(IfcClassificationNotationFacet* v1_ // Function implementations for IfcClassificationItemRelationship IfcClassificationItem* IfcClassificationItemRelationship::RelatingItem() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcClassificationItemRelationship::setRelatingItem(IfcClassificationItem* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcClassificationItemRelationship::RelatedItems() { RETURN_AS_LIST(IfcClassificationItem,1) } -void IfcClassificationItemRelationship::setRelatedItems(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > IfcClassificationItemRelationship::RelatedItems() { RETURN_AS_LIST(IfcClassificationItem,1) } +void IfcClassificationItemRelationship::setRelatedItems(SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcClassificationItemRelationship::is(Type::Enum v) const { return v == Type::IfcClassificationItemRelationship; } Type::Enum IfcClassificationItemRelationship::type() const { return Type::IfcClassificationItemRelationship; } Type::Enum IfcClassificationItemRelationship::Class() { return Type::IfcClassificationItemRelationship; } IfcClassificationItemRelationship::IfcClassificationItemRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcClassificationItemRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcClassificationItemRelationship::IfcClassificationItemRelationship(IfcClassificationItem* v1_RelatingItem, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedItems) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingItem)); e->setArgument(1,(v2_RelatedItems)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcClassificationItemRelationship::IfcClassificationItemRelationship(IfcClassificationItem* v1_RelatingItem, SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > v2_RelatedItems) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingItem)); e->setArgument(1,(v2_RelatedItems)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcClassificationNotation -SHARED_PTR< IfcTemplatedEntityList > IfcClassificationNotation::NotationFacets() { RETURN_AS_LIST(IfcClassificationNotationFacet,0) } -void IfcClassificationNotation::setNotationFacets(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > IfcClassificationNotation::NotationFacets() { RETURN_AS_LIST(IfcClassificationNotationFacet,0) } +void IfcClassificationNotation::setNotationFacets(SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcClassificationNotation::is(Type::Enum v) const { return v == Type::IfcClassificationNotation; } Type::Enum IfcClassificationNotation::type() const { return Type::IfcClassificationNotation; } Type::Enum IfcClassificationNotation::Class() { return Type::IfcClassificationNotation; } IfcClassificationNotation::IfcClassificationNotation(IfcAbstractEntityPtr e) { if (!is(Type::IfcClassificationNotation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcClassificationNotation::IfcClassificationNotation(SHARED_PTR< IfcTemplatedEntityList > v1_NotationFacets) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_NotationFacets)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcClassificationNotation::IfcClassificationNotation(SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > v1_NotationFacets) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_NotationFacets)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcClassificationNotationFacet IfcLabel IfcClassificationNotationFacet::NotationValue() { return *entity->getArgument(0); } void IfcClassificationNotationFacet::setNotationValue(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5636,13 +5636,13 @@ bool IfcClassificationReference::is(Type::Enum v) const { return v == Type::IfcC Type::Enum IfcClassificationReference::type() const { return Type::IfcClassificationReference; } Type::Enum IfcClassificationReference::Class() { return Type::IfcClassificationReference; } IfcClassificationReference::IfcClassificationReference(IfcAbstractEntityPtr e) { if (!is(Type::IfcClassificationReference)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcClassificationReference::IfcClassificationReference(optional v1_Location, optional v2_ItemReference, optional v3_Name, IfcClassification* v4_ReferencedSource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_ReferencedSource)); entity = e; EntityBuffer::Add(this); } +IfcClassificationReference::IfcClassificationReference(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name, IfcClassification* v4_ReferencedSource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_ReferencedSource)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcClosedShell bool IfcClosedShell::is(Type::Enum v) const { return v == Type::IfcClosedShell || IfcConnectedFaceSet::is(v); } Type::Enum IfcClosedShell::type() const { return Type::IfcClosedShell; } Type::Enum IfcClosedShell::Class() { return Type::IfcClosedShell; } IfcClosedShell::IfcClosedShell(IfcAbstractEntityPtr e) { if (!is(Type::IfcClosedShell)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcClosedShell::IfcClosedShell(SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcClosedShell::IfcClosedShell(SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCoilType IfcCoilTypeEnum::IfcCoilTypeEnum IfcCoilType::PredefinedType() { return IfcCoilTypeEnum::FromString(*entity->getArgument(9)); } void IfcCoilType::setPredefinedType(IfcCoilTypeEnum::IfcCoilTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCoilTypeEnum::ToString(v)); } @@ -5650,7 +5650,7 @@ bool IfcCoilType::is(Type::Enum v) const { return v == Type::IfcCoilType || IfcE Type::Enum IfcCoilType::type() const { return Type::IfcCoilType; } Type::Enum IfcCoilType::Class() { return Type::IfcCoilType; } IfcCoilType::IfcCoilType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCoilType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCoilType::IfcCoilType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoilTypeEnum::IfcCoilTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoilTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCoilType::IfcCoilType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoilTypeEnum::IfcCoilTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoilTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcColourRgb IfcNormalisedRatioMeasure IfcColourRgb::Red() { return *entity->getArgument(1); } void IfcColourRgb::setRed(IfcNormalisedRatioMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -5662,7 +5662,7 @@ bool IfcColourRgb::is(Type::Enum v) const { return v == Type::IfcColourRgb || If Type::Enum IfcColourRgb::type() const { return Type::IfcColourRgb; } Type::Enum IfcColourRgb::Class() { return Type::IfcColourRgb; } IfcColourRgb::IfcColourRgb(IfcAbstractEntityPtr e) { if (!is(Type::IfcColourRgb)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcColourRgb::IfcColourRgb(optional v1_Name, IfcNormalisedRatioMeasure v2_Red, IfcNormalisedRatioMeasure v3_Green, IfcNormalisedRatioMeasure v4_Blue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_Red)); e->setArgument(2,(v3_Green)); e->setArgument(3,(v4_Blue)); entity = e; EntityBuffer::Add(this); } +IfcColourRgb::IfcColourRgb(optional< IfcLabel > v1_Name, IfcNormalisedRatioMeasure v2_Red, IfcNormalisedRatioMeasure v3_Green, IfcNormalisedRatioMeasure v4_Blue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_Red)); e->setArgument(2,(v3_Green)); e->setArgument(3,(v4_Blue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcColourSpecification bool IfcColourSpecification::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcColourSpecification::Name() { return *entity->getArgument(0); } @@ -5671,13 +5671,13 @@ bool IfcColourSpecification::is(Type::Enum v) const { return v == Type::IfcColou Type::Enum IfcColourSpecification::type() const { return Type::IfcColourSpecification; } Type::Enum IfcColourSpecification::Class() { return Type::IfcColourSpecification; } IfcColourSpecification::IfcColourSpecification(IfcAbstractEntityPtr e) { if (!is(Type::IfcColourSpecification)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcColourSpecification::IfcColourSpecification(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcColourSpecification::IfcColourSpecification(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcColumn bool IfcColumn::is(Type::Enum v) const { return v == Type::IfcColumn || IfcBuildingElement::is(v); } Type::Enum IfcColumn::type() const { return Type::IfcColumn; } Type::Enum IfcColumn::Class() { return Type::IfcColumn; } IfcColumn::IfcColumn(IfcAbstractEntityPtr e) { if (!is(Type::IfcColumn)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcColumn::IfcColumn(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcColumn::IfcColumn(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcColumnType IfcColumnTypeEnum::IfcColumnTypeEnum IfcColumnType::PredefinedType() { return IfcColumnTypeEnum::FromString(*entity->getArgument(9)); } void IfcColumnType::setPredefinedType(IfcColumnTypeEnum::IfcColumnTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcColumnTypeEnum::ToString(v)); } @@ -5685,27 +5685,27 @@ bool IfcColumnType::is(Type::Enum v) const { return v == Type::IfcColumnType || Type::Enum IfcColumnType::type() const { return Type::IfcColumnType; } Type::Enum IfcColumnType::Class() { return Type::IfcColumnType; } IfcColumnType::IfcColumnType(IfcAbstractEntityPtr e) { if (!is(Type::IfcColumnType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcColumnType::IfcColumnType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcColumnTypeEnum::IfcColumnTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcColumnTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcColumnType::IfcColumnType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcColumnTypeEnum::IfcColumnTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcColumnTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcComplexProperty IfcIdentifier IfcComplexProperty::UsageName() { return *entity->getArgument(2); } void IfcComplexProperty::setUsageName(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcComplexProperty::HasProperties() { RETURN_AS_LIST(IfcProperty,3) } -void IfcComplexProperty::setHasProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcComplexProperty::HasProperties() { RETURN_AS_LIST(IfcProperty,3) } +void IfcComplexProperty::setHasProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcComplexProperty::is(Type::Enum v) const { return v == Type::IfcComplexProperty || IfcProperty::is(v); } Type::Enum IfcComplexProperty::type() const { return Type::IfcComplexProperty; } Type::Enum IfcComplexProperty::Class() { return Type::IfcComplexProperty; } IfcComplexProperty::IfcComplexProperty(IfcAbstractEntityPtr e) { if (!is(Type::IfcComplexProperty)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcComplexProperty::IfcComplexProperty(IfcIdentifier v1_Name, optional v2_Description, IfcIdentifier v3_UsageName, SHARED_PTR< IfcTemplatedEntityList > v4_HasProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_UsageName)); e->setArgument(3,(v4_HasProperties)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcComplexProperty::IfcComplexProperty(IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcIdentifier v3_UsageName, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v4_HasProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_UsageName)); e->setArgument(3,(v4_HasProperties)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCompositeCurve -SHARED_PTR< IfcTemplatedEntityList > IfcCompositeCurve::Segments() { RETURN_AS_LIST(IfcCompositeCurveSegment,0) } -void IfcCompositeCurve::setSegments(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > IfcCompositeCurve::Segments() { RETURN_AS_LIST(IfcCompositeCurveSegment,0) } +void IfcCompositeCurve::setSegments(SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcCompositeCurve::SelfIntersect() { return *entity->getArgument(1); } void IfcCompositeCurve::setSelfIntersect(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcCompositeCurve::is(Type::Enum v) const { return v == Type::IfcCompositeCurve || IfcBoundedCurve::is(v); } Type::Enum IfcCompositeCurve::type() const { return Type::IfcCompositeCurve; } Type::Enum IfcCompositeCurve::Class() { return Type::IfcCompositeCurve; } IfcCompositeCurve::IfcCompositeCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcCompositeCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCompositeCurve::IfcCompositeCurve(SHARED_PTR< IfcTemplatedEntityList > v1_Segments, bool v2_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Segments)->generalize()); e->setArgument(1,(v2_SelfIntersect)); entity = e; EntityBuffer::Add(this); } +IfcCompositeCurve::IfcCompositeCurve(SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v1_Segments, bool v2_SelfIntersect) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Segments)->generalize()); e->setArgument(1,(v2_SelfIntersect)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCompositeCurveSegment IfcTransitionCode::IfcTransitionCode IfcCompositeCurveSegment::Transition() { return IfcTransitionCode::FromString(*entity->getArgument(0)); } void IfcCompositeCurveSegment::setTransition(IfcTransitionCode::IfcTransitionCode v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcTransitionCode::ToString(v)); } @@ -5720,8 +5720,8 @@ Type::Enum IfcCompositeCurveSegment::Class() { return Type::IfcCompositeCurveSeg IfcCompositeCurveSegment::IfcCompositeCurveSegment(IfcAbstractEntityPtr e) { if (!is(Type::IfcCompositeCurveSegment)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcCompositeCurveSegment::IfcCompositeCurveSegment(IfcTransitionCode::IfcTransitionCode v1_Transition, bool v2_SameSense, IfcCurve* v3_ParentCurve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_Transition,IfcTransitionCode::ToString(v1_Transition)); e->setArgument(1,(v2_SameSense)); e->setArgument(2,(v3_ParentCurve)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCompositeProfileDef -SHARED_PTR< IfcTemplatedEntityList > IfcCompositeProfileDef::Profiles() { RETURN_AS_LIST(IfcProfileDef,2) } -void IfcCompositeProfileDef::setProfiles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > IfcCompositeProfileDef::Profiles() { RETURN_AS_LIST(IfcProfileDef,2) } +void IfcCompositeProfileDef::setProfiles(SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcCompositeProfileDef::hasLabel() { return !entity->getArgument(3)->isNull(); } IfcLabel IfcCompositeProfileDef::Label() { return *entity->getArgument(3); } void IfcCompositeProfileDef::setLabel(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -5729,7 +5729,7 @@ bool IfcCompositeProfileDef::is(Type::Enum v) const { return v == Type::IfcCompo Type::Enum IfcCompositeProfileDef::type() const { return Type::IfcCompositeProfileDef; } Type::Enum IfcCompositeProfileDef::Class() { return Type::IfcCompositeProfileDef; } IfcCompositeProfileDef::IfcCompositeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCompositeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCompositeProfileDef::IfcCompositeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, SHARED_PTR< IfcTemplatedEntityList > v3_Profiles, optional v4_Label) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Profiles)->generalize()); if (v4_Label) { e->setArgument(3,(*v4_Label)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcCompositeProfileDef::IfcCompositeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v3_Profiles, optional< IfcLabel > v4_Label) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Profiles)->generalize()); if (v4_Label) { e->setArgument(3,(*v4_Label)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCompressorType IfcCompressorTypeEnum::IfcCompressorTypeEnum IfcCompressorType::PredefinedType() { return IfcCompressorTypeEnum::FromString(*entity->getArgument(9)); } void IfcCompressorType::setPredefinedType(IfcCompressorTypeEnum::IfcCompressorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCompressorTypeEnum::ToString(v)); } @@ -5737,7 +5737,7 @@ bool IfcCompressorType::is(Type::Enum v) const { return v == Type::IfcCompressor Type::Enum IfcCompressorType::type() const { return Type::IfcCompressorType; } Type::Enum IfcCompressorType::Class() { return Type::IfcCompressorType; } IfcCompressorType::IfcCompressorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCompressorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCompressorType::IfcCompressorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCompressorTypeEnum::IfcCompressorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCompressorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCompressorType::IfcCompressorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCompressorTypeEnum::IfcCompressorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCompressorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCondenserType IfcCondenserTypeEnum::IfcCondenserTypeEnum IfcCondenserType::PredefinedType() { return IfcCondenserTypeEnum::FromString(*entity->getArgument(9)); } void IfcCondenserType::setPredefinedType(IfcCondenserTypeEnum::IfcCondenserTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCondenserTypeEnum::ToString(v)); } @@ -5745,13 +5745,13 @@ bool IfcCondenserType::is(Type::Enum v) const { return v == Type::IfcCondenserTy Type::Enum IfcCondenserType::type() const { return Type::IfcCondenserType; } Type::Enum IfcCondenserType::Class() { return Type::IfcCondenserType; } IfcCondenserType::IfcCondenserType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCondenserType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCondenserType::IfcCondenserType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCondenserTypeEnum::IfcCondenserTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCondenserTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCondenserType::IfcCondenserType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCondenserTypeEnum::IfcCondenserTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCondenserTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCondition bool IfcCondition::is(Type::Enum v) const { return v == Type::IfcCondition || IfcGroup::is(v); } Type::Enum IfcCondition::type() const { return Type::IfcCondition; } Type::Enum IfcCondition::Class() { return Type::IfcCondition; } IfcCondition::IfcCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCondition::IfcCondition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcCondition::IfcCondition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConditionCriterion IfcConditionCriterionSelect IfcConditionCriterion::Criterion() { return *entity->getArgument(5); } void IfcConditionCriterion::setCriterion(IfcConditionCriterionSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -5761,7 +5761,7 @@ bool IfcConditionCriterion::is(Type::Enum v) const { return v == Type::IfcCondit Type::Enum IfcConditionCriterion::type() const { return Type::IfcConditionCriterion; } Type::Enum IfcConditionCriterion::Class() { return Type::IfcConditionCriterion; } IfcConditionCriterion::IfcConditionCriterion(IfcAbstractEntityPtr e) { if (!is(Type::IfcConditionCriterion)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConditionCriterion::IfcConditionCriterion(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcConditionCriterionSelect v6_Criterion, IfcDateTimeSelect v7_CriterionDateTime) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Criterion)); e->setArgument(6,(v7_CriterionDateTime)); entity = e; EntityBuffer::Add(this); } +IfcConditionCriterion::IfcConditionCriterion(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcConditionCriterionSelect v6_Criterion, IfcDateTimeSelect v7_CriterionDateTime) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Criterion)); e->setArgument(6,(v7_CriterionDateTime)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConic IfcAxis2Placement IfcConic::Position() { return *entity->getArgument(0); } void IfcConic::setPosition(IfcAxis2Placement v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5771,13 +5771,13 @@ Type::Enum IfcConic::Class() { return Type::IfcConic; } IfcConic::IfcConic(IfcAbstractEntityPtr e) { if (!is(Type::IfcConic)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcConic::IfcConic(IfcAxis2Placement v1_Position) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Position)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectedFaceSet -SHARED_PTR< IfcTemplatedEntityList > IfcConnectedFaceSet::CfsFaces() { RETURN_AS_LIST(IfcFace,0) } -void IfcConnectedFaceSet::setCfsFaces(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcFace > > IfcConnectedFaceSet::CfsFaces() { RETURN_AS_LIST(IfcFace,0) } +void IfcConnectedFaceSet::setCfsFaces(SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcConnectedFaceSet::is(Type::Enum v) const { return v == Type::IfcConnectedFaceSet || IfcTopologicalRepresentationItem::is(v); } Type::Enum IfcConnectedFaceSet::type() const { return Type::IfcConnectedFaceSet; } Type::Enum IfcConnectedFaceSet::Class() { return Type::IfcConnectedFaceSet; } IfcConnectedFaceSet::IfcConnectedFaceSet(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectedFaceSet)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectedFaceSet::IfcConnectedFaceSet(SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcConnectedFaceSet::IfcConnectedFaceSet(SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectionCurveGeometry IfcCurveOrEdgeCurve IfcConnectionCurveGeometry::CurveOnRelatingElement() { return *entity->getArgument(0); } void IfcConnectionCurveGeometry::setCurveOnRelatingElement(IfcCurveOrEdgeCurve v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5788,7 +5788,7 @@ bool IfcConnectionCurveGeometry::is(Type::Enum v) const { return v == Type::IfcC Type::Enum IfcConnectionCurveGeometry::type() const { return Type::IfcConnectionCurveGeometry; } Type::Enum IfcConnectionCurveGeometry::Class() { return Type::IfcConnectionCurveGeometry; } IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectionCurveGeometry)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, optional v2_CurveOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CurveOnRelatingElement)); if (v2_CurveOnRelatedElement) { e->setArgument(1,(*v2_CurveOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcConnectionCurveGeometry::IfcConnectionCurveGeometry(IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, optional< IfcCurveOrEdgeCurve > v2_CurveOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CurveOnRelatingElement)); if (v2_CurveOnRelatedElement) { e->setArgument(1,(*v2_CurveOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectionGeometry bool IfcConnectionGeometry::is(Type::Enum v) const { return v == Type::IfcConnectionGeometry; } Type::Enum IfcConnectionGeometry::type() const { return Type::IfcConnectionGeometry; } @@ -5808,7 +5808,7 @@ bool IfcConnectionPointEccentricity::is(Type::Enum v) const { return v == Type:: Type::Enum IfcConnectionPointEccentricity::type() const { return Type::IfcConnectionPointEccentricity; } Type::Enum IfcConnectionPointEccentricity::Class() { return Type::IfcConnectionPointEccentricity; } IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectionPointEccentricity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(IfcPointOrVertexPoint v1_PointOnRelatingElement, optional v2_PointOnRelatedElement, optional v3_EccentricityInX, optional v4_EccentricityInY, optional v5_EccentricityInZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_PointOnRelatingElement)); if (v2_PointOnRelatedElement) { e->setArgument(1,(*v2_PointOnRelatedElement)); } else { e->setArgument(1); } ; if (v3_EccentricityInX) { e->setArgument(2,(*v3_EccentricityInX)); } else { e->setArgument(2); } ; if (v4_EccentricityInY) { e->setArgument(3,(*v4_EccentricityInY)); } else { e->setArgument(3); } ; if (v5_EccentricityInZ) { e->setArgument(4,(*v5_EccentricityInZ)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcConnectionPointEccentricity::IfcConnectionPointEccentricity(IfcPointOrVertexPoint v1_PointOnRelatingElement, optional< IfcPointOrVertexPoint > v2_PointOnRelatedElement, optional< IfcLengthMeasure > v3_EccentricityInX, optional< IfcLengthMeasure > v4_EccentricityInY, optional< IfcLengthMeasure > v5_EccentricityInZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_PointOnRelatingElement)); if (v2_PointOnRelatedElement) { e->setArgument(1,(*v2_PointOnRelatedElement)); } else { e->setArgument(1); } ; if (v3_EccentricityInX) { e->setArgument(2,(*v3_EccentricityInX)); } else { e->setArgument(2); } ; if (v4_EccentricityInY) { e->setArgument(3,(*v4_EccentricityInY)); } else { e->setArgument(3); } ; if (v5_EccentricityInZ) { e->setArgument(4,(*v5_EccentricityInZ)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectionPointGeometry IfcPointOrVertexPoint IfcConnectionPointGeometry::PointOnRelatingElement() { return *entity->getArgument(0); } void IfcConnectionPointGeometry::setPointOnRelatingElement(IfcPointOrVertexPoint v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5819,7 +5819,7 @@ bool IfcConnectionPointGeometry::is(Type::Enum v) const { return v == Type::IfcC Type::Enum IfcConnectionPointGeometry::type() const { return Type::IfcConnectionPointGeometry; } Type::Enum IfcConnectionPointGeometry::Class() { return Type::IfcConnectionPointGeometry; } IfcConnectionPointGeometry::IfcConnectionPointGeometry(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectionPointGeometry)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectionPointGeometry::IfcConnectionPointGeometry(IfcPointOrVertexPoint v1_PointOnRelatingElement, optional v2_PointOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_PointOnRelatingElement)); if (v2_PointOnRelatedElement) { e->setArgument(1,(*v2_PointOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcConnectionPointGeometry::IfcConnectionPointGeometry(IfcPointOrVertexPoint v1_PointOnRelatingElement, optional< IfcPointOrVertexPoint > v2_PointOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_PointOnRelatingElement)); if (v2_PointOnRelatedElement) { e->setArgument(1,(*v2_PointOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectionPortGeometry IfcAxis2Placement IfcConnectionPortGeometry::LocationAtRelatingElement() { return *entity->getArgument(0); } void IfcConnectionPortGeometry::setLocationAtRelatingElement(IfcAxis2Placement v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5832,7 +5832,7 @@ bool IfcConnectionPortGeometry::is(Type::Enum v) const { return v == Type::IfcCo Type::Enum IfcConnectionPortGeometry::type() const { return Type::IfcConnectionPortGeometry; } Type::Enum IfcConnectionPortGeometry::Class() { return Type::IfcConnectionPortGeometry; } IfcConnectionPortGeometry::IfcConnectionPortGeometry(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectionPortGeometry)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectionPortGeometry::IfcConnectionPortGeometry(IfcAxis2Placement v1_LocationAtRelatingElement, optional v2_LocationAtRelatedElement, IfcProfileDef* v3_ProfileOfPort) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_LocationAtRelatingElement)); if (v2_LocationAtRelatedElement) { e->setArgument(1,(*v2_LocationAtRelatedElement)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ProfileOfPort)); entity = e; EntityBuffer::Add(this); } +IfcConnectionPortGeometry::IfcConnectionPortGeometry(IfcAxis2Placement v1_LocationAtRelatingElement, optional< IfcAxis2Placement > v2_LocationAtRelatedElement, IfcProfileDef* v3_ProfileOfPort) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_LocationAtRelatingElement)); if (v2_LocationAtRelatedElement) { e->setArgument(1,(*v2_LocationAtRelatedElement)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ProfileOfPort)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConnectionSurfaceGeometry IfcSurfaceOrFaceSurface IfcConnectionSurfaceGeometry::SurfaceOnRelatingElement() { return *entity->getArgument(0); } void IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(IfcSurfaceOrFaceSurface v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5843,7 +5843,7 @@ bool IfcConnectionSurfaceGeometry::is(Type::Enum v) const { return v == Type::If Type::Enum IfcConnectionSurfaceGeometry::type() const { return Type::IfcConnectionSurfaceGeometry; } Type::Enum IfcConnectionSurfaceGeometry::Class() { return Type::IfcConnectionSurfaceGeometry; } IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(IfcAbstractEntityPtr e) { if (!is(Type::IfcConnectionSurfaceGeometry)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, optional v2_SurfaceOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SurfaceOnRelatingElement)); if (v2_SurfaceOnRelatedElement) { e->setArgument(1,(*v2_SurfaceOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcConnectionSurfaceGeometry::IfcConnectionSurfaceGeometry(IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, optional< IfcSurfaceOrFaceSurface > v2_SurfaceOnRelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SurfaceOnRelatingElement)); if (v2_SurfaceOnRelatedElement) { e->setArgument(1,(*v2_SurfaceOnRelatedElement)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstraint IfcLabel IfcConstraint::Name() { return *entity->getArgument(0); } void IfcConstraint::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -5874,7 +5874,7 @@ bool IfcConstraint::is(Type::Enum v) const { return v == Type::IfcConstraint; } Type::Enum IfcConstraint::type() const { return Type::IfcConstraint; } Type::Enum IfcConstraint::Class() { return Type::IfcConstraint; } IfcConstraint::IfcConstraint(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstraint)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstraint::IfcConstraint(IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcConstraint::IfcConstraint(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstraintAggregationRelationship bool IfcConstraintAggregationRelationship::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcConstraintAggregationRelationship::Name() { return *entity->getArgument(0); } @@ -5884,20 +5884,20 @@ IfcText IfcConstraintAggregationRelationship::Description() { return *entity->ge void IfcConstraintAggregationRelationship::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } IfcConstraint* IfcConstraintAggregationRelationship::RelatingConstraint() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcConstraintAggregationRelationship::setRelatingConstraint(IfcConstraint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcConstraintAggregationRelationship::RelatedConstraints() { RETURN_AS_LIST(IfcConstraint,3) } -void IfcConstraintAggregationRelationship::setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > IfcConstraintAggregationRelationship::RelatedConstraints() { RETURN_AS_LIST(IfcConstraint,3) } +void IfcConstraintAggregationRelationship::setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } IfcLogicalOperatorEnum::IfcLogicalOperatorEnum IfcConstraintAggregationRelationship::LogicalAggregator() { return IfcLogicalOperatorEnum::FromString(*entity->getArgument(4)); } void IfcConstraintAggregationRelationship::setLogicalAggregator(IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v,IfcLogicalOperatorEnum::ToString(v)); } bool IfcConstraintAggregationRelationship::is(Type::Enum v) const { return v == Type::IfcConstraintAggregationRelationship; } Type::Enum IfcConstraintAggregationRelationship::type() const { return Type::IfcConstraintAggregationRelationship; } Type::Enum IfcConstraintAggregationRelationship::Class() { return Type::IfcConstraintAggregationRelationship; } IfcConstraintAggregationRelationship::IfcConstraintAggregationRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstraintAggregationRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstraintAggregationRelationship::IfcConstraintAggregationRelationship(optional v1_Name, optional v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedConstraints, IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v5_LogicalAggregator) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingConstraint)); e->setArgument(3,(v4_RelatedConstraints)->generalize()); e->setArgument(4,v5_LogicalAggregator,IfcLogicalOperatorEnum::ToString(v5_LogicalAggregator)); entity = e; EntityBuffer::Add(this); } +IfcConstraintAggregationRelationship::IfcConstraintAggregationRelationship(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v4_RelatedConstraints, IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v5_LogicalAggregator) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingConstraint)); e->setArgument(3,(v4_RelatedConstraints)->generalize()); e->setArgument(4,v5_LogicalAggregator,IfcLogicalOperatorEnum::ToString(v5_LogicalAggregator)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstraintClassificationRelationship IfcConstraint* IfcConstraintClassificationRelationship::ClassifiedConstraint() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcConstraintClassificationRelationship::setClassifiedConstraint(IfcConstraint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcConstraintClassificationRelationship::RelatedClassifications() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcConstraintClassificationRelationship::setRelatedClassifications(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcConstraintClassificationRelationship::RelatedClassifications() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcConstraintClassificationRelationship::setRelatedClassifications(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcConstraintClassificationRelationship::is(Type::Enum v) const { return v == Type::IfcConstraintClassificationRelationship; } Type::Enum IfcConstraintClassificationRelationship::type() const { return Type::IfcConstraintClassificationRelationship; } Type::Enum IfcConstraintClassificationRelationship::Class() { return Type::IfcConstraintClassificationRelationship; } @@ -5912,23 +5912,23 @@ IfcText IfcConstraintRelationship::Description() { return *entity->getArgument(1 void IfcConstraintRelationship::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } IfcConstraint* IfcConstraintRelationship::RelatingConstraint() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcConstraintRelationship::setRelatingConstraint(IfcConstraint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcConstraintRelationship::RelatedConstraints() { RETURN_AS_LIST(IfcConstraint,3) } -void IfcConstraintRelationship::setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > IfcConstraintRelationship::RelatedConstraints() { RETURN_AS_LIST(IfcConstraint,3) } +void IfcConstraintRelationship::setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcConstraintRelationship::is(Type::Enum v) const { return v == Type::IfcConstraintRelationship; } Type::Enum IfcConstraintRelationship::type() const { return Type::IfcConstraintRelationship; } Type::Enum IfcConstraintRelationship::Class() { return Type::IfcConstraintRelationship; } IfcConstraintRelationship::IfcConstraintRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstraintRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstraintRelationship::IfcConstraintRelationship(optional v1_Name, optional v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedConstraints) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingConstraint)); e->setArgument(3,(v4_RelatedConstraints)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcConstraintRelationship::IfcConstraintRelationship(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v4_RelatedConstraints) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingConstraint)); e->setArgument(3,(v4_RelatedConstraints)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstructionEquipmentResource bool IfcConstructionEquipmentResource::is(Type::Enum v) const { return v == Type::IfcConstructionEquipmentResource || IfcConstructionResource::is(v); } Type::Enum IfcConstructionEquipmentResource::type() const { return Type::IfcConstructionEquipmentResource; } Type::Enum IfcConstructionEquipmentResource::Class() { return Type::IfcConstructionEquipmentResource; } IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstructionEquipmentResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } +IfcConstructionEquipmentResource::IfcConstructionEquipmentResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstructionMaterialResource bool IfcConstructionMaterialResource::hasSuppliers() { return !entity->getArgument(9)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcConstructionMaterialResource::Suppliers() { RETURN_AS_LIST(IfcAbstractSelect,9) } -void IfcConstructionMaterialResource::setSuppliers(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcConstructionMaterialResource::Suppliers() { RETURN_AS_LIST(IfcAbstractSelect,9) } +void IfcConstructionMaterialResource::setSuppliers(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } bool IfcConstructionMaterialResource::hasUsageRatio() { return !entity->getArgument(10)->isNull(); } IfcRatioMeasure IfcConstructionMaterialResource::UsageRatio() { return *entity->getArgument(10); } void IfcConstructionMaterialResource::setUsageRatio(IfcRatioMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } @@ -5936,13 +5936,13 @@ bool IfcConstructionMaterialResource::is(Type::Enum v) const { return v == Type: Type::Enum IfcConstructionMaterialResource::type() const { return Type::IfcConstructionMaterialResource; } Type::Enum IfcConstructionMaterialResource::Class() { return Type::IfcConstructionMaterialResource; } IfcConstructionMaterialResource::IfcConstructionMaterialResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstructionMaterialResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstructionMaterialResource::IfcConstructionMaterialResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_Suppliers, optional v11_UsageRatio) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_Suppliers) { e->setArgument(9,(*v10_Suppliers)); } else { e->setArgument(9); } ; if (v11_UsageRatio) { e->setArgument(10,(*v11_UsageRatio)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcConstructionMaterialResource::IfcConstructionMaterialResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcEntities > v10_Suppliers, optional< IfcRatioMeasure > v11_UsageRatio) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_Suppliers) { e->setArgument(9,(*v10_Suppliers)); } else { e->setArgument(9); } ; if (v11_UsageRatio) { e->setArgument(10,(*v11_UsageRatio)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstructionProductResource bool IfcConstructionProductResource::is(Type::Enum v) const { return v == Type::IfcConstructionProductResource || IfcConstructionResource::is(v); } Type::Enum IfcConstructionProductResource::type() const { return Type::IfcConstructionProductResource; } Type::Enum IfcConstructionProductResource::Class() { return Type::IfcConstructionProductResource; } IfcConstructionProductResource::IfcConstructionProductResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstructionProductResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstructionProductResource::IfcConstructionProductResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } +IfcConstructionProductResource::IfcConstructionProductResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConstructionResource bool IfcConstructionResource::hasResourceIdentifier() { return !entity->getArgument(5)->isNull(); } IfcIdentifier IfcConstructionResource::ResourceIdentifier() { return *entity->getArgument(5); } @@ -5960,7 +5960,7 @@ bool IfcConstructionResource::is(Type::Enum v) const { return v == Type::IfcCons Type::Enum IfcConstructionResource::type() const { return Type::IfcConstructionResource; } Type::Enum IfcConstructionResource::Class() { return Type::IfcConstructionResource; } IfcConstructionResource::IfcConstructionResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcConstructionResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcConstructionResource::IfcConstructionResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } +IfcConstructionResource::IfcConstructionResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcContextDependentUnit IfcLabel IfcContextDependentUnit::Name() { return *entity->getArgument(2); } void IfcContextDependentUnit::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -5975,7 +5975,7 @@ bool IfcControl::is(Type::Enum v) const { return v == Type::IfcControl || IfcObj Type::Enum IfcControl::type() const { return Type::IfcControl; } Type::Enum IfcControl::Class() { return Type::IfcControl; } IfcControl::IfcControl(IfcAbstractEntityPtr e) { if (!is(Type::IfcControl)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcControl::IfcControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcControl::IfcControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcControllerType IfcControllerTypeEnum::IfcControllerTypeEnum IfcControllerType::PredefinedType() { return IfcControllerTypeEnum::FromString(*entity->getArgument(9)); } void IfcControllerType::setPredefinedType(IfcControllerTypeEnum::IfcControllerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcControllerTypeEnum::ToString(v)); } @@ -5983,7 +5983,7 @@ bool IfcControllerType::is(Type::Enum v) const { return v == Type::IfcController Type::Enum IfcControllerType::type() const { return Type::IfcControllerType; } Type::Enum IfcControllerType::Class() { return Type::IfcControllerType; } IfcControllerType::IfcControllerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcControllerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcControllerType::IfcControllerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcControllerTypeEnum::IfcControllerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcControllerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcControllerType::IfcControllerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcControllerTypeEnum::IfcControllerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcControllerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcConversionBasedUnit IfcLabel IfcConversionBasedUnit::Name() { return *entity->getArgument(2); } void IfcConversionBasedUnit::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -6001,7 +6001,7 @@ bool IfcCooledBeamType::is(Type::Enum v) const { return v == Type::IfcCooledBeam Type::Enum IfcCooledBeamType::type() const { return Type::IfcCooledBeamType; } Type::Enum IfcCooledBeamType::Class() { return Type::IfcCooledBeamType; } IfcCooledBeamType::IfcCooledBeamType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCooledBeamType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCooledBeamType::IfcCooledBeamType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCooledBeamTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCooledBeamType::IfcCooledBeamType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCooledBeamTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCoolingTowerType IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum IfcCoolingTowerType::PredefinedType() { return IfcCoolingTowerTypeEnum::FromString(*entity->getArgument(9)); } void IfcCoolingTowerType::setPredefinedType(IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCoolingTowerTypeEnum::ToString(v)); } @@ -6009,7 +6009,7 @@ bool IfcCoolingTowerType::is(Type::Enum v) const { return v == Type::IfcCoolingT Type::Enum IfcCoolingTowerType::type() const { return Type::IfcCoolingTowerType; } Type::Enum IfcCoolingTowerType::Class() { return Type::IfcCoolingTowerType; } IfcCoolingTowerType::IfcCoolingTowerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCoolingTowerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCoolingTowerType::IfcCoolingTowerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoolingTowerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCoolingTowerType::IfcCoolingTowerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoolingTowerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCoordinatedUniversalTimeOffset IfcHourInDay IfcCoordinatedUniversalTimeOffset::HourOffset() { return *entity->getArgument(0); } void IfcCoordinatedUniversalTimeOffset::setHourOffset(IfcHourInDay v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6022,13 +6022,13 @@ bool IfcCoordinatedUniversalTimeOffset::is(Type::Enum v) const { return v == Typ Type::Enum IfcCoordinatedUniversalTimeOffset::type() const { return Type::IfcCoordinatedUniversalTimeOffset; } Type::Enum IfcCoordinatedUniversalTimeOffset::Class() { return Type::IfcCoordinatedUniversalTimeOffset; } IfcCoordinatedUniversalTimeOffset::IfcCoordinatedUniversalTimeOffset(IfcAbstractEntityPtr e) { if (!is(Type::IfcCoordinatedUniversalTimeOffset)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCoordinatedUniversalTimeOffset::IfcCoordinatedUniversalTimeOffset(IfcHourInDay v1_HourOffset, optional v2_MinuteOffset, IfcAheadOrBehind::IfcAheadOrBehind v3_Sense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_HourOffset)); if (v2_MinuteOffset) { e->setArgument(1,(*v2_MinuteOffset)); } else { e->setArgument(1); } ; e->setArgument(2,v3_Sense,IfcAheadOrBehind::ToString(v3_Sense)); entity = e; EntityBuffer::Add(this); } +IfcCoordinatedUniversalTimeOffset::IfcCoordinatedUniversalTimeOffset(IfcHourInDay v1_HourOffset, optional< IfcMinuteInHour > v2_MinuteOffset, IfcAheadOrBehind::IfcAheadOrBehind v3_Sense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_HourOffset)); if (v2_MinuteOffset) { e->setArgument(1,(*v2_MinuteOffset)); } else { e->setArgument(1); } ; e->setArgument(2,v3_Sense,IfcAheadOrBehind::ToString(v3_Sense)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCostItem bool IfcCostItem::is(Type::Enum v) const { return v == Type::IfcCostItem || IfcControl::is(v); } Type::Enum IfcCostItem::type() const { return Type::IfcCostItem; } Type::Enum IfcCostItem::Class() { return Type::IfcCostItem; } IfcCostItem::IfcCostItem(IfcAbstractEntityPtr e) { if (!is(Type::IfcCostItem)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCostItem::IfcCostItem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcCostItem::IfcCostItem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCostSchedule bool IfcCostSchedule::hasSubmittedBy() { return !entity->getArgument(5)->isNull(); } IfcActorSelect IfcCostSchedule::SubmittedBy() { return *entity->getArgument(5); } @@ -6043,8 +6043,8 @@ bool IfcCostSchedule::hasStatus() { return !entity->getArgument(8)->isNull(); } IfcLabel IfcCostSchedule::Status() { return *entity->getArgument(8); } void IfcCostSchedule::setStatus(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } bool IfcCostSchedule::hasTargetUsers() { return !entity->getArgument(9)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcCostSchedule::TargetUsers() { RETURN_AS_LIST(IfcAbstractSelect,9) } -void IfcCostSchedule::setTargetUsers(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcCostSchedule::TargetUsers() { RETURN_AS_LIST(IfcAbstractSelect,9) } +void IfcCostSchedule::setTargetUsers(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } bool IfcCostSchedule::hasUpdateDate() { return !entity->getArgument(10)->isNull(); } IfcDateTimeSelect IfcCostSchedule::UpdateDate() { return *entity->getArgument(10); } void IfcCostSchedule::setUpdateDate(IfcDateTimeSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } @@ -6056,7 +6056,7 @@ bool IfcCostSchedule::is(Type::Enum v) const { return v == Type::IfcCostSchedule Type::Enum IfcCostSchedule::type() const { return Type::IfcCostSchedule; } Type::Enum IfcCostSchedule::Class() { return Type::IfcCostSchedule; } IfcCostSchedule::IfcCostSchedule(IfcAbstractEntityPtr e) { if (!is(Type::IfcCostSchedule)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCostSchedule::IfcCostSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_SubmittedBy, optional v7_PreparedBy, optional v8_SubmittedOn, optional v9_Status, optional v10_TargetUsers, optional v11_UpdateDate, IfcIdentifier v12_ID, IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum v13_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_SubmittedBy) { e->setArgument(5,(*v6_SubmittedBy)); } else { e->setArgument(5); } ; if (v7_PreparedBy) { e->setArgument(6,(*v7_PreparedBy)); } else { e->setArgument(6); } ; if (v8_SubmittedOn) { e->setArgument(7,(*v8_SubmittedOn)); } else { e->setArgument(7); } ; if (v9_Status) { e->setArgument(8,(*v9_Status)); } else { e->setArgument(8); } ; if (v10_TargetUsers) { e->setArgument(9,(*v10_TargetUsers)); } else { e->setArgument(9); } ; if (v11_UpdateDate) { e->setArgument(10,(*v11_UpdateDate)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_ID)); e->setArgument(12,v13_PredefinedType,IfcCostScheduleTypeEnum::ToString(v13_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCostSchedule::IfcCostSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcActorSelect > v6_SubmittedBy, optional< IfcActorSelect > v7_PreparedBy, optional< IfcDateTimeSelect > v8_SubmittedOn, optional< IfcLabel > v9_Status, optional< IfcEntities > v10_TargetUsers, optional< IfcDateTimeSelect > v11_UpdateDate, IfcIdentifier v12_ID, IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum v13_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_SubmittedBy) { e->setArgument(5,(*v6_SubmittedBy)); } else { e->setArgument(5); } ; if (v7_PreparedBy) { e->setArgument(6,(*v7_PreparedBy)); } else { e->setArgument(6); } ; if (v8_SubmittedOn) { e->setArgument(7,(*v8_SubmittedOn)); } else { e->setArgument(7); } ; if (v9_Status) { e->setArgument(8,(*v9_Status)); } else { e->setArgument(8); } ; if (v10_TargetUsers) { e->setArgument(9,(*v10_TargetUsers)); } else { e->setArgument(9); } ; if (v11_UpdateDate) { e->setArgument(10,(*v11_UpdateDate)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_ID)); e->setArgument(12,v13_PredefinedType,IfcCostScheduleTypeEnum::ToString(v13_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCostValue IfcLabel IfcCostValue::CostType() { return *entity->getArgument(6); } void IfcCostValue::setCostType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -6067,7 +6067,7 @@ bool IfcCostValue::is(Type::Enum v) const { return v == Type::IfcCostValue || If Type::Enum IfcCostValue::type() const { return Type::IfcCostValue; } Type::Enum IfcCostValue::Class() { return Type::IfcCostValue; } IfcCostValue::IfcCostValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcCostValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCostValue::IfcCostValue(optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate, IfcLabel v7_CostType, optional v8_Condition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_CostType)); if (v8_Condition) { e->setArgument(7,(*v8_Condition)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcCostValue::IfcCostValue(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate, IfcLabel v7_CostType, optional< IfcText > v8_Condition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_CostType)); if (v8_Condition) { e->setArgument(7,(*v8_Condition)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCovering bool IfcCovering::hasPredefinedType() { return !entity->getArgument(8)->isNull(); } IfcCoveringTypeEnum::IfcCoveringTypeEnum IfcCovering::PredefinedType() { return IfcCoveringTypeEnum::FromString(*entity->getArgument(8)); } @@ -6078,7 +6078,7 @@ bool IfcCovering::is(Type::Enum v) const { return v == Type::IfcCovering || IfcB Type::Enum IfcCovering::type() const { return Type::IfcCovering; } Type::Enum IfcCovering::Class() { return Type::IfcCovering; } IfcCovering::IfcCovering(IfcAbstractEntityPtr e) { if (!is(Type::IfcCovering)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCovering::IfcCovering(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcCoveringTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcCovering::IfcCovering(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcCoveringTypeEnum::IfcCoveringTypeEnum > v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcCoveringTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCoveringType IfcCoveringTypeEnum::IfcCoveringTypeEnum IfcCoveringType::PredefinedType() { return IfcCoveringTypeEnum::FromString(*entity->getArgument(9)); } void IfcCoveringType::setPredefinedType(IfcCoveringTypeEnum::IfcCoveringTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCoveringTypeEnum::ToString(v)); } @@ -6086,7 +6086,7 @@ bool IfcCoveringType::is(Type::Enum v) const { return v == Type::IfcCoveringType Type::Enum IfcCoveringType::type() const { return Type::IfcCoveringType; } Type::Enum IfcCoveringType::Class() { return Type::IfcCoveringType; } IfcCoveringType::IfcCoveringType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCoveringType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCoveringType::IfcCoveringType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoveringTypeEnum::IfcCoveringTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoveringTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCoveringType::IfcCoveringType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoveringTypeEnum::IfcCoveringTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCoveringTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCraneRailAShapeProfileDef IfcPositiveLengthMeasure IfcCraneRailAShapeProfileDef::OverallHeight() { return *entity->getArgument(3); } void IfcCraneRailAShapeProfileDef::setOverallHeight(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -6118,7 +6118,7 @@ bool IfcCraneRailAShapeProfileDef::is(Type::Enum v) const { return v == Type::If Type::Enum IfcCraneRailAShapeProfileDef::type() const { return Type::IfcCraneRailAShapeProfileDef; } Type::Enum IfcCraneRailAShapeProfileDef::Class() { return Type::IfcCraneRailAShapeProfileDef; } IfcCraneRailAShapeProfileDef::IfcCraneRailAShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCraneRailAShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCraneRailAShapeProfileDef::IfcCraneRailAShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_BaseWidth2, optional v6_Radius, IfcPositiveLengthMeasure v7_HeadWidth, IfcPositiveLengthMeasure v8_HeadDepth2, IfcPositiveLengthMeasure v9_HeadDepth3, IfcPositiveLengthMeasure v10_WebThickness, IfcPositiveLengthMeasure v11_BaseWidth4, IfcPositiveLengthMeasure v12_BaseDepth1, IfcPositiveLengthMeasure v13_BaseDepth2, IfcPositiveLengthMeasure v14_BaseDepth3, optional v15_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallHeight)); e->setArgument(4,(v5_BaseWidth2)); if (v6_Radius) { e->setArgument(5,(*v6_Radius)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_HeadWidth)); e->setArgument(7,(v8_HeadDepth2)); e->setArgument(8,(v9_HeadDepth3)); e->setArgument(9,(v10_WebThickness)); e->setArgument(10,(v11_BaseWidth4)); e->setArgument(11,(v12_BaseDepth1)); e->setArgument(12,(v13_BaseDepth2)); e->setArgument(13,(v14_BaseDepth3)); if (v15_CentreOfGravityInY) { e->setArgument(14,(*v15_CentreOfGravityInY)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } +IfcCraneRailAShapeProfileDef::IfcCraneRailAShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_BaseWidth2, optional< IfcPositiveLengthMeasure > v6_Radius, IfcPositiveLengthMeasure v7_HeadWidth, IfcPositiveLengthMeasure v8_HeadDepth2, IfcPositiveLengthMeasure v9_HeadDepth3, IfcPositiveLengthMeasure v10_WebThickness, IfcPositiveLengthMeasure v11_BaseWidth4, IfcPositiveLengthMeasure v12_BaseDepth1, IfcPositiveLengthMeasure v13_BaseDepth2, IfcPositiveLengthMeasure v14_BaseDepth3, optional< IfcPositiveLengthMeasure > v15_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallHeight)); e->setArgument(4,(v5_BaseWidth2)); if (v6_Radius) { e->setArgument(5,(*v6_Radius)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_HeadWidth)); e->setArgument(7,(v8_HeadDepth2)); e->setArgument(8,(v9_HeadDepth3)); e->setArgument(9,(v10_WebThickness)); e->setArgument(10,(v11_BaseWidth4)); e->setArgument(11,(v12_BaseDepth1)); e->setArgument(12,(v13_BaseDepth2)); e->setArgument(13,(v14_BaseDepth3)); if (v15_CentreOfGravityInY) { e->setArgument(14,(*v15_CentreOfGravityInY)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCraneRailFShapeProfileDef IfcPositiveLengthMeasure IfcCraneRailFShapeProfileDef::OverallHeight() { return *entity->getArgument(3); } void IfcCraneRailFShapeProfileDef::setOverallHeight(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -6144,13 +6144,13 @@ bool IfcCraneRailFShapeProfileDef::is(Type::Enum v) const { return v == Type::If Type::Enum IfcCraneRailFShapeProfileDef::type() const { return Type::IfcCraneRailFShapeProfileDef; } Type::Enum IfcCraneRailFShapeProfileDef::Class() { return Type::IfcCraneRailFShapeProfileDef; } IfcCraneRailFShapeProfileDef::IfcCraneRailFShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcCraneRailFShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCraneRailFShapeProfileDef::IfcCraneRailFShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_HeadWidth, optional v6_Radius, IfcPositiveLengthMeasure v7_HeadDepth2, IfcPositiveLengthMeasure v8_HeadDepth3, IfcPositiveLengthMeasure v9_WebThickness, IfcPositiveLengthMeasure v10_BaseDepth1, IfcPositiveLengthMeasure v11_BaseDepth2, optional v12_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallHeight)); e->setArgument(4,(v5_HeadWidth)); if (v6_Radius) { e->setArgument(5,(*v6_Radius)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_HeadDepth2)); e->setArgument(7,(v8_HeadDepth3)); e->setArgument(8,(v9_WebThickness)); e->setArgument(9,(v10_BaseDepth1)); e->setArgument(10,(v11_BaseDepth2)); if (v12_CentreOfGravityInY) { e->setArgument(11,(*v12_CentreOfGravityInY)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } +IfcCraneRailFShapeProfileDef::IfcCraneRailFShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_HeadWidth, optional< IfcPositiveLengthMeasure > v6_Radius, IfcPositiveLengthMeasure v7_HeadDepth2, IfcPositiveLengthMeasure v8_HeadDepth3, IfcPositiveLengthMeasure v9_WebThickness, IfcPositiveLengthMeasure v10_BaseDepth1, IfcPositiveLengthMeasure v11_BaseDepth2, optional< IfcPositiveLengthMeasure > v12_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallHeight)); e->setArgument(4,(v5_HeadWidth)); if (v6_Radius) { e->setArgument(5,(*v6_Radius)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_HeadDepth2)); e->setArgument(7,(v8_HeadDepth3)); e->setArgument(8,(v9_WebThickness)); e->setArgument(9,(v10_BaseDepth1)); e->setArgument(10,(v11_BaseDepth2)); if (v12_CentreOfGravityInY) { e->setArgument(11,(*v12_CentreOfGravityInY)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCrewResource bool IfcCrewResource::is(Type::Enum v) const { return v == Type::IfcCrewResource || IfcConstructionResource::is(v); } Type::Enum IfcCrewResource::type() const { return Type::IfcCrewResource; } Type::Enum IfcCrewResource::Class() { return Type::IfcCrewResource; } IfcCrewResource::IfcCrewResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcCrewResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCrewResource::IfcCrewResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } +IfcCrewResource::IfcCrewResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCsgPrimitive3D IfcAxis2Placement3D* IfcCsgPrimitive3D::Position() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcCsgPrimitive3D::setPosition(IfcAxis2Placement3D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6189,7 +6189,7 @@ bool IfcCurtainWall::is(Type::Enum v) const { return v == Type::IfcCurtainWall | Type::Enum IfcCurtainWall::type() const { return Type::IfcCurtainWall; } Type::Enum IfcCurtainWall::Class() { return Type::IfcCurtainWall; } IfcCurtainWall::IfcCurtainWall(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurtainWall)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurtainWall::IfcCurtainWall(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcCurtainWall::IfcCurtainWall(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurtainWallType IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum IfcCurtainWallType::PredefinedType() { return IfcCurtainWallTypeEnum::FromString(*entity->getArgument(9)); } void IfcCurtainWallType::setPredefinedType(IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcCurtainWallTypeEnum::ToString(v)); } @@ -6197,7 +6197,7 @@ bool IfcCurtainWallType::is(Type::Enum v) const { return v == Type::IfcCurtainWa Type::Enum IfcCurtainWallType::type() const { return Type::IfcCurtainWallType; } Type::Enum IfcCurtainWallType::Class() { return Type::IfcCurtainWallType; } IfcCurtainWallType::IfcCurtainWallType(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurtainWallType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurtainWallType::IfcCurtainWallType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCurtainWallTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcCurtainWallType::IfcCurtainWallType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcCurtainWallTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurve bool IfcCurve::is(Type::Enum v) const { return v == Type::IfcCurve || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcCurve::type() const { return Type::IfcCurve; } @@ -6208,13 +6208,13 @@ IfcPlane* IfcCurveBoundedPlane::BasisSurface() { return reinterpret_pointer_cast void IfcCurveBoundedPlane::setBasisSurface(IfcPlane* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } IfcCurve* IfcCurveBoundedPlane::OuterBoundary() { return reinterpret_pointer_cast(*entity->getArgument(1)); } void IfcCurveBoundedPlane::setOuterBoundary(IfcCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcCurveBoundedPlane::InnerBoundaries() { RETURN_AS_LIST(IfcCurve,2) } -void IfcCurveBoundedPlane::setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > IfcCurveBoundedPlane::InnerBoundaries() { RETURN_AS_LIST(IfcCurve,2) } +void IfcCurveBoundedPlane::setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcCurveBoundedPlane::is(Type::Enum v) const { return v == Type::IfcCurveBoundedPlane || IfcBoundedSurface::is(v); } Type::Enum IfcCurveBoundedPlane::type() const { return Type::IfcCurveBoundedPlane; } Type::Enum IfcCurveBoundedPlane::Class() { return Type::IfcCurveBoundedPlane; } IfcCurveBoundedPlane::IfcCurveBoundedPlane(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurveBoundedPlane)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurveBoundedPlane::IfcCurveBoundedPlane(IfcPlane* v1_BasisSurface, IfcCurve* v2_OuterBoundary, SHARED_PTR< IfcTemplatedEntityList > v3_InnerBoundaries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_BasisSurface)); e->setArgument(1,(v2_OuterBoundary)); e->setArgument(2,(v3_InnerBoundaries)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcCurveBoundedPlane::IfcCurveBoundedPlane(IfcPlane* v1_BasisSurface, IfcCurve* v2_OuterBoundary, SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v3_InnerBoundaries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_BasisSurface)); e->setArgument(1,(v2_OuterBoundary)); e->setArgument(2,(v3_InnerBoundaries)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurveStyle bool IfcCurveStyle::hasCurveFont() { return !entity->getArgument(1)->isNull(); } IfcCurveFontOrScaledCurveFontSelect IfcCurveStyle::CurveFont() { return *entity->getArgument(1); } @@ -6229,18 +6229,18 @@ bool IfcCurveStyle::is(Type::Enum v) const { return v == Type::IfcCurveStyle || Type::Enum IfcCurveStyle::type() const { return Type::IfcCurveStyle; } Type::Enum IfcCurveStyle::Class() { return Type::IfcCurveStyle; } IfcCurveStyle::IfcCurveStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurveStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurveStyle::IfcCurveStyle(optional v1_Name, optional v2_CurveFont, optional v3_CurveWidth, optional v4_CurveColour) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_CurveFont) { e->setArgument(1,(*v2_CurveFont)); } else { e->setArgument(1); } ; if (v3_CurveWidth) { e->setArgument(2,(*v3_CurveWidth)); } else { e->setArgument(2); } ; if (v4_CurveColour) { e->setArgument(3,(*v4_CurveColour)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcCurveStyle::IfcCurveStyle(optional< IfcLabel > v1_Name, optional< IfcCurveFontOrScaledCurveFontSelect > v2_CurveFont, optional< IfcSizeSelect > v3_CurveWidth, optional< IfcColour > v4_CurveColour) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_CurveFont) { e->setArgument(1,(*v2_CurveFont)); } else { e->setArgument(1); } ; if (v3_CurveWidth) { e->setArgument(2,(*v3_CurveWidth)); } else { e->setArgument(2); } ; if (v4_CurveColour) { e->setArgument(3,(*v4_CurveColour)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurveStyleFont bool IfcCurveStyleFont::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcCurveStyleFont::Name() { return *entity->getArgument(0); } void IfcCurveStyleFont::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcCurveStyleFont::PatternList() { RETURN_AS_LIST(IfcCurveStyleFontPattern,1) } -void IfcCurveStyleFont::setPatternList(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > IfcCurveStyleFont::PatternList() { RETURN_AS_LIST(IfcCurveStyleFontPattern,1) } +void IfcCurveStyleFont::setPatternList(SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcCurveStyleFont::is(Type::Enum v) const { return v == Type::IfcCurveStyleFont; } Type::Enum IfcCurveStyleFont::type() const { return Type::IfcCurveStyleFont; } Type::Enum IfcCurveStyleFont::Class() { return Type::IfcCurveStyleFont; } IfcCurveStyleFont::IfcCurveStyleFont(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurveStyleFont)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurveStyleFont::IfcCurveStyleFont(optional v1_Name, SHARED_PTR< IfcTemplatedEntityList > v2_PatternList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_PatternList)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcCurveStyleFont::IfcCurveStyleFont(optional< IfcLabel > v1_Name, SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > v2_PatternList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_PatternList)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurveStyleFontAndScaling bool IfcCurveStyleFontAndScaling::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcCurveStyleFontAndScaling::Name() { return *entity->getArgument(0); } @@ -6253,7 +6253,7 @@ bool IfcCurveStyleFontAndScaling::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcCurveStyleFontAndScaling::type() const { return Type::IfcCurveStyleFontAndScaling; } Type::Enum IfcCurveStyleFontAndScaling::Class() { return Type::IfcCurveStyleFontAndScaling; } IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(IfcAbstractEntityPtr e) { if (!is(Type::IfcCurveStyleFontAndScaling)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(optional v1_Name, IfcCurveStyleFontSelect v2_CurveFont, IfcPositiveRatioMeasure v3_CurveFontScaling) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_CurveFont)); e->setArgument(2,(v3_CurveFontScaling)); entity = e; EntityBuffer::Add(this); } +IfcCurveStyleFontAndScaling::IfcCurveStyleFontAndScaling(optional< IfcLabel > v1_Name, IfcCurveStyleFontSelect v2_CurveFont, IfcPositiveRatioMeasure v3_CurveFontScaling) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_CurveFont)); e->setArgument(2,(v3_CurveFontScaling)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcCurveStyleFontPattern IfcLengthMeasure IfcCurveStyleFontPattern::VisibleSegmentLength() { return *entity->getArgument(0); } void IfcCurveStyleFontPattern::setVisibleSegmentLength(IfcLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6271,7 +6271,7 @@ bool IfcDamperType::is(Type::Enum v) const { return v == Type::IfcDamperType || Type::Enum IfcDamperType::type() const { return Type::IfcDamperType; } Type::Enum IfcDamperType::Class() { return Type::IfcDamperType; } IfcDamperType::IfcDamperType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDamperType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDamperType::IfcDamperType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDamperTypeEnum::IfcDamperTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDamperTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcDamperType::IfcDamperType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDamperTypeEnum::IfcDamperTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDamperTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDateAndTime IfcCalendarDate* IfcDateAndTime::DateComponent() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcDateAndTime::setDateComponent(IfcCalendarDate* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6304,10 +6304,10 @@ bool IfcDerivedProfileDef::is(Type::Enum v) const { return v == Type::IfcDerived Type::Enum IfcDerivedProfileDef::type() const { return Type::IfcDerivedProfileDef; } Type::Enum IfcDerivedProfileDef::Class() { return Type::IfcDerivedProfileDef; } IfcDerivedProfileDef::IfcDerivedProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcDerivedProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDerivedProfileDef::IfcDerivedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcProfileDef* v3_ParentProfile, IfcCartesianTransformationOperator2D* v4_Operator, optional v5_Label) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ParentProfile)); e->setArgument(3,(v4_Operator)); if (v5_Label) { e->setArgument(4,(*v5_Label)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcDerivedProfileDef::IfcDerivedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcProfileDef* v3_ParentProfile, IfcCartesianTransformationOperator2D* v4_Operator, optional< IfcLabel > v5_Label) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ParentProfile)); e->setArgument(3,(v4_Operator)); if (v5_Label) { e->setArgument(4,(*v5_Label)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDerivedUnit -SHARED_PTR< IfcTemplatedEntityList > IfcDerivedUnit::Elements() { RETURN_AS_LIST(IfcDerivedUnitElement,0) } -void IfcDerivedUnit::setElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > IfcDerivedUnit::Elements() { RETURN_AS_LIST(IfcDerivedUnitElement,0) } +void IfcDerivedUnit::setElements(SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } IfcDerivedUnitEnum::IfcDerivedUnitEnum IfcDerivedUnit::UnitType() { return IfcDerivedUnitEnum::FromString(*entity->getArgument(1)); } void IfcDerivedUnit::setUnitType(IfcDerivedUnitEnum::IfcDerivedUnitEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v,IfcDerivedUnitEnum::ToString(v)); } bool IfcDerivedUnit::hasUserDefinedType() { return !entity->getArgument(2)->isNull(); } @@ -6317,7 +6317,7 @@ bool IfcDerivedUnit::is(Type::Enum v) const { return v == Type::IfcDerivedUnit; Type::Enum IfcDerivedUnit::type() const { return Type::IfcDerivedUnit; } Type::Enum IfcDerivedUnit::Class() { return Type::IfcDerivedUnit; } IfcDerivedUnit::IfcDerivedUnit(IfcAbstractEntityPtr e) { if (!is(Type::IfcDerivedUnit)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDerivedUnit::IfcDerivedUnit(SHARED_PTR< IfcTemplatedEntityList > v1_Elements, IfcDerivedUnitEnum::IfcDerivedUnitEnum v2_UnitType, optional v3_UserDefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Elements)->generalize()); e->setArgument(1,v2_UnitType,IfcDerivedUnitEnum::ToString(v2_UnitType)); if (v3_UserDefinedType) { e->setArgument(2,(*v3_UserDefinedType)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcDerivedUnit::IfcDerivedUnit(SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > v1_Elements, IfcDerivedUnitEnum::IfcDerivedUnitEnum v2_UnitType, optional< IfcLabel > v3_UserDefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Elements)->generalize()); e->setArgument(1,v2_UnitType,IfcDerivedUnitEnum::ToString(v2_UnitType)); if (v3_UserDefinedType) { e->setArgument(2,(*v3_UserDefinedType)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDerivedUnitElement IfcNamedUnit* IfcDerivedUnitElement::Unit() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcDerivedUnitElement::setUnit(IfcNamedUnit* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6339,14 +6339,14 @@ bool IfcDimensionCalloutRelationship::is(Type::Enum v) const { return v == Type: Type::Enum IfcDimensionCalloutRelationship::type() const { return Type::IfcDimensionCalloutRelationship; } Type::Enum IfcDimensionCalloutRelationship::Class() { return Type::IfcDimensionCalloutRelationship; } IfcDimensionCalloutRelationship::IfcDimensionCalloutRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcDimensionCalloutRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDimensionCalloutRelationship::IfcDimensionCalloutRelationship(optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } +IfcDimensionCalloutRelationship::IfcDimensionCalloutRelationship(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDimensionCurve IfcTerminatorSymbol::list IfcDimensionCurve::AnnotatedBySymbols() { RETURN_INVERSE(IfcTerminatorSymbol) } bool IfcDimensionCurve::is(Type::Enum v) const { return v == Type::IfcDimensionCurve || IfcAnnotationCurveOccurrence::is(v); } Type::Enum IfcDimensionCurve::type() const { return Type::IfcDimensionCurve; } Type::Enum IfcDimensionCurve::Class() { return Type::IfcDimensionCurve; } IfcDimensionCurve::IfcDimensionCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcDimensionCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDimensionCurve::IfcDimensionCurve(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcDimensionCurve::IfcDimensionCurve(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDimensionCurveDirectedCallout bool IfcDimensionCurveDirectedCallout::is(Type::Enum v) const { return v == Type::IfcDimensionCurveDirectedCallout || IfcDraughtingCallout::is(v); } Type::Enum IfcDimensionCurveDirectedCallout::type() const { return Type::IfcDimensionCurveDirectedCallout; } @@ -6360,13 +6360,13 @@ bool IfcDimensionCurveTerminator::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcDimensionCurveTerminator::type() const { return Type::IfcDimensionCurveTerminator; } Type::Enum IfcDimensionCurveTerminator::Class() { return Type::IfcDimensionCurveTerminator; } IfcDimensionCurveTerminator::IfcDimensionCurveTerminator(IfcAbstractEntityPtr e) { if (!is(Type::IfcDimensionCurveTerminator)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDimensionCurveTerminator::IfcDimensionCurveTerminator(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve, IfcDimensionExtentUsage::IfcDimensionExtentUsage v5_Role) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_AnnotatedCurve)); e->setArgument(4,v5_Role,IfcDimensionExtentUsage::ToString(v5_Role)); entity = e; EntityBuffer::Add(this); } +IfcDimensionCurveTerminator::IfcDimensionCurveTerminator(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve, IfcDimensionExtentUsage::IfcDimensionExtentUsage v5_Role) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_AnnotatedCurve)); e->setArgument(4,v5_Role,IfcDimensionExtentUsage::ToString(v5_Role)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDimensionPair bool IfcDimensionPair::is(Type::Enum v) const { return v == Type::IfcDimensionPair || IfcDraughtingCalloutRelationship::is(v); } Type::Enum IfcDimensionPair::type() const { return Type::IfcDimensionPair; } Type::Enum IfcDimensionPair::Class() { return Type::IfcDimensionPair; } IfcDimensionPair::IfcDimensionPair(IfcAbstractEntityPtr e) { if (!is(Type::IfcDimensionPair)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDimensionPair::IfcDimensionPair(optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } +IfcDimensionPair::IfcDimensionPair(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDimensionalExponents int IfcDimensionalExponents::LengthExponent() { return *entity->getArgument(0); } void IfcDimensionalExponents::setLengthExponent(int v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6388,31 +6388,31 @@ Type::Enum IfcDimensionalExponents::Class() { return Type::IfcDimensionalExponen IfcDimensionalExponents::IfcDimensionalExponents(IfcAbstractEntityPtr e) { if (!is(Type::IfcDimensionalExponents)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcDimensionalExponents::IfcDimensionalExponents(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_LengthExponent)); e->setArgument(1,(v2_MassExponent)); e->setArgument(2,(v3_TimeExponent)); e->setArgument(3,(v4_ElectricCurrentExponent)); e->setArgument(4,(v5_ThermodynamicTemperatureExponent)); e->setArgument(5,(v6_AmountOfSubstanceExponent)); e->setArgument(6,(v7_LuminousIntensityExponent)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDirection -std::vector /*[2:3]*/ IfcDirection::DirectionRatios() { return *entity->getArgument(0); } -void IfcDirection::setDirectionRatios(std::vector /*[2:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } +std::vector< double > /*[2:3]*/ IfcDirection::DirectionRatios() { return *entity->getArgument(0); } +void IfcDirection::setDirectionRatios(std::vector< double > /*[2:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } bool IfcDirection::is(Type::Enum v) const { return v == Type::IfcDirection || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcDirection::type() const { return Type::IfcDirection; } Type::Enum IfcDirection::Class() { return Type::IfcDirection; } IfcDirection::IfcDirection(IfcAbstractEntityPtr e) { if (!is(Type::IfcDirection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDirection::IfcDirection(std::vector /*[2:3]*/ v1_DirectionRatios) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DirectionRatios)); entity = e; EntityBuffer::Add(this); } +IfcDirection::IfcDirection(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DirectionRatios)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDiscreteAccessory bool IfcDiscreteAccessory::is(Type::Enum v) const { return v == Type::IfcDiscreteAccessory || IfcElementComponent::is(v); } Type::Enum IfcDiscreteAccessory::type() const { return Type::IfcDiscreteAccessory; } Type::Enum IfcDiscreteAccessory::Class() { return Type::IfcDiscreteAccessory; } IfcDiscreteAccessory::IfcDiscreteAccessory(IfcAbstractEntityPtr e) { if (!is(Type::IfcDiscreteAccessory)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDiscreteAccessory::IfcDiscreteAccessory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcDiscreteAccessory::IfcDiscreteAccessory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDiscreteAccessoryType bool IfcDiscreteAccessoryType::is(Type::Enum v) const { return v == Type::IfcDiscreteAccessoryType || IfcElementComponentType::is(v); } Type::Enum IfcDiscreteAccessoryType::type() const { return Type::IfcDiscreteAccessoryType; } Type::Enum IfcDiscreteAccessoryType::Class() { return Type::IfcDiscreteAccessoryType; } IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDiscreteAccessoryType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcDiscreteAccessoryType::IfcDiscreteAccessoryType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionChamberElement bool IfcDistributionChamberElement::is(Type::Enum v) const { return v == Type::IfcDistributionChamberElement || IfcDistributionFlowElement::is(v); } Type::Enum IfcDistributionChamberElement::type() const { return Type::IfcDistributionChamberElement; } Type::Enum IfcDistributionChamberElement::Class() { return Type::IfcDistributionChamberElement; } IfcDistributionChamberElement::IfcDistributionChamberElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionChamberElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionChamberElement::IfcDistributionChamberElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionChamberElement::IfcDistributionChamberElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionChamberElementType IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum IfcDistributionChamberElementType::PredefinedType() { return IfcDistributionChamberElementTypeEnum::FromString(*entity->getArgument(9)); } void IfcDistributionChamberElementType::setPredefinedType(IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcDistributionChamberElementTypeEnum::ToString(v)); } @@ -6420,7 +6420,7 @@ bool IfcDistributionChamberElementType::is(Type::Enum v) const { return v == Typ Type::Enum IfcDistributionChamberElementType::type() const { return Type::IfcDistributionChamberElementType; } Type::Enum IfcDistributionChamberElementType::Class() { return Type::IfcDistributionChamberElementType; } IfcDistributionChamberElementType::IfcDistributionChamberElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionChamberElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionChamberElementType::IfcDistributionChamberElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDistributionChamberElementTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcDistributionChamberElementType::IfcDistributionChamberElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDistributionChamberElementTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionControlElement bool IfcDistributionControlElement::hasControlElementId() { return !entity->getArgument(8)->isNull(); } IfcIdentifier IfcDistributionControlElement::ControlElementId() { return *entity->getArgument(8); } @@ -6430,38 +6430,38 @@ bool IfcDistributionControlElement::is(Type::Enum v) const { return v == Type::I Type::Enum IfcDistributionControlElement::type() const { return Type::IfcDistributionControlElement; } Type::Enum IfcDistributionControlElement::Class() { return Type::IfcDistributionControlElement; } IfcDistributionControlElement::IfcDistributionControlElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionControlElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionControlElement::IfcDistributionControlElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_ControlElementId) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ControlElementId) { e->setArgument(8,(*v9_ControlElementId)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionControlElement::IfcDistributionControlElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcIdentifier > v9_ControlElementId) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ControlElementId) { e->setArgument(8,(*v9_ControlElementId)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionControlElementType bool IfcDistributionControlElementType::is(Type::Enum v) const { return v == Type::IfcDistributionControlElementType || IfcDistributionElementType::is(v); } Type::Enum IfcDistributionControlElementType::type() const { return Type::IfcDistributionControlElementType; } Type::Enum IfcDistributionControlElementType::Class() { return Type::IfcDistributionControlElementType; } IfcDistributionControlElementType::IfcDistributionControlElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionControlElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionControlElementType::IfcDistributionControlElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionControlElementType::IfcDistributionControlElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionElement bool IfcDistributionElement::is(Type::Enum v) const { return v == Type::IfcDistributionElement || IfcElement::is(v); } Type::Enum IfcDistributionElement::type() const { return Type::IfcDistributionElement; } Type::Enum IfcDistributionElement::Class() { return Type::IfcDistributionElement; } IfcDistributionElement::IfcDistributionElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionElement::IfcDistributionElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionElement::IfcDistributionElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionElementType bool IfcDistributionElementType::is(Type::Enum v) const { return v == Type::IfcDistributionElementType || IfcElementType::is(v); } Type::Enum IfcDistributionElementType::type() const { return Type::IfcDistributionElementType; } Type::Enum IfcDistributionElementType::Class() { return Type::IfcDistributionElementType; } IfcDistributionElementType::IfcDistributionElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionElementType::IfcDistributionElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionElementType::IfcDistributionElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionFlowElement IfcRelFlowControlElements::list IfcDistributionFlowElement::HasControlElements() { RETURN_INVERSE(IfcRelFlowControlElements) } bool IfcDistributionFlowElement::is(Type::Enum v) const { return v == Type::IfcDistributionFlowElement || IfcDistributionElement::is(v); } Type::Enum IfcDistributionFlowElement::type() const { return Type::IfcDistributionFlowElement; } Type::Enum IfcDistributionFlowElement::Class() { return Type::IfcDistributionFlowElement; } IfcDistributionFlowElement::IfcDistributionFlowElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionFlowElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionFlowElement::IfcDistributionFlowElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionFlowElement::IfcDistributionFlowElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionFlowElementType bool IfcDistributionFlowElementType::is(Type::Enum v) const { return v == Type::IfcDistributionFlowElementType || IfcDistributionElementType::is(v); } Type::Enum IfcDistributionFlowElementType::type() const { return Type::IfcDistributionFlowElementType; } Type::Enum IfcDistributionFlowElementType::Class() { return Type::IfcDistributionFlowElementType; } IfcDistributionFlowElementType::IfcDistributionFlowElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionFlowElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionFlowElementType::IfcDistributionFlowElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionFlowElementType::IfcDistributionFlowElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDistributionPort bool IfcDistributionPort::hasFlowDirection() { return !entity->getArgument(7)->isNull(); } IfcFlowDirectionEnum::IfcFlowDirectionEnum IfcDistributionPort::FlowDirection() { return IfcFlowDirectionEnum::FromString(*entity->getArgument(7)); } @@ -6470,7 +6470,7 @@ bool IfcDistributionPort::is(Type::Enum v) const { return v == Type::IfcDistribu Type::Enum IfcDistributionPort::type() const { return Type::IfcDistributionPort; } Type::Enum IfcDistributionPort::Class() { return Type::IfcDistributionPort; } IfcDistributionPort::IfcDistributionPort(IfcAbstractEntityPtr e) { if (!is(Type::IfcDistributionPort)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDistributionPort::IfcDistributionPort(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_FlowDirection) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_FlowDirection) { e->setArgument(7,*v8_FlowDirection,IfcFlowDirectionEnum::ToString(*v8_FlowDirection)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcDistributionPort::IfcDistributionPort(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcFlowDirectionEnum::IfcFlowDirectionEnum > v8_FlowDirection) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_FlowDirection) { e->setArgument(7,*v8_FlowDirection,IfcFlowDirectionEnum::ToString(*v8_FlowDirection)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDocumentElectronicFormat bool IfcDocumentElectronicFormat::hasFileExtension() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcDocumentElectronicFormat::FileExtension() { return *entity->getArgument(0); } @@ -6485,7 +6485,7 @@ bool IfcDocumentElectronicFormat::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcDocumentElectronicFormat::type() const { return Type::IfcDocumentElectronicFormat; } Type::Enum IfcDocumentElectronicFormat::Class() { return Type::IfcDocumentElectronicFormat; } IfcDocumentElectronicFormat::IfcDocumentElectronicFormat(IfcAbstractEntityPtr e) { if (!is(Type::IfcDocumentElectronicFormat)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDocumentElectronicFormat::IfcDocumentElectronicFormat(optional v1_FileExtension, optional v2_MimeContentType, optional v3_MimeSubtype) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_FileExtension) { e->setArgument(0,(*v1_FileExtension)); } else { e->setArgument(0); } ; if (v2_MimeContentType) { e->setArgument(1,(*v2_MimeContentType)); } else { e->setArgument(1); } ; if (v3_MimeSubtype) { e->setArgument(2,(*v3_MimeSubtype)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcDocumentElectronicFormat::IfcDocumentElectronicFormat(optional< IfcLabel > v1_FileExtension, optional< IfcLabel > v2_MimeContentType, optional< IfcLabel > v3_MimeSubtype) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_FileExtension) { e->setArgument(0,(*v1_FileExtension)); } else { e->setArgument(0); } ; if (v2_MimeContentType) { e->setArgument(1,(*v2_MimeContentType)); } else { e->setArgument(1); } ; if (v3_MimeSubtype) { e->setArgument(2,(*v3_MimeSubtype)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDocumentInformation IfcIdentifier IfcDocumentInformation::DocumentId() { return *entity->getArgument(0); } void IfcDocumentInformation::setDocumentId(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6495,8 +6495,8 @@ bool IfcDocumentInformation::hasDescription() { return !entity->getArgument(2)-> IfcText IfcDocumentInformation::Description() { return *entity->getArgument(2); } void IfcDocumentInformation::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } bool IfcDocumentInformation::hasDocumentReferences() { return !entity->getArgument(3)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcDocumentInformation::DocumentReferences() { RETURN_AS_LIST(IfcDocumentReference,3) } -void IfcDocumentInformation::setDocumentReferences(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > IfcDocumentInformation::DocumentReferences() { RETURN_AS_LIST(IfcDocumentReference,3) } +void IfcDocumentInformation::setDocumentReferences(SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcDocumentInformation::hasPurpose() { return !entity->getArgument(4)->isNull(); } IfcText IfcDocumentInformation::Purpose() { return *entity->getArgument(4); } void IfcDocumentInformation::setPurpose(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -6513,8 +6513,8 @@ bool IfcDocumentInformation::hasDocumentOwner() { return !entity->getArgument(8) IfcActorSelect IfcDocumentInformation::DocumentOwner() { return *entity->getArgument(8); } void IfcDocumentInformation::setDocumentOwner(IfcActorSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } bool IfcDocumentInformation::hasEditors() { return !entity->getArgument(9)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcDocumentInformation::Editors() { RETURN_AS_LIST(IfcAbstractSelect,9) } -void IfcDocumentInformation::setEditors(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcDocumentInformation::Editors() { RETURN_AS_LIST(IfcAbstractSelect,9) } +void IfcDocumentInformation::setEditors(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } bool IfcDocumentInformation::hasCreationTime() { return !entity->getArgument(10)->isNull(); } IfcDateAndTime* IfcDocumentInformation::CreationTime() { return reinterpret_pointer_cast(*entity->getArgument(10)); } void IfcDocumentInformation::setCreationTime(IfcDateAndTime* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } @@ -6542,12 +6542,12 @@ bool IfcDocumentInformation::is(Type::Enum v) const { return v == Type::IfcDocum Type::Enum IfcDocumentInformation::type() const { return Type::IfcDocumentInformation; } Type::Enum IfcDocumentInformation::Class() { return Type::IfcDocumentInformation; } IfcDocumentInformation::IfcDocumentInformation(IfcAbstractEntityPtr e) { if (!is(Type::IfcDocumentInformation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDocumentInformation::IfcDocumentInformation(IfcIdentifier v1_DocumentId, IfcLabel v2_Name, optional v3_Description, optional >> v4_DocumentReferences, optional v5_Purpose, optional v6_IntendedUse, optional v7_Scope, optional v8_Revision, optional v9_DocumentOwner, optional v10_Editors, IfcDateAndTime* v11_CreationTime, IfcDateAndTime* v12_LastRevisionTime, IfcDocumentElectronicFormat* v13_ElectronicFormat, IfcCalendarDate* v14_ValidFrom, IfcCalendarDate* v15_ValidUntil, optional v16_Confidentiality, optional v17_Status) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DocumentId)); e->setArgument(1,(v2_Name)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; if (v4_DocumentReferences) { e->setArgument(3,(*v4_DocumentReferences)->generalize()); } else { e->setArgument(3); } ; if (v5_Purpose) { e->setArgument(4,(*v5_Purpose)); } else { e->setArgument(4); } ; if (v6_IntendedUse) { e->setArgument(5,(*v6_IntendedUse)); } else { e->setArgument(5); } ; if (v7_Scope) { e->setArgument(6,(*v7_Scope)); } else { e->setArgument(6); } ; if (v8_Revision) { e->setArgument(7,(*v8_Revision)); } else { e->setArgument(7); } ; if (v9_DocumentOwner) { e->setArgument(8,(*v9_DocumentOwner)); } else { e->setArgument(8); } ; if (v10_Editors) { e->setArgument(9,(*v10_Editors)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_CreationTime)); e->setArgument(11,(v12_LastRevisionTime)); e->setArgument(12,(v13_ElectronicFormat)); e->setArgument(13,(v14_ValidFrom)); e->setArgument(14,(v15_ValidUntil)); if (v16_Confidentiality) { e->setArgument(15,*v16_Confidentiality,IfcDocumentConfidentialityEnum::ToString(*v16_Confidentiality)); } else { e->setArgument(15); } ; if (v17_Status) { e->setArgument(16,*v17_Status,IfcDocumentStatusEnum::ToString(*v17_Status)); } else { e->setArgument(16); } ; entity = e; EntityBuffer::Add(this); } +IfcDocumentInformation::IfcDocumentInformation(IfcIdentifier v1_DocumentId, IfcLabel v2_Name, optional< IfcText > v3_Description, optional< SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > > v4_DocumentReferences, optional< IfcText > v5_Purpose, optional< IfcText > v6_IntendedUse, optional< IfcText > v7_Scope, optional< IfcLabel > v8_Revision, optional< IfcActorSelect > v9_DocumentOwner, optional< IfcEntities > v10_Editors, IfcDateAndTime* v11_CreationTime, IfcDateAndTime* v12_LastRevisionTime, IfcDocumentElectronicFormat* v13_ElectronicFormat, IfcCalendarDate* v14_ValidFrom, IfcCalendarDate* v15_ValidUntil, optional< IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum > v16_Confidentiality, optional< IfcDocumentStatusEnum::IfcDocumentStatusEnum > v17_Status) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DocumentId)); e->setArgument(1,(v2_Name)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; if (v4_DocumentReferences) { e->setArgument(3,(*v4_DocumentReferences)->generalize()); } else { e->setArgument(3); } ; if (v5_Purpose) { e->setArgument(4,(*v5_Purpose)); } else { e->setArgument(4); } ; if (v6_IntendedUse) { e->setArgument(5,(*v6_IntendedUse)); } else { e->setArgument(5); } ; if (v7_Scope) { e->setArgument(6,(*v7_Scope)); } else { e->setArgument(6); } ; if (v8_Revision) { e->setArgument(7,(*v8_Revision)); } else { e->setArgument(7); } ; if (v9_DocumentOwner) { e->setArgument(8,(*v9_DocumentOwner)); } else { e->setArgument(8); } ; if (v10_Editors) { e->setArgument(9,(*v10_Editors)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_CreationTime)); e->setArgument(11,(v12_LastRevisionTime)); e->setArgument(12,(v13_ElectronicFormat)); e->setArgument(13,(v14_ValidFrom)); e->setArgument(14,(v15_ValidUntil)); if (v16_Confidentiality) { e->setArgument(15,*v16_Confidentiality,IfcDocumentConfidentialityEnum::ToString(*v16_Confidentiality)); } else { e->setArgument(15); } ; if (v17_Status) { e->setArgument(16,*v17_Status,IfcDocumentStatusEnum::ToString(*v17_Status)); } else { e->setArgument(16); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDocumentInformationRelationship IfcDocumentInformation* IfcDocumentInformationRelationship::RelatingDocument() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcDocumentInformationRelationship::setRelatingDocument(IfcDocumentInformation* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcDocumentInformationRelationship::RelatedDocuments() { RETURN_AS_LIST(IfcDocumentInformation,1) } -void IfcDocumentInformationRelationship::setRelatedDocuments(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > IfcDocumentInformationRelationship::RelatedDocuments() { RETURN_AS_LIST(IfcDocumentInformation,1) } +void IfcDocumentInformationRelationship::setRelatedDocuments(SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcDocumentInformationRelationship::hasRelationshipType() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcDocumentInformationRelationship::RelationshipType() { return *entity->getArgument(2); } void IfcDocumentInformationRelationship::setRelationshipType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -6555,14 +6555,14 @@ bool IfcDocumentInformationRelationship::is(Type::Enum v) const { return v == Ty Type::Enum IfcDocumentInformationRelationship::type() const { return Type::IfcDocumentInformationRelationship; } Type::Enum IfcDocumentInformationRelationship::Class() { return Type::IfcDocumentInformationRelationship; } IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcDocumentInformationRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(IfcDocumentInformation* v1_RelatingDocument, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedDocuments, optional v3_RelationshipType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingDocument)); e->setArgument(1,(v2_RelatedDocuments)->generalize()); if (v3_RelationshipType) { e->setArgument(2,(*v3_RelationshipType)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcDocumentInformationRelationship::IfcDocumentInformationRelationship(IfcDocumentInformation* v1_RelatingDocument, SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > v2_RelatedDocuments, optional< IfcLabel > v3_RelationshipType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingDocument)); e->setArgument(1,(v2_RelatedDocuments)->generalize()); if (v3_RelationshipType) { e->setArgument(2,(*v3_RelationshipType)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDocumentReference IfcDocumentInformation::list IfcDocumentReference::ReferenceToDocument() { RETURN_INVERSE(IfcDocumentInformation) } bool IfcDocumentReference::is(Type::Enum v) const { return v == Type::IfcDocumentReference || IfcExternalReference::is(v); } Type::Enum IfcDocumentReference::type() const { return Type::IfcDocumentReference; } Type::Enum IfcDocumentReference::Class() { return Type::IfcDocumentReference; } IfcDocumentReference::IfcDocumentReference(IfcAbstractEntityPtr e) { if (!is(Type::IfcDocumentReference)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDocumentReference::IfcDocumentReference(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcDocumentReference::IfcDocumentReference(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDoor bool IfcDoor::hasOverallHeight() { return !entity->getArgument(8)->isNull(); } IfcPositiveLengthMeasure IfcDoor::OverallHeight() { return *entity->getArgument(8); } @@ -6574,7 +6574,7 @@ bool IfcDoor::is(Type::Enum v) const { return v == Type::IfcDoor || IfcBuildingE Type::Enum IfcDoor::type() const { return Type::IfcDoor; } Type::Enum IfcDoor::Class() { return Type::IfcDoor; } IfcDoor::IfcDoor(IfcAbstractEntityPtr e) { if (!is(Type::IfcDoor)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDoor::IfcDoor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OverallHeight, optional v10_OverallWidth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OverallHeight) { e->setArgument(8,(*v9_OverallHeight)); } else { e->setArgument(8); } ; if (v10_OverallWidth) { e->setArgument(9,(*v10_OverallWidth)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcDoor::IfcDoor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_OverallHeight, optional< IfcPositiveLengthMeasure > v10_OverallWidth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OverallHeight) { e->setArgument(8,(*v9_OverallHeight)); } else { e->setArgument(8); } ; if (v10_OverallWidth) { e->setArgument(9,(*v10_OverallWidth)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDoorLiningProperties bool IfcDoorLiningProperties::hasLiningDepth() { return !entity->getArgument(4)->isNull(); } IfcPositiveLengthMeasure IfcDoorLiningProperties::LiningDepth() { return *entity->getArgument(4); } @@ -6613,7 +6613,7 @@ bool IfcDoorLiningProperties::is(Type::Enum v) const { return v == Type::IfcDoor Type::Enum IfcDoorLiningProperties::type() const { return Type::IfcDoorLiningProperties; } Type::Enum IfcDoorLiningProperties::Class() { return Type::IfcDoorLiningProperties; } IfcDoorLiningProperties::IfcDoorLiningProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcDoorLiningProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDoorLiningProperties::IfcDoorLiningProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_LiningDepth, optional v6_LiningThickness, optional v7_ThresholdDepth, optional v8_ThresholdThickness, optional v9_TransomThickness, optional v10_TransomOffset, optional v11_LiningOffset, optional v12_ThresholdOffset, optional v13_CasingThickness, optional v14_CasingDepth, IfcShapeAspect* v15_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_LiningDepth) { e->setArgument(4,(*v5_LiningDepth)); } else { e->setArgument(4); } ; if (v6_LiningThickness) { e->setArgument(5,(*v6_LiningThickness)); } else { e->setArgument(5); } ; if (v7_ThresholdDepth) { e->setArgument(6,(*v7_ThresholdDepth)); } else { e->setArgument(6); } ; if (v8_ThresholdThickness) { e->setArgument(7,(*v8_ThresholdThickness)); } else { e->setArgument(7); } ; if (v9_TransomThickness) { e->setArgument(8,(*v9_TransomThickness)); } else { e->setArgument(8); } ; if (v10_TransomOffset) { e->setArgument(9,(*v10_TransomOffset)); } else { e->setArgument(9); } ; if (v11_LiningOffset) { e->setArgument(10,(*v11_LiningOffset)); } else { e->setArgument(10); } ; if (v12_ThresholdOffset) { e->setArgument(11,(*v12_ThresholdOffset)); } else { e->setArgument(11); } ; if (v13_CasingThickness) { e->setArgument(12,(*v13_CasingThickness)); } else { e->setArgument(12); } ; if (v14_CasingDepth) { e->setArgument(13,(*v14_CasingDepth)); } else { e->setArgument(13); } ; e->setArgument(14,(v15_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } +IfcDoorLiningProperties::IfcDoorLiningProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_LiningDepth, optional< IfcPositiveLengthMeasure > v6_LiningThickness, optional< IfcPositiveLengthMeasure > v7_ThresholdDepth, optional< IfcPositiveLengthMeasure > v8_ThresholdThickness, optional< IfcPositiveLengthMeasure > v9_TransomThickness, optional< IfcLengthMeasure > v10_TransomOffset, optional< IfcLengthMeasure > v11_LiningOffset, optional< IfcLengthMeasure > v12_ThresholdOffset, optional< IfcPositiveLengthMeasure > v13_CasingThickness, optional< IfcPositiveLengthMeasure > v14_CasingDepth, IfcShapeAspect* v15_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_LiningDepth) { e->setArgument(4,(*v5_LiningDepth)); } else { e->setArgument(4); } ; if (v6_LiningThickness) { e->setArgument(5,(*v6_LiningThickness)); } else { e->setArgument(5); } ; if (v7_ThresholdDepth) { e->setArgument(6,(*v7_ThresholdDepth)); } else { e->setArgument(6); } ; if (v8_ThresholdThickness) { e->setArgument(7,(*v8_ThresholdThickness)); } else { e->setArgument(7); } ; if (v9_TransomThickness) { e->setArgument(8,(*v9_TransomThickness)); } else { e->setArgument(8); } ; if (v10_TransomOffset) { e->setArgument(9,(*v10_TransomOffset)); } else { e->setArgument(9); } ; if (v11_LiningOffset) { e->setArgument(10,(*v11_LiningOffset)); } else { e->setArgument(10); } ; if (v12_ThresholdOffset) { e->setArgument(11,(*v12_ThresholdOffset)); } else { e->setArgument(11); } ; if (v13_CasingThickness) { e->setArgument(12,(*v13_CasingThickness)); } else { e->setArgument(12); } ; if (v14_CasingDepth) { e->setArgument(13,(*v14_CasingDepth)); } else { e->setArgument(13); } ; e->setArgument(14,(v15_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDoorPanelProperties bool IfcDoorPanelProperties::hasPanelDepth() { return !entity->getArgument(4)->isNull(); } IfcPositiveLengthMeasure IfcDoorPanelProperties::PanelDepth() { return *entity->getArgument(4); } @@ -6632,7 +6632,7 @@ bool IfcDoorPanelProperties::is(Type::Enum v) const { return v == Type::IfcDoorP Type::Enum IfcDoorPanelProperties::type() const { return Type::IfcDoorPanelProperties; } Type::Enum IfcDoorPanelProperties::Class() { return Type::IfcDoorPanelProperties; } IfcDoorPanelProperties::IfcDoorPanelProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcDoorPanelProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDoorPanelProperties::IfcDoorPanelProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_PanelDepth, IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum v6_PanelOperation, optional v7_PanelWidth, IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum v8_PanelPosition, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_PanelDepth) { e->setArgument(4,(*v5_PanelDepth)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PanelOperation,IfcDoorPanelOperationEnum::ToString(v6_PanelOperation)); if (v7_PanelWidth) { e->setArgument(6,(*v7_PanelWidth)); } else { e->setArgument(6); } ; e->setArgument(7,v8_PanelPosition,IfcDoorPanelPositionEnum::ToString(v8_PanelPosition)); e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } +IfcDoorPanelProperties::IfcDoorPanelProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_PanelDepth, IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum v6_PanelOperation, optional< IfcNormalisedRatioMeasure > v7_PanelWidth, IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum v8_PanelPosition, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_PanelDepth) { e->setArgument(4,(*v5_PanelDepth)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PanelOperation,IfcDoorPanelOperationEnum::ToString(v6_PanelOperation)); if (v7_PanelWidth) { e->setArgument(6,(*v7_PanelWidth)); } else { e->setArgument(6); } ; e->setArgument(7,v8_PanelPosition,IfcDoorPanelPositionEnum::ToString(v8_PanelPosition)); e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDoorStyle IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum IfcDoorStyle::OperationType() { return IfcDoorStyleOperationEnum::FromString(*entity->getArgument(8)); } void IfcDoorStyle::setOperationType(IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcDoorStyleOperationEnum::ToString(v)); } @@ -6646,10 +6646,10 @@ bool IfcDoorStyle::is(Type::Enum v) const { return v == Type::IfcDoorStyle || If Type::Enum IfcDoorStyle::type() const { return Type::IfcDoorStyle; } Type::Enum IfcDoorStyle::Class() { return Type::IfcDoorStyle; } IfcDoorStyle::IfcDoorStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcDoorStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDoorStyle::IfcDoorStyle(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum v9_OperationType, IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_OperationType,IfcDoorStyleOperationEnum::ToString(v9_OperationType)); e->setArgument(9,v10_ConstructionType,IfcDoorStyleConstructionEnum::ToString(v10_ConstructionType)); e->setArgument(10,(v11_ParameterTakesPrecedence)); e->setArgument(11,(v12_Sizeable)); entity = e; EntityBuffer::Add(this); } +IfcDoorStyle::IfcDoorStyle(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum v9_OperationType, IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_OperationType,IfcDoorStyleOperationEnum::ToString(v9_OperationType)); e->setArgument(9,v10_ConstructionType,IfcDoorStyleConstructionEnum::ToString(v10_ConstructionType)); e->setArgument(10,(v11_ParameterTakesPrecedence)); e->setArgument(11,(v12_Sizeable)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDraughtingCallout -SHARED_PTR< IfcTemplatedEntityList > IfcDraughtingCallout::Contents() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcDraughtingCallout::setContents(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcDraughtingCallout::Contents() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcDraughtingCallout::setContents(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } IfcDraughtingCalloutRelationship::list IfcDraughtingCallout::IsRelatedFromCallout() { RETURN_INVERSE(IfcDraughtingCalloutRelationship) } IfcDraughtingCalloutRelationship::list IfcDraughtingCallout::IsRelatedToCallout() { RETURN_INVERSE(IfcDraughtingCalloutRelationship) } bool IfcDraughtingCallout::is(Type::Enum v) const { return v == Type::IfcDraughtingCallout || IfcGeometricRepresentationItem::is(v); } @@ -6672,7 +6672,7 @@ bool IfcDraughtingCalloutRelationship::is(Type::Enum v) const { return v == Type Type::Enum IfcDraughtingCalloutRelationship::type() const { return Type::IfcDraughtingCalloutRelationship; } Type::Enum IfcDraughtingCalloutRelationship::Class() { return Type::IfcDraughtingCalloutRelationship; } IfcDraughtingCalloutRelationship::IfcDraughtingCalloutRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcDraughtingCalloutRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDraughtingCalloutRelationship::IfcDraughtingCalloutRelationship(optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } +IfcDraughtingCalloutRelationship::IfcDraughtingCalloutRelationship(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingDraughtingCallout)); e->setArgument(3,(v4_RelatedDraughtingCallout)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDraughtingPreDefinedColour bool IfcDraughtingPreDefinedColour::is(Type::Enum v) const { return v == Type::IfcDraughtingPreDefinedColour || IfcPreDefinedColour::is(v); } Type::Enum IfcDraughtingPreDefinedColour::type() const { return Type::IfcDraughtingPreDefinedColour; } @@ -6698,7 +6698,7 @@ bool IfcDuctFittingType::is(Type::Enum v) const { return v == Type::IfcDuctFitti Type::Enum IfcDuctFittingType::type() const { return Type::IfcDuctFittingType; } Type::Enum IfcDuctFittingType::Class() { return Type::IfcDuctFittingType; } IfcDuctFittingType::IfcDuctFittingType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDuctFittingType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDuctFittingType::IfcDuctFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcDuctFittingType::IfcDuctFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDuctSegmentType IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum IfcDuctSegmentType::PredefinedType() { return IfcDuctSegmentTypeEnum::FromString(*entity->getArgument(9)); } void IfcDuctSegmentType::setPredefinedType(IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcDuctSegmentTypeEnum::ToString(v)); } @@ -6706,7 +6706,7 @@ bool IfcDuctSegmentType::is(Type::Enum v) const { return v == Type::IfcDuctSegme Type::Enum IfcDuctSegmentType::type() const { return Type::IfcDuctSegmentType; } Type::Enum IfcDuctSegmentType::Class() { return Type::IfcDuctSegmentType; } IfcDuctSegmentType::IfcDuctSegmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDuctSegmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDuctSegmentType::IfcDuctSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcDuctSegmentType::IfcDuctSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcDuctSilencerType IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum IfcDuctSilencerType::PredefinedType() { return IfcDuctSilencerTypeEnum::FromString(*entity->getArgument(9)); } void IfcDuctSilencerType::setPredefinedType(IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcDuctSilencerTypeEnum::ToString(v)); } @@ -6714,7 +6714,7 @@ bool IfcDuctSilencerType::is(Type::Enum v) const { return v == Type::IfcDuctSile Type::Enum IfcDuctSilencerType::type() const { return Type::IfcDuctSilencerType; } Type::Enum IfcDuctSilencerType::Class() { return Type::IfcDuctSilencerType; } IfcDuctSilencerType::IfcDuctSilencerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcDuctSilencerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcDuctSilencerType::IfcDuctSilencerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctSilencerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcDuctSilencerType::IfcDuctSilencerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcDuctSilencerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEdge IfcVertex* IfcEdge::EdgeStart() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcEdge::setEdgeStart(IfcVertex* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6743,15 +6743,15 @@ bool IfcEdgeFeature::is(Type::Enum v) const { return v == Type::IfcEdgeFeature | Type::Enum IfcEdgeFeature::type() const { return Type::IfcEdgeFeature; } Type::Enum IfcEdgeFeature::Class() { return Type::IfcEdgeFeature; } IfcEdgeFeature::IfcEdgeFeature(IfcAbstractEntityPtr e) { if (!is(Type::IfcEdgeFeature)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEdgeFeature::IfcEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcEdgeFeature::IfcEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEdgeLoop -SHARED_PTR< IfcTemplatedEntityList > IfcEdgeLoop::EdgeList() { RETURN_AS_LIST(IfcOrientedEdge,0) } -void IfcEdgeLoop::setEdgeList(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > IfcEdgeLoop::EdgeList() { RETURN_AS_LIST(IfcOrientedEdge,0) } +void IfcEdgeLoop::setEdgeList(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcEdgeLoop::is(Type::Enum v) const { return v == Type::IfcEdgeLoop || IfcLoop::is(v); } Type::Enum IfcEdgeLoop::type() const { return Type::IfcEdgeLoop; } Type::Enum IfcEdgeLoop::Class() { return Type::IfcEdgeLoop; } IfcEdgeLoop::IfcEdgeLoop(IfcAbstractEntityPtr e) { if (!is(Type::IfcEdgeLoop)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEdgeLoop::IfcEdgeLoop(SHARED_PTR< IfcTemplatedEntityList > v1_EdgeList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_EdgeList)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcEdgeLoop::IfcEdgeLoop(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v1_EdgeList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_EdgeList)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricApplianceType IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum IfcElectricApplianceType::PredefinedType() { return IfcElectricApplianceTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricApplianceType::setPredefinedType(IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricApplianceTypeEnum::ToString(v)); } @@ -6759,7 +6759,7 @@ bool IfcElectricApplianceType::is(Type::Enum v) const { return v == Type::IfcEle Type::Enum IfcElectricApplianceType::type() const { return Type::IfcElectricApplianceType; } Type::Enum IfcElectricApplianceType::Class() { return Type::IfcElectricApplianceType; } IfcElectricApplianceType::IfcElectricApplianceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricApplianceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricApplianceType::IfcElectricApplianceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricApplianceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricApplianceType::IfcElectricApplianceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricApplianceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricDistributionPoint IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum IfcElectricDistributionPoint::DistributionPointFunction() { return IfcElectricDistributionPointFunctionEnum::FromString(*entity->getArgument(8)); } void IfcElectricDistributionPoint::setDistributionPointFunction(IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcElectricDistributionPointFunctionEnum::ToString(v)); } @@ -6770,7 +6770,7 @@ bool IfcElectricDistributionPoint::is(Type::Enum v) const { return v == Type::If Type::Enum IfcElectricDistributionPoint::type() const { return Type::IfcElectricDistributionPoint; } Type::Enum IfcElectricDistributionPoint::Class() { return Type::IfcElectricDistributionPoint; } IfcElectricDistributionPoint::IfcElectricDistributionPoint(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricDistributionPoint)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricDistributionPoint::IfcElectricDistributionPoint(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum v9_DistributionPointFunction, optional v10_UserDefinedFunction) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_DistributionPointFunction,IfcElectricDistributionPointFunctionEnum::ToString(v9_DistributionPointFunction)); if (v10_UserDefinedFunction) { e->setArgument(9,(*v10_UserDefinedFunction)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcElectricDistributionPoint::IfcElectricDistributionPoint(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum v9_DistributionPointFunction, optional< IfcLabel > v10_UserDefinedFunction) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_DistributionPointFunction,IfcElectricDistributionPointFunctionEnum::ToString(v9_DistributionPointFunction)); if (v10_UserDefinedFunction) { e->setArgument(9,(*v10_UserDefinedFunction)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricFlowStorageDeviceType IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum IfcElectricFlowStorageDeviceType::PredefinedType() { return IfcElectricFlowStorageDeviceTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricFlowStorageDeviceType::setPredefinedType(IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricFlowStorageDeviceTypeEnum::ToString(v)); } @@ -6778,7 +6778,7 @@ bool IfcElectricFlowStorageDeviceType::is(Type::Enum v) const { return v == Type Type::Enum IfcElectricFlowStorageDeviceType::type() const { return Type::IfcElectricFlowStorageDeviceType; } Type::Enum IfcElectricFlowStorageDeviceType::Class() { return Type::IfcElectricFlowStorageDeviceType; } IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricFlowStorageDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricFlowStorageDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricFlowStorageDeviceType::IfcElectricFlowStorageDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricFlowStorageDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricGeneratorType IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum IfcElectricGeneratorType::PredefinedType() { return IfcElectricGeneratorTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricGeneratorType::setPredefinedType(IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricGeneratorTypeEnum::ToString(v)); } @@ -6786,7 +6786,7 @@ bool IfcElectricGeneratorType::is(Type::Enum v) const { return v == Type::IfcEle Type::Enum IfcElectricGeneratorType::type() const { return Type::IfcElectricGeneratorType; } Type::Enum IfcElectricGeneratorType::Class() { return Type::IfcElectricGeneratorType; } IfcElectricGeneratorType::IfcElectricGeneratorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricGeneratorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricGeneratorType::IfcElectricGeneratorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricGeneratorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricGeneratorType::IfcElectricGeneratorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricGeneratorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricHeaterType IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum IfcElectricHeaterType::PredefinedType() { return IfcElectricHeaterTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricHeaterType::setPredefinedType(IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricHeaterTypeEnum::ToString(v)); } @@ -6794,7 +6794,7 @@ bool IfcElectricHeaterType::is(Type::Enum v) const { return v == Type::IfcElectr Type::Enum IfcElectricHeaterType::type() const { return Type::IfcElectricHeaterType; } Type::Enum IfcElectricHeaterType::Class() { return Type::IfcElectricHeaterType; } IfcElectricHeaterType::IfcElectricHeaterType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricHeaterType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricHeaterType::IfcElectricHeaterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricHeaterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricHeaterType::IfcElectricHeaterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricHeaterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricMotorType IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum IfcElectricMotorType::PredefinedType() { return IfcElectricMotorTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricMotorType::setPredefinedType(IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricMotorTypeEnum::ToString(v)); } @@ -6802,7 +6802,7 @@ bool IfcElectricMotorType::is(Type::Enum v) const { return v == Type::IfcElectri Type::Enum IfcElectricMotorType::type() const { return Type::IfcElectricMotorType; } Type::Enum IfcElectricMotorType::Class() { return Type::IfcElectricMotorType; } IfcElectricMotorType::IfcElectricMotorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricMotorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricMotorType::IfcElectricMotorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricMotorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricMotorType::IfcElectricMotorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricMotorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricTimeControlType IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum IfcElectricTimeControlType::PredefinedType() { return IfcElectricTimeControlTypeEnum::FromString(*entity->getArgument(9)); } void IfcElectricTimeControlType::setPredefinedType(IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcElectricTimeControlTypeEnum::ToString(v)); } @@ -6810,7 +6810,7 @@ bool IfcElectricTimeControlType::is(Type::Enum v) const { return v == Type::IfcE Type::Enum IfcElectricTimeControlType::type() const { return Type::IfcElectricTimeControlType; } Type::Enum IfcElectricTimeControlType::Class() { return Type::IfcElectricTimeControlType; } IfcElectricTimeControlType::IfcElectricTimeControlType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricTimeControlType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricTimeControlType::IfcElectricTimeControlType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricTimeControlTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElectricTimeControlType::IfcElectricTimeControlType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElectricTimeControlTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricalBaseProperties bool IfcElectricalBaseProperties::hasElectricCurrentType() { return !entity->getArgument(6)->isNull(); } IfcElectricCurrentEnum::IfcElectricCurrentEnum IfcElectricalBaseProperties::ElectricCurrentType() { return IfcElectricCurrentEnum::FromString(*entity->getArgument(6)); } @@ -6837,19 +6837,19 @@ bool IfcElectricalBaseProperties::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcElectricalBaseProperties::type() const { return Type::IfcElectricalBaseProperties; } Type::Enum IfcElectricalBaseProperties::Class() { return Type::IfcElectricalBaseProperties; } IfcElectricalBaseProperties::IfcElectricalBaseProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricalBaseProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricalBaseProperties::IfcElectricalBaseProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_EnergySequence, optional v6_UserDefinedEnergySequence, optional v7_ElectricCurrentType, IfcElectricVoltageMeasure v8_InputVoltage, IfcFrequencyMeasure v9_InputFrequency, optional v10_FullLoadCurrent, optional v11_MinimumCircuitCurrent, optional v12_MaximumPowerInput, optional v13_RatedPowerInput, int v14_InputPhase) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_EnergySequence) { e->setArgument(4,*v5_EnergySequence,IfcEnergySequenceEnum::ToString(*v5_EnergySequence)); } else { e->setArgument(4); } ; if (v6_UserDefinedEnergySequence) { e->setArgument(5,(*v6_UserDefinedEnergySequence)); } else { e->setArgument(5); } ; if (v7_ElectricCurrentType) { e->setArgument(6,*v7_ElectricCurrentType,IfcElectricCurrentEnum::ToString(*v7_ElectricCurrentType)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_InputVoltage)); e->setArgument(8,(v9_InputFrequency)); if (v10_FullLoadCurrent) { e->setArgument(9,(*v10_FullLoadCurrent)); } else { e->setArgument(9); } ; if (v11_MinimumCircuitCurrent) { e->setArgument(10,(*v11_MinimumCircuitCurrent)); } else { e->setArgument(10); } ; if (v12_MaximumPowerInput) { e->setArgument(11,(*v12_MaximumPowerInput)); } else { e->setArgument(11); } ; if (v13_RatedPowerInput) { e->setArgument(12,(*v13_RatedPowerInput)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_InputPhase)); entity = e; EntityBuffer::Add(this); } +IfcElectricalBaseProperties::IfcElectricalBaseProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcEnergySequenceEnum::IfcEnergySequenceEnum > v5_EnergySequence, optional< IfcLabel > v6_UserDefinedEnergySequence, optional< IfcElectricCurrentEnum::IfcElectricCurrentEnum > v7_ElectricCurrentType, IfcElectricVoltageMeasure v8_InputVoltage, IfcFrequencyMeasure v9_InputFrequency, optional< IfcElectricCurrentMeasure > v10_FullLoadCurrent, optional< IfcElectricCurrentMeasure > v11_MinimumCircuitCurrent, optional< IfcPowerMeasure > v12_MaximumPowerInput, optional< IfcPowerMeasure > v13_RatedPowerInput, int v14_InputPhase) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_EnergySequence) { e->setArgument(4,*v5_EnergySequence,IfcEnergySequenceEnum::ToString(*v5_EnergySequence)); } else { e->setArgument(4); } ; if (v6_UserDefinedEnergySequence) { e->setArgument(5,(*v6_UserDefinedEnergySequence)); } else { e->setArgument(5); } ; if (v7_ElectricCurrentType) { e->setArgument(6,*v7_ElectricCurrentType,IfcElectricCurrentEnum::ToString(*v7_ElectricCurrentType)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_InputVoltage)); e->setArgument(8,(v9_InputFrequency)); if (v10_FullLoadCurrent) { e->setArgument(9,(*v10_FullLoadCurrent)); } else { e->setArgument(9); } ; if (v11_MinimumCircuitCurrent) { e->setArgument(10,(*v11_MinimumCircuitCurrent)); } else { e->setArgument(10); } ; if (v12_MaximumPowerInput) { e->setArgument(11,(*v12_MaximumPowerInput)); } else { e->setArgument(11); } ; if (v13_RatedPowerInput) { e->setArgument(12,(*v13_RatedPowerInput)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_InputPhase)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricalCircuit bool IfcElectricalCircuit::is(Type::Enum v) const { return v == Type::IfcElectricalCircuit || IfcSystem::is(v); } Type::Enum IfcElectricalCircuit::type() const { return Type::IfcElectricalCircuit; } Type::Enum IfcElectricalCircuit::Class() { return Type::IfcElectricalCircuit; } IfcElectricalCircuit::IfcElectricalCircuit(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricalCircuit)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricalCircuit::IfcElectricalCircuit(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcElectricalCircuit::IfcElectricalCircuit(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElectricalElement bool IfcElectricalElement::is(Type::Enum v) const { return v == Type::IfcElectricalElement || IfcElement::is(v); } Type::Enum IfcElectricalElement::type() const { return Type::IfcElectricalElement; } Type::Enum IfcElectricalElement::Class() { return Type::IfcElectricalElement; } IfcElectricalElement::IfcElectricalElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcElectricalElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElectricalElement::IfcElectricalElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcElectricalElement::IfcElectricalElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElement bool IfcElement::hasTag() { return !entity->getArgument(7)->isNull(); } IfcIdentifier IfcElement::Tag() { return *entity->getArgument(7); } @@ -6870,7 +6870,7 @@ bool IfcElement::is(Type::Enum v) const { return v == Type::IfcElement || IfcPro Type::Enum IfcElement::type() const { return Type::IfcElement; } Type::Enum IfcElement::Class() { return Type::IfcElement; } IfcElement::IfcElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElement::IfcElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcElement::IfcElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementAssembly bool IfcElementAssembly::hasAssemblyPlace() { return !entity->getArgument(8)->isNull(); } IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum IfcElementAssembly::AssemblyPlace() { return IfcAssemblyPlaceEnum::FromString(*entity->getArgument(8)); } @@ -6881,30 +6881,30 @@ bool IfcElementAssembly::is(Type::Enum v) const { return v == Type::IfcElementAs Type::Enum IfcElementAssembly::type() const { return Type::IfcElementAssembly; } Type::Enum IfcElementAssembly::Class() { return Type::IfcElementAssembly; } IfcElementAssembly::IfcElementAssembly(IfcAbstractEntityPtr e) { if (!is(Type::IfcElementAssembly)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElementAssembly::IfcElementAssembly(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_AssemblyPlace, IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_AssemblyPlace) { e->setArgument(8,*v9_AssemblyPlace,IfcAssemblyPlaceEnum::ToString(*v9_AssemblyPlace)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElementAssemblyTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcElementAssembly::IfcElementAssembly(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum > v9_AssemblyPlace, IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_AssemblyPlace) { e->setArgument(8,*v9_AssemblyPlace,IfcAssemblyPlaceEnum::ToString(*v9_AssemblyPlace)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcElementAssemblyTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementComponent bool IfcElementComponent::is(Type::Enum v) const { return v == Type::IfcElementComponent || IfcElement::is(v); } Type::Enum IfcElementComponent::type() const { return Type::IfcElementComponent; } Type::Enum IfcElementComponent::Class() { return Type::IfcElementComponent; } IfcElementComponent::IfcElementComponent(IfcAbstractEntityPtr e) { if (!is(Type::IfcElementComponent)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElementComponent::IfcElementComponent(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcElementComponent::IfcElementComponent(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementComponentType bool IfcElementComponentType::is(Type::Enum v) const { return v == Type::IfcElementComponentType || IfcElementType::is(v); } Type::Enum IfcElementComponentType::type() const { return Type::IfcElementComponentType; } Type::Enum IfcElementComponentType::Class() { return Type::IfcElementComponentType; } IfcElementComponentType::IfcElementComponentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElementComponentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElementComponentType::IfcElementComponentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcElementComponentType::IfcElementComponentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementQuantity bool IfcElementQuantity::hasMethodOfMeasurement() { return !entity->getArgument(4)->isNull(); } IfcLabel IfcElementQuantity::MethodOfMeasurement() { return *entity->getArgument(4); } void IfcElementQuantity::setMethodOfMeasurement(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcElementQuantity::Quantities() { RETURN_AS_LIST(IfcPhysicalQuantity,5) } -void IfcElementQuantity::setQuantities(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > IfcElementQuantity::Quantities() { RETURN_AS_LIST(IfcPhysicalQuantity,5) } +void IfcElementQuantity::setQuantities(SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcElementQuantity::is(Type::Enum v) const { return v == Type::IfcElementQuantity || IfcPropertySetDefinition::is(v); } Type::Enum IfcElementQuantity::type() const { return Type::IfcElementQuantity; } Type::Enum IfcElementQuantity::Class() { return Type::IfcElementQuantity; } IfcElementQuantity::IfcElementQuantity(IfcAbstractEntityPtr e) { if (!is(Type::IfcElementQuantity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElementQuantity::IfcElementQuantity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_MethodOfMeasurement, SHARED_PTR< IfcTemplatedEntityList > v6_Quantities) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_MethodOfMeasurement) { e->setArgument(4,(*v5_MethodOfMeasurement)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Quantities)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcElementQuantity::IfcElementQuantity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_MethodOfMeasurement, SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v6_Quantities) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_MethodOfMeasurement) { e->setArgument(4,(*v5_MethodOfMeasurement)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Quantities)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementType bool IfcElementType::hasElementType() { return !entity->getArgument(8)->isNull(); } IfcLabel IfcElementType::ElementType() { return *entity->getArgument(8); } @@ -6913,7 +6913,7 @@ bool IfcElementType::is(Type::Enum v) const { return v == Type::IfcElementType | Type::Enum IfcElementType::type() const { return Type::IfcElementType; } Type::Enum IfcElementType::Class() { return Type::IfcElementType; } IfcElementType::IfcElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcElementType::IfcElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcElementType::IfcElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcElementarySurface IfcAxis2Placement3D* IfcElementarySurface::Position() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcElementarySurface::setPosition(IfcAxis2Placement3D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -6941,19 +6941,19 @@ bool IfcEllipseProfileDef::is(Type::Enum v) const { return v == Type::IfcEllipse Type::Enum IfcEllipseProfileDef::type() const { return Type::IfcEllipseProfileDef; } Type::Enum IfcEllipseProfileDef::Class() { return Type::IfcEllipseProfileDef; } IfcEllipseProfileDef::IfcEllipseProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcEllipseProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEllipseProfileDef::IfcEllipseProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_SemiAxis1, IfcPositiveLengthMeasure v5_SemiAxis2) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_SemiAxis1)); e->setArgument(4,(v5_SemiAxis2)); entity = e; EntityBuffer::Add(this); } +IfcEllipseProfileDef::IfcEllipseProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_SemiAxis1, IfcPositiveLengthMeasure v5_SemiAxis2) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_SemiAxis1)); e->setArgument(4,(v5_SemiAxis2)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEnergyConversionDevice bool IfcEnergyConversionDevice::is(Type::Enum v) const { return v == Type::IfcEnergyConversionDevice || IfcDistributionFlowElement::is(v); } Type::Enum IfcEnergyConversionDevice::type() const { return Type::IfcEnergyConversionDevice; } Type::Enum IfcEnergyConversionDevice::Class() { return Type::IfcEnergyConversionDevice; } IfcEnergyConversionDevice::IfcEnergyConversionDevice(IfcAbstractEntityPtr e) { if (!is(Type::IfcEnergyConversionDevice)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEnergyConversionDevice::IfcEnergyConversionDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcEnergyConversionDevice::IfcEnergyConversionDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEnergyConversionDeviceType bool IfcEnergyConversionDeviceType::is(Type::Enum v) const { return v == Type::IfcEnergyConversionDeviceType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcEnergyConversionDeviceType::type() const { return Type::IfcEnergyConversionDeviceType; } Type::Enum IfcEnergyConversionDeviceType::Class() { return Type::IfcEnergyConversionDeviceType; } IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcEnergyConversionDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcEnergyConversionDeviceType::IfcEnergyConversionDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEnergyProperties bool IfcEnergyProperties::hasEnergySequence() { return !entity->getArgument(4)->isNull(); } IfcEnergySequenceEnum::IfcEnergySequenceEnum IfcEnergyProperties::EnergySequence() { return IfcEnergySequenceEnum::FromString(*entity->getArgument(4)); } @@ -6965,7 +6965,7 @@ bool IfcEnergyProperties::is(Type::Enum v) const { return v == Type::IfcEnergyPr Type::Enum IfcEnergyProperties::type() const { return Type::IfcEnergyProperties; } Type::Enum IfcEnergyProperties::Class() { return Type::IfcEnergyProperties; } IfcEnergyProperties::IfcEnergyProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcEnergyProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEnergyProperties::IfcEnergyProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_EnergySequence, optional v6_UserDefinedEnergySequence) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_EnergySequence) { e->setArgument(4,*v5_EnergySequence,IfcEnergySequenceEnum::ToString(*v5_EnergySequence)); } else { e->setArgument(4); } ; if (v6_UserDefinedEnergySequence) { e->setArgument(5,(*v6_UserDefinedEnergySequence)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcEnergyProperties::IfcEnergyProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcEnergySequenceEnum::IfcEnergySequenceEnum > v5_EnergySequence, optional< IfcLabel > v6_UserDefinedEnergySequence) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_EnergySequence) { e->setArgument(4,*v5_EnergySequence,IfcEnergySequenceEnum::ToString(*v5_EnergySequence)); } else { e->setArgument(4); } ; if (v6_UserDefinedEnergySequence) { e->setArgument(5,(*v6_UserDefinedEnergySequence)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEnvironmentalImpactValue IfcLabel IfcEnvironmentalImpactValue::ImpactType() { return *entity->getArgument(6); } void IfcEnvironmentalImpactValue::setImpactType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -6978,19 +6978,19 @@ bool IfcEnvironmentalImpactValue::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcEnvironmentalImpactValue::type() const { return Type::IfcEnvironmentalImpactValue; } Type::Enum IfcEnvironmentalImpactValue::Class() { return Type::IfcEnvironmentalImpactValue; } IfcEnvironmentalImpactValue::IfcEnvironmentalImpactValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcEnvironmentalImpactValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEnvironmentalImpactValue::IfcEnvironmentalImpactValue(optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate, IfcLabel v7_ImpactType, IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum v8_Category, optional v9_UserDefinedCategory) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_ImpactType)); e->setArgument(7,v8_Category,IfcEnvironmentalImpactCategoryEnum::ToString(v8_Category)); if (v9_UserDefinedCategory) { e->setArgument(8,(*v9_UserDefinedCategory)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcEnvironmentalImpactValue::IfcEnvironmentalImpactValue(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate, IfcLabel v7_ImpactType, IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum v8_Category, optional< IfcLabel > v9_UserDefinedCategory) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_AppliedValue) { e->setArgument(2,(*v3_AppliedValue)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_UnitBasis)); if (v5_ApplicableDate) { e->setArgument(4,(*v5_ApplicableDate)); } else { e->setArgument(4); } ; if (v6_FixedUntilDate) { e->setArgument(5,(*v6_FixedUntilDate)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_ImpactType)); e->setArgument(7,v8_Category,IfcEnvironmentalImpactCategoryEnum::ToString(v8_Category)); if (v9_UserDefinedCategory) { e->setArgument(8,(*v9_UserDefinedCategory)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEquipmentElement bool IfcEquipmentElement::is(Type::Enum v) const { return v == Type::IfcEquipmentElement || IfcElement::is(v); } Type::Enum IfcEquipmentElement::type() const { return Type::IfcEquipmentElement; } Type::Enum IfcEquipmentElement::Class() { return Type::IfcEquipmentElement; } IfcEquipmentElement::IfcEquipmentElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcEquipmentElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEquipmentElement::IfcEquipmentElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcEquipmentElement::IfcEquipmentElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEquipmentStandard bool IfcEquipmentStandard::is(Type::Enum v) const { return v == Type::IfcEquipmentStandard || IfcControl::is(v); } Type::Enum IfcEquipmentStandard::type() const { return Type::IfcEquipmentStandard; } Type::Enum IfcEquipmentStandard::Class() { return Type::IfcEquipmentStandard; } IfcEquipmentStandard::IfcEquipmentStandard(IfcAbstractEntityPtr e) { if (!is(Type::IfcEquipmentStandard)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEquipmentStandard::IfcEquipmentStandard(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcEquipmentStandard::IfcEquipmentStandard(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEvaporativeCoolerType IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum IfcEvaporativeCoolerType::PredefinedType() { return IfcEvaporativeCoolerTypeEnum::FromString(*entity->getArgument(9)); } void IfcEvaporativeCoolerType::setPredefinedType(IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcEvaporativeCoolerTypeEnum::ToString(v)); } @@ -6998,7 +6998,7 @@ bool IfcEvaporativeCoolerType::is(Type::Enum v) const { return v == Type::IfcEva Type::Enum IfcEvaporativeCoolerType::type() const { return Type::IfcEvaporativeCoolerType; } Type::Enum IfcEvaporativeCoolerType::Class() { return Type::IfcEvaporativeCoolerType; } IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcEvaporativeCoolerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcEvaporativeCoolerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcEvaporativeCoolerType::IfcEvaporativeCoolerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcEvaporativeCoolerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcEvaporatorType IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum IfcEvaporatorType::PredefinedType() { return IfcEvaporatorTypeEnum::FromString(*entity->getArgument(9)); } void IfcEvaporatorType::setPredefinedType(IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcEvaporatorTypeEnum::ToString(v)); } @@ -7006,10 +7006,10 @@ bool IfcEvaporatorType::is(Type::Enum v) const { return v == Type::IfcEvaporator Type::Enum IfcEvaporatorType::type() const { return Type::IfcEvaporatorType; } Type::Enum IfcEvaporatorType::Class() { return Type::IfcEvaporatorType; } IfcEvaporatorType::IfcEvaporatorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcEvaporatorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcEvaporatorType::IfcEvaporatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcEvaporatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcEvaporatorType::IfcEvaporatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcEvaporatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExtendedMaterialProperties -SHARED_PTR< IfcTemplatedEntityList > IfcExtendedMaterialProperties::ExtendedProperties() { RETURN_AS_LIST(IfcProperty,1) } -void IfcExtendedMaterialProperties::setExtendedProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcExtendedMaterialProperties::ExtendedProperties() { RETURN_AS_LIST(IfcProperty,1) } +void IfcExtendedMaterialProperties::setExtendedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcExtendedMaterialProperties::hasDescription() { return !entity->getArgument(2)->isNull(); } IfcText IfcExtendedMaterialProperties::Description() { return *entity->getArgument(2); } void IfcExtendedMaterialProperties::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -7019,7 +7019,7 @@ bool IfcExtendedMaterialProperties::is(Type::Enum v) const { return v == Type::I Type::Enum IfcExtendedMaterialProperties::type() const { return Type::IfcExtendedMaterialProperties; } Type::Enum IfcExtendedMaterialProperties::Class() { return Type::IfcExtendedMaterialProperties; } IfcExtendedMaterialProperties::IfcExtendedMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcExtendedMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExtendedMaterialProperties::IfcExtendedMaterialProperties(IfcMaterial* v1_Material, SHARED_PTR< IfcTemplatedEntityList > v2_ExtendedProperties, optional v3_Description, IfcLabel v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); e->setArgument(1,(v2_ExtendedProperties)->generalize()); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Name)); entity = e; EntityBuffer::Add(this); } +IfcExtendedMaterialProperties::IfcExtendedMaterialProperties(IfcMaterial* v1_Material, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v2_ExtendedProperties, optional< IfcText > v3_Description, IfcLabel v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); e->setArgument(1,(v2_ExtendedProperties)->generalize()); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Name)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExternalReference bool IfcExternalReference::hasLocation() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcExternalReference::Location() { return *entity->getArgument(0); } @@ -7034,31 +7034,31 @@ bool IfcExternalReference::is(Type::Enum v) const { return v == Type::IfcExterna Type::Enum IfcExternalReference::type() const { return Type::IfcExternalReference; } Type::Enum IfcExternalReference::Class() { return Type::IfcExternalReference; } IfcExternalReference::IfcExternalReference(IfcAbstractEntityPtr e) { if (!is(Type::IfcExternalReference)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExternalReference::IfcExternalReference(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcExternalReference::IfcExternalReference(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExternallyDefinedHatchStyle bool IfcExternallyDefinedHatchStyle::is(Type::Enum v) const { return v == Type::IfcExternallyDefinedHatchStyle || IfcExternalReference::is(v); } Type::Enum IfcExternallyDefinedHatchStyle::type() const { return Type::IfcExternallyDefinedHatchStyle; } Type::Enum IfcExternallyDefinedHatchStyle::Class() { return Type::IfcExternallyDefinedHatchStyle; } IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcExternallyDefinedHatchStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcExternallyDefinedHatchStyle::IfcExternallyDefinedHatchStyle(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExternallyDefinedSurfaceStyle bool IfcExternallyDefinedSurfaceStyle::is(Type::Enum v) const { return v == Type::IfcExternallyDefinedSurfaceStyle || IfcExternalReference::is(v); } Type::Enum IfcExternallyDefinedSurfaceStyle::type() const { return Type::IfcExternallyDefinedSurfaceStyle; } Type::Enum IfcExternallyDefinedSurfaceStyle::Class() { return Type::IfcExternallyDefinedSurfaceStyle; } IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcExternallyDefinedSurfaceStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcExternallyDefinedSurfaceStyle::IfcExternallyDefinedSurfaceStyle(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExternallyDefinedSymbol bool IfcExternallyDefinedSymbol::is(Type::Enum v) const { return v == Type::IfcExternallyDefinedSymbol || IfcExternalReference::is(v); } Type::Enum IfcExternallyDefinedSymbol::type() const { return Type::IfcExternallyDefinedSymbol; } Type::Enum IfcExternallyDefinedSymbol::Class() { return Type::IfcExternallyDefinedSymbol; } IfcExternallyDefinedSymbol::IfcExternallyDefinedSymbol(IfcAbstractEntityPtr e) { if (!is(Type::IfcExternallyDefinedSymbol)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExternallyDefinedSymbol::IfcExternallyDefinedSymbol(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcExternallyDefinedSymbol::IfcExternallyDefinedSymbol(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExternallyDefinedTextFont bool IfcExternallyDefinedTextFont::is(Type::Enum v) const { return v == Type::IfcExternallyDefinedTextFont || IfcExternalReference::is(v); } Type::Enum IfcExternallyDefinedTextFont::type() const { return Type::IfcExternallyDefinedTextFont; } Type::Enum IfcExternallyDefinedTextFont::Class() { return Type::IfcExternallyDefinedTextFont; } IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(IfcAbstractEntityPtr e) { if (!is(Type::IfcExternallyDefinedTextFont)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcExternallyDefinedTextFont::IfcExternallyDefinedTextFont(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcExtrudedAreaSolid IfcDirection* IfcExtrudedAreaSolid::ExtrudedDirection() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcExtrudedAreaSolid::setExtrudedDirection(IfcDirection* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -7070,21 +7070,21 @@ Type::Enum IfcExtrudedAreaSolid::Class() { return Type::IfcExtrudedAreaSolid; } IfcExtrudedAreaSolid::IfcExtrudedAreaSolid(IfcAbstractEntityPtr e) { if (!is(Type::IfcExtrudedAreaSolid)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcExtrudedAreaSolid::IfcExtrudedAreaSolid(IfcProfileDef* v1_SweptArea, IfcAxis2Placement3D* v2_Position, IfcDirection* v3_ExtrudedDirection, IfcPositiveLengthMeasure v4_Depth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SweptArea)); e->setArgument(1,(v2_Position)); e->setArgument(2,(v3_ExtrudedDirection)); e->setArgument(3,(v4_Depth)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFace -SHARED_PTR< IfcTemplatedEntityList > IfcFace::Bounds() { RETURN_AS_LIST(IfcFaceBound,0) } -void IfcFace::setBounds(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > IfcFace::Bounds() { RETURN_AS_LIST(IfcFaceBound,0) } +void IfcFace::setBounds(SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcFace::is(Type::Enum v) const { return v == Type::IfcFace || IfcTopologicalRepresentationItem::is(v); } Type::Enum IfcFace::type() const { return Type::IfcFace; } Type::Enum IfcFace::Class() { return Type::IfcFace; } IfcFace::IfcFace(IfcAbstractEntityPtr e) { if (!is(Type::IfcFace)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFace::IfcFace(SHARED_PTR< IfcTemplatedEntityList > v1_Bounds) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Bounds)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcFace::IfcFace(SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v1_Bounds) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Bounds)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFaceBasedSurfaceModel -SHARED_PTR< IfcTemplatedEntityList > IfcFaceBasedSurfaceModel::FbsmFaces() { RETURN_AS_LIST(IfcConnectedFaceSet,0) } -void IfcFaceBasedSurfaceModel::setFbsmFaces(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > IfcFaceBasedSurfaceModel::FbsmFaces() { RETURN_AS_LIST(IfcConnectedFaceSet,0) } +void IfcFaceBasedSurfaceModel::setFbsmFaces(SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcFaceBasedSurfaceModel::is(Type::Enum v) const { return v == Type::IfcFaceBasedSurfaceModel || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcFaceBasedSurfaceModel::type() const { return Type::IfcFaceBasedSurfaceModel; } Type::Enum IfcFaceBasedSurfaceModel::Class() { return Type::IfcFaceBasedSurfaceModel; } IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcFaceBasedSurfaceModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(SHARED_PTR< IfcTemplatedEntityList > v1_FbsmFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_FbsmFaces)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcFaceBasedSurfaceModel::IfcFaceBasedSurfaceModel(SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > v1_FbsmFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_FbsmFaces)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFaceBound IfcLoop* IfcFaceBound::Bound() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcFaceBound::setBound(IfcLoop* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7110,7 +7110,7 @@ bool IfcFaceSurface::is(Type::Enum v) const { return v == Type::IfcFaceSurface | Type::Enum IfcFaceSurface::type() const { return Type::IfcFaceSurface; } Type::Enum IfcFaceSurface::Class() { return Type::IfcFaceSurface; } IfcFaceSurface::IfcFaceSurface(IfcAbstractEntityPtr e) { if (!is(Type::IfcFaceSurface)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFaceSurface::IfcFaceSurface(SHARED_PTR< IfcTemplatedEntityList > v1_Bounds, IfcSurface* v2_FaceSurface, bool v3_SameSense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Bounds)->generalize()); e->setArgument(1,(v2_FaceSurface)); e->setArgument(2,(v3_SameSense)); entity = e; EntityBuffer::Add(this); } +IfcFaceSurface::IfcFaceSurface(SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v1_Bounds, IfcSurface* v2_FaceSurface, bool v3_SameSense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Bounds)->generalize()); e->setArgument(1,(v2_FaceSurface)); e->setArgument(2,(v3_SameSense)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFacetedBrep bool IfcFacetedBrep::is(Type::Enum v) const { return v == Type::IfcFacetedBrep || IfcManifoldSolidBrep::is(v); } Type::Enum IfcFacetedBrep::type() const { return Type::IfcFacetedBrep; } @@ -7118,13 +7118,13 @@ Type::Enum IfcFacetedBrep::Class() { return Type::IfcFacetedBrep; } IfcFacetedBrep::IfcFacetedBrep(IfcAbstractEntityPtr e) { if (!is(Type::IfcFacetedBrep)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcFacetedBrep::IfcFacetedBrep(IfcClosedShell* v1_Outer) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Outer)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFacetedBrepWithVoids -SHARED_PTR< IfcTemplatedEntityList > IfcFacetedBrepWithVoids::Voids() { RETURN_AS_LIST(IfcClosedShell,1) } -void IfcFacetedBrepWithVoids::setVoids(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > IfcFacetedBrepWithVoids::Voids() { RETURN_AS_LIST(IfcClosedShell,1) } +void IfcFacetedBrepWithVoids::setVoids(SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcFacetedBrepWithVoids::is(Type::Enum v) const { return v == Type::IfcFacetedBrepWithVoids || IfcManifoldSolidBrep::is(v); } Type::Enum IfcFacetedBrepWithVoids::type() const { return Type::IfcFacetedBrepWithVoids; } Type::Enum IfcFacetedBrepWithVoids::Class() { return Type::IfcFacetedBrepWithVoids; } IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(IfcAbstractEntityPtr e) { if (!is(Type::IfcFacetedBrepWithVoids)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(IfcClosedShell* v1_Outer, SHARED_PTR< IfcTemplatedEntityList > v2_Voids) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Outer)); e->setArgument(1,(v2_Voids)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcFacetedBrepWithVoids::IfcFacetedBrepWithVoids(IfcClosedShell* v1_Outer, SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > v2_Voids) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Outer)); e->setArgument(1,(v2_Voids)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFailureConnectionCondition bool IfcFailureConnectionCondition::hasTensionFailureX() { return !entity->getArgument(1)->isNull(); } IfcForceMeasure IfcFailureConnectionCondition::TensionFailureX() { return *entity->getArgument(1); } @@ -7148,7 +7148,7 @@ bool IfcFailureConnectionCondition::is(Type::Enum v) const { return v == Type::I Type::Enum IfcFailureConnectionCondition::type() const { return Type::IfcFailureConnectionCondition; } Type::Enum IfcFailureConnectionCondition::Class() { return Type::IfcFailureConnectionCondition; } IfcFailureConnectionCondition::IfcFailureConnectionCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcFailureConnectionCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFailureConnectionCondition::IfcFailureConnectionCondition(optional v1_Name, optional v2_TensionFailureX, optional v3_TensionFailureY, optional v4_TensionFailureZ, optional v5_CompressionFailureX, optional v6_CompressionFailureY, optional v7_CompressionFailureZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_TensionFailureX) { e->setArgument(1,(*v2_TensionFailureX)); } else { e->setArgument(1); } ; if (v3_TensionFailureY) { e->setArgument(2,(*v3_TensionFailureY)); } else { e->setArgument(2); } ; if (v4_TensionFailureZ) { e->setArgument(3,(*v4_TensionFailureZ)); } else { e->setArgument(3); } ; if (v5_CompressionFailureX) { e->setArgument(4,(*v5_CompressionFailureX)); } else { e->setArgument(4); } ; if (v6_CompressionFailureY) { e->setArgument(5,(*v6_CompressionFailureY)); } else { e->setArgument(5); } ; if (v7_CompressionFailureZ) { e->setArgument(6,(*v7_CompressionFailureZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcFailureConnectionCondition::IfcFailureConnectionCondition(optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_TensionFailureX, optional< IfcForceMeasure > v3_TensionFailureY, optional< IfcForceMeasure > v4_TensionFailureZ, optional< IfcForceMeasure > v5_CompressionFailureX, optional< IfcForceMeasure > v6_CompressionFailureY, optional< IfcForceMeasure > v7_CompressionFailureZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_TensionFailureX) { e->setArgument(1,(*v2_TensionFailureX)); } else { e->setArgument(1); } ; if (v3_TensionFailureY) { e->setArgument(2,(*v3_TensionFailureY)); } else { e->setArgument(2); } ; if (v4_TensionFailureZ) { e->setArgument(3,(*v4_TensionFailureZ)); } else { e->setArgument(3); } ; if (v5_CompressionFailureX) { e->setArgument(4,(*v5_CompressionFailureX)); } else { e->setArgument(4); } ; if (v6_CompressionFailureY) { e->setArgument(5,(*v6_CompressionFailureY)); } else { e->setArgument(5); } ; if (v7_CompressionFailureZ) { e->setArgument(6,(*v7_CompressionFailureZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFanType IfcFanTypeEnum::IfcFanTypeEnum IfcFanType::PredefinedType() { return IfcFanTypeEnum::FromString(*entity->getArgument(9)); } void IfcFanType::setPredefinedType(IfcFanTypeEnum::IfcFanTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcFanTypeEnum::ToString(v)); } @@ -7156,47 +7156,47 @@ bool IfcFanType::is(Type::Enum v) const { return v == Type::IfcFanType || IfcFlo Type::Enum IfcFanType::type() const { return Type::IfcFanType; } Type::Enum IfcFanType::Class() { return Type::IfcFanType; } IfcFanType::IfcFanType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFanType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFanType::IfcFanType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFanTypeEnum::IfcFanTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFanTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFanType::IfcFanType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFanTypeEnum::IfcFanTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFanTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFastener bool IfcFastener::is(Type::Enum v) const { return v == Type::IfcFastener || IfcElementComponent::is(v); } Type::Enum IfcFastener::type() const { return Type::IfcFastener; } Type::Enum IfcFastener::Class() { return Type::IfcFastener; } IfcFastener::IfcFastener(IfcAbstractEntityPtr e) { if (!is(Type::IfcFastener)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFastener::IfcFastener(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFastener::IfcFastener(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFastenerType bool IfcFastenerType::is(Type::Enum v) const { return v == Type::IfcFastenerType || IfcElementComponentType::is(v); } Type::Enum IfcFastenerType::type() const { return Type::IfcFastenerType; } Type::Enum IfcFastenerType::Class() { return Type::IfcFastenerType; } IfcFastenerType::IfcFastenerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFastenerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFastenerType::IfcFastenerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFastenerType::IfcFastenerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFeatureElement bool IfcFeatureElement::is(Type::Enum v) const { return v == Type::IfcFeatureElement || IfcElement::is(v); } Type::Enum IfcFeatureElement::type() const { return Type::IfcFeatureElement; } Type::Enum IfcFeatureElement::Class() { return Type::IfcFeatureElement; } IfcFeatureElement::IfcFeatureElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcFeatureElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFeatureElement::IfcFeatureElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFeatureElement::IfcFeatureElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFeatureElementAddition IfcRelProjectsElement::list IfcFeatureElementAddition::ProjectsElements() { RETURN_INVERSE(IfcRelProjectsElement) } bool IfcFeatureElementAddition::is(Type::Enum v) const { return v == Type::IfcFeatureElementAddition || IfcFeatureElement::is(v); } Type::Enum IfcFeatureElementAddition::type() const { return Type::IfcFeatureElementAddition; } Type::Enum IfcFeatureElementAddition::Class() { return Type::IfcFeatureElementAddition; } IfcFeatureElementAddition::IfcFeatureElementAddition(IfcAbstractEntityPtr e) { if (!is(Type::IfcFeatureElementAddition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFeatureElementAddition::IfcFeatureElementAddition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFeatureElementAddition::IfcFeatureElementAddition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFeatureElementSubtraction IfcRelVoidsElement::list IfcFeatureElementSubtraction::VoidsElements() { RETURN_INVERSE(IfcRelVoidsElement) } bool IfcFeatureElementSubtraction::is(Type::Enum v) const { return v == Type::IfcFeatureElementSubtraction || IfcFeatureElement::is(v); } Type::Enum IfcFeatureElementSubtraction::type() const { return Type::IfcFeatureElementSubtraction; } Type::Enum IfcFeatureElementSubtraction::Class() { return Type::IfcFeatureElementSubtraction; } IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(IfcAbstractEntityPtr e) { if (!is(Type::IfcFeatureElementSubtraction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFeatureElementSubtraction::IfcFeatureElementSubtraction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFillAreaStyle -SHARED_PTR< IfcTemplatedEntityList > IfcFillAreaStyle::FillStyles() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcFillAreaStyle::setFillStyles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcFillAreaStyle::FillStyles() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcFillAreaStyle::setFillStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcFillAreaStyle::is(Type::Enum v) const { return v == Type::IfcFillAreaStyle || IfcPresentationStyle::is(v); } Type::Enum IfcFillAreaStyle::type() const { return Type::IfcFillAreaStyle; } Type::Enum IfcFillAreaStyle::Class() { return Type::IfcFillAreaStyle; } IfcFillAreaStyle::IfcFillAreaStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcFillAreaStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFillAreaStyle::IfcFillAreaStyle(optional v1_Name, IfcEntities v2_FillStyles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_FillStyles)); entity = e; EntityBuffer::Add(this); } +IfcFillAreaStyle::IfcFillAreaStyle(optional< IfcLabel > v1_Name, IfcEntities v2_FillStyles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_FillStyles)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFillAreaStyleHatching IfcCurveStyle* IfcFillAreaStyleHatching::HatchLineAppearance() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcFillAreaStyleHatching::setHatchLineAppearance(IfcCurveStyle* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7226,8 +7226,8 @@ IfcFillAreaStyleTileSymbolWithStyle::IfcFillAreaStyleTileSymbolWithStyle(IfcAnno // Function implementations for IfcFillAreaStyleTiles IfcOneDirectionRepeatFactor* IfcFillAreaStyleTiles::TilingPattern() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcFillAreaStyleTiles::setTilingPattern(IfcOneDirectionRepeatFactor* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcFillAreaStyleTiles::Tiles() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcFillAreaStyleTiles::setTiles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcFillAreaStyleTiles::Tiles() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcFillAreaStyleTiles::setTiles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } IfcPositiveRatioMeasure IfcFillAreaStyleTiles::TilingScale() { return *entity->getArgument(2); } void IfcFillAreaStyleTiles::setTilingScale(IfcPositiveRatioMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } bool IfcFillAreaStyleTiles::is(Type::Enum v) const { return v == Type::IfcFillAreaStyleTiles || IfcGeometricRepresentationItem::is(v); } @@ -7242,7 +7242,7 @@ bool IfcFilterType::is(Type::Enum v) const { return v == Type::IfcFilterType || Type::Enum IfcFilterType::type() const { return Type::IfcFilterType; } Type::Enum IfcFilterType::Class() { return Type::IfcFilterType; } IfcFilterType::IfcFilterType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFilterType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFilterType::IfcFilterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFilterTypeEnum::IfcFilterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFilterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFilterType::IfcFilterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFilterTypeEnum::IfcFilterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFilterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFireSuppressionTerminalType IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum IfcFireSuppressionTerminalType::PredefinedType() { return IfcFireSuppressionTerminalTypeEnum::FromString(*entity->getArgument(9)); } void IfcFireSuppressionTerminalType::setPredefinedType(IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcFireSuppressionTerminalTypeEnum::ToString(v)); } @@ -7250,31 +7250,31 @@ bool IfcFireSuppressionTerminalType::is(Type::Enum v) const { return v == Type:: Type::Enum IfcFireSuppressionTerminalType::type() const { return Type::IfcFireSuppressionTerminalType; } Type::Enum IfcFireSuppressionTerminalType::Class() { return Type::IfcFireSuppressionTerminalType; } IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFireSuppressionTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFireSuppressionTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFireSuppressionTerminalType::IfcFireSuppressionTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFireSuppressionTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowController bool IfcFlowController::is(Type::Enum v) const { return v == Type::IfcFlowController || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowController::type() const { return Type::IfcFlowController; } Type::Enum IfcFlowController::Class() { return Type::IfcFlowController; } IfcFlowController::IfcFlowController(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowController)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowController::IfcFlowController(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowController::IfcFlowController(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowControllerType bool IfcFlowControllerType::is(Type::Enum v) const { return v == Type::IfcFlowControllerType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowControllerType::type() const { return Type::IfcFlowControllerType; } Type::Enum IfcFlowControllerType::Class() { return Type::IfcFlowControllerType; } IfcFlowControllerType::IfcFlowControllerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowControllerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowControllerType::IfcFlowControllerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowControllerType::IfcFlowControllerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowFitting bool IfcFlowFitting::is(Type::Enum v) const { return v == Type::IfcFlowFitting || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowFitting::type() const { return Type::IfcFlowFitting; } Type::Enum IfcFlowFitting::Class() { return Type::IfcFlowFitting; } IfcFlowFitting::IfcFlowFitting(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowFitting)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowFitting::IfcFlowFitting(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowFitting::IfcFlowFitting(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowFittingType bool IfcFlowFittingType::is(Type::Enum v) const { return v == Type::IfcFlowFittingType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowFittingType::type() const { return Type::IfcFlowFittingType; } Type::Enum IfcFlowFittingType::Class() { return Type::IfcFlowFittingType; } IfcFlowFittingType::IfcFlowFittingType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowFittingType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowFittingType::IfcFlowFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowFittingType::IfcFlowFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowInstrumentType IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum IfcFlowInstrumentType::PredefinedType() { return IfcFlowInstrumentTypeEnum::FromString(*entity->getArgument(9)); } void IfcFlowInstrumentType::setPredefinedType(IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcFlowInstrumentTypeEnum::ToString(v)); } @@ -7282,7 +7282,7 @@ bool IfcFlowInstrumentType::is(Type::Enum v) const { return v == Type::IfcFlowIn Type::Enum IfcFlowInstrumentType::type() const { return Type::IfcFlowInstrumentType; } Type::Enum IfcFlowInstrumentType::Class() { return Type::IfcFlowInstrumentType; } IfcFlowInstrumentType::IfcFlowInstrumentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowInstrumentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowInstrumentType::IfcFlowInstrumentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFlowInstrumentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFlowInstrumentType::IfcFlowInstrumentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFlowInstrumentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowMeterType IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum IfcFlowMeterType::PredefinedType() { return IfcFlowMeterTypeEnum::FromString(*entity->getArgument(9)); } void IfcFlowMeterType::setPredefinedType(IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcFlowMeterTypeEnum::ToString(v)); } @@ -7290,67 +7290,67 @@ bool IfcFlowMeterType::is(Type::Enum v) const { return v == Type::IfcFlowMeterTy Type::Enum IfcFlowMeterType::type() const { return Type::IfcFlowMeterType; } Type::Enum IfcFlowMeterType::Class() { return Type::IfcFlowMeterType; } IfcFlowMeterType::IfcFlowMeterType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowMeterType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowMeterType::IfcFlowMeterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFlowMeterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFlowMeterType::IfcFlowMeterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcFlowMeterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowMovingDevice bool IfcFlowMovingDevice::is(Type::Enum v) const { return v == Type::IfcFlowMovingDevice || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowMovingDevice::type() const { return Type::IfcFlowMovingDevice; } Type::Enum IfcFlowMovingDevice::Class() { return Type::IfcFlowMovingDevice; } IfcFlowMovingDevice::IfcFlowMovingDevice(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowMovingDevice)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowMovingDevice::IfcFlowMovingDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowMovingDevice::IfcFlowMovingDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowMovingDeviceType bool IfcFlowMovingDeviceType::is(Type::Enum v) const { return v == Type::IfcFlowMovingDeviceType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowMovingDeviceType::type() const { return Type::IfcFlowMovingDeviceType; } Type::Enum IfcFlowMovingDeviceType::Class() { return Type::IfcFlowMovingDeviceType; } IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowMovingDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowMovingDeviceType::IfcFlowMovingDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowSegment bool IfcFlowSegment::is(Type::Enum v) const { return v == Type::IfcFlowSegment || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowSegment::type() const { return Type::IfcFlowSegment; } Type::Enum IfcFlowSegment::Class() { return Type::IfcFlowSegment; } IfcFlowSegment::IfcFlowSegment(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowSegment)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowSegment::IfcFlowSegment(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowSegment::IfcFlowSegment(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowSegmentType bool IfcFlowSegmentType::is(Type::Enum v) const { return v == Type::IfcFlowSegmentType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowSegmentType::type() const { return Type::IfcFlowSegmentType; } Type::Enum IfcFlowSegmentType::Class() { return Type::IfcFlowSegmentType; } IfcFlowSegmentType::IfcFlowSegmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowSegmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowSegmentType::IfcFlowSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowSegmentType::IfcFlowSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowStorageDevice bool IfcFlowStorageDevice::is(Type::Enum v) const { return v == Type::IfcFlowStorageDevice || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowStorageDevice::type() const { return Type::IfcFlowStorageDevice; } Type::Enum IfcFlowStorageDevice::Class() { return Type::IfcFlowStorageDevice; } IfcFlowStorageDevice::IfcFlowStorageDevice(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowStorageDevice)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowStorageDevice::IfcFlowStorageDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowStorageDevice::IfcFlowStorageDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowStorageDeviceType bool IfcFlowStorageDeviceType::is(Type::Enum v) const { return v == Type::IfcFlowStorageDeviceType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowStorageDeviceType::type() const { return Type::IfcFlowStorageDeviceType; } Type::Enum IfcFlowStorageDeviceType::Class() { return Type::IfcFlowStorageDeviceType; } IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowStorageDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowStorageDeviceType::IfcFlowStorageDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowTerminal bool IfcFlowTerminal::is(Type::Enum v) const { return v == Type::IfcFlowTerminal || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowTerminal::type() const { return Type::IfcFlowTerminal; } Type::Enum IfcFlowTerminal::Class() { return Type::IfcFlowTerminal; } IfcFlowTerminal::IfcFlowTerminal(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowTerminal)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowTerminal::IfcFlowTerminal(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowTerminal::IfcFlowTerminal(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowTerminalType bool IfcFlowTerminalType::is(Type::Enum v) const { return v == Type::IfcFlowTerminalType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowTerminalType::type() const { return Type::IfcFlowTerminalType; } Type::Enum IfcFlowTerminalType::Class() { return Type::IfcFlowTerminalType; } IfcFlowTerminalType::IfcFlowTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowTerminalType::IfcFlowTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowTerminalType::IfcFlowTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowTreatmentDevice bool IfcFlowTreatmentDevice::is(Type::Enum v) const { return v == Type::IfcFlowTreatmentDevice || IfcDistributionFlowElement::is(v); } Type::Enum IfcFlowTreatmentDevice::type() const { return Type::IfcFlowTreatmentDevice; } Type::Enum IfcFlowTreatmentDevice::Class() { return Type::IfcFlowTreatmentDevice; } IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowTreatmentDevice)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowTreatmentDevice::IfcFlowTreatmentDevice(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFlowTreatmentDeviceType bool IfcFlowTreatmentDeviceType::is(Type::Enum v) const { return v == Type::IfcFlowTreatmentDeviceType || IfcDistributionFlowElementType::is(v); } Type::Enum IfcFlowTreatmentDeviceType::type() const { return Type::IfcFlowTreatmentDeviceType; } Type::Enum IfcFlowTreatmentDeviceType::Class() { return Type::IfcFlowTreatmentDeviceType; } IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFlowTreatmentDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFlowTreatmentDeviceType::IfcFlowTreatmentDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFluidFlowProperties IfcPropertySourceEnum::IfcPropertySourceEnum IfcFluidFlowProperties::PropertySource() { return IfcPropertySourceEnum::FromString(*entity->getArgument(4)); } void IfcFluidFlowProperties::setPropertySource(IfcPropertySourceEnum::IfcPropertySourceEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v,IfcPropertySourceEnum::ToString(v)); } @@ -7399,7 +7399,7 @@ bool IfcFluidFlowProperties::is(Type::Enum v) const { return v == Type::IfcFluid Type::Enum IfcFluidFlowProperties::type() const { return Type::IfcFluidFlowProperties; } Type::Enum IfcFluidFlowProperties::Class() { return Type::IfcFluidFlowProperties; } IfcFluidFlowProperties::IfcFluidFlowProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcFluidFlowProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFluidFlowProperties::IfcFluidFlowProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPropertySourceEnum::IfcPropertySourceEnum v5_PropertySource, IfcTimeSeries* v6_FlowConditionTimeSeries, IfcTimeSeries* v7_VelocityTimeSeries, IfcTimeSeries* v8_FlowrateTimeSeries, IfcMaterial* v9_Fluid, IfcTimeSeries* v10_PressureTimeSeries, optional v11_UserDefinedPropertySource, optional v12_TemperatureSingleValue, optional v13_WetBulbTemperatureSingleValue, IfcTimeSeries* v14_WetBulbTemperatureTimeSeries, IfcTimeSeries* v15_TemperatureTimeSeries, optional v16_FlowrateSingleValue, optional v17_FlowConditionSingleValue, optional v18_VelocitySingleValue, optional v19_PressureSingleValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_PropertySource,IfcPropertySourceEnum::ToString(v5_PropertySource)); e->setArgument(5,(v6_FlowConditionTimeSeries)); e->setArgument(6,(v7_VelocityTimeSeries)); e->setArgument(7,(v8_FlowrateTimeSeries)); e->setArgument(8,(v9_Fluid)); e->setArgument(9,(v10_PressureTimeSeries)); if (v11_UserDefinedPropertySource) { e->setArgument(10,(*v11_UserDefinedPropertySource)); } else { e->setArgument(10); } ; if (v12_TemperatureSingleValue) { e->setArgument(11,(*v12_TemperatureSingleValue)); } else { e->setArgument(11); } ; if (v13_WetBulbTemperatureSingleValue) { e->setArgument(12,(*v13_WetBulbTemperatureSingleValue)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_WetBulbTemperatureTimeSeries)); e->setArgument(14,(v15_TemperatureTimeSeries)); if (v16_FlowrateSingleValue) { e->setArgument(15,(*v16_FlowrateSingleValue)); } else { e->setArgument(15); } ; if (v17_FlowConditionSingleValue) { e->setArgument(16,(*v17_FlowConditionSingleValue)); } else { e->setArgument(16); } ; if (v18_VelocitySingleValue) { e->setArgument(17,(*v18_VelocitySingleValue)); } else { e->setArgument(17); } ; if (v19_PressureSingleValue) { e->setArgument(18,(*v19_PressureSingleValue)); } else { e->setArgument(18); } ; entity = e; EntityBuffer::Add(this); } +IfcFluidFlowProperties::IfcFluidFlowProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPropertySourceEnum::IfcPropertySourceEnum v5_PropertySource, IfcTimeSeries* v6_FlowConditionTimeSeries, IfcTimeSeries* v7_VelocityTimeSeries, IfcTimeSeries* v8_FlowrateTimeSeries, IfcMaterial* v9_Fluid, IfcTimeSeries* v10_PressureTimeSeries, optional< IfcLabel > v11_UserDefinedPropertySource, optional< IfcThermodynamicTemperatureMeasure > v12_TemperatureSingleValue, optional< IfcThermodynamicTemperatureMeasure > v13_WetBulbTemperatureSingleValue, IfcTimeSeries* v14_WetBulbTemperatureTimeSeries, IfcTimeSeries* v15_TemperatureTimeSeries, optional< IfcDerivedMeasureValue > v16_FlowrateSingleValue, optional< IfcPositiveRatioMeasure > v17_FlowConditionSingleValue, optional< IfcLinearVelocityMeasure > v18_VelocitySingleValue, optional< IfcPressureMeasure > v19_PressureSingleValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_PropertySource,IfcPropertySourceEnum::ToString(v5_PropertySource)); e->setArgument(5,(v6_FlowConditionTimeSeries)); e->setArgument(6,(v7_VelocityTimeSeries)); e->setArgument(7,(v8_FlowrateTimeSeries)); e->setArgument(8,(v9_Fluid)); e->setArgument(9,(v10_PressureTimeSeries)); if (v11_UserDefinedPropertySource) { e->setArgument(10,(*v11_UserDefinedPropertySource)); } else { e->setArgument(10); } ; if (v12_TemperatureSingleValue) { e->setArgument(11,(*v12_TemperatureSingleValue)); } else { e->setArgument(11); } ; if (v13_WetBulbTemperatureSingleValue) { e->setArgument(12,(*v13_WetBulbTemperatureSingleValue)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_WetBulbTemperatureTimeSeries)); e->setArgument(14,(v15_TemperatureTimeSeries)); if (v16_FlowrateSingleValue) { e->setArgument(15,(*v16_FlowrateSingleValue)); } else { e->setArgument(15); } ; if (v17_FlowConditionSingleValue) { e->setArgument(16,(*v17_FlowConditionSingleValue)); } else { e->setArgument(16); } ; if (v18_VelocitySingleValue) { e->setArgument(17,(*v18_VelocitySingleValue)); } else { e->setArgument(17); } ; if (v19_PressureSingleValue) { e->setArgument(18,(*v19_PressureSingleValue)); } else { e->setArgument(18); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFooting IfcFootingTypeEnum::IfcFootingTypeEnum IfcFooting::PredefinedType() { return IfcFootingTypeEnum::FromString(*entity->getArgument(8)); } void IfcFooting::setPredefinedType(IfcFootingTypeEnum::IfcFootingTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcFootingTypeEnum::ToString(v)); } @@ -7407,7 +7407,7 @@ bool IfcFooting::is(Type::Enum v) const { return v == Type::IfcFooting || IfcBui Type::Enum IfcFooting::type() const { return Type::IfcFooting; } Type::Enum IfcFooting::Class() { return Type::IfcFooting; } IfcFooting::IfcFooting(IfcAbstractEntityPtr e) { if (!is(Type::IfcFooting)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFooting::IfcFooting(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcFootingTypeEnum::IfcFootingTypeEnum v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_PredefinedType,IfcFootingTypeEnum::ToString(v9_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcFooting::IfcFooting(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcFootingTypeEnum::IfcFootingTypeEnum v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_PredefinedType,IfcFootingTypeEnum::ToString(v9_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFuelProperties bool IfcFuelProperties::hasCombustionTemperature() { return !entity->getArgument(1)->isNull(); } IfcThermodynamicTemperatureMeasure IfcFuelProperties::CombustionTemperature() { return *entity->getArgument(1); } @@ -7425,25 +7425,25 @@ bool IfcFuelProperties::is(Type::Enum v) const { return v == Type::IfcFuelProper Type::Enum IfcFuelProperties::type() const { return Type::IfcFuelProperties; } Type::Enum IfcFuelProperties::Class() { return Type::IfcFuelProperties; } IfcFuelProperties::IfcFuelProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcFuelProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFuelProperties::IfcFuelProperties(IfcMaterial* v1_Material, optional v2_CombustionTemperature, optional v3_CarbonContent, optional v4_LowerHeatingValue, optional v5_HigherHeatingValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_CombustionTemperature) { e->setArgument(1,(*v2_CombustionTemperature)); } else { e->setArgument(1); } ; if (v3_CarbonContent) { e->setArgument(2,(*v3_CarbonContent)); } else { e->setArgument(2); } ; if (v4_LowerHeatingValue) { e->setArgument(3,(*v4_LowerHeatingValue)); } else { e->setArgument(3); } ; if (v5_HigherHeatingValue) { e->setArgument(4,(*v5_HigherHeatingValue)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcFuelProperties::IfcFuelProperties(IfcMaterial* v1_Material, optional< IfcThermodynamicTemperatureMeasure > v2_CombustionTemperature, optional< IfcPositiveRatioMeasure > v3_CarbonContent, optional< IfcHeatingValueMeasure > v4_LowerHeatingValue, optional< IfcHeatingValueMeasure > v5_HigherHeatingValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_CombustionTemperature) { e->setArgument(1,(*v2_CombustionTemperature)); } else { e->setArgument(1); } ; if (v3_CarbonContent) { e->setArgument(2,(*v3_CarbonContent)); } else { e->setArgument(2); } ; if (v4_LowerHeatingValue) { e->setArgument(3,(*v4_LowerHeatingValue)); } else { e->setArgument(3); } ; if (v5_HigherHeatingValue) { e->setArgument(4,(*v5_HigherHeatingValue)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFurnishingElement bool IfcFurnishingElement::is(Type::Enum v) const { return v == Type::IfcFurnishingElement || IfcElement::is(v); } Type::Enum IfcFurnishingElement::type() const { return Type::IfcFurnishingElement; } Type::Enum IfcFurnishingElement::Class() { return Type::IfcFurnishingElement; } IfcFurnishingElement::IfcFurnishingElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcFurnishingElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFurnishingElement::IfcFurnishingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcFurnishingElement::IfcFurnishingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFurnishingElementType bool IfcFurnishingElementType::is(Type::Enum v) const { return v == Type::IfcFurnishingElementType || IfcElementType::is(v); } Type::Enum IfcFurnishingElementType::type() const { return Type::IfcFurnishingElementType; } Type::Enum IfcFurnishingElementType::Class() { return Type::IfcFurnishingElementType; } IfcFurnishingElementType::IfcFurnishingElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFurnishingElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFurnishingElementType::IfcFurnishingElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcFurnishingElementType::IfcFurnishingElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFurnitureStandard bool IfcFurnitureStandard::is(Type::Enum v) const { return v == Type::IfcFurnitureStandard || IfcControl::is(v); } Type::Enum IfcFurnitureStandard::type() const { return Type::IfcFurnitureStandard; } Type::Enum IfcFurnitureStandard::Class() { return Type::IfcFurnitureStandard; } IfcFurnitureStandard::IfcFurnitureStandard(IfcAbstractEntityPtr e) { if (!is(Type::IfcFurnitureStandard)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFurnitureStandard::IfcFurnitureStandard(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcFurnitureStandard::IfcFurnitureStandard(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcFurnitureType IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum IfcFurnitureType::AssemblyPlace() { return IfcAssemblyPlaceEnum::FromString(*entity->getArgument(9)); } void IfcFurnitureType::setAssemblyPlace(IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcAssemblyPlaceEnum::ToString(v)); } @@ -7451,7 +7451,7 @@ bool IfcFurnitureType::is(Type::Enum v) const { return v == Type::IfcFurnitureTy Type::Enum IfcFurnitureType::type() const { return Type::IfcFurnitureType; } Type::Enum IfcFurnitureType::Class() { return Type::IfcFurnitureType; } IfcFurnitureType::IfcFurnitureType(IfcAbstractEntityPtr e) { if (!is(Type::IfcFurnitureType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcFurnitureType::IfcFurnitureType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum v10_AssemblyPlace) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_AssemblyPlace,IfcAssemblyPlaceEnum::ToString(v10_AssemblyPlace)); entity = e; EntityBuffer::Add(this); } +IfcFurnitureType::IfcFurnitureType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum v10_AssemblyPlace) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_AssemblyPlace,IfcAssemblyPlaceEnum::ToString(v10_AssemblyPlace)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGasTerminalType IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum IfcGasTerminalType::PredefinedType() { return IfcGasTerminalTypeEnum::FromString(*entity->getArgument(9)); } void IfcGasTerminalType::setPredefinedType(IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcGasTerminalTypeEnum::ToString(v)); } @@ -7459,7 +7459,7 @@ bool IfcGasTerminalType::is(Type::Enum v) const { return v == Type::IfcGasTermin Type::Enum IfcGasTerminalType::type() const { return Type::IfcGasTerminalType; } Type::Enum IfcGasTerminalType::Class() { return Type::IfcGasTerminalType; } IfcGasTerminalType::IfcGasTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcGasTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGasTerminalType::IfcGasTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcGasTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcGasTerminalType::IfcGasTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcGasTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGeneralMaterialProperties bool IfcGeneralMaterialProperties::hasMolecularWeight() { return !entity->getArgument(1)->isNull(); } IfcMolecularWeightMeasure IfcGeneralMaterialProperties::MolecularWeight() { return *entity->getArgument(1); } @@ -7474,7 +7474,7 @@ bool IfcGeneralMaterialProperties::is(Type::Enum v) const { return v == Type::If Type::Enum IfcGeneralMaterialProperties::type() const { return Type::IfcGeneralMaterialProperties; } Type::Enum IfcGeneralMaterialProperties::Class() { return Type::IfcGeneralMaterialProperties; } IfcGeneralMaterialProperties::IfcGeneralMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcGeneralMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGeneralMaterialProperties::IfcGeneralMaterialProperties(IfcMaterial* v1_Material, optional v2_MolecularWeight, optional v3_Porosity, optional v4_MassDensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_MolecularWeight) { e->setArgument(1,(*v2_MolecularWeight)); } else { e->setArgument(1); } ; if (v3_Porosity) { e->setArgument(2,(*v3_Porosity)); } else { e->setArgument(2); } ; if (v4_MassDensity) { e->setArgument(3,(*v4_MassDensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcGeneralMaterialProperties::IfcGeneralMaterialProperties(IfcMaterial* v1_Material, optional< IfcMolecularWeightMeasure > v2_MolecularWeight, optional< IfcNormalisedRatioMeasure > v3_Porosity, optional< IfcMassDensityMeasure > v4_MassDensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_MolecularWeight) { e->setArgument(1,(*v2_MolecularWeight)); } else { e->setArgument(1); } ; if (v3_Porosity) { e->setArgument(2,(*v3_Porosity)); } else { e->setArgument(2); } ; if (v4_MassDensity) { e->setArgument(3,(*v4_MassDensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGeneralProfileProperties bool IfcGeneralProfileProperties::hasPhysicalWeight() { return !entity->getArgument(2)->isNull(); } IfcMassPerLengthMeasure IfcGeneralProfileProperties::PhysicalWeight() { return *entity->getArgument(2); } @@ -7495,7 +7495,7 @@ bool IfcGeneralProfileProperties::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcGeneralProfileProperties::type() const { return Type::IfcGeneralProfileProperties; } Type::Enum IfcGeneralProfileProperties::Class() { return Type::IfcGeneralProfileProperties; } IfcGeneralProfileProperties::IfcGeneralProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcGeneralProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGeneralProfileProperties::IfcGeneralProfileProperties(optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcGeneralProfileProperties::IfcGeneralProfileProperties(optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGeometricCurveSet bool IfcGeometricCurveSet::is(Type::Enum v) const { return v == Type::IfcGeometricCurveSet || IfcGeometricSet::is(v); } Type::Enum IfcGeometricCurveSet::type() const { return Type::IfcGeometricCurveSet; } @@ -7518,7 +7518,7 @@ bool IfcGeometricRepresentationContext::is(Type::Enum v) const { return v == Typ Type::Enum IfcGeometricRepresentationContext::type() const { return Type::IfcGeometricRepresentationContext; } Type::Enum IfcGeometricRepresentationContext::Class() { return Type::IfcGeometricRepresentationContext; } IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(IfcAbstractEntityPtr e) { if (!is(Type::IfcGeometricRepresentationContext)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(optional v1_ContextIdentifier, optional v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_CoordinateSpaceDimension)); if (v4_Precision) { e->setArgument(3,(*v4_Precision)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_WorldCoordinateSystem)); e->setArgument(5,(v6_TrueNorth)); entity = e; EntityBuffer::Add(this); } +IfcGeometricRepresentationContext::IfcGeometricRepresentationContext(optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional< double > v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_CoordinateSpaceDimension)); if (v4_Precision) { e->setArgument(3,(*v4_Precision)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_WorldCoordinateSystem)); e->setArgument(5,(v6_TrueNorth)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGeometricRepresentationItem bool IfcGeometricRepresentationItem::is(Type::Enum v) const { return v == Type::IfcGeometricRepresentationItem || IfcRepresentationItem::is(v); } Type::Enum IfcGeometricRepresentationItem::type() const { return Type::IfcGeometricRepresentationItem; } @@ -7539,29 +7539,29 @@ bool IfcGeometricRepresentationSubContext::is(Type::Enum v) const { return v == Type::Enum IfcGeometricRepresentationSubContext::type() const { return Type::IfcGeometricRepresentationSubContext; } Type::Enum IfcGeometricRepresentationSubContext::Class() { return Type::IfcGeometricRepresentationSubContext; } IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(IfcAbstractEntityPtr e) { if (!is(Type::IfcGeometricRepresentationSubContext)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(optional v1_ContextIdentifier, optional v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth, IfcGeometricRepresentationContext* v7_ParentContext, optional v8_TargetScale, IfcGeometricProjectionEnum::IfcGeometricProjectionEnum v9_TargetView, optional v10_UserDefinedTargetView) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_CoordinateSpaceDimension)); if (v4_Precision) { e->setArgument(3,(*v4_Precision)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_WorldCoordinateSystem)); e->setArgument(5,(v6_TrueNorth)); e->setArgument(6,(v7_ParentContext)); if (v8_TargetScale) { e->setArgument(7,(*v8_TargetScale)); } else { e->setArgument(7); } ; e->setArgument(8,v9_TargetView,IfcGeometricProjectionEnum::ToString(v9_TargetView)); if (v10_UserDefinedTargetView) { e->setArgument(9,(*v10_UserDefinedTargetView)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcGeometricRepresentationSubContext::IfcGeometricRepresentationSubContext(optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional< double > v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth, IfcGeometricRepresentationContext* v7_ParentContext, optional< IfcPositiveRatioMeasure > v8_TargetScale, IfcGeometricProjectionEnum::IfcGeometricProjectionEnum v9_TargetView, optional< IfcLabel > v10_UserDefinedTargetView) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_CoordinateSpaceDimension)); if (v4_Precision) { e->setArgument(3,(*v4_Precision)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_WorldCoordinateSystem)); e->setArgument(5,(v6_TrueNorth)); e->setArgument(6,(v7_ParentContext)); if (v8_TargetScale) { e->setArgument(7,(*v8_TargetScale)); } else { e->setArgument(7); } ; e->setArgument(8,v9_TargetView,IfcGeometricProjectionEnum::ToString(v9_TargetView)); if (v10_UserDefinedTargetView) { e->setArgument(9,(*v10_UserDefinedTargetView)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGeometricSet -SHARED_PTR< IfcTemplatedEntityList > IfcGeometricSet::Elements() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcGeometricSet::setElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcGeometricSet::Elements() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcGeometricSet::setElements(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcGeometricSet::is(Type::Enum v) const { return v == Type::IfcGeometricSet || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcGeometricSet::type() const { return Type::IfcGeometricSet; } Type::Enum IfcGeometricSet::Class() { return Type::IfcGeometricSet; } IfcGeometricSet::IfcGeometricSet(IfcAbstractEntityPtr e) { if (!is(Type::IfcGeometricSet)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcGeometricSet::IfcGeometricSet(IfcEntities v1_Elements) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Elements)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGrid -SHARED_PTR< IfcTemplatedEntityList > IfcGrid::UAxes() { RETURN_AS_LIST(IfcGridAxis,7) } -void IfcGrid::setUAxes(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } -SHARED_PTR< IfcTemplatedEntityList > IfcGrid::VAxes() { RETURN_AS_LIST(IfcGridAxis,8) } -void IfcGrid::setVAxes(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > IfcGrid::UAxes() { RETURN_AS_LIST(IfcGridAxis,7) } +void IfcGrid::setUAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > IfcGrid::VAxes() { RETURN_AS_LIST(IfcGridAxis,8) } +void IfcGrid::setVAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } bool IfcGrid::hasWAxes() { return !entity->getArgument(9)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcGrid::WAxes() { RETURN_AS_LIST(IfcGridAxis,9) } -void IfcGrid::setWAxes(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > IfcGrid::WAxes() { RETURN_AS_LIST(IfcGridAxis,9) } +void IfcGrid::setWAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } IfcRelContainedInSpatialStructure::list IfcGrid::ContainedInStructure() { RETURN_INVERSE(IfcRelContainedInSpatialStructure) } bool IfcGrid::is(Type::Enum v) const { return v == Type::IfcGrid || IfcProduct::is(v); } Type::Enum IfcGrid::type() const { return Type::IfcGrid; } Type::Enum IfcGrid::Class() { return Type::IfcGrid; } IfcGrid::IfcGrid(IfcAbstractEntityPtr e) { if (!is(Type::IfcGrid)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGrid::IfcGrid(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, SHARED_PTR< IfcTemplatedEntityList > v8_UAxes, SHARED_PTR< IfcTemplatedEntityList > v9_VAxes, optional >> v10_WAxes) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_UAxes)->generalize()); e->setArgument(8,(v9_VAxes)->generalize()); if (v10_WAxes) { e->setArgument(9,(*v10_WAxes)->generalize()); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcGrid::IfcGrid(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v8_UAxes, SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v9_VAxes, optional< SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > > v10_WAxes) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_UAxes)->generalize()); e->setArgument(8,(v9_VAxes)->generalize()); if (v10_WAxes) { e->setArgument(9,(*v10_WAxes)->generalize()); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGridAxis bool IfcGridAxis::hasAxisTag() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcGridAxis::AxisTag() { return *entity->getArgument(0); } @@ -7578,7 +7578,7 @@ bool IfcGridAxis::is(Type::Enum v) const { return v == Type::IfcGridAxis; } Type::Enum IfcGridAxis::type() const { return Type::IfcGridAxis; } Type::Enum IfcGridAxis::Class() { return Type::IfcGridAxis; } IfcGridAxis::IfcGridAxis(IfcAbstractEntityPtr e) { if (!is(Type::IfcGridAxis)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGridAxis::IfcGridAxis(optional v1_AxisTag, IfcCurve* v2_AxisCurve, IfcBoolean v3_SameSense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_AxisTag) { e->setArgument(0,(*v1_AxisTag)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_AxisCurve)); e->setArgument(2,(v3_SameSense)); entity = e; EntityBuffer::Add(this); } +IfcGridAxis::IfcGridAxis(optional< IfcLabel > v1_AxisTag, IfcCurve* v2_AxisCurve, IfcBoolean v3_SameSense) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_AxisTag) { e->setArgument(0,(*v1_AxisTag)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_AxisCurve)); e->setArgument(2,(v3_SameSense)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcGridPlacement IfcVirtualGridIntersection* IfcGridPlacement::PlacementLocation() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcGridPlacement::setPlacementLocation(IfcVirtualGridIntersection* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7596,7 +7596,7 @@ bool IfcGroup::is(Type::Enum v) const { return v == Type::IfcGroup || IfcObject: Type::Enum IfcGroup::type() const { return Type::IfcGroup; } Type::Enum IfcGroup::Class() { return Type::IfcGroup; } IfcGroup::IfcGroup(IfcAbstractEntityPtr e) { if (!is(Type::IfcGroup)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcGroup::IfcGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcGroup::IfcGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcHalfSpaceSolid IfcSurface* IfcHalfSpaceSolid::BaseSurface() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcHalfSpaceSolid::setBaseSurface(IfcSurface* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7614,7 +7614,7 @@ bool IfcHeatExchangerType::is(Type::Enum v) const { return v == Type::IfcHeatExc Type::Enum IfcHeatExchangerType::type() const { return Type::IfcHeatExchangerType; } Type::Enum IfcHeatExchangerType::Class() { return Type::IfcHeatExchangerType; } IfcHeatExchangerType::IfcHeatExchangerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcHeatExchangerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcHeatExchangerType::IfcHeatExchangerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcHeatExchangerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcHeatExchangerType::IfcHeatExchangerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcHeatExchangerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcHumidifierType IfcHumidifierTypeEnum::IfcHumidifierTypeEnum IfcHumidifierType::PredefinedType() { return IfcHumidifierTypeEnum::FromString(*entity->getArgument(9)); } void IfcHumidifierType::setPredefinedType(IfcHumidifierTypeEnum::IfcHumidifierTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcHumidifierTypeEnum::ToString(v)); } @@ -7622,7 +7622,7 @@ bool IfcHumidifierType::is(Type::Enum v) const { return v == Type::IfcHumidifier Type::Enum IfcHumidifierType::type() const { return Type::IfcHumidifierType; } Type::Enum IfcHumidifierType::Class() { return Type::IfcHumidifierType; } IfcHumidifierType::IfcHumidifierType(IfcAbstractEntityPtr e) { if (!is(Type::IfcHumidifierType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcHumidifierType::IfcHumidifierType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcHumidifierTypeEnum::IfcHumidifierTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcHumidifierTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcHumidifierType::IfcHumidifierType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcHumidifierTypeEnum::IfcHumidifierTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcHumidifierTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcHygroscopicMaterialProperties bool IfcHygroscopicMaterialProperties::hasUpperVaporResistanceFactor() { return !entity->getArgument(1)->isNull(); } IfcPositiveRatioMeasure IfcHygroscopicMaterialProperties::UpperVaporResistanceFactor() { return *entity->getArgument(1); } @@ -7643,7 +7643,7 @@ bool IfcHygroscopicMaterialProperties::is(Type::Enum v) const { return v == Type Type::Enum IfcHygroscopicMaterialProperties::type() const { return Type::IfcHygroscopicMaterialProperties; } Type::Enum IfcHygroscopicMaterialProperties::Class() { return Type::IfcHygroscopicMaterialProperties; } IfcHygroscopicMaterialProperties::IfcHygroscopicMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcHygroscopicMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcHygroscopicMaterialProperties::IfcHygroscopicMaterialProperties(IfcMaterial* v1_Material, optional v2_UpperVaporResistanceFactor, optional v3_LowerVaporResistanceFactor, optional v4_IsothermalMoistureCapacity, optional v5_VaporPermeability, optional v6_MoistureDiffusivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_UpperVaporResistanceFactor) { e->setArgument(1,(*v2_UpperVaporResistanceFactor)); } else { e->setArgument(1); } ; if (v3_LowerVaporResistanceFactor) { e->setArgument(2,(*v3_LowerVaporResistanceFactor)); } else { e->setArgument(2); } ; if (v4_IsothermalMoistureCapacity) { e->setArgument(3,(*v4_IsothermalMoistureCapacity)); } else { e->setArgument(3); } ; if (v5_VaporPermeability) { e->setArgument(4,(*v5_VaporPermeability)); } else { e->setArgument(4); } ; if (v6_MoistureDiffusivity) { e->setArgument(5,(*v6_MoistureDiffusivity)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcHygroscopicMaterialProperties::IfcHygroscopicMaterialProperties(IfcMaterial* v1_Material, optional< IfcPositiveRatioMeasure > v2_UpperVaporResistanceFactor, optional< IfcPositiveRatioMeasure > v3_LowerVaporResistanceFactor, optional< IfcIsothermalMoistureCapacityMeasure > v4_IsothermalMoistureCapacity, optional< IfcVaporPermeabilityMeasure > v5_VaporPermeability, optional< IfcMoistureDiffusivityMeasure > v6_MoistureDiffusivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_UpperVaporResistanceFactor) { e->setArgument(1,(*v2_UpperVaporResistanceFactor)); } else { e->setArgument(1); } ; if (v3_LowerVaporResistanceFactor) { e->setArgument(2,(*v3_LowerVaporResistanceFactor)); } else { e->setArgument(2); } ; if (v4_IsothermalMoistureCapacity) { e->setArgument(3,(*v4_IsothermalMoistureCapacity)); } else { e->setArgument(3); } ; if (v5_VaporPermeability) { e->setArgument(4,(*v5_VaporPermeability)); } else { e->setArgument(4); } ; if (v6_MoistureDiffusivity) { e->setArgument(5,(*v6_MoistureDiffusivity)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcIShapeProfileDef IfcPositiveLengthMeasure IfcIShapeProfileDef::OverallWidth() { return *entity->getArgument(3); } void IfcIShapeProfileDef::setOverallWidth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -7660,7 +7660,7 @@ bool IfcIShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcIShapePr Type::Enum IfcIShapeProfileDef::type() const { return Type::IfcIShapeProfileDef; } Type::Enum IfcIShapeProfileDef::Class() { return Type::IfcIShapeProfileDef; } IfcIShapeProfileDef::IfcIShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcIShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcIShapeProfileDef::IfcIShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallWidth)); e->setArgument(4,(v5_OverallDepth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcIShapeProfileDef::IfcIShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_OverallWidth)); e->setArgument(4,(v5_OverallDepth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcImageTexture IfcIdentifier IfcImageTexture::UrlReference() { return *entity->getArgument(4); } void IfcImageTexture::setUrlReference(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -7674,8 +7674,8 @@ IfcInventoryTypeEnum::IfcInventoryTypeEnum IfcInventory::InventoryType() { retur void IfcInventory::setInventoryType(IfcInventoryTypeEnum::IfcInventoryTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcInventoryTypeEnum::ToString(v)); } IfcActorSelect IfcInventory::Jurisdiction() { return *entity->getArgument(6); } void IfcInventory::setJurisdiction(IfcActorSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcInventory::ResponsiblePersons() { RETURN_AS_LIST(IfcPerson,7) } -void IfcInventory::setResponsiblePersons(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > IfcInventory::ResponsiblePersons() { RETURN_AS_LIST(IfcPerson,7) } +void IfcInventory::setResponsiblePersons(SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } IfcCalendarDate* IfcInventory::LastUpdateDate() { return reinterpret_pointer_cast(*entity->getArgument(8)); } void IfcInventory::setLastUpdateDate(IfcCalendarDate* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } bool IfcInventory::hasCurrentValue() { return !entity->getArgument(9)->isNull(); } @@ -7688,20 +7688,20 @@ bool IfcInventory::is(Type::Enum v) const { return v == Type::IfcInventory || If Type::Enum IfcInventory::type() const { return Type::IfcInventory; } Type::Enum IfcInventory::Class() { return Type::IfcInventory; } IfcInventory::IfcInventory(IfcAbstractEntityPtr e) { if (!is(Type::IfcInventory)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcInventory::IfcInventory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcInventoryTypeEnum::IfcInventoryTypeEnum v6_InventoryType, IfcActorSelect v7_Jurisdiction, SHARED_PTR< IfcTemplatedEntityList > v8_ResponsiblePersons, IfcCalendarDate* v9_LastUpdateDate, IfcCostValue* v10_CurrentValue, IfcCostValue* v11_OriginalValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_InventoryType,IfcInventoryTypeEnum::ToString(v6_InventoryType)); e->setArgument(6,(v7_Jurisdiction)); e->setArgument(7,(v8_ResponsiblePersons)->generalize()); e->setArgument(8,(v9_LastUpdateDate)); e->setArgument(9,(v10_CurrentValue)); e->setArgument(10,(v11_OriginalValue)); entity = e; EntityBuffer::Add(this); } +IfcInventory::IfcInventory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcInventoryTypeEnum::IfcInventoryTypeEnum v6_InventoryType, IfcActorSelect v7_Jurisdiction, SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v8_ResponsiblePersons, IfcCalendarDate* v9_LastUpdateDate, IfcCostValue* v10_CurrentValue, IfcCostValue* v11_OriginalValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_InventoryType,IfcInventoryTypeEnum::ToString(v6_InventoryType)); e->setArgument(6,(v7_Jurisdiction)); e->setArgument(7,(v8_ResponsiblePersons)->generalize()); e->setArgument(8,(v9_LastUpdateDate)); e->setArgument(9,(v10_CurrentValue)); e->setArgument(10,(v11_OriginalValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcIrregularTimeSeries -SHARED_PTR< IfcTemplatedEntityList > IfcIrregularTimeSeries::Values() { RETURN_AS_LIST(IfcIrregularTimeSeriesValue,8) } -void IfcIrregularTimeSeries::setValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > IfcIrregularTimeSeries::Values() { RETURN_AS_LIST(IfcIrregularTimeSeriesValue,8) } +void IfcIrregularTimeSeries::setValues(SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } bool IfcIrregularTimeSeries::is(Type::Enum v) const { return v == Type::IfcIrregularTimeSeries || IfcTimeSeries::is(v); } Type::Enum IfcIrregularTimeSeries::type() const { return Type::IfcIrregularTimeSeries; } Type::Enum IfcIrregularTimeSeries::Class() { return Type::IfcIrregularTimeSeries; } IfcIrregularTimeSeries::IfcIrregularTimeSeries(IfcAbstractEntityPtr e) { if (!is(Type::IfcIrregularTimeSeries)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcIrregularTimeSeries::IfcIrregularTimeSeries(IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit, SHARED_PTR< IfcTemplatedEntityList > v9_Values) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_Values)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcIrregularTimeSeries::IfcIrregularTimeSeries(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit, SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > v9_Values) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_Values)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcIrregularTimeSeriesValue IfcDateTimeSelect IfcIrregularTimeSeriesValue::TimeStamp() { return *entity->getArgument(0); } void IfcIrregularTimeSeriesValue::setTimeStamp(IfcDateTimeSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcIrregularTimeSeriesValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcIrregularTimeSeriesValue::setListValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcIrregularTimeSeriesValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcIrregularTimeSeriesValue::setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcIrregularTimeSeriesValue::is(Type::Enum v) const { return v == Type::IfcIrregularTimeSeriesValue; } Type::Enum IfcIrregularTimeSeriesValue::type() const { return Type::IfcIrregularTimeSeriesValue; } Type::Enum IfcIrregularTimeSeriesValue::Class() { return Type::IfcIrregularTimeSeriesValue; } @@ -7714,7 +7714,7 @@ bool IfcJunctionBoxType::is(Type::Enum v) const { return v == Type::IfcJunctionB Type::Enum IfcJunctionBoxType::type() const { return Type::IfcJunctionBoxType; } Type::Enum IfcJunctionBoxType::Class() { return Type::IfcJunctionBoxType; } IfcJunctionBoxType::IfcJunctionBoxType(IfcAbstractEntityPtr e) { if (!is(Type::IfcJunctionBoxType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcJunctionBoxType::IfcJunctionBoxType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcJunctionBoxTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcJunctionBoxType::IfcJunctionBoxType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcJunctionBoxTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLShapeProfileDef IfcPositiveLengthMeasure IfcLShapeProfileDef::Depth() { return *entity->getArgument(3); } void IfcLShapeProfileDef::setDepth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -7742,7 +7742,7 @@ bool IfcLShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcLShapePr Type::Enum IfcLShapeProfileDef::type() const { return Type::IfcLShapeProfileDef; } Type::Enum IfcLShapeProfileDef::Class() { return Type::IfcLShapeProfileDef; } IfcLShapeProfileDef::IfcLShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcLShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLShapeProfileDef::IfcLShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, optional v5_Width, IfcPositiveLengthMeasure v6_Thickness, optional v7_FilletRadius, optional v8_EdgeRadius, optional v9_LegSlope, optional v10_CentreOfGravityInX, optional v11_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); if (v5_Width) { e->setArgument(4,(*v5_Width)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Thickness)); if (v7_FilletRadius) { e->setArgument(6,(*v7_FilletRadius)); } else { e->setArgument(6); } ; if (v8_EdgeRadius) { e->setArgument(7,(*v8_EdgeRadius)); } else { e->setArgument(7); } ; if (v9_LegSlope) { e->setArgument(8,(*v9_LegSlope)); } else { e->setArgument(8); } ; if (v10_CentreOfGravityInX) { e->setArgument(9,(*v10_CentreOfGravityInX)); } else { e->setArgument(9); } ; if (v11_CentreOfGravityInY) { e->setArgument(10,(*v11_CentreOfGravityInY)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcLShapeProfileDef::IfcLShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, optional< IfcPositiveLengthMeasure > v5_Width, IfcPositiveLengthMeasure v6_Thickness, optional< IfcPositiveLengthMeasure > v7_FilletRadius, optional< IfcPositiveLengthMeasure > v8_EdgeRadius, optional< IfcPlaneAngleMeasure > v9_LegSlope, optional< IfcPositiveLengthMeasure > v10_CentreOfGravityInX, optional< IfcPositiveLengthMeasure > v11_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); if (v5_Width) { e->setArgument(4,(*v5_Width)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Thickness)); if (v7_FilletRadius) { e->setArgument(6,(*v7_FilletRadius)); } else { e->setArgument(6); } ; if (v8_EdgeRadius) { e->setArgument(7,(*v8_EdgeRadius)); } else { e->setArgument(7); } ; if (v9_LegSlope) { e->setArgument(8,(*v9_LegSlope)); } else { e->setArgument(8); } ; if (v10_CentreOfGravityInX) { e->setArgument(9,(*v10_CentreOfGravityInX)); } else { e->setArgument(9); } ; if (v11_CentreOfGravityInY) { e->setArgument(10,(*v11_CentreOfGravityInY)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLaborResource bool IfcLaborResource::hasSkillSet() { return !entity->getArgument(9)->isNull(); } IfcText IfcLaborResource::SkillSet() { return *entity->getArgument(9); } @@ -7751,7 +7751,7 @@ bool IfcLaborResource::is(Type::Enum v) const { return v == Type::IfcLaborResour Type::Enum IfcLaborResource::type() const { return Type::IfcLaborResource; } Type::Enum IfcLaborResource::Class() { return Type::IfcLaborResource; } IfcLaborResource::IfcLaborResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcLaborResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLaborResource::IfcLaborResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_SkillSet) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_SkillSet) { e->setArgument(9,(*v10_SkillSet)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcLaborResource::IfcLaborResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcText > v10_SkillSet) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_SkillSet) { e->setArgument(9,(*v10_SkillSet)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLampType IfcLampTypeEnum::IfcLampTypeEnum IfcLampType::PredefinedType() { return IfcLampTypeEnum::FromString(*entity->getArgument(9)); } void IfcLampType::setPredefinedType(IfcLampTypeEnum::IfcLampTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcLampTypeEnum::ToString(v)); } @@ -7759,7 +7759,7 @@ bool IfcLampType::is(Type::Enum v) const { return v == Type::IfcLampType || IfcF Type::Enum IfcLampType::type() const { return Type::IfcLampType; } Type::Enum IfcLampType::Class() { return Type::IfcLampType; } IfcLampType::IfcLampType(IfcAbstractEntityPtr e) { if (!is(Type::IfcLampType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLampType::IfcLampType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcLampTypeEnum::IfcLampTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcLampTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcLampType::IfcLampType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcLampTypeEnum::IfcLampTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcLampTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLibraryInformation IfcLabel IfcLibraryInformation::Name() { return *entity->getArgument(0); } void IfcLibraryInformation::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7773,32 +7773,32 @@ bool IfcLibraryInformation::hasVersionDate() { return !entity->getArgument(3)->i IfcCalendarDate* IfcLibraryInformation::VersionDate() { return reinterpret_pointer_cast(*entity->getArgument(3)); } void IfcLibraryInformation::setVersionDate(IfcCalendarDate* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } bool IfcLibraryInformation::hasLibraryReference() { return !entity->getArgument(4)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcLibraryInformation::LibraryReference() { RETURN_AS_LIST(IfcLibraryReference,4) } -void IfcLibraryInformation::setLibraryReference(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > IfcLibraryInformation::LibraryReference() { RETURN_AS_LIST(IfcLibraryReference,4) } +void IfcLibraryInformation::setLibraryReference(SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } bool IfcLibraryInformation::is(Type::Enum v) const { return v == Type::IfcLibraryInformation; } Type::Enum IfcLibraryInformation::type() const { return Type::IfcLibraryInformation; } Type::Enum IfcLibraryInformation::Class() { return Type::IfcLibraryInformation; } IfcLibraryInformation::IfcLibraryInformation(IfcAbstractEntityPtr e) { if (!is(Type::IfcLibraryInformation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLibraryInformation::IfcLibraryInformation(IfcLabel v1_Name, optional v2_Version, IfcOrganization* v3_Publisher, IfcCalendarDate* v4_VersionDate, optional >> v5_LibraryReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Version) { e->setArgument(1,(*v2_Version)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Publisher)); e->setArgument(3,(v4_VersionDate)); if (v5_LibraryReference) { e->setArgument(4,(*v5_LibraryReference)->generalize()); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcLibraryInformation::IfcLibraryInformation(IfcLabel v1_Name, optional< IfcLabel > v2_Version, IfcOrganization* v3_Publisher, IfcCalendarDate* v4_VersionDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > > v5_LibraryReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Version) { e->setArgument(1,(*v2_Version)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Publisher)); e->setArgument(3,(v4_VersionDate)); if (v5_LibraryReference) { e->setArgument(4,(*v5_LibraryReference)->generalize()); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLibraryReference IfcLibraryInformation::list IfcLibraryReference::ReferenceIntoLibrary() { RETURN_INVERSE(IfcLibraryInformation) } bool IfcLibraryReference::is(Type::Enum v) const { return v == Type::IfcLibraryReference || IfcExternalReference::is(v); } Type::Enum IfcLibraryReference::type() const { return Type::IfcLibraryReference; } Type::Enum IfcLibraryReference::Class() { return Type::IfcLibraryReference; } IfcLibraryReference::IfcLibraryReference(IfcAbstractEntityPtr e) { if (!is(Type::IfcLibraryReference)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLibraryReference::IfcLibraryReference(optional v1_Location, optional v2_ItemReference, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcLibraryReference::IfcLibraryReference(optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Location) { e->setArgument(0,(*v1_Location)); } else { e->setArgument(0); } ; if (v2_ItemReference) { e->setArgument(1,(*v2_ItemReference)); } else { e->setArgument(1); } ; if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightDistributionData IfcPlaneAngleMeasure IfcLightDistributionData::MainPlaneAngle() { return *entity->getArgument(0); } void IfcLightDistributionData::setMainPlaneAngle(IfcPlaneAngleMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -std::vector /*[1:?]*/ IfcLightDistributionData::SecondaryPlaneAngle() { return *entity->getArgument(1); } -void IfcLightDistributionData::setSecondaryPlaneAngle(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } -std::vector /*[1:?]*/ IfcLightDistributionData::LuminousIntensity() { return *entity->getArgument(2); } -void IfcLightDistributionData::setLuminousIntensity(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } +std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ IfcLightDistributionData::SecondaryPlaneAngle() { return *entity->getArgument(1); } +void IfcLightDistributionData::setSecondaryPlaneAngle(std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } +std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ IfcLightDistributionData::LuminousIntensity() { return *entity->getArgument(2); } +void IfcLightDistributionData::setLuminousIntensity(std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } bool IfcLightDistributionData::is(Type::Enum v) const { return v == Type::IfcLightDistributionData; } Type::Enum IfcLightDistributionData::type() const { return Type::IfcLightDistributionData; } Type::Enum IfcLightDistributionData::Class() { return Type::IfcLightDistributionData; } IfcLightDistributionData::IfcLightDistributionData(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightDistributionData)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightDistributionData::IfcLightDistributionData(IfcPlaneAngleMeasure v1_MainPlaneAngle, std::vector /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector /*[1:?]*/ v3_LuminousIntensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_MainPlaneAngle)); e->setArgument(1,(v2_SecondaryPlaneAngle)); e->setArgument(2,(v3_LuminousIntensity)); entity = e; EntityBuffer::Add(this); } +IfcLightDistributionData::IfcLightDistributionData(IfcPlaneAngleMeasure v1_MainPlaneAngle, std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ v3_LuminousIntensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_MainPlaneAngle)); e->setArgument(1,(v2_SecondaryPlaneAngle)); e->setArgument(2,(v3_LuminousIntensity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightFixtureType IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum IfcLightFixtureType::PredefinedType() { return IfcLightFixtureTypeEnum::FromString(*entity->getArgument(9)); } void IfcLightFixtureType::setPredefinedType(IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcLightFixtureTypeEnum::ToString(v)); } @@ -7806,17 +7806,17 @@ bool IfcLightFixtureType::is(Type::Enum v) const { return v == Type::IfcLightFix Type::Enum IfcLightFixtureType::type() const { return Type::IfcLightFixtureType; } Type::Enum IfcLightFixtureType::Class() { return Type::IfcLightFixtureType; } IfcLightFixtureType::IfcLightFixtureType(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightFixtureType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightFixtureType::IfcLightFixtureType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcLightFixtureTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcLightFixtureType::IfcLightFixtureType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcLightFixtureTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightIntensityDistribution IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum IfcLightIntensityDistribution::LightDistributionCurve() { return IfcLightDistributionCurveEnum::FromString(*entity->getArgument(0)); } void IfcLightIntensityDistribution::setLightDistributionCurve(IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcLightDistributionCurveEnum::ToString(v)); } -SHARED_PTR< IfcTemplatedEntityList > IfcLightIntensityDistribution::DistributionData() { RETURN_AS_LIST(IfcLightDistributionData,1) } -void IfcLightIntensityDistribution::setDistributionData(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > IfcLightIntensityDistribution::DistributionData() { RETURN_AS_LIST(IfcLightDistributionData,1) } +void IfcLightIntensityDistribution::setDistributionData(SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcLightIntensityDistribution::is(Type::Enum v) const { return v == Type::IfcLightIntensityDistribution; } Type::Enum IfcLightIntensityDistribution::type() const { return Type::IfcLightIntensityDistribution; } Type::Enum IfcLightIntensityDistribution::Class() { return Type::IfcLightIntensityDistribution; } IfcLightIntensityDistribution::IfcLightIntensityDistribution(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightIntensityDistribution)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightIntensityDistribution::IfcLightIntensityDistribution(IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v1_LightDistributionCurve, SHARED_PTR< IfcTemplatedEntityList > v2_DistributionData) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_LightDistributionCurve,IfcLightDistributionCurveEnum::ToString(v1_LightDistributionCurve)); e->setArgument(1,(v2_DistributionData)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcLightIntensityDistribution::IfcLightIntensityDistribution(IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v1_LightDistributionCurve, SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > v2_DistributionData) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_LightDistributionCurve,IfcLightDistributionCurveEnum::ToString(v1_LightDistributionCurve)); e->setArgument(1,(v2_DistributionData)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSource bool IfcLightSource::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcLightSource::Name() { return *entity->getArgument(0); } @@ -7833,13 +7833,13 @@ bool IfcLightSource::is(Type::Enum v) const { return v == Type::IfcLightSource | Type::Enum IfcLightSource::type() const { return Type::IfcLightSource; } Type::Enum IfcLightSource::Class() { return Type::IfcLightSource; } IfcLightSource::IfcLightSource(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSource::IfcLightSource(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcLightSource::IfcLightSource(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSourceAmbient bool IfcLightSourceAmbient::is(Type::Enum v) const { return v == Type::IfcLightSourceAmbient || IfcLightSource::is(v); } Type::Enum IfcLightSourceAmbient::type() const { return Type::IfcLightSourceAmbient; } Type::Enum IfcLightSourceAmbient::Class() { return Type::IfcLightSourceAmbient; } IfcLightSourceAmbient::IfcLightSourceAmbient(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSourceAmbient)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSourceAmbient::IfcLightSourceAmbient(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcLightSourceAmbient::IfcLightSourceAmbient(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSourceDirectional IfcDirection* IfcLightSourceDirectional::Orientation() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcLightSourceDirectional::setOrientation(IfcDirection* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -7847,7 +7847,7 @@ bool IfcLightSourceDirectional::is(Type::Enum v) const { return v == Type::IfcLi Type::Enum IfcLightSourceDirectional::type() const { return Type::IfcLightSourceDirectional; } Type::Enum IfcLightSourceDirectional::Class() { return Type::IfcLightSourceDirectional; } IfcLightSourceDirectional::IfcLightSourceDirectional(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSourceDirectional)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSourceDirectional::IfcLightSourceDirectional(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcDirection* v5_Orientation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Orientation)); entity = e; EntityBuffer::Add(this); } +IfcLightSourceDirectional::IfcLightSourceDirectional(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcDirection* v5_Orientation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Orientation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSourceGoniometric IfcAxis2Placement3D* IfcLightSourceGoniometric::Position() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcLightSourceGoniometric::setPosition(IfcAxis2Placement3D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -7866,7 +7866,7 @@ bool IfcLightSourceGoniometric::is(Type::Enum v) const { return v == Type::IfcLi Type::Enum IfcLightSourceGoniometric::type() const { return Type::IfcLightSourceGoniometric; } Type::Enum IfcLightSourceGoniometric::Class() { return Type::IfcLightSourceGoniometric; } IfcLightSourceGoniometric::IfcLightSourceGoniometric(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSourceGoniometric)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSourceGoniometric::IfcLightSourceGoniometric(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcAxis2Placement3D* v5_Position, IfcColourRgb* v6_ColourAppearance, IfcThermodynamicTemperatureMeasure v7_ColourTemperature, IfcLuminousFluxMeasure v8_LuminousFlux, IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum v9_LightEmissionSource, IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_ColourAppearance)); e->setArgument(6,(v7_ColourTemperature)); e->setArgument(7,(v8_LuminousFlux)); e->setArgument(8,v9_LightEmissionSource,IfcLightEmissionSourceEnum::ToString(v9_LightEmissionSource)); e->setArgument(9,(v10_LightDistributionDataSource)); entity = e; EntityBuffer::Add(this); } +IfcLightSourceGoniometric::IfcLightSourceGoniometric(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcAxis2Placement3D* v5_Position, IfcColourRgb* v6_ColourAppearance, IfcThermodynamicTemperatureMeasure v7_ColourTemperature, IfcLuminousFluxMeasure v8_LuminousFlux, IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum v9_LightEmissionSource, IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_ColourAppearance)); e->setArgument(6,(v7_ColourTemperature)); e->setArgument(7,(v8_LuminousFlux)); e->setArgument(8,v9_LightEmissionSource,IfcLightEmissionSourceEnum::ToString(v9_LightEmissionSource)); e->setArgument(9,(v10_LightDistributionDataSource)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSourcePositional IfcCartesianPoint* IfcLightSourcePositional::Position() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcLightSourcePositional::setPosition(IfcCartesianPoint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -7882,7 +7882,7 @@ bool IfcLightSourcePositional::is(Type::Enum v) const { return v == Type::IfcLig Type::Enum IfcLightSourcePositional::type() const { return Type::IfcLightSourcePositional; } Type::Enum IfcLightSourcePositional::Class() { return Type::IfcLightSourcePositional; } IfcLightSourcePositional::IfcLightSourcePositional(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSourcePositional)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSourcePositional::IfcLightSourcePositional(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_Radius)); e->setArgument(6,(v7_ConstantAttenuation)); e->setArgument(7,(v8_DistanceAttenuation)); e->setArgument(8,(v9_QuadricAttenuation)); entity = e; EntityBuffer::Add(this); } +IfcLightSourcePositional::IfcLightSourcePositional(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_Radius)); e->setArgument(6,(v7_ConstantAttenuation)); e->setArgument(7,(v8_DistanceAttenuation)); e->setArgument(8,(v9_QuadricAttenuation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLightSourceSpot IfcDirection* IfcLightSourceSpot::Orientation() { return reinterpret_pointer_cast(*entity->getArgument(9)); } void IfcLightSourceSpot::setOrientation(IfcDirection* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v); } @@ -7897,7 +7897,7 @@ bool IfcLightSourceSpot::is(Type::Enum v) const { return v == Type::IfcLightSour Type::Enum IfcLightSourceSpot::type() const { return Type::IfcLightSourceSpot; } Type::Enum IfcLightSourceSpot::Class() { return Type::IfcLightSourceSpot; } IfcLightSourceSpot::IfcLightSourceSpot(IfcAbstractEntityPtr e) { if (!is(Type::IfcLightSourceSpot)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLightSourceSpot::IfcLightSourceSpot(optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation, IfcDirection* v10_Orientation, optional v11_ConcentrationExponent, IfcPositivePlaneAngleMeasure v12_SpreadAngle, IfcPositivePlaneAngleMeasure v13_BeamWidthAngle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_Radius)); e->setArgument(6,(v7_ConstantAttenuation)); e->setArgument(7,(v8_DistanceAttenuation)); e->setArgument(8,(v9_QuadricAttenuation)); e->setArgument(9,(v10_Orientation)); if (v11_ConcentrationExponent) { e->setArgument(10,(*v11_ConcentrationExponent)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_SpreadAngle)); e->setArgument(12,(v13_BeamWidthAngle)); entity = e; EntityBuffer::Add(this); } +IfcLightSourceSpot::IfcLightSourceSpot(optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation, IfcDirection* v10_Orientation, optional< IfcReal > v11_ConcentrationExponent, IfcPositivePlaneAngleMeasure v12_SpreadAngle, IfcPositivePlaneAngleMeasure v13_BeamWidthAngle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_LightColour)); if (v3_AmbientIntensity) { e->setArgument(2,(*v3_AmbientIntensity)); } else { e->setArgument(2); } ; if (v4_Intensity) { e->setArgument(3,(*v4_Intensity)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_Position)); e->setArgument(5,(v6_Radius)); e->setArgument(6,(v7_ConstantAttenuation)); e->setArgument(7,(v8_DistanceAttenuation)); e->setArgument(8,(v9_QuadricAttenuation)); e->setArgument(9,(v10_Orientation)); if (v11_ConcentrationExponent) { e->setArgument(10,(*v11_ConcentrationExponent)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_SpreadAngle)); e->setArgument(12,(v13_BeamWidthAngle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLine IfcCartesianPoint* IfcLine::Pnt() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcLine::setPnt(IfcCartesianPoint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -7944,7 +7944,7 @@ bool IfcLocalTime::is(Type::Enum v) const { return v == Type::IfcLocalTime; } Type::Enum IfcLocalTime::type() const { return Type::IfcLocalTime; } Type::Enum IfcLocalTime::Class() { return Type::IfcLocalTime; } IfcLocalTime::IfcLocalTime(IfcAbstractEntityPtr e) { if (!is(Type::IfcLocalTime)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcLocalTime::IfcLocalTime(IfcHourInDay v1_HourComponent, optional v2_MinuteComponent, optional v3_SecondComponent, IfcCoordinatedUniversalTimeOffset* v4_Zone, optional v5_DaylightSavingOffset) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_HourComponent)); if (v2_MinuteComponent) { e->setArgument(1,(*v2_MinuteComponent)); } else { e->setArgument(1); } ; if (v3_SecondComponent) { e->setArgument(2,(*v3_SecondComponent)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Zone)); if (v5_DaylightSavingOffset) { e->setArgument(4,(*v5_DaylightSavingOffset)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcLocalTime::IfcLocalTime(IfcHourInDay v1_HourComponent, optional< IfcMinuteInHour > v2_MinuteComponent, optional< IfcSecondInMinute > v3_SecondComponent, IfcCoordinatedUniversalTimeOffset* v4_Zone, optional< IfcDaylightSavingHour > v5_DaylightSavingOffset) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_HourComponent)); if (v2_MinuteComponent) { e->setArgument(1,(*v2_MinuteComponent)); } else { e->setArgument(1); } ; if (v3_SecondComponent) { e->setArgument(2,(*v3_SecondComponent)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Zone)); if (v5_DaylightSavingOffset) { e->setArgument(4,(*v5_DaylightSavingOffset)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcLoop bool IfcLoop::is(Type::Enum v) const { return v == Type::IfcLoop || IfcTopologicalRepresentationItem::is(v); } Type::Enum IfcLoop::type() const { return Type::IfcLoop; } @@ -7979,8 +7979,8 @@ Type::Enum IfcMaterial::Class() { return Type::IfcMaterial; } IfcMaterial::IfcMaterial(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterial)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcMaterial::IfcMaterial(IfcLabel v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialClassificationRelationship -SHARED_PTR< IfcTemplatedEntityList > IfcMaterialClassificationRelationship::MaterialClassifications() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcMaterialClassificationRelationship::setMaterialClassifications(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcMaterialClassificationRelationship::MaterialClassifications() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcMaterialClassificationRelationship::setMaterialClassifications(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } IfcMaterial* IfcMaterialClassificationRelationship::ClassifiedMaterial() { return reinterpret_pointer_cast(*entity->getArgument(1)); } void IfcMaterialClassificationRelationship::setClassifiedMaterial(IfcMaterial* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcMaterialClassificationRelationship::is(Type::Enum v) const { return v == Type::IfcMaterialClassificationRelationship; } @@ -7995,7 +7995,7 @@ bool IfcMaterialDefinitionRepresentation::is(Type::Enum v) const { return v == T Type::Enum IfcMaterialDefinitionRepresentation::type() const { return Type::IfcMaterialDefinitionRepresentation; } Type::Enum IfcMaterialDefinitionRepresentation::Class() { return Type::IfcMaterialDefinitionRepresentation; } IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterialDefinitionRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations, IfcMaterial* v4_RepresentedMaterial) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); e->setArgument(3,(v4_RepresentedMaterial)); entity = e; EntityBuffer::Add(this); } +IfcMaterialDefinitionRepresentation::IfcMaterialDefinitionRepresentation(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations, IfcMaterial* v4_RepresentedMaterial) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); e->setArgument(3,(v4_RepresentedMaterial)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialLayer bool IfcMaterialLayer::hasMaterial() { return !entity->getArgument(0)->isNull(); } IfcMaterial* IfcMaterialLayer::Material() { return reinterpret_pointer_cast(*entity->getArgument(0)); } @@ -8010,10 +8010,10 @@ bool IfcMaterialLayer::is(Type::Enum v) const { return v == Type::IfcMaterialLay Type::Enum IfcMaterialLayer::type() const { return Type::IfcMaterialLayer; } Type::Enum IfcMaterialLayer::Class() { return Type::IfcMaterialLayer; } IfcMaterialLayer::IfcMaterialLayer(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterialLayer)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMaterialLayer::IfcMaterialLayer(IfcMaterial* v1_Material, IfcPositiveLengthMeasure v2_LayerThickness, optional v3_IsVentilated) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); e->setArgument(1,(v2_LayerThickness)); if (v3_IsVentilated) { e->setArgument(2,(*v3_IsVentilated)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcMaterialLayer::IfcMaterialLayer(IfcMaterial* v1_Material, IfcPositiveLengthMeasure v2_LayerThickness, optional< IfcLogical > v3_IsVentilated) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); e->setArgument(1,(v2_LayerThickness)); if (v3_IsVentilated) { e->setArgument(2,(*v3_IsVentilated)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialLayerSet -SHARED_PTR< IfcTemplatedEntityList > IfcMaterialLayerSet::MaterialLayers() { RETURN_AS_LIST(IfcMaterialLayer,0) } -void IfcMaterialLayerSet::setMaterialLayers(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > IfcMaterialLayerSet::MaterialLayers() { RETURN_AS_LIST(IfcMaterialLayer,0) } +void IfcMaterialLayerSet::setMaterialLayers(SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcMaterialLayerSet::hasLayerSetName() { return !entity->getArgument(1)->isNull(); } IfcLabel IfcMaterialLayerSet::LayerSetName() { return *entity->getArgument(1); } void IfcMaterialLayerSet::setLayerSetName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -8021,7 +8021,7 @@ bool IfcMaterialLayerSet::is(Type::Enum v) const { return v == Type::IfcMaterial Type::Enum IfcMaterialLayerSet::type() const { return Type::IfcMaterialLayerSet; } Type::Enum IfcMaterialLayerSet::Class() { return Type::IfcMaterialLayerSet; } IfcMaterialLayerSet::IfcMaterialLayerSet(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterialLayerSet)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMaterialLayerSet::IfcMaterialLayerSet(SHARED_PTR< IfcTemplatedEntityList > v1_MaterialLayers, optional v2_LayerSetName) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_MaterialLayers)->generalize()); if (v2_LayerSetName) { e->setArgument(1,(*v2_LayerSetName)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcMaterialLayerSet::IfcMaterialLayerSet(SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > v1_MaterialLayers, optional< IfcLabel > v2_LayerSetName) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_MaterialLayers)->generalize()); if (v2_LayerSetName) { e->setArgument(1,(*v2_LayerSetName)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialLayerSetUsage IfcMaterialLayerSet* IfcMaterialLayerSetUsage::ForLayerSet() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcMaterialLayerSetUsage::setForLayerSet(IfcMaterialLayerSet* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8037,13 +8037,13 @@ Type::Enum IfcMaterialLayerSetUsage::Class() { return Type::IfcMaterialLayerSetU IfcMaterialLayerSetUsage::IfcMaterialLayerSetUsage(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterialLayerSetUsage)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcMaterialLayerSetUsage::IfcMaterialLayerSetUsage(IfcMaterialLayerSet* v1_ForLayerSet, IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum v2_LayerSetDirection, IfcDirectionSenseEnum::IfcDirectionSenseEnum v3_DirectionSense, IfcLengthMeasure v4_OffsetFromReferenceLine) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ForLayerSet)); e->setArgument(1,v2_LayerSetDirection,IfcLayerSetDirectionEnum::ToString(v2_LayerSetDirection)); e->setArgument(2,v3_DirectionSense,IfcDirectionSenseEnum::ToString(v3_DirectionSense)); e->setArgument(3,(v4_OffsetFromReferenceLine)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialList -SHARED_PTR< IfcTemplatedEntityList > IfcMaterialList::Materials() { RETURN_AS_LIST(IfcMaterial,0) } -void IfcMaterialList::setMaterials(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > IfcMaterialList::Materials() { RETURN_AS_LIST(IfcMaterial,0) } +void IfcMaterialList::setMaterials(SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcMaterialList::is(Type::Enum v) const { return v == Type::IfcMaterialList; } Type::Enum IfcMaterialList::type() const { return Type::IfcMaterialList; } Type::Enum IfcMaterialList::Class() { return Type::IfcMaterialList; } IfcMaterialList::IfcMaterialList(IfcAbstractEntityPtr e) { if (!is(Type::IfcMaterialList)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMaterialList::IfcMaterialList(SHARED_PTR< IfcTemplatedEntityList > v1_Materials) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Materials)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcMaterialList::IfcMaterialList(SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > v1_Materials) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Materials)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMaterialProperties IfcMaterial* IfcMaterialProperties::Material() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcMaterialProperties::setMaterial(IfcMaterial* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8085,7 +8085,7 @@ bool IfcMechanicalConcreteMaterialProperties::is(Type::Enum v) const { return v Type::Enum IfcMechanicalConcreteMaterialProperties::type() const { return Type::IfcMechanicalConcreteMaterialProperties; } Type::Enum IfcMechanicalConcreteMaterialProperties::Class() { return Type::IfcMechanicalConcreteMaterialProperties; } IfcMechanicalConcreteMaterialProperties::IfcMechanicalConcreteMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcMechanicalConcreteMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMechanicalConcreteMaterialProperties::IfcMechanicalConcreteMaterialProperties(IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient, optional v7_CompressiveStrength, optional v8_MaxAggregateSize, optional v9_AdmixturesDescription, optional v10_Workability, optional v11_ProtectivePoreRatio, optional v12_WaterImpermeability) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; if (v7_CompressiveStrength) { e->setArgument(6,(*v7_CompressiveStrength)); } else { e->setArgument(6); } ; if (v8_MaxAggregateSize) { e->setArgument(7,(*v8_MaxAggregateSize)); } else { e->setArgument(7); } ; if (v9_AdmixturesDescription) { e->setArgument(8,(*v9_AdmixturesDescription)); } else { e->setArgument(8); } ; if (v10_Workability) { e->setArgument(9,(*v10_Workability)); } else { e->setArgument(9); } ; if (v11_ProtectivePoreRatio) { e->setArgument(10,(*v11_ProtectivePoreRatio)); } else { e->setArgument(10); } ; if (v12_WaterImpermeability) { e->setArgument(11,(*v12_WaterImpermeability)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } +IfcMechanicalConcreteMaterialProperties::IfcMechanicalConcreteMaterialProperties(IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient, optional< IfcPressureMeasure > v7_CompressiveStrength, optional< IfcPositiveLengthMeasure > v8_MaxAggregateSize, optional< IfcText > v9_AdmixturesDescription, optional< IfcText > v10_Workability, optional< IfcNormalisedRatioMeasure > v11_ProtectivePoreRatio, optional< IfcText > v12_WaterImpermeability) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; if (v7_CompressiveStrength) { e->setArgument(6,(*v7_CompressiveStrength)); } else { e->setArgument(6); } ; if (v8_MaxAggregateSize) { e->setArgument(7,(*v8_MaxAggregateSize)); } else { e->setArgument(7); } ; if (v9_AdmixturesDescription) { e->setArgument(8,(*v9_AdmixturesDescription)); } else { e->setArgument(8); } ; if (v10_Workability) { e->setArgument(9,(*v10_Workability)); } else { e->setArgument(9); } ; if (v11_ProtectivePoreRatio) { e->setArgument(10,(*v11_ProtectivePoreRatio)); } else { e->setArgument(10); } ; if (v12_WaterImpermeability) { e->setArgument(11,(*v12_WaterImpermeability)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMechanicalFastener bool IfcMechanicalFastener::hasNominalDiameter() { return !entity->getArgument(8)->isNull(); } IfcPositiveLengthMeasure IfcMechanicalFastener::NominalDiameter() { return *entity->getArgument(8); } @@ -8097,13 +8097,13 @@ bool IfcMechanicalFastener::is(Type::Enum v) const { return v == Type::IfcMechan Type::Enum IfcMechanicalFastener::type() const { return Type::IfcMechanicalFastener; } Type::Enum IfcMechanicalFastener::Class() { return Type::IfcMechanicalFastener; } IfcMechanicalFastener::IfcMechanicalFastener(IfcAbstractEntityPtr e) { if (!is(Type::IfcMechanicalFastener)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMechanicalFastener::IfcMechanicalFastener(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_NominalDiameter, optional v10_NominalLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_NominalDiameter) { e->setArgument(8,(*v9_NominalDiameter)); } else { e->setArgument(8); } ; if (v10_NominalLength) { e->setArgument(9,(*v10_NominalLength)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcMechanicalFastener::IfcMechanicalFastener(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_NominalDiameter, optional< IfcPositiveLengthMeasure > v10_NominalLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_NominalDiameter) { e->setArgument(8,(*v9_NominalDiameter)); } else { e->setArgument(8); } ; if (v10_NominalLength) { e->setArgument(9,(*v10_NominalLength)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMechanicalFastenerType bool IfcMechanicalFastenerType::is(Type::Enum v) const { return v == Type::IfcMechanicalFastenerType || IfcFastenerType::is(v); } Type::Enum IfcMechanicalFastenerType::type() const { return Type::IfcMechanicalFastenerType; } Type::Enum IfcMechanicalFastenerType::Class() { return Type::IfcMechanicalFastenerType; } IfcMechanicalFastenerType::IfcMechanicalFastenerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcMechanicalFastenerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMechanicalFastenerType::IfcMechanicalFastenerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcMechanicalFastenerType::IfcMechanicalFastenerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMechanicalMaterialProperties bool IfcMechanicalMaterialProperties::hasDynamicViscosity() { return !entity->getArgument(1)->isNull(); } IfcDynamicViscosityMeasure IfcMechanicalMaterialProperties::DynamicViscosity() { return *entity->getArgument(1); } @@ -8124,7 +8124,7 @@ bool IfcMechanicalMaterialProperties::is(Type::Enum v) const { return v == Type: Type::Enum IfcMechanicalMaterialProperties::type() const { return Type::IfcMechanicalMaterialProperties; } Type::Enum IfcMechanicalMaterialProperties::Class() { return Type::IfcMechanicalMaterialProperties; } IfcMechanicalMaterialProperties::IfcMechanicalMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcMechanicalMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMechanicalMaterialProperties::IfcMechanicalMaterialProperties(IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcMechanicalMaterialProperties::IfcMechanicalMaterialProperties(IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMechanicalSteelMaterialProperties bool IfcMechanicalSteelMaterialProperties::hasYieldStress() { return !entity->getArgument(6)->isNull(); } IfcPressureMeasure IfcMechanicalSteelMaterialProperties::YieldStress() { return *entity->getArgument(6); } @@ -8145,19 +8145,19 @@ bool IfcMechanicalSteelMaterialProperties::hasPlasticStrain() { return !entity-> IfcPositiveRatioMeasure IfcMechanicalSteelMaterialProperties::PlasticStrain() { return *entity->getArgument(11); } void IfcMechanicalSteelMaterialProperties::setPlasticStrain(IfcPositiveRatioMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(11,v); } bool IfcMechanicalSteelMaterialProperties::hasRelaxations() { return !entity->getArgument(12)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcMechanicalSteelMaterialProperties::Relaxations() { RETURN_AS_LIST(IfcRelaxation,12) } -void IfcMechanicalSteelMaterialProperties::setRelaxations(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > IfcMechanicalSteelMaterialProperties::Relaxations() { RETURN_AS_LIST(IfcRelaxation,12) } +void IfcMechanicalSteelMaterialProperties::setRelaxations(SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v->generalize()); } bool IfcMechanicalSteelMaterialProperties::is(Type::Enum v) const { return v == Type::IfcMechanicalSteelMaterialProperties || IfcMechanicalMaterialProperties::is(v); } Type::Enum IfcMechanicalSteelMaterialProperties::type() const { return Type::IfcMechanicalSteelMaterialProperties; } Type::Enum IfcMechanicalSteelMaterialProperties::Class() { return Type::IfcMechanicalSteelMaterialProperties; } IfcMechanicalSteelMaterialProperties::IfcMechanicalSteelMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcMechanicalSteelMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMechanicalSteelMaterialProperties::IfcMechanicalSteelMaterialProperties(IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient, optional v7_YieldStress, optional v8_UltimateStress, optional v9_UltimateStrain, optional v10_HardeningModule, optional v11_ProportionalStress, optional v12_PlasticStrain, optional >> v13_Relaxations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; if (v7_YieldStress) { e->setArgument(6,(*v7_YieldStress)); } else { e->setArgument(6); } ; if (v8_UltimateStress) { e->setArgument(7,(*v8_UltimateStress)); } else { e->setArgument(7); } ; if (v9_UltimateStrain) { e->setArgument(8,(*v9_UltimateStrain)); } else { e->setArgument(8); } ; if (v10_HardeningModule) { e->setArgument(9,(*v10_HardeningModule)); } else { e->setArgument(9); } ; if (v11_ProportionalStress) { e->setArgument(10,(*v11_ProportionalStress)); } else { e->setArgument(10); } ; if (v12_PlasticStrain) { e->setArgument(11,(*v12_PlasticStrain)); } else { e->setArgument(11); } ; if (v13_Relaxations) { e->setArgument(12,(*v13_Relaxations)->generalize()); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } +IfcMechanicalSteelMaterialProperties::IfcMechanicalSteelMaterialProperties(IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient, optional< IfcPressureMeasure > v7_YieldStress, optional< IfcPressureMeasure > v8_UltimateStress, optional< IfcPositiveRatioMeasure > v9_UltimateStrain, optional< IfcModulusOfElasticityMeasure > v10_HardeningModule, optional< IfcPressureMeasure > v11_ProportionalStress, optional< IfcPositiveRatioMeasure > v12_PlasticStrain, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > > v13_Relaxations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_DynamicViscosity) { e->setArgument(1,(*v2_DynamicViscosity)); } else { e->setArgument(1); } ; if (v3_YoungModulus) { e->setArgument(2,(*v3_YoungModulus)); } else { e->setArgument(2); } ; if (v4_ShearModulus) { e->setArgument(3,(*v4_ShearModulus)); } else { e->setArgument(3); } ; if (v5_PoissonRatio) { e->setArgument(4,(*v5_PoissonRatio)); } else { e->setArgument(4); } ; if (v6_ThermalExpansionCoefficient) { e->setArgument(5,(*v6_ThermalExpansionCoefficient)); } else { e->setArgument(5); } ; if (v7_YieldStress) { e->setArgument(6,(*v7_YieldStress)); } else { e->setArgument(6); } ; if (v8_UltimateStress) { e->setArgument(7,(*v8_UltimateStress)); } else { e->setArgument(7); } ; if (v9_UltimateStrain) { e->setArgument(8,(*v9_UltimateStrain)); } else { e->setArgument(8); } ; if (v10_HardeningModule) { e->setArgument(9,(*v10_HardeningModule)); } else { e->setArgument(9); } ; if (v11_ProportionalStress) { e->setArgument(10,(*v11_ProportionalStress)); } else { e->setArgument(10); } ; if (v12_PlasticStrain) { e->setArgument(11,(*v12_PlasticStrain)); } else { e->setArgument(11); } ; if (v13_Relaxations) { e->setArgument(12,(*v13_Relaxations)->generalize()); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMember bool IfcMember::is(Type::Enum v) const { return v == Type::IfcMember || IfcBuildingElement::is(v); } Type::Enum IfcMember::type() const { return Type::IfcMember; } Type::Enum IfcMember::Class() { return Type::IfcMember; } IfcMember::IfcMember(IfcAbstractEntityPtr e) { if (!is(Type::IfcMember)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMember::IfcMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcMember::IfcMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMemberType IfcMemberTypeEnum::IfcMemberTypeEnum IfcMemberType::PredefinedType() { return IfcMemberTypeEnum::FromString(*entity->getArgument(9)); } void IfcMemberType::setPredefinedType(IfcMemberTypeEnum::IfcMemberTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcMemberTypeEnum::ToString(v)); } @@ -8165,7 +8165,7 @@ bool IfcMemberType::is(Type::Enum v) const { return v == Type::IfcMemberType || Type::Enum IfcMemberType::type() const { return Type::IfcMemberType; } Type::Enum IfcMemberType::Class() { return Type::IfcMemberType; } IfcMemberType::IfcMemberType(IfcAbstractEntityPtr e) { if (!is(Type::IfcMemberType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMemberType::IfcMemberType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcMemberTypeEnum::IfcMemberTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcMemberTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcMemberType::IfcMemberType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcMemberTypeEnum::IfcMemberTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcMemberTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMetric IfcBenchmarkEnum::IfcBenchmarkEnum IfcMetric::Benchmark() { return IfcBenchmarkEnum::FromString(*entity->getArgument(7)); } void IfcMetric::setBenchmark(IfcBenchmarkEnum::IfcBenchmarkEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v,IfcBenchmarkEnum::ToString(v)); } @@ -8178,7 +8178,7 @@ bool IfcMetric::is(Type::Enum v) const { return v == Type::IfcMetric || IfcConst Type::Enum IfcMetric::type() const { return Type::IfcMetric; } Type::Enum IfcMetric::Class() { return Type::IfcMetric; } IfcMetric::IfcMetric(IfcAbstractEntityPtr e) { if (!is(Type::IfcMetric)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMetric::IfcMetric(IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade, IfcBenchmarkEnum::IfcBenchmarkEnum v8_Benchmark, optional v9_ValueSource, IfcMetricValueSelect v10_DataValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; e->setArgument(7,v8_Benchmark,IfcBenchmarkEnum::ToString(v8_Benchmark)); if (v9_ValueSource) { e->setArgument(8,(*v9_ValueSource)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_DataValue)); entity = e; EntityBuffer::Add(this); } +IfcMetric::IfcMetric(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade, IfcBenchmarkEnum::IfcBenchmarkEnum v8_Benchmark, optional< IfcLabel > v9_ValueSource, IfcMetricValueSelect v10_DataValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; e->setArgument(7,v8_Benchmark,IfcBenchmarkEnum::ToString(v8_Benchmark)); if (v9_ValueSource) { e->setArgument(8,(*v9_ValueSource)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_DataValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMonetaryUnit IfcCurrencyEnum::IfcCurrencyEnum IfcMonetaryUnit::Currency() { return IfcCurrencyEnum::FromString(*entity->getArgument(0)); } void IfcMonetaryUnit::setCurrency(IfcCurrencyEnum::IfcCurrencyEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcCurrencyEnum::ToString(v)); } @@ -8194,20 +8194,20 @@ bool IfcMotorConnectionType::is(Type::Enum v) const { return v == Type::IfcMotor Type::Enum IfcMotorConnectionType::type() const { return Type::IfcMotorConnectionType; } Type::Enum IfcMotorConnectionType::Class() { return Type::IfcMotorConnectionType; } IfcMotorConnectionType::IfcMotorConnectionType(IfcAbstractEntityPtr e) { if (!is(Type::IfcMotorConnectionType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMotorConnectionType::IfcMotorConnectionType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcMotorConnectionTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcMotorConnectionType::IfcMotorConnectionType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcMotorConnectionTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcMove IfcSpatialStructureElement* IfcMove::MoveFrom() { return reinterpret_pointer_cast(*entity->getArgument(10)); } void IfcMove::setMoveFrom(IfcSpatialStructureElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } IfcSpatialStructureElement* IfcMove::MoveTo() { return reinterpret_pointer_cast(*entity->getArgument(11)); } void IfcMove::setMoveTo(IfcSpatialStructureElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(11,v); } bool IfcMove::hasPunchList() { return !entity->getArgument(12)->isNull(); } -std::vector /*[1:?]*/ IfcMove::PunchList() { return *entity->getArgument(12); } -void IfcMove::setPunchList(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v); } +std::vector< IfcText > /*[1:?]*/ IfcMove::PunchList() { return *entity->getArgument(12); } +void IfcMove::setPunchList(std::vector< IfcText > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v); } bool IfcMove::is(Type::Enum v) const { return v == Type::IfcMove || IfcTask::is(v); } Type::Enum IfcMove::type() const { return Type::IfcMove; } Type::Enum IfcMove::Class() { return Type::IfcMove; } IfcMove::IfcMove(IfcAbstractEntityPtr e) { if (!is(Type::IfcMove)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcMove::IfcMove(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority, IfcSpatialStructureElement* v11_MoveFrom, IfcSpatialStructureElement* v12_MoveTo, optional /*[1:?]*/> v13_PunchList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_MoveFrom)); e->setArgument(11,(v12_MoveTo)); if (v13_PunchList) { e->setArgument(12,(*v13_PunchList)); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } +IfcMove::IfcMove(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority, IfcSpatialStructureElement* v11_MoveFrom, IfcSpatialStructureElement* v12_MoveTo, optional< std::vector< IfcText > /*[1:?]*/ > v13_PunchList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_MoveFrom)); e->setArgument(11,(v12_MoveTo)); if (v13_PunchList) { e->setArgument(12,(*v13_PunchList)); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcNamedUnit IfcDimensionalExponents* IfcNamedUnit::Dimensions() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcNamedUnit::setDimensions(IfcDimensionalExponents* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8227,7 +8227,7 @@ bool IfcObject::is(Type::Enum v) const { return v == Type::IfcObject || IfcObjec Type::Enum IfcObject::type() const { return Type::IfcObject; } Type::Enum IfcObject::Class() { return Type::IfcObject; } IfcObject::IfcObject(IfcAbstractEntityPtr e) { if (!is(Type::IfcObject)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcObject::IfcObject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcObject::IfcObject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcObjectDefinition IfcRelAssigns::list IfcObjectDefinition::HasAssignments() { RETURN_INVERSE(IfcRelAssigns) } IfcRelDecomposes::list IfcObjectDefinition::IsDecomposedBy() { RETURN_INVERSE(IfcRelDecomposes) } @@ -8237,7 +8237,7 @@ bool IfcObjectDefinition::is(Type::Enum v) const { return v == Type::IfcObjectDe Type::Enum IfcObjectDefinition::type() const { return Type::IfcObjectDefinition; } Type::Enum IfcObjectDefinition::Class() { return Type::IfcObjectDefinition; } IfcObjectDefinition::IfcObjectDefinition(IfcAbstractEntityPtr e) { if (!is(Type::IfcObjectDefinition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcObjectDefinition::IfcObjectDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcObjectDefinition::IfcObjectDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcObjectPlacement IfcProduct::list IfcObjectPlacement::PlacesObject() { RETURN_INVERSE(IfcProduct) } IfcLocalPlacement::list IfcObjectPlacement::ReferencedByPlacements() { RETURN_INVERSE(IfcLocalPlacement) } @@ -8261,7 +8261,7 @@ bool IfcObjective::is(Type::Enum v) const { return v == Type::IfcObjective || If Type::Enum IfcObjective::type() const { return Type::IfcObjective; } Type::Enum IfcObjective::Class() { return Type::IfcObjective; } IfcObjective::IfcObjective(IfcAbstractEntityPtr e) { if (!is(Type::IfcObjective)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcObjective::IfcObjective(IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade, IfcMetric* v8_BenchmarkValues, IfcMetric* v9_ResultValues, IfcObjectiveEnum::IfcObjectiveEnum v10_ObjectiveQualifier, optional v11_UserDefinedQualifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_BenchmarkValues)); e->setArgument(8,(v9_ResultValues)); e->setArgument(9,v10_ObjectiveQualifier,IfcObjectiveEnum::ToString(v10_ObjectiveQualifier)); if (v11_UserDefinedQualifier) { e->setArgument(10,(*v11_UserDefinedQualifier)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcObjective::IfcObjective(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade, IfcMetric* v8_BenchmarkValues, IfcMetric* v9_ResultValues, IfcObjectiveEnum::IfcObjectiveEnum v10_ObjectiveQualifier, optional< IfcLabel > v11_UserDefinedQualifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,v3_ConstraintGrade,IfcConstraintEnum::ToString(v3_ConstraintGrade)); if (v4_ConstraintSource) { e->setArgument(3,(*v4_ConstraintSource)); } else { e->setArgument(3); } ; if (v5_CreatingActor) { e->setArgument(4,(*v5_CreatingActor)); } else { e->setArgument(4); } ; if (v6_CreationTime) { e->setArgument(5,(*v6_CreationTime)); } else { e->setArgument(5); } ; if (v7_UserDefinedGrade) { e->setArgument(6,(*v7_UserDefinedGrade)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_BenchmarkValues)); e->setArgument(8,(v9_ResultValues)); e->setArgument(9,v10_ObjectiveQualifier,IfcObjectiveEnum::ToString(v10_ObjectiveQualifier)); if (v11_UserDefinedQualifier) { e->setArgument(10,(*v11_UserDefinedQualifier)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOccupant IfcOccupantTypeEnum::IfcOccupantTypeEnum IfcOccupant::PredefinedType() { return IfcOccupantTypeEnum::FromString(*entity->getArgument(6)); } void IfcOccupant::setPredefinedType(IfcOccupantTypeEnum::IfcOccupantTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v,IfcOccupantTypeEnum::ToString(v)); } @@ -8269,7 +8269,7 @@ bool IfcOccupant::is(Type::Enum v) const { return v == Type::IfcOccupant || IfcA Type::Enum IfcOccupant::type() const { return Type::IfcOccupant; } Type::Enum IfcOccupant::Class() { return Type::IfcOccupant; } IfcOccupant::IfcOccupant(IfcAbstractEntityPtr e) { if (!is(Type::IfcOccupant)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOccupant::IfcOccupant(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcActorSelect v6_TheActor, IfcOccupantTypeEnum::IfcOccupantTypeEnum v7_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TheActor)); e->setArgument(6,v7_PredefinedType,IfcOccupantTypeEnum::ToString(v7_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcOccupant::IfcOccupant(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcActorSelect v6_TheActor, IfcOccupantTypeEnum::IfcOccupantTypeEnum v7_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TheActor)); e->setArgument(6,v7_PredefinedType,IfcOccupantTypeEnum::ToString(v7_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOffsetCurve2D IfcCurve* IfcOffsetCurve2D::BasisCurve() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcOffsetCurve2D::setBasisCurve(IfcCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8309,14 +8309,14 @@ bool IfcOpenShell::is(Type::Enum v) const { return v == Type::IfcOpenShell || If Type::Enum IfcOpenShell::type() const { return Type::IfcOpenShell; } Type::Enum IfcOpenShell::Class() { return Type::IfcOpenShell; } IfcOpenShell::IfcOpenShell(IfcAbstractEntityPtr e) { if (!is(Type::IfcOpenShell)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOpenShell::IfcOpenShell(SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcOpenShell::IfcOpenShell(SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_CfsFaces)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOpeningElement IfcRelFillsElement::list IfcOpeningElement::HasFillings() { RETURN_INVERSE(IfcRelFillsElement) } bool IfcOpeningElement::is(Type::Enum v) const { return v == Type::IfcOpeningElement || IfcFeatureElementSubtraction::is(v); } Type::Enum IfcOpeningElement::type() const { return Type::IfcOpeningElement; } Type::Enum IfcOpeningElement::Class() { return Type::IfcOpeningElement; } IfcOpeningElement::IfcOpeningElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcOpeningElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOpeningElement::IfcOpeningElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcOpeningElement::IfcOpeningElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOpticalMaterialProperties bool IfcOpticalMaterialProperties::hasVisibleTransmittance() { return !entity->getArgument(1)->isNull(); } IfcPositiveRatioMeasure IfcOpticalMaterialProperties::VisibleTransmittance() { return *entity->getArgument(1); } @@ -8349,7 +8349,7 @@ bool IfcOpticalMaterialProperties::is(Type::Enum v) const { return v == Type::If Type::Enum IfcOpticalMaterialProperties::type() const { return Type::IfcOpticalMaterialProperties; } Type::Enum IfcOpticalMaterialProperties::Class() { return Type::IfcOpticalMaterialProperties; } IfcOpticalMaterialProperties::IfcOpticalMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcOpticalMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOpticalMaterialProperties::IfcOpticalMaterialProperties(IfcMaterial* v1_Material, optional v2_VisibleTransmittance, optional v3_SolarTransmittance, optional v4_ThermalIrTransmittance, optional v5_ThermalIrEmissivityBack, optional v6_ThermalIrEmissivityFront, optional v7_VisibleReflectanceBack, optional v8_VisibleReflectanceFront, optional v9_SolarReflectanceFront, optional v10_SolarReflectanceBack) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_VisibleTransmittance) { e->setArgument(1,(*v2_VisibleTransmittance)); } else { e->setArgument(1); } ; if (v3_SolarTransmittance) { e->setArgument(2,(*v3_SolarTransmittance)); } else { e->setArgument(2); } ; if (v4_ThermalIrTransmittance) { e->setArgument(3,(*v4_ThermalIrTransmittance)); } else { e->setArgument(3); } ; if (v5_ThermalIrEmissivityBack) { e->setArgument(4,(*v5_ThermalIrEmissivityBack)); } else { e->setArgument(4); } ; if (v6_ThermalIrEmissivityFront) { e->setArgument(5,(*v6_ThermalIrEmissivityFront)); } else { e->setArgument(5); } ; if (v7_VisibleReflectanceBack) { e->setArgument(6,(*v7_VisibleReflectanceBack)); } else { e->setArgument(6); } ; if (v8_VisibleReflectanceFront) { e->setArgument(7,(*v8_VisibleReflectanceFront)); } else { e->setArgument(7); } ; if (v9_SolarReflectanceFront) { e->setArgument(8,(*v9_SolarReflectanceFront)); } else { e->setArgument(8); } ; if (v10_SolarReflectanceBack) { e->setArgument(9,(*v10_SolarReflectanceBack)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcOpticalMaterialProperties::IfcOpticalMaterialProperties(IfcMaterial* v1_Material, optional< IfcPositiveRatioMeasure > v2_VisibleTransmittance, optional< IfcPositiveRatioMeasure > v3_SolarTransmittance, optional< IfcPositiveRatioMeasure > v4_ThermalIrTransmittance, optional< IfcPositiveRatioMeasure > v5_ThermalIrEmissivityBack, optional< IfcPositiveRatioMeasure > v6_ThermalIrEmissivityFront, optional< IfcPositiveRatioMeasure > v7_VisibleReflectanceBack, optional< IfcPositiveRatioMeasure > v8_VisibleReflectanceFront, optional< IfcPositiveRatioMeasure > v9_SolarReflectanceFront, optional< IfcPositiveRatioMeasure > v10_SolarReflectanceBack) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_VisibleTransmittance) { e->setArgument(1,(*v2_VisibleTransmittance)); } else { e->setArgument(1); } ; if (v3_SolarTransmittance) { e->setArgument(2,(*v3_SolarTransmittance)); } else { e->setArgument(2); } ; if (v4_ThermalIrTransmittance) { e->setArgument(3,(*v4_ThermalIrTransmittance)); } else { e->setArgument(3); } ; if (v5_ThermalIrEmissivityBack) { e->setArgument(4,(*v5_ThermalIrEmissivityBack)); } else { e->setArgument(4); } ; if (v6_ThermalIrEmissivityFront) { e->setArgument(5,(*v6_ThermalIrEmissivityFront)); } else { e->setArgument(5); } ; if (v7_VisibleReflectanceBack) { e->setArgument(6,(*v7_VisibleReflectanceBack)); } else { e->setArgument(6); } ; if (v8_VisibleReflectanceFront) { e->setArgument(7,(*v8_VisibleReflectanceFront)); } else { e->setArgument(7); } ; if (v9_SolarReflectanceFront) { e->setArgument(8,(*v9_SolarReflectanceFront)); } else { e->setArgument(8); } ; if (v10_SolarReflectanceBack) { e->setArgument(9,(*v10_SolarReflectanceBack)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOrderAction IfcIdentifier IfcOrderAction::ActionID() { return *entity->getArgument(10); } void IfcOrderAction::setActionID(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } @@ -8357,7 +8357,7 @@ bool IfcOrderAction::is(Type::Enum v) const { return v == Type::IfcOrderAction | Type::Enum IfcOrderAction::type() const { return Type::IfcOrderAction; } Type::Enum IfcOrderAction::Class() { return Type::IfcOrderAction; } IfcOrderAction::IfcOrderAction(IfcAbstractEntityPtr e) { if (!is(Type::IfcOrderAction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOrderAction::IfcOrderAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority, IfcIdentifier v11_ActionID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_ActionID)); entity = e; EntityBuffer::Add(this); } +IfcOrderAction::IfcOrderAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority, IfcIdentifier v11_ActionID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_ActionID)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOrganization bool IfcOrganization::hasId() { return !entity->getArgument(0)->isNull(); } IfcIdentifier IfcOrganization::Id() { return *entity->getArgument(0); } @@ -8368,11 +8368,11 @@ bool IfcOrganization::hasDescription() { return !entity->getArgument(2)->isNull( IfcText IfcOrganization::Description() { return *entity->getArgument(2); } void IfcOrganization::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } bool IfcOrganization::hasRoles() { return !entity->getArgument(3)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcOrganization::Roles() { RETURN_AS_LIST(IfcActorRole,3) } -void IfcOrganization::setRoles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > IfcOrganization::Roles() { RETURN_AS_LIST(IfcActorRole,3) } +void IfcOrganization::setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcOrganization::hasAddresses() { return !entity->getArgument(4)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcOrganization::Addresses() { RETURN_AS_LIST(IfcAddress,4) } -void IfcOrganization::setAddresses(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > IfcOrganization::Addresses() { RETURN_AS_LIST(IfcAddress,4) } +void IfcOrganization::setAddresses(SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } IfcOrganizationRelationship::list IfcOrganization::IsRelatedBy() { RETURN_INVERSE(IfcOrganizationRelationship) } IfcOrganizationRelationship::list IfcOrganization::Relates() { RETURN_INVERSE(IfcOrganizationRelationship) } IfcPersonAndOrganization::list IfcOrganization::Engages() { RETURN_INVERSE(IfcPersonAndOrganization) } @@ -8380,7 +8380,7 @@ bool IfcOrganization::is(Type::Enum v) const { return v == Type::IfcOrganization Type::Enum IfcOrganization::type() const { return Type::IfcOrganization; } Type::Enum IfcOrganization::Class() { return Type::IfcOrganization; } IfcOrganization::IfcOrganization(IfcAbstractEntityPtr e) { if (!is(Type::IfcOrganization)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOrganization::IfcOrganization(optional v1_Id, IfcLabel v2_Name, optional v3_Description, optional >> v4_Roles, optional >> v5_Addresses) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Id) { e->setArgument(0,(*v1_Id)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_Name)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; if (v4_Roles) { e->setArgument(3,(*v4_Roles)->generalize()); } else { e->setArgument(3); } ; if (v5_Addresses) { e->setArgument(4,(*v5_Addresses)->generalize()); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcOrganization::IfcOrganization(optional< IfcIdentifier > v1_Id, IfcLabel v2_Name, optional< IfcText > v3_Description, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v4_Roles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > > v5_Addresses) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Id) { e->setArgument(0,(*v1_Id)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_Name)); if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; if (v4_Roles) { e->setArgument(3,(*v4_Roles)->generalize()); } else { e->setArgument(3); } ; if (v5_Addresses) { e->setArgument(4,(*v5_Addresses)->generalize()); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOrganizationRelationship IfcLabel IfcOrganizationRelationship::Name() { return *entity->getArgument(0); } void IfcOrganizationRelationship::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8389,13 +8389,13 @@ IfcText IfcOrganizationRelationship::Description() { return *entity->getArgument void IfcOrganizationRelationship::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } IfcOrganization* IfcOrganizationRelationship::RelatingOrganization() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcOrganizationRelationship::setRelatingOrganization(IfcOrganization* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcOrganizationRelationship::RelatedOrganizations() { RETURN_AS_LIST(IfcOrganization,3) } -void IfcOrganizationRelationship::setRelatedOrganizations(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > IfcOrganizationRelationship::RelatedOrganizations() { RETURN_AS_LIST(IfcOrganization,3) } +void IfcOrganizationRelationship::setRelatedOrganizations(SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcOrganizationRelationship::is(Type::Enum v) const { return v == Type::IfcOrganizationRelationship; } Type::Enum IfcOrganizationRelationship::type() const { return Type::IfcOrganizationRelationship; } Type::Enum IfcOrganizationRelationship::Class() { return Type::IfcOrganizationRelationship; } IfcOrganizationRelationship::IfcOrganizationRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcOrganizationRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOrganizationRelationship::IfcOrganizationRelationship(IfcLabel v1_Name, optional v2_Description, IfcOrganization* v3_RelatingOrganization, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedOrganizations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingOrganization)); e->setArgument(3,(v4_RelatedOrganizations)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcOrganizationRelationship::IfcOrganizationRelationship(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcOrganization* v3_RelatingOrganization, SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > v4_RelatedOrganizations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_RelatingOrganization)); e->setArgument(3,(v4_RelatedOrganizations)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOrientedEdge IfcEdge* IfcOrientedEdge::EdgeElement() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcOrientedEdge::setEdgeElement(IfcEdge* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -8413,7 +8413,7 @@ bool IfcOutletType::is(Type::Enum v) const { return v == Type::IfcOutletType || Type::Enum IfcOutletType::type() const { return Type::IfcOutletType; } Type::Enum IfcOutletType::Class() { return Type::IfcOutletType; } IfcOutletType::IfcOutletType(IfcAbstractEntityPtr e) { if (!is(Type::IfcOutletType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOutletType::IfcOutletType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcOutletTypeEnum::IfcOutletTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcOutletTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcOutletType::IfcOutletType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcOutletTypeEnum::IfcOutletTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcOutletTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcOwnerHistory IfcPersonAndOrganization* IfcOwnerHistory::OwningUser() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcOwnerHistory::setOwningUser(IfcPersonAndOrganization* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8439,7 +8439,7 @@ bool IfcOwnerHistory::is(Type::Enum v) const { return v == Type::IfcOwnerHistory Type::Enum IfcOwnerHistory::type() const { return Type::IfcOwnerHistory; } Type::Enum IfcOwnerHistory::Class() { return Type::IfcOwnerHistory; } IfcOwnerHistory::IfcOwnerHistory(IfcAbstractEntityPtr e) { if (!is(Type::IfcOwnerHistory)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcOwnerHistory::IfcOwnerHistory(IfcPersonAndOrganization* v1_OwningUser, IfcApplication* v2_OwningApplication, optional v3_State, IfcChangeActionEnum::IfcChangeActionEnum v4_ChangeAction, optional v5_LastModifiedDate, IfcPersonAndOrganization* v6_LastModifyingUser, IfcApplication* v7_LastModifyingApplication, IfcTimeStamp v8_CreationDate) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_OwningUser)); e->setArgument(1,(v2_OwningApplication)); if (v3_State) { e->setArgument(2,*v3_State,IfcStateEnum::ToString(*v3_State)); } else { e->setArgument(2); } ; e->setArgument(3,v4_ChangeAction,IfcChangeActionEnum::ToString(v4_ChangeAction)); if (v5_LastModifiedDate) { e->setArgument(4,(*v5_LastModifiedDate)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_LastModifyingUser)); e->setArgument(6,(v7_LastModifyingApplication)); e->setArgument(7,(v8_CreationDate)); entity = e; EntityBuffer::Add(this); } +IfcOwnerHistory::IfcOwnerHistory(IfcPersonAndOrganization* v1_OwningUser, IfcApplication* v2_OwningApplication, optional< IfcStateEnum::IfcStateEnum > v3_State, IfcChangeActionEnum::IfcChangeActionEnum v4_ChangeAction, optional< IfcTimeStamp > v5_LastModifiedDate, IfcPersonAndOrganization* v6_LastModifyingUser, IfcApplication* v7_LastModifyingApplication, IfcTimeStamp v8_CreationDate) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_OwningUser)); e->setArgument(1,(v2_OwningApplication)); if (v3_State) { e->setArgument(2,*v3_State,IfcStateEnum::ToString(*v3_State)); } else { e->setArgument(2); } ; e->setArgument(3,v4_ChangeAction,IfcChangeActionEnum::ToString(v4_ChangeAction)); if (v5_LastModifiedDate) { e->setArgument(4,(*v5_LastModifiedDate)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_LastModifyingUser)); e->setArgument(6,(v7_LastModifyingApplication)); e->setArgument(7,(v8_CreationDate)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcParameterizedProfileDef IfcAxis2Placement2D* IfcParameterizedProfileDef::Position() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcParameterizedProfileDef::setPosition(IfcAxis2Placement2D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -8447,15 +8447,15 @@ bool IfcParameterizedProfileDef::is(Type::Enum v) const { return v == Type::IfcP Type::Enum IfcParameterizedProfileDef::type() const { return Type::IfcParameterizedProfileDef; } Type::Enum IfcParameterizedProfileDef::Class() { return Type::IfcParameterizedProfileDef; } IfcParameterizedProfileDef::IfcParameterizedProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcParameterizedProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcParameterizedProfileDef::IfcParameterizedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); entity = e; EntityBuffer::Add(this); } +IfcParameterizedProfileDef::IfcParameterizedProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPath -SHARED_PTR< IfcTemplatedEntityList > IfcPath::EdgeList() { RETURN_AS_LIST(IfcOrientedEdge,0) } -void IfcPath::setEdgeList(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > IfcPath::EdgeList() { RETURN_AS_LIST(IfcOrientedEdge,0) } +void IfcPath::setEdgeList(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcPath::is(Type::Enum v) const { return v == Type::IfcPath || IfcTopologicalRepresentationItem::is(v); } Type::Enum IfcPath::type() const { return Type::IfcPath; } Type::Enum IfcPath::Class() { return Type::IfcPath; } IfcPath::IfcPath(IfcAbstractEntityPtr e) { if (!is(Type::IfcPath)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPath::IfcPath(SHARED_PTR< IfcTemplatedEntityList > v1_EdgeList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_EdgeList)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcPath::IfcPath(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v1_EdgeList) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_EdgeList)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPerformanceHistory IfcLabel IfcPerformanceHistory::LifeCyclePhase() { return *entity->getArgument(5); } void IfcPerformanceHistory::setLifeCyclePhase(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -8463,7 +8463,7 @@ bool IfcPerformanceHistory::is(Type::Enum v) const { return v == Type::IfcPerfor Type::Enum IfcPerformanceHistory::type() const { return Type::IfcPerformanceHistory; } Type::Enum IfcPerformanceHistory::Class() { return Type::IfcPerformanceHistory; } IfcPerformanceHistory::IfcPerformanceHistory(IfcAbstractEntityPtr e) { if (!is(Type::IfcPerformanceHistory)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPerformanceHistory::IfcPerformanceHistory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcLabel v6_LifeCyclePhase) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_LifeCyclePhase)); entity = e; EntityBuffer::Add(this); } +IfcPerformanceHistory::IfcPerformanceHistory(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcLabel v6_LifeCyclePhase) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_LifeCyclePhase)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPermeableCoveringProperties IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum IfcPermeableCoveringProperties::OperationType() { return IfcPermeableCoveringOperationEnum::FromString(*entity->getArgument(4)); } void IfcPermeableCoveringProperties::setOperationType(IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v,IfcPermeableCoveringOperationEnum::ToString(v)); } @@ -8482,7 +8482,7 @@ bool IfcPermeableCoveringProperties::is(Type::Enum v) const { return v == Type:: Type::Enum IfcPermeableCoveringProperties::type() const { return Type::IfcPermeableCoveringProperties; } Type::Enum IfcPermeableCoveringProperties::Class() { return Type::IfcPermeableCoveringProperties; } IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcPermeableCoveringProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional v7_FrameDepth, optional v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_OperationType,IfcPermeableCoveringOperationEnum::ToString(v5_OperationType)); e->setArgument(5,v6_PanelPosition,IfcWindowPanelPositionEnum::ToString(v6_PanelPosition)); if (v7_FrameDepth) { e->setArgument(6,(*v7_FrameDepth)); } else { e->setArgument(6); } ; if (v8_FrameThickness) { e->setArgument(7,(*v8_FrameThickness)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } +IfcPermeableCoveringProperties::IfcPermeableCoveringProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional< IfcPositiveLengthMeasure > v7_FrameDepth, optional< IfcPositiveLengthMeasure > v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_OperationType,IfcPermeableCoveringOperationEnum::ToString(v5_OperationType)); e->setArgument(5,v6_PanelPosition,IfcWindowPanelPositionEnum::ToString(v6_PanelPosition)); if (v7_FrameDepth) { e->setArgument(6,(*v7_FrameDepth)); } else { e->setArgument(6); } ; if (v8_FrameThickness) { e->setArgument(7,(*v8_FrameThickness)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPermit IfcIdentifier IfcPermit::PermitID() { return *entity->getArgument(5); } void IfcPermit::setPermitID(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -8490,7 +8490,7 @@ bool IfcPermit::is(Type::Enum v) const { return v == Type::IfcPermit || IfcContr Type::Enum IfcPermit::type() const { return Type::IfcPermit; } Type::Enum IfcPermit::Class() { return Type::IfcPermit; } IfcPermit::IfcPermit(IfcAbstractEntityPtr e) { if (!is(Type::IfcPermit)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPermit::IfcPermit(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_PermitID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_PermitID)); entity = e; EntityBuffer::Add(this); } +IfcPermit::IfcPermit(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_PermitID) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_PermitID)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPerson bool IfcPerson::hasId() { return !entity->getArgument(0)->isNull(); } IfcIdentifier IfcPerson::Id() { return *entity->getArgument(0); } @@ -8502,42 +8502,42 @@ bool IfcPerson::hasGivenName() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcPerson::GivenName() { return *entity->getArgument(2); } void IfcPerson::setGivenName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } bool IfcPerson::hasMiddleNames() { return !entity->getArgument(3)->isNull(); } -std::vector /*[1:?]*/ IfcPerson::MiddleNames() { return *entity->getArgument(3); } -void IfcPerson::setMiddleNames(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcPerson::MiddleNames() { return *entity->getArgument(3); } +void IfcPerson::setMiddleNames(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } bool IfcPerson::hasPrefixTitles() { return !entity->getArgument(4)->isNull(); } -std::vector /*[1:?]*/ IfcPerson::PrefixTitles() { return *entity->getArgument(4); } -void IfcPerson::setPrefixTitles(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcPerson::PrefixTitles() { return *entity->getArgument(4); } +void IfcPerson::setPrefixTitles(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } bool IfcPerson::hasSuffixTitles() { return !entity->getArgument(5)->isNull(); } -std::vector /*[1:?]*/ IfcPerson::SuffixTitles() { return *entity->getArgument(5); } -void IfcPerson::setSuffixTitles(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcPerson::SuffixTitles() { return *entity->getArgument(5); } +void IfcPerson::setSuffixTitles(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcPerson::hasRoles() { return !entity->getArgument(6)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcPerson::Roles() { RETURN_AS_LIST(IfcActorRole,6) } -void IfcPerson::setRoles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > IfcPerson::Roles() { RETURN_AS_LIST(IfcActorRole,6) } +void IfcPerson::setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } bool IfcPerson::hasAddresses() { return !entity->getArgument(7)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcPerson::Addresses() { RETURN_AS_LIST(IfcAddress,7) } -void IfcPerson::setAddresses(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > IfcPerson::Addresses() { RETURN_AS_LIST(IfcAddress,7) } +void IfcPerson::setAddresses(SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } IfcPersonAndOrganization::list IfcPerson::EngagedIn() { RETURN_INVERSE(IfcPersonAndOrganization) } bool IfcPerson::is(Type::Enum v) const { return v == Type::IfcPerson; } Type::Enum IfcPerson::type() const { return Type::IfcPerson; } Type::Enum IfcPerson::Class() { return Type::IfcPerson; } IfcPerson::IfcPerson(IfcAbstractEntityPtr e) { if (!is(Type::IfcPerson)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPerson::IfcPerson(optional v1_Id, optional v2_FamilyName, optional v3_GivenName, optional /*[1:?]*/> v4_MiddleNames, optional /*[1:?]*/> v5_PrefixTitles, optional /*[1:?]*/> v6_SuffixTitles, optional >> v7_Roles, optional >> v8_Addresses) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Id) { e->setArgument(0,(*v1_Id)); } else { e->setArgument(0); } ; if (v2_FamilyName) { e->setArgument(1,(*v2_FamilyName)); } else { e->setArgument(1); } ; if (v3_GivenName) { e->setArgument(2,(*v3_GivenName)); } else { e->setArgument(2); } ; if (v4_MiddleNames) { e->setArgument(3,(*v4_MiddleNames)); } else { e->setArgument(3); } ; if (v5_PrefixTitles) { e->setArgument(4,(*v5_PrefixTitles)); } else { e->setArgument(4); } ; if (v6_SuffixTitles) { e->setArgument(5,(*v6_SuffixTitles)); } else { e->setArgument(5); } ; if (v7_Roles) { e->setArgument(6,(*v7_Roles)->generalize()); } else { e->setArgument(6); } ; if (v8_Addresses) { e->setArgument(7,(*v8_Addresses)->generalize()); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcPerson::IfcPerson(optional< IfcIdentifier > v1_Id, optional< IfcLabel > v2_FamilyName, optional< IfcLabel > v3_GivenName, optional< std::vector< IfcLabel > /*[1:?]*/ > v4_MiddleNames, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_PrefixTitles, optional< std::vector< IfcLabel > /*[1:?]*/ > v6_SuffixTitles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v7_Roles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > > v8_Addresses) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Id) { e->setArgument(0,(*v1_Id)); } else { e->setArgument(0); } ; if (v2_FamilyName) { e->setArgument(1,(*v2_FamilyName)); } else { e->setArgument(1); } ; if (v3_GivenName) { e->setArgument(2,(*v3_GivenName)); } else { e->setArgument(2); } ; if (v4_MiddleNames) { e->setArgument(3,(*v4_MiddleNames)); } else { e->setArgument(3); } ; if (v5_PrefixTitles) { e->setArgument(4,(*v5_PrefixTitles)); } else { e->setArgument(4); } ; if (v6_SuffixTitles) { e->setArgument(5,(*v6_SuffixTitles)); } else { e->setArgument(5); } ; if (v7_Roles) { e->setArgument(6,(*v7_Roles)->generalize()); } else { e->setArgument(6); } ; if (v8_Addresses) { e->setArgument(7,(*v8_Addresses)->generalize()); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPersonAndOrganization IfcPerson* IfcPersonAndOrganization::ThePerson() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcPersonAndOrganization::setThePerson(IfcPerson* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } IfcOrganization* IfcPersonAndOrganization::TheOrganization() { return reinterpret_pointer_cast(*entity->getArgument(1)); } void IfcPersonAndOrganization::setTheOrganization(IfcOrganization* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcPersonAndOrganization::hasRoles() { return !entity->getArgument(2)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcPersonAndOrganization::Roles() { RETURN_AS_LIST(IfcActorRole,2) } -void IfcPersonAndOrganization::setRoles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > IfcPersonAndOrganization::Roles() { RETURN_AS_LIST(IfcActorRole,2) } +void IfcPersonAndOrganization::setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcPersonAndOrganization::is(Type::Enum v) const { return v == Type::IfcPersonAndOrganization; } Type::Enum IfcPersonAndOrganization::type() const { return Type::IfcPersonAndOrganization; } Type::Enum IfcPersonAndOrganization::Class() { return Type::IfcPersonAndOrganization; } IfcPersonAndOrganization::IfcPersonAndOrganization(IfcAbstractEntityPtr e) { if (!is(Type::IfcPersonAndOrganization)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPersonAndOrganization::IfcPersonAndOrganization(IfcPerson* v1_ThePerson, IfcOrganization* v2_TheOrganization, optional >> v3_Roles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ThePerson)); e->setArgument(1,(v2_TheOrganization)); if (v3_Roles) { e->setArgument(2,(*v3_Roles)->generalize()); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcPersonAndOrganization::IfcPersonAndOrganization(IfcPerson* v1_ThePerson, IfcOrganization* v2_TheOrganization, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v3_Roles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ThePerson)); e->setArgument(1,(v2_TheOrganization)); if (v3_Roles) { e->setArgument(2,(*v3_Roles)->generalize()); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPhysicalComplexQuantity -SHARED_PTR< IfcTemplatedEntityList > IfcPhysicalComplexQuantity::HasQuantities() { RETURN_AS_LIST(IfcPhysicalQuantity,2) } -void IfcPhysicalComplexQuantity::setHasQuantities(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > IfcPhysicalComplexQuantity::HasQuantities() { RETURN_AS_LIST(IfcPhysicalQuantity,2) } +void IfcPhysicalComplexQuantity::setHasQuantities(SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } IfcLabel IfcPhysicalComplexQuantity::Discrimination() { return *entity->getArgument(3); } void IfcPhysicalComplexQuantity::setDiscrimination(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } bool IfcPhysicalComplexQuantity::hasQuality() { return !entity->getArgument(4)->isNull(); } @@ -8550,7 +8550,7 @@ bool IfcPhysicalComplexQuantity::is(Type::Enum v) const { return v == Type::IfcP Type::Enum IfcPhysicalComplexQuantity::type() const { return Type::IfcPhysicalComplexQuantity; } Type::Enum IfcPhysicalComplexQuantity::Class() { return Type::IfcPhysicalComplexQuantity; } IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(IfcAbstractEntityPtr e) { if (!is(Type::IfcPhysicalComplexQuantity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(IfcLabel v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_HasQuantities, IfcLabel v4_Discrimination, optional v5_Quality, optional v6_Usage) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_HasQuantities)->generalize()); e->setArgument(3,(v4_Discrimination)); if (v5_Quality) { e->setArgument(4,(*v5_Quality)); } else { e->setArgument(4); } ; if (v6_Usage) { e->setArgument(5,(*v6_Usage)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcPhysicalComplexQuantity::IfcPhysicalComplexQuantity(IfcLabel v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v3_HasQuantities, IfcLabel v4_Discrimination, optional< IfcLabel > v5_Quality, optional< IfcLabel > v6_Usage) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_HasQuantities)->generalize()); e->setArgument(3,(v4_Discrimination)); if (v5_Quality) { e->setArgument(4,(*v5_Quality)); } else { e->setArgument(4); } ; if (v6_Usage) { e->setArgument(5,(*v6_Usage)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPhysicalQuantity IfcLabel IfcPhysicalQuantity::Name() { return *entity->getArgument(0); } void IfcPhysicalQuantity::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8562,7 +8562,7 @@ bool IfcPhysicalQuantity::is(Type::Enum v) const { return v == Type::IfcPhysical Type::Enum IfcPhysicalQuantity::type() const { return Type::IfcPhysicalQuantity; } Type::Enum IfcPhysicalQuantity::Class() { return Type::IfcPhysicalQuantity; } IfcPhysicalQuantity::IfcPhysicalQuantity(IfcAbstractEntityPtr e) { if (!is(Type::IfcPhysicalQuantity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPhysicalQuantity::IfcPhysicalQuantity(IfcLabel v1_Name, optional v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcPhysicalQuantity::IfcPhysicalQuantity(IfcLabel v1_Name, optional< IfcText > v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPhysicalSimpleQuantity bool IfcPhysicalSimpleQuantity::hasUnit() { return !entity->getArgument(2)->isNull(); } IfcNamedUnit* IfcPhysicalSimpleQuantity::Unit() { return reinterpret_pointer_cast(*entity->getArgument(2)); } @@ -8571,7 +8571,7 @@ bool IfcPhysicalSimpleQuantity::is(Type::Enum v) const { return v == Type::IfcPh Type::Enum IfcPhysicalSimpleQuantity::type() const { return Type::IfcPhysicalSimpleQuantity; } Type::Enum IfcPhysicalSimpleQuantity::Class() { return Type::IfcPhysicalSimpleQuantity; } IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(IfcAbstractEntityPtr e) { if (!is(Type::IfcPhysicalSimpleQuantity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); entity = e; EntityBuffer::Add(this); } +IfcPhysicalSimpleQuantity::IfcPhysicalSimpleQuantity(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPile IfcPileTypeEnum::IfcPileTypeEnum IfcPile::PredefinedType() { return IfcPileTypeEnum::FromString(*entity->getArgument(8)); } void IfcPile::setPredefinedType(IfcPileTypeEnum::IfcPileTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcPileTypeEnum::ToString(v)); } @@ -8582,7 +8582,7 @@ bool IfcPile::is(Type::Enum v) const { return v == Type::IfcPile || IfcBuildingE Type::Enum IfcPile::type() const { return Type::IfcPile; } Type::Enum IfcPile::Class() { return Type::IfcPile; } IfcPile::IfcPile(IfcAbstractEntityPtr e) { if (!is(Type::IfcPile)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPile::IfcPile(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcPileTypeEnum::IfcPileTypeEnum v9_PredefinedType, optional v10_ConstructionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_PredefinedType,IfcPileTypeEnum::ToString(v9_PredefinedType)); if (v10_ConstructionType) { e->setArgument(9,*v10_ConstructionType,IfcPileConstructionEnum::ToString(*v10_ConstructionType)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcPile::IfcPile(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcPileTypeEnum::IfcPileTypeEnum v9_PredefinedType, optional< IfcPileConstructionEnum::IfcPileConstructionEnum > v10_ConstructionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_PredefinedType,IfcPileTypeEnum::ToString(v9_PredefinedType)); if (v10_ConstructionType) { e->setArgument(9,*v10_ConstructionType,IfcPileConstructionEnum::ToString(*v10_ConstructionType)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPipeFittingType IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum IfcPipeFittingType::PredefinedType() { return IfcPipeFittingTypeEnum::FromString(*entity->getArgument(9)); } void IfcPipeFittingType::setPredefinedType(IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcPipeFittingTypeEnum::ToString(v)); } @@ -8590,7 +8590,7 @@ bool IfcPipeFittingType::is(Type::Enum v) const { return v == Type::IfcPipeFitti Type::Enum IfcPipeFittingType::type() const { return Type::IfcPipeFittingType; } Type::Enum IfcPipeFittingType::Class() { return Type::IfcPipeFittingType; } IfcPipeFittingType::IfcPipeFittingType(IfcAbstractEntityPtr e) { if (!is(Type::IfcPipeFittingType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPipeFittingType::IfcPipeFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPipeFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcPipeFittingType::IfcPipeFittingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPipeFittingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPipeSegmentType IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum IfcPipeSegmentType::PredefinedType() { return IfcPipeSegmentTypeEnum::FromString(*entity->getArgument(9)); } void IfcPipeSegmentType::setPredefinedType(IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcPipeSegmentTypeEnum::ToString(v)); } @@ -8598,7 +8598,7 @@ bool IfcPipeSegmentType::is(Type::Enum v) const { return v == Type::IfcPipeSegme Type::Enum IfcPipeSegmentType::type() const { return Type::IfcPipeSegmentType; } Type::Enum IfcPipeSegmentType::Class() { return Type::IfcPipeSegmentType; } IfcPipeSegmentType::IfcPipeSegmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcPipeSegmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPipeSegmentType::IfcPipeSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPipeSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcPipeSegmentType::IfcPipeSegmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPipeSegmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPixelTexture IfcInteger IfcPixelTexture::Width() { return *entity->getArgument(4); } void IfcPixelTexture::setWidth(IfcInteger v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -8606,13 +8606,13 @@ IfcInteger IfcPixelTexture::Height() { return *entity->getArgument(5); } void IfcPixelTexture::setHeight(IfcInteger v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } IfcInteger IfcPixelTexture::ColourComponents() { return *entity->getArgument(6); } void IfcPixelTexture::setColourComponents(IfcInteger v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } -std::vector /*[1:?]*/ IfcPixelTexture::Pixel() { throw; /* Not implemented argument*/ } -void IfcPixelTexture::setPixel(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { throw; } } +std::vector< char[32] > /*[1:?]*/ IfcPixelTexture::Pixel() { throw; /* Not implemented argument*/ } +void IfcPixelTexture::setPixel(std::vector< char[32] > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { throw; } } bool IfcPixelTexture::is(Type::Enum v) const { return v == Type::IfcPixelTexture || IfcSurfaceTexture::is(v); } Type::Enum IfcPixelTexture::type() const { return Type::IfcPixelTexture; } Type::Enum IfcPixelTexture::Class() { return Type::IfcPixelTexture; } IfcPixelTexture::IfcPixelTexture(IfcAbstractEntityPtr e) { if (!is(Type::IfcPixelTexture)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPixelTexture::IfcPixelTexture(bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcInteger v5_Width, IfcInteger v6_Height, IfcInteger v7_ColourComponents, std::vector /*[1:?]*/ v8_Pixel) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RepeatS)); e->setArgument(1,(v2_RepeatT)); e->setArgument(2,v3_TextureType,IfcSurfaceTextureEnum::ToString(v3_TextureType)); e->setArgument(3,(v4_TextureTransform)); e->setArgument(4,(v5_Width)); e->setArgument(5,(v6_Height)); e->setArgument(6,(v7_ColourComponents)); entity = e; EntityBuffer::Add(this); } +IfcPixelTexture::IfcPixelTexture(bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcInteger v5_Width, IfcInteger v6_Height, IfcInteger v7_ColourComponents, std::vector< char[32] > /*[1:?]*/ v8_Pixel) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RepeatS)); e->setArgument(1,(v2_RepeatT)); e->setArgument(2,v3_TextureType,IfcSurfaceTextureEnum::ToString(v3_TextureType)); e->setArgument(3,(v4_TextureTransform)); e->setArgument(4,(v5_Width)); e->setArgument(5,(v6_Height)); e->setArgument(6,(v7_ColourComponents)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPlacement IfcCartesianPoint* IfcPlacement::Location() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcPlacement::setLocation(IfcCartesianPoint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -8650,7 +8650,7 @@ bool IfcPlate::is(Type::Enum v) const { return v == Type::IfcPlate || IfcBuildin Type::Enum IfcPlate::type() const { return Type::IfcPlate; } Type::Enum IfcPlate::Class() { return Type::IfcPlate; } IfcPlate::IfcPlate(IfcAbstractEntityPtr e) { if (!is(Type::IfcPlate)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPlate::IfcPlate(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcPlate::IfcPlate(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPlateType IfcPlateTypeEnum::IfcPlateTypeEnum IfcPlateType::PredefinedType() { return IfcPlateTypeEnum::FromString(*entity->getArgument(9)); } void IfcPlateType::setPredefinedType(IfcPlateTypeEnum::IfcPlateTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcPlateTypeEnum::ToString(v)); } @@ -8658,7 +8658,7 @@ bool IfcPlateType::is(Type::Enum v) const { return v == Type::IfcPlateType || If Type::Enum IfcPlateType::type() const { return Type::IfcPlateType; } Type::Enum IfcPlateType::Class() { return Type::IfcPlateType; } IfcPlateType::IfcPlateType(IfcAbstractEntityPtr e) { if (!is(Type::IfcPlateType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPlateType::IfcPlateType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPlateTypeEnum::IfcPlateTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPlateTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcPlateType::IfcPlateType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPlateTypeEnum::IfcPlateTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPlateTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPoint bool IfcPoint::is(Type::Enum v) const { return v == Type::IfcPoint || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcPoint::type() const { return Type::IfcPoint; } @@ -8687,13 +8687,13 @@ Type::Enum IfcPointOnSurface::Class() { return Type::IfcPointOnSurface; } IfcPointOnSurface::IfcPointOnSurface(IfcAbstractEntityPtr e) { if (!is(Type::IfcPointOnSurface)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcPointOnSurface::IfcPointOnSurface(IfcSurface* v1_BasisSurface, IfcParameterValue v2_PointParameterU, IfcParameterValue v3_PointParameterV) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_BasisSurface)); e->setArgument(1,(v2_PointParameterU)); e->setArgument(2,(v3_PointParameterV)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPolyLoop -SHARED_PTR< IfcTemplatedEntityList > IfcPolyLoop::Polygon() { RETURN_AS_LIST(IfcCartesianPoint,0) } -void IfcPolyLoop::setPolygon(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > IfcPolyLoop::Polygon() { RETURN_AS_LIST(IfcCartesianPoint,0) } +void IfcPolyLoop::setPolygon(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcPolyLoop::is(Type::Enum v) const { return v == Type::IfcPolyLoop || IfcLoop::is(v); } Type::Enum IfcPolyLoop::type() const { return Type::IfcPolyLoop; } Type::Enum IfcPolyLoop::Class() { return Type::IfcPolyLoop; } IfcPolyLoop::IfcPolyLoop(IfcAbstractEntityPtr e) { if (!is(Type::IfcPolyLoop)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPolyLoop::IfcPolyLoop(SHARED_PTR< IfcTemplatedEntityList > v1_Polygon) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Polygon)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcPolyLoop::IfcPolyLoop(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v1_Polygon) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Polygon)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPolygonalBoundedHalfSpace IfcAxis2Placement3D* IfcPolygonalBoundedHalfSpace::Position() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcPolygonalBoundedHalfSpace::setPosition(IfcAxis2Placement3D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -8705,13 +8705,13 @@ Type::Enum IfcPolygonalBoundedHalfSpace::Class() { return Type::IfcPolygonalBoun IfcPolygonalBoundedHalfSpace::IfcPolygonalBoundedHalfSpace(IfcAbstractEntityPtr e) { if (!is(Type::IfcPolygonalBoundedHalfSpace)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcPolygonalBoundedHalfSpace::IfcPolygonalBoundedHalfSpace(IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, IfcAxis2Placement3D* v3_Position, IfcBoundedCurve* v4_PolygonalBoundary) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_BaseSurface)); e->setArgument(1,(v2_AgreementFlag)); e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_PolygonalBoundary)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPolyline -SHARED_PTR< IfcTemplatedEntityList > IfcPolyline::Points() { RETURN_AS_LIST(IfcCartesianPoint,0) } -void IfcPolyline::setPoints(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > IfcPolyline::Points() { RETURN_AS_LIST(IfcCartesianPoint,0) } +void IfcPolyline::setPoints(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcPolyline::is(Type::Enum v) const { return v == Type::IfcPolyline || IfcBoundedCurve::is(v); } Type::Enum IfcPolyline::type() const { return Type::IfcPolyline; } Type::Enum IfcPolyline::Class() { return Type::IfcPolyline; } IfcPolyline::IfcPolyline(IfcAbstractEntityPtr e) { if (!is(Type::IfcPolyline)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPolyline::IfcPolyline(SHARED_PTR< IfcTemplatedEntityList > v1_Points) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Points)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcPolyline::IfcPolyline(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v1_Points) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Points)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPort IfcRelConnectsPortToElement::list IfcPort::ContainedIn() { RETURN_INVERSE(IfcRelConnectsPortToElement) } IfcRelConnectsPorts::list IfcPort::ConnectedFrom() { RETURN_INVERSE(IfcRelConnectsPorts) } @@ -8720,14 +8720,14 @@ bool IfcPort::is(Type::Enum v) const { return v == Type::IfcPort || IfcProduct:: Type::Enum IfcPort::type() const { return Type::IfcPort; } Type::Enum IfcPort::Class() { return Type::IfcPort; } IfcPort::IfcPort(IfcAbstractEntityPtr e) { if (!is(Type::IfcPort)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPort::IfcPort(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } +IfcPort::IfcPort(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPostalAddress bool IfcPostalAddress::hasInternalLocation() { return !entity->getArgument(3)->isNull(); } IfcLabel IfcPostalAddress::InternalLocation() { return *entity->getArgument(3); } void IfcPostalAddress::setInternalLocation(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } bool IfcPostalAddress::hasAddressLines() { return !entity->getArgument(4)->isNull(); } -std::vector /*[1:?]*/ IfcPostalAddress::AddressLines() { return *entity->getArgument(4); } -void IfcPostalAddress::setAddressLines(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcPostalAddress::AddressLines() { return *entity->getArgument(4); } +void IfcPostalAddress::setAddressLines(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } bool IfcPostalAddress::hasPostalBox() { return !entity->getArgument(5)->isNull(); } IfcLabel IfcPostalAddress::PostalBox() { return *entity->getArgument(5); } void IfcPostalAddress::setPostalBox(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -8747,7 +8747,7 @@ bool IfcPostalAddress::is(Type::Enum v) const { return v == Type::IfcPostalAddre Type::Enum IfcPostalAddress::type() const { return Type::IfcPostalAddress; } Type::Enum IfcPostalAddress::Class() { return Type::IfcPostalAddress; } IfcPostalAddress::IfcPostalAddress(IfcAbstractEntityPtr e) { if (!is(Type::IfcPostalAddress)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPostalAddress::IfcPostalAddress(optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose, optional v4_InternalLocation, optional /*[1:?]*/> v5_AddressLines, optional v6_PostalBox, optional v7_Town, optional v8_Region, optional v9_PostalCode, optional v10_Country) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; if (v4_InternalLocation) { e->setArgument(3,(*v4_InternalLocation)); } else { e->setArgument(3); } ; if (v5_AddressLines) { e->setArgument(4,(*v5_AddressLines)); } else { e->setArgument(4); } ; if (v6_PostalBox) { e->setArgument(5,(*v6_PostalBox)); } else { e->setArgument(5); } ; if (v7_Town) { e->setArgument(6,(*v7_Town)); } else { e->setArgument(6); } ; if (v8_Region) { e->setArgument(7,(*v8_Region)); } else { e->setArgument(7); } ; if (v9_PostalCode) { e->setArgument(8,(*v9_PostalCode)); } else { e->setArgument(8); } ; if (v10_Country) { e->setArgument(9,(*v10_Country)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcPostalAddress::IfcPostalAddress(optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose, optional< IfcLabel > v4_InternalLocation, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_AddressLines, optional< IfcLabel > v6_PostalBox, optional< IfcLabel > v7_Town, optional< IfcLabel > v8_Region, optional< IfcLabel > v9_PostalCode, optional< IfcLabel > v10_Country) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; if (v4_InternalLocation) { e->setArgument(3,(*v4_InternalLocation)); } else { e->setArgument(3); } ; if (v5_AddressLines) { e->setArgument(4,(*v5_AddressLines)); } else { e->setArgument(4); } ; if (v6_PostalBox) { e->setArgument(5,(*v6_PostalBox)); } else { e->setArgument(5); } ; if (v7_Town) { e->setArgument(6,(*v7_Town)); } else { e->setArgument(6); } ; if (v8_Region) { e->setArgument(7,(*v8_Region)); } else { e->setArgument(7); } ; if (v9_PostalCode) { e->setArgument(8,(*v9_PostalCode)); } else { e->setArgument(8); } ; if (v10_Country) { e->setArgument(9,(*v10_Country)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPreDefinedColour bool IfcPreDefinedColour::is(Type::Enum v) const { return v == Type::IfcPreDefinedColour || IfcPreDefinedItem::is(v); } Type::Enum IfcPreDefinedColour::type() const { return Type::IfcPreDefinedColour; } @@ -8804,8 +8804,8 @@ void IfcPresentationLayerAssignment::setName(IfcLabel v) { if ( ! entity->isWrit bool IfcPresentationLayerAssignment::hasDescription() { return !entity->getArgument(1)->isNull(); } IfcText IfcPresentationLayerAssignment::Description() { return *entity->getArgument(1); } void IfcPresentationLayerAssignment::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcPresentationLayerAssignment::AssignedItems() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcPresentationLayerAssignment::setAssignedItems(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPresentationLayerAssignment::AssignedItems() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcPresentationLayerAssignment::setAssignedItems(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcPresentationLayerAssignment::hasIdentifier() { return !entity->getArgument(3)->isNull(); } IfcIdentifier IfcPresentationLayerAssignment::Identifier() { return *entity->getArgument(3); } void IfcPresentationLayerAssignment::setIdentifier(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -8813,7 +8813,7 @@ bool IfcPresentationLayerAssignment::is(Type::Enum v) const { return v == Type:: Type::Enum IfcPresentationLayerAssignment::type() const { return Type::IfcPresentationLayerAssignment; } Type::Enum IfcPresentationLayerAssignment::Class() { return Type::IfcPresentationLayerAssignment; } IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(IfcAbstractEntityPtr e) { if (!is(Type::IfcPresentationLayerAssignment)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(IfcLabel v1_Name, optional v2_Description, IfcEntities v3_AssignedItems, optional v4_Identifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_AssignedItems)); if (v4_Identifier) { e->setArgument(3,(*v4_Identifier)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPresentationLayerAssignment::IfcPresentationLayerAssignment(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcEntities v3_AssignedItems, optional< IfcIdentifier > v4_Identifier) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_AssignedItems)); if (v4_Identifier) { e->setArgument(3,(*v4_Identifier)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPresentationLayerWithStyle bool IfcPresentationLayerWithStyle::LayerOn() { return *entity->getArgument(4); } void IfcPresentationLayerWithStyle::setLayerOn(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -8821,13 +8821,13 @@ bool IfcPresentationLayerWithStyle::LayerFrozen() { return *entity->getArgument( void IfcPresentationLayerWithStyle::setLayerFrozen(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcPresentationLayerWithStyle::LayerBlocked() { return *entity->getArgument(6); } void IfcPresentationLayerWithStyle::setLayerBlocked(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcPresentationLayerWithStyle::LayerStyles() { RETURN_AS_LIST(IfcAbstractSelect,7) } -void IfcPresentationLayerWithStyle::setLayerStyles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPresentationLayerWithStyle::LayerStyles() { RETURN_AS_LIST(IfcAbstractSelect,7) } +void IfcPresentationLayerWithStyle::setLayerStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } bool IfcPresentationLayerWithStyle::is(Type::Enum v) const { return v == Type::IfcPresentationLayerWithStyle || IfcPresentationLayerAssignment::is(v); } Type::Enum IfcPresentationLayerWithStyle::type() const { return Type::IfcPresentationLayerWithStyle; } Type::Enum IfcPresentationLayerWithStyle::Class() { return Type::IfcPresentationLayerWithStyle; } IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcPresentationLayerWithStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(IfcLabel v1_Name, optional v2_Description, IfcEntities v3_AssignedItems, optional v4_Identifier, bool v5_LayerOn, bool v6_LayerFrozen, bool v7_LayerBlocked, IfcEntities v8_LayerStyles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_AssignedItems)); if (v4_Identifier) { e->setArgument(3,(*v4_Identifier)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_LayerOn)); e->setArgument(5,(v6_LayerFrozen)); e->setArgument(6,(v7_LayerBlocked)); e->setArgument(7,(v8_LayerStyles)); entity = e; EntityBuffer::Add(this); } +IfcPresentationLayerWithStyle::IfcPresentationLayerWithStyle(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcEntities v3_AssignedItems, optional< IfcIdentifier > v4_Identifier, bool v5_LayerOn, bool v6_LayerFrozen, bool v7_LayerBlocked, IfcEntities v8_LayerStyles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_AssignedItems)); if (v4_Identifier) { e->setArgument(3,(*v4_Identifier)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_LayerOn)); e->setArgument(5,(v6_LayerFrozen)); e->setArgument(6,(v7_LayerBlocked)); e->setArgument(7,(v8_LayerStyles)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPresentationStyle bool IfcPresentationStyle::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcPresentationStyle::Name() { return *entity->getArgument(0); } @@ -8836,10 +8836,10 @@ bool IfcPresentationStyle::is(Type::Enum v) const { return v == Type::IfcPresent Type::Enum IfcPresentationStyle::type() const { return Type::IfcPresentationStyle; } Type::Enum IfcPresentationStyle::Class() { return Type::IfcPresentationStyle; } IfcPresentationStyle::IfcPresentationStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcPresentationStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPresentationStyle::IfcPresentationStyle(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcPresentationStyle::IfcPresentationStyle(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPresentationStyleAssignment -SHARED_PTR< IfcTemplatedEntityList > IfcPresentationStyleAssignment::Styles() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcPresentationStyleAssignment::setStyles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPresentationStyleAssignment::Styles() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcPresentationStyleAssignment::setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcPresentationStyleAssignment::is(Type::Enum v) const { return v == Type::IfcPresentationStyleAssignment; } Type::Enum IfcPresentationStyleAssignment::type() const { return Type::IfcPresentationStyleAssignment; } Type::Enum IfcPresentationStyleAssignment::Class() { return Type::IfcPresentationStyleAssignment; } @@ -8857,7 +8857,7 @@ bool IfcProcedure::is(Type::Enum v) const { return v == Type::IfcProcedure || If Type::Enum IfcProcedure::type() const { return Type::IfcProcedure; } Type::Enum IfcProcedure::Class() { return Type::IfcProcedure; } IfcProcedure::IfcProcedure(IfcAbstractEntityPtr e) { if (!is(Type::IfcProcedure)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProcedure::IfcProcedure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_ProcedureID, IfcProcedureTypeEnum::IfcProcedureTypeEnum v7_ProcedureType, optional v8_UserDefinedProcedureType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ProcedureID)); e->setArgument(6,v7_ProcedureType,IfcProcedureTypeEnum::ToString(v7_ProcedureType)); if (v8_UserDefinedProcedureType) { e->setArgument(7,(*v8_UserDefinedProcedureType)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcProcedure::IfcProcedure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_ProcedureID, IfcProcedureTypeEnum::IfcProcedureTypeEnum v7_ProcedureType, optional< IfcLabel > v8_UserDefinedProcedureType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ProcedureID)); e->setArgument(6,v7_ProcedureType,IfcProcedureTypeEnum::ToString(v7_ProcedureType)); if (v8_UserDefinedProcedureType) { e->setArgument(7,(*v8_UserDefinedProcedureType)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProcess IfcRelAssignsToProcess::list IfcProcess::OperatesOn() { RETURN_INVERSE(IfcRelAssignsToProcess) } IfcRelSequence::list IfcProcess::IsSuccessorFrom() { RETURN_INVERSE(IfcRelSequence) } @@ -8866,7 +8866,7 @@ bool IfcProcess::is(Type::Enum v) const { return v == Type::IfcProcess || IfcObj Type::Enum IfcProcess::type() const { return Type::IfcProcess; } Type::Enum IfcProcess::Class() { return Type::IfcProcess; } IfcProcess::IfcProcess(IfcAbstractEntityPtr e) { if (!is(Type::IfcProcess)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProcess::IfcProcess(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcProcess::IfcProcess(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProduct bool IfcProduct::hasObjectPlacement() { return !entity->getArgument(5)->isNull(); } IfcObjectPlacement* IfcProduct::ObjectPlacement() { return reinterpret_pointer_cast(*entity->getArgument(5)); } @@ -8879,7 +8879,7 @@ bool IfcProduct::is(Type::Enum v) const { return v == Type::IfcProduct || IfcObj Type::Enum IfcProduct::type() const { return Type::IfcProduct; } Type::Enum IfcProduct::Class() { return Type::IfcProduct; } IfcProduct::IfcProduct(IfcAbstractEntityPtr e) { if (!is(Type::IfcProduct)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProduct::IfcProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } +IfcProduct::IfcProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProductDefinitionShape IfcProduct::list IfcProductDefinitionShape::ShapeOfProduct() { RETURN_INVERSE(IfcProduct) } IfcShapeAspect::list IfcProductDefinitionShape::HasShapeAspects() { RETURN_INVERSE(IfcShapeAspect) } @@ -8887,7 +8887,7 @@ bool IfcProductDefinitionShape::is(Type::Enum v) const { return v == Type::IfcPr Type::Enum IfcProductDefinitionShape::type() const { return Type::IfcProductDefinitionShape; } Type::Enum IfcProductDefinitionShape::Class() { return Type::IfcProductDefinitionShape; } IfcProductDefinitionShape::IfcProductDefinitionShape(IfcAbstractEntityPtr e) { if (!is(Type::IfcProductDefinitionShape)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProductDefinitionShape::IfcProductDefinitionShape(optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcProductDefinitionShape::IfcProductDefinitionShape(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProductRepresentation bool IfcProductRepresentation::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcProductRepresentation::Name() { return *entity->getArgument(0); } @@ -8895,13 +8895,13 @@ void IfcProductRepresentation::setName(IfcLabel v) { if ( ! entity->isWritable() bool IfcProductRepresentation::hasDescription() { return !entity->getArgument(1)->isNull(); } IfcText IfcProductRepresentation::Description() { return *entity->getArgument(1); } void IfcProductRepresentation::setDescription(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcProductRepresentation::Representations() { RETURN_AS_LIST(IfcRepresentation,2) } -void IfcProductRepresentation::setRepresentations(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > IfcProductRepresentation::Representations() { RETURN_AS_LIST(IfcRepresentation,2) } +void IfcProductRepresentation::setRepresentations(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcProductRepresentation::is(Type::Enum v) const { return v == Type::IfcProductRepresentation; } Type::Enum IfcProductRepresentation::type() const { return Type::IfcProductRepresentation; } Type::Enum IfcProductRepresentation::Class() { return Type::IfcProductRepresentation; } IfcProductRepresentation::IfcProductRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcProductRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProductRepresentation::IfcProductRepresentation(optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcProductRepresentation::IfcProductRepresentation(optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Representations)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProductsOfCombustionProperties bool IfcProductsOfCombustionProperties::hasSpecificHeatCapacity() { return !entity->getArgument(1)->isNull(); } IfcSpecificHeatCapacityMeasure IfcProductsOfCombustionProperties::SpecificHeatCapacity() { return *entity->getArgument(1); } @@ -8919,7 +8919,7 @@ bool IfcProductsOfCombustionProperties::is(Type::Enum v) const { return v == Typ Type::Enum IfcProductsOfCombustionProperties::type() const { return Type::IfcProductsOfCombustionProperties; } Type::Enum IfcProductsOfCombustionProperties::Class() { return Type::IfcProductsOfCombustionProperties; } IfcProductsOfCombustionProperties::IfcProductsOfCombustionProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcProductsOfCombustionProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProductsOfCombustionProperties::IfcProductsOfCombustionProperties(IfcMaterial* v1_Material, optional v2_SpecificHeatCapacity, optional v3_N20Content, optional v4_COContent, optional v5_CO2Content) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_SpecificHeatCapacity) { e->setArgument(1,(*v2_SpecificHeatCapacity)); } else { e->setArgument(1); } ; if (v3_N20Content) { e->setArgument(2,(*v3_N20Content)); } else { e->setArgument(2); } ; if (v4_COContent) { e->setArgument(3,(*v4_COContent)); } else { e->setArgument(3); } ; if (v5_CO2Content) { e->setArgument(4,(*v5_CO2Content)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcProductsOfCombustionProperties::IfcProductsOfCombustionProperties(IfcMaterial* v1_Material, optional< IfcSpecificHeatCapacityMeasure > v2_SpecificHeatCapacity, optional< IfcPositiveRatioMeasure > v3_N20Content, optional< IfcPositiveRatioMeasure > v4_COContent, optional< IfcPositiveRatioMeasure > v5_CO2Content) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_SpecificHeatCapacity) { e->setArgument(1,(*v2_SpecificHeatCapacity)); } else { e->setArgument(1); } ; if (v3_N20Content) { e->setArgument(2,(*v3_N20Content)); } else { e->setArgument(2); } ; if (v4_COContent) { e->setArgument(3,(*v4_COContent)); } else { e->setArgument(3); } ; if (v5_CO2Content) { e->setArgument(4,(*v5_CO2Content)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProfileDef IfcProfileTypeEnum::IfcProfileTypeEnum IfcProfileDef::ProfileType() { return IfcProfileTypeEnum::FromString(*entity->getArgument(0)); } void IfcProfileDef::setProfileType(IfcProfileTypeEnum::IfcProfileTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcProfileTypeEnum::ToString(v)); } @@ -8930,7 +8930,7 @@ bool IfcProfileDef::is(Type::Enum v) const { return v == Type::IfcProfileDef; } Type::Enum IfcProfileDef::type() const { return Type::IfcProfileDef; } Type::Enum IfcProfileDef::Class() { return Type::IfcProfileDef; } IfcProfileDef::IfcProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProfileDef::IfcProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcProfileDef::IfcProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProfileProperties bool IfcProfileProperties::hasProfileName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcProfileProperties::ProfileName() { return *entity->getArgument(0); } @@ -8942,7 +8942,7 @@ bool IfcProfileProperties::is(Type::Enum v) const { return v == Type::IfcProfile Type::Enum IfcProfileProperties::type() const { return Type::IfcProfileProperties; } Type::Enum IfcProfileProperties::Class() { return Type::IfcProfileProperties; } IfcProfileProperties::IfcProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProfileProperties::IfcProfileProperties(optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); entity = e; EntityBuffer::Add(this); } +IfcProfileProperties::IfcProfileProperties(optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProject bool IfcProject::hasLongName() { return !entity->getArgument(5)->isNull(); } IfcLabel IfcProject::LongName() { return *entity->getArgument(5); } @@ -8950,15 +8950,15 @@ void IfcProject::setLongName(IfcLabel v) { if ( ! entity->isWritable() ) { entit bool IfcProject::hasPhase() { return !entity->getArgument(6)->isNull(); } IfcLabel IfcProject::Phase() { return *entity->getArgument(6); } void IfcProject::setPhase(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcProject::RepresentationContexts() { RETURN_AS_LIST(IfcRepresentationContext,7) } -void IfcProject::setRepresentationContexts(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > IfcProject::RepresentationContexts() { RETURN_AS_LIST(IfcRepresentationContext,7) } +void IfcProject::setRepresentationContexts(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } IfcUnitAssignment* IfcProject::UnitsInContext() { return reinterpret_pointer_cast(*entity->getArgument(8)); } void IfcProject::setUnitsInContext(IfcUnitAssignment* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } bool IfcProject::is(Type::Enum v) const { return v == Type::IfcProject || IfcObject::is(v); } Type::Enum IfcProject::type() const { return Type::IfcProject; } Type::Enum IfcProject::Class() { return Type::IfcProject; } IfcProject::IfcProject(IfcAbstractEntityPtr e) { if (!is(Type::IfcProject)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProject::IfcProject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_LongName, optional v7_Phase, SHARED_PTR< IfcTemplatedEntityList > v8_RepresentationContexts, IfcUnitAssignment* v9_UnitsInContext) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_LongName) { e->setArgument(5,(*v6_LongName)); } else { e->setArgument(5); } ; if (v7_Phase) { e->setArgument(6,(*v7_Phase)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_RepresentationContexts)->generalize()); e->setArgument(8,(v9_UnitsInContext)); entity = e; EntityBuffer::Add(this); } +IfcProject::IfcProject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcLabel > v6_LongName, optional< IfcLabel > v7_Phase, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > v8_RepresentationContexts, IfcUnitAssignment* v9_UnitsInContext) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_LongName) { e->setArgument(5,(*v6_LongName)); } else { e->setArgument(5); } ; if (v7_Phase) { e->setArgument(6,(*v7_Phase)); } else { e->setArgument(6); } ; e->setArgument(7,(v8_RepresentationContexts)->generalize()); e->setArgument(8,(v9_UnitsInContext)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProjectOrder IfcIdentifier IfcProjectOrder::ID() { return *entity->getArgument(5); } void IfcProjectOrder::setID(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -8971,29 +8971,29 @@ bool IfcProjectOrder::is(Type::Enum v) const { return v == Type::IfcProjectOrder Type::Enum IfcProjectOrder::type() const { return Type::IfcProjectOrder; } Type::Enum IfcProjectOrder::Class() { return Type::IfcProjectOrder; } IfcProjectOrder::IfcProjectOrder(IfcAbstractEntityPtr e) { if (!is(Type::IfcProjectOrder)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProjectOrder::IfcProjectOrder(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_ID, IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum v7_PredefinedType, optional v8_Status) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ID)); e->setArgument(6,v7_PredefinedType,IfcProjectOrderTypeEnum::ToString(v7_PredefinedType)); if (v8_Status) { e->setArgument(7,(*v8_Status)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcProjectOrder::IfcProjectOrder(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_ID, IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum v7_PredefinedType, optional< IfcLabel > v8_Status) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ID)); e->setArgument(6,v7_PredefinedType,IfcProjectOrderTypeEnum::ToString(v7_PredefinedType)); if (v8_Status) { e->setArgument(7,(*v8_Status)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProjectOrderRecord -SHARED_PTR< IfcTemplatedEntityList > IfcProjectOrderRecord::Records() { RETURN_AS_LIST(IfcRelAssignsToProjectOrder,5) } -void IfcProjectOrderRecord::setRecords(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > IfcProjectOrderRecord::Records() { RETURN_AS_LIST(IfcRelAssignsToProjectOrder,5) } +void IfcProjectOrderRecord::setRecords(SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum IfcProjectOrderRecord::PredefinedType() { return IfcProjectOrderRecordTypeEnum::FromString(*entity->getArgument(6)); } void IfcProjectOrderRecord::setPredefinedType(IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v,IfcProjectOrderRecordTypeEnum::ToString(v)); } bool IfcProjectOrderRecord::is(Type::Enum v) const { return v == Type::IfcProjectOrderRecord || IfcControl::is(v); } Type::Enum IfcProjectOrderRecord::type() const { return Type::IfcProjectOrderRecord; } Type::Enum IfcProjectOrderRecord::Class() { return Type::IfcProjectOrderRecord; } IfcProjectOrderRecord::IfcProjectOrderRecord(IfcAbstractEntityPtr e) { if (!is(Type::IfcProjectOrderRecord)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProjectOrderRecord::IfcProjectOrderRecord(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, SHARED_PTR< IfcTemplatedEntityList > v6_Records, IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v7_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Records)->generalize()); e->setArgument(6,v7_PredefinedType,IfcProjectOrderRecordTypeEnum::ToString(v7_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcProjectOrderRecord::IfcProjectOrderRecord(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > v6_Records, IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v7_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Records)->generalize()); e->setArgument(6,v7_PredefinedType,IfcProjectOrderRecordTypeEnum::ToString(v7_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProjectionCurve bool IfcProjectionCurve::is(Type::Enum v) const { return v == Type::IfcProjectionCurve || IfcAnnotationCurveOccurrence::is(v); } Type::Enum IfcProjectionCurve::type() const { return Type::IfcProjectionCurve; } Type::Enum IfcProjectionCurve::Class() { return Type::IfcProjectionCurve; } IfcProjectionCurve::IfcProjectionCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcProjectionCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProjectionCurve::IfcProjectionCurve(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcProjectionCurve::IfcProjectionCurve(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProjectionElement bool IfcProjectionElement::is(Type::Enum v) const { return v == Type::IfcProjectionElement || IfcFeatureElementAddition::is(v); } Type::Enum IfcProjectionElement::type() const { return Type::IfcProjectionElement; } Type::Enum IfcProjectionElement::Class() { return Type::IfcProjectionElement; } IfcProjectionElement::IfcProjectionElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcProjectionElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProjectionElement::IfcProjectionElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcProjectionElement::IfcProjectionElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProperty IfcIdentifier IfcProperty::Name() { return *entity->getArgument(0); } void IfcProperty::setName(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -9007,7 +9007,7 @@ bool IfcProperty::is(Type::Enum v) const { return v == Type::IfcProperty; } Type::Enum IfcProperty::type() const { return Type::IfcProperty; } Type::Enum IfcProperty::Class() { return Type::IfcProperty; } IfcProperty::IfcProperty(IfcAbstractEntityPtr e) { if (!is(Type::IfcProperty)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProperty::IfcProperty(IfcIdentifier v1_Name, optional v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcProperty::IfcProperty(IfcIdentifier v1_Name, optional< IfcText > v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyBoundedValue bool IfcPropertyBoundedValue::hasUpperBoundValue() { return !entity->getArgument(2)->isNull(); } IfcValue IfcPropertyBoundedValue::UpperBoundValue() { return *entity->getArgument(2); } @@ -9022,12 +9022,12 @@ bool IfcPropertyBoundedValue::is(Type::Enum v) const { return v == Type::IfcProp Type::Enum IfcPropertyBoundedValue::type() const { return Type::IfcPropertyBoundedValue; } Type::Enum IfcPropertyBoundedValue::Class() { return Type::IfcPropertyBoundedValue; } IfcPropertyBoundedValue::IfcPropertyBoundedValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyBoundedValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyBoundedValue::IfcPropertyBoundedValue(IfcIdentifier v1_Name, optional v2_Description, optional v3_UpperBoundValue, optional v4_LowerBoundValue, optional v5_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UpperBoundValue) { e->setArgument(2,(*v3_UpperBoundValue)); } else { e->setArgument(2); } ; if (v4_LowerBoundValue) { e->setArgument(3,(*v4_LowerBoundValue)); } else { e->setArgument(3); } ; if (v5_Unit) { e->setArgument(4,(*v5_Unit)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyBoundedValue::IfcPropertyBoundedValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcValue > v3_UpperBoundValue, optional< IfcValue > v4_LowerBoundValue, optional< IfcUnit > v5_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UpperBoundValue) { e->setArgument(2,(*v3_UpperBoundValue)); } else { e->setArgument(2); } ; if (v4_LowerBoundValue) { e->setArgument(3,(*v4_LowerBoundValue)); } else { e->setArgument(3); } ; if (v5_Unit) { e->setArgument(4,(*v5_Unit)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyConstraintRelationship IfcConstraint* IfcPropertyConstraintRelationship::RelatingConstraint() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcPropertyConstraintRelationship::setRelatingConstraint(IfcConstraint* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyConstraintRelationship::RelatedProperties() { RETURN_AS_LIST(IfcProperty,1) } -void IfcPropertyConstraintRelationship::setRelatedProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcPropertyConstraintRelationship::RelatedProperties() { RETURN_AS_LIST(IfcProperty,1) } +void IfcPropertyConstraintRelationship::setRelatedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcPropertyConstraintRelationship::hasName() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcPropertyConstraintRelationship::Name() { return *entity->getArgument(2); } void IfcPropertyConstraintRelationship::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -9038,14 +9038,14 @@ bool IfcPropertyConstraintRelationship::is(Type::Enum v) const { return v == Typ Type::Enum IfcPropertyConstraintRelationship::type() const { return Type::IfcPropertyConstraintRelationship; } Type::Enum IfcPropertyConstraintRelationship::Class() { return Type::IfcPropertyConstraintRelationship; } IfcPropertyConstraintRelationship::IfcPropertyConstraintRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyConstraintRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyConstraintRelationship::IfcPropertyConstraintRelationship(IfcConstraint* v1_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedProperties, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingConstraint)); e->setArgument(1,(v2_RelatedProperties)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyConstraintRelationship::IfcPropertyConstraintRelationship(IfcConstraint* v1_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v2_RelatedProperties, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_RelatingConstraint)); e->setArgument(1,(v2_RelatedProperties)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyDefinition IfcRelAssociates::list IfcPropertyDefinition::HasAssociations() { RETURN_INVERSE(IfcRelAssociates) } bool IfcPropertyDefinition::is(Type::Enum v) const { return v == Type::IfcPropertyDefinition || IfcRoot::is(v); } Type::Enum IfcPropertyDefinition::type() const { return Type::IfcPropertyDefinition; } Type::Enum IfcPropertyDefinition::Class() { return Type::IfcPropertyDefinition; } IfcPropertyDefinition::IfcPropertyDefinition(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyDefinition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyDefinition::IfcPropertyDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyDefinition::IfcPropertyDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyDependencyRelationship IfcProperty* IfcPropertyDependencyRelationship::DependingProperty() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcPropertyDependencyRelationship::setDependingProperty(IfcProperty* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -9064,10 +9064,10 @@ bool IfcPropertyDependencyRelationship::is(Type::Enum v) const { return v == Typ Type::Enum IfcPropertyDependencyRelationship::type() const { return Type::IfcPropertyDependencyRelationship; } Type::Enum IfcPropertyDependencyRelationship::Class() { return Type::IfcPropertyDependencyRelationship; } IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyDependencyRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(IfcProperty* v1_DependingProperty, IfcProperty* v2_DependantProperty, optional v3_Name, optional v4_Description, optional v5_Expression) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DependingProperty)); e->setArgument(1,(v2_DependantProperty)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_Expression) { e->setArgument(4,(*v5_Expression)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyDependencyRelationship::IfcPropertyDependencyRelationship(IfcProperty* v1_DependingProperty, IfcProperty* v2_DependantProperty, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcText > v5_Expression) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_DependingProperty)); e->setArgument(1,(v2_DependantProperty)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_Expression) { e->setArgument(4,(*v5_Expression)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyEnumeratedValue -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyEnumeratedValue::EnumerationValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcPropertyEnumeratedValue::setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPropertyEnumeratedValue::EnumerationValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcPropertyEnumeratedValue::setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcPropertyEnumeratedValue::hasEnumerationReference() { return !entity->getArgument(3)->isNull(); } IfcPropertyEnumeration* IfcPropertyEnumeratedValue::EnumerationReference() { return reinterpret_pointer_cast(*entity->getArgument(3)); } void IfcPropertyEnumeratedValue::setEnumerationReference(IfcPropertyEnumeration* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9075,12 +9075,12 @@ bool IfcPropertyEnumeratedValue::is(Type::Enum v) const { return v == Type::IfcP Type::Enum IfcPropertyEnumeratedValue::type() const { return Type::IfcPropertyEnumeratedValue; } Type::Enum IfcPropertyEnumeratedValue::Class() { return Type::IfcPropertyEnumeratedValue; } IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyEnumeratedValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_EnumerationValues, IfcPropertyEnumeration* v4_EnumerationReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_EnumerationValues)); e->setArgument(3,(v4_EnumerationReference)); entity = e; EntityBuffer::Add(this); } +IfcPropertyEnumeratedValue::IfcPropertyEnumeratedValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_EnumerationValues, IfcPropertyEnumeration* v4_EnumerationReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_EnumerationValues)); e->setArgument(3,(v4_EnumerationReference)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyEnumeration IfcLabel IfcPropertyEnumeration::Name() { return *entity->getArgument(0); } void IfcPropertyEnumeration::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyEnumeration::EnumerationValues() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcPropertyEnumeration::setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPropertyEnumeration::EnumerationValues() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcPropertyEnumeration::setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcPropertyEnumeration::hasUnit() { return !entity->getArgument(2)->isNull(); } IfcUnit IfcPropertyEnumeration::Unit() { return *entity->getArgument(2); } void IfcPropertyEnumeration::setUnit(IfcUnit v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -9088,10 +9088,10 @@ bool IfcPropertyEnumeration::is(Type::Enum v) const { return v == Type::IfcPrope Type::Enum IfcPropertyEnumeration::type() const { return Type::IfcPropertyEnumeration; } Type::Enum IfcPropertyEnumeration::Class() { return Type::IfcPropertyEnumeration; } IfcPropertyEnumeration::IfcPropertyEnumeration(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyEnumeration)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyEnumeration::IfcPropertyEnumeration(IfcLabel v1_Name, IfcEntities v2_EnumerationValues, optional v3_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); e->setArgument(1,(v2_EnumerationValues)); if (v3_Unit) { e->setArgument(2,(*v3_Unit)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyEnumeration::IfcPropertyEnumeration(IfcLabel v1_Name, IfcEntities v2_EnumerationValues, optional< IfcUnit > v3_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); e->setArgument(1,(v2_EnumerationValues)); if (v3_Unit) { e->setArgument(2,(*v3_Unit)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyListValue -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyListValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcPropertyListValue::setListValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPropertyListValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcPropertyListValue::setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcPropertyListValue::hasUnit() { return !entity->getArgument(3)->isNull(); } IfcUnit IfcPropertyListValue::Unit() { return *entity->getArgument(3); } void IfcPropertyListValue::setUnit(IfcUnit v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9099,7 +9099,7 @@ bool IfcPropertyListValue::is(Type::Enum v) const { return v == Type::IfcPropert Type::Enum IfcPropertyListValue::type() const { return Type::IfcPropertyListValue; } Type::Enum IfcPropertyListValue::Class() { return Type::IfcPropertyListValue; } IfcPropertyListValue::IfcPropertyListValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyListValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyListValue::IfcPropertyListValue(IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_ListValues, optional v4_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ListValues)); if (v4_Unit) { e->setArgument(3,(*v4_Unit)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyListValue::IfcPropertyListValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_ListValues, optional< IfcUnit > v4_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_ListValues)); if (v4_Unit) { e->setArgument(3,(*v4_Unit)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyReferenceValue bool IfcPropertyReferenceValue::hasUsageName() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcPropertyReferenceValue::UsageName() { return *entity->getArgument(2); } @@ -9110,15 +9110,15 @@ bool IfcPropertyReferenceValue::is(Type::Enum v) const { return v == Type::IfcPr Type::Enum IfcPropertyReferenceValue::type() const { return Type::IfcPropertyReferenceValue; } Type::Enum IfcPropertyReferenceValue::Class() { return Type::IfcPropertyReferenceValue; } IfcPropertyReferenceValue::IfcPropertyReferenceValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyReferenceValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyReferenceValue::IfcPropertyReferenceValue(IfcIdentifier v1_Name, optional v2_Description, optional v3_UsageName, IfcObjectReferenceSelect v4_PropertyReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UsageName) { e->setArgument(2,(*v3_UsageName)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_PropertyReference)); entity = e; EntityBuffer::Add(this); } +IfcPropertyReferenceValue::IfcPropertyReferenceValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcLabel > v3_UsageName, IfcObjectReferenceSelect v4_PropertyReference) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UsageName) { e->setArgument(2,(*v3_UsageName)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_PropertyReference)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertySet -SHARED_PTR< IfcTemplatedEntityList > IfcPropertySet::HasProperties() { RETURN_AS_LIST(IfcProperty,4) } -void IfcPropertySet::setHasProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcPropertySet::HasProperties() { RETURN_AS_LIST(IfcProperty,4) } +void IfcPropertySet::setHasProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } bool IfcPropertySet::is(Type::Enum v) const { return v == Type::IfcPropertySet || IfcPropertySetDefinition::is(v); } Type::Enum IfcPropertySet::type() const { return Type::IfcPropertySet; } Type::Enum IfcPropertySet::Class() { return Type::IfcPropertySet; } IfcPropertySet::IfcPropertySet(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertySet)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertySet::IfcPropertySet(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_HasProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_HasProperties)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcPropertySet::IfcPropertySet(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v5_HasProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_HasProperties)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertySetDefinition IfcRelDefinesByProperties::list IfcPropertySetDefinition::PropertyDefinitionOf() { RETURN_INVERSE(IfcRelDefinesByProperties) } IfcTypeObject::list IfcPropertySetDefinition::DefinesType() { RETURN_INVERSE(IfcTypeObject) } @@ -9126,7 +9126,7 @@ bool IfcPropertySetDefinition::is(Type::Enum v) const { return v == Type::IfcPro Type::Enum IfcPropertySetDefinition::type() const { return Type::IfcPropertySetDefinition; } Type::Enum IfcPropertySetDefinition::Class() { return Type::IfcPropertySetDefinition; } IfcPropertySetDefinition::IfcPropertySetDefinition(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertySetDefinition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertySetDefinition::IfcPropertySetDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertySetDefinition::IfcPropertySetDefinition(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertySingleValue bool IfcPropertySingleValue::hasNominalValue() { return !entity->getArgument(2)->isNull(); } IfcValue IfcPropertySingleValue::NominalValue() { return *entity->getArgument(2); } @@ -9138,12 +9138,12 @@ bool IfcPropertySingleValue::is(Type::Enum v) const { return v == Type::IfcPrope Type::Enum IfcPropertySingleValue::type() const { return Type::IfcPropertySingleValue; } Type::Enum IfcPropertySingleValue::Class() { return Type::IfcPropertySingleValue; } IfcPropertySingleValue::IfcPropertySingleValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertySingleValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertySingleValue::IfcPropertySingleValue(IfcIdentifier v1_Name, optional v2_Description, optional v3_NominalValue, optional v4_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_NominalValue) { e->setArgument(2,(*v3_NominalValue)); } else { e->setArgument(2); } ; if (v4_Unit) { e->setArgument(3,(*v4_Unit)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertySingleValue::IfcPropertySingleValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcValue > v3_NominalValue, optional< IfcUnit > v4_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_NominalValue) { e->setArgument(2,(*v3_NominalValue)); } else { e->setArgument(2); } ; if (v4_Unit) { e->setArgument(3,(*v4_Unit)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPropertyTableValue -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyTableValue::DefiningValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcPropertyTableValue::setDefiningValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } -SHARED_PTR< IfcTemplatedEntityList > IfcPropertyTableValue::DefinedValues() { RETURN_AS_LIST(IfcAbstractSelect,3) } -void IfcPropertyTableValue::setDefinedValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPropertyTableValue::DefiningValues() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcPropertyTableValue::setDefiningValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcPropertyTableValue::DefinedValues() { RETURN_AS_LIST(IfcAbstractSelect,3) } +void IfcPropertyTableValue::setDefinedValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } bool IfcPropertyTableValue::hasExpression() { return !entity->getArgument(4)->isNull(); } IfcText IfcPropertyTableValue::Expression() { return *entity->getArgument(4); } void IfcPropertyTableValue::setExpression(IfcText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9157,7 +9157,7 @@ bool IfcPropertyTableValue::is(Type::Enum v) const { return v == Type::IfcProper Type::Enum IfcPropertyTableValue::type() const { return Type::IfcPropertyTableValue; } Type::Enum IfcPropertyTableValue::Class() { return Type::IfcPropertyTableValue; } IfcPropertyTableValue::IfcPropertyTableValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcPropertyTableValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPropertyTableValue::IfcPropertyTableValue(IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_DefiningValues, IfcEntities v4_DefinedValues, optional v5_Expression, optional v6_DefiningUnit, optional v7_DefinedUnit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_DefiningValues)); e->setArgument(3,(v4_DefinedValues)); if (v5_Expression) { e->setArgument(4,(*v5_Expression)); } else { e->setArgument(4); } ; if (v6_DefiningUnit) { e->setArgument(5,(*v6_DefiningUnit)); } else { e->setArgument(5); } ; if (v7_DefinedUnit) { e->setArgument(6,(*v7_DefinedUnit)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcPropertyTableValue::IfcPropertyTableValue(IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_DefiningValues, IfcEntities v4_DefinedValues, optional< IfcText > v5_Expression, optional< IfcUnit > v6_DefiningUnit, optional< IfcUnit > v7_DefinedUnit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_DefiningValues)); e->setArgument(3,(v4_DefinedValues)); if (v5_Expression) { e->setArgument(4,(*v5_Expression)); } else { e->setArgument(4); } ; if (v6_DefiningUnit) { e->setArgument(5,(*v6_DefiningUnit)); } else { e->setArgument(5); } ; if (v7_DefinedUnit) { e->setArgument(6,(*v7_DefinedUnit)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProtectiveDeviceType IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum IfcProtectiveDeviceType::PredefinedType() { return IfcProtectiveDeviceTypeEnum::FromString(*entity->getArgument(9)); } void IfcProtectiveDeviceType::setPredefinedType(IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcProtectiveDeviceTypeEnum::ToString(v)); } @@ -9165,7 +9165,7 @@ bool IfcProtectiveDeviceType::is(Type::Enum v) const { return v == Type::IfcProt Type::Enum IfcProtectiveDeviceType::type() const { return Type::IfcProtectiveDeviceType; } Type::Enum IfcProtectiveDeviceType::Class() { return Type::IfcProtectiveDeviceType; } IfcProtectiveDeviceType::IfcProtectiveDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcProtectiveDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProtectiveDeviceType::IfcProtectiveDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcProtectiveDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcProtectiveDeviceType::IfcProtectiveDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcProtectiveDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcProxy IfcObjectTypeEnum::IfcObjectTypeEnum IfcProxy::ProxyType() { return IfcObjectTypeEnum::FromString(*entity->getArgument(7)); } void IfcProxy::setProxyType(IfcObjectTypeEnum::IfcObjectTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v,IfcObjectTypeEnum::ToString(v)); } @@ -9176,7 +9176,7 @@ bool IfcProxy::is(Type::Enum v) const { return v == Type::IfcProxy || IfcProduct Type::Enum IfcProxy::type() const { return Type::IfcProxy; } Type::Enum IfcProxy::Class() { return Type::IfcProxy; } IfcProxy::IfcProxy(IfcAbstractEntityPtr e) { if (!is(Type::IfcProxy)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcProxy::IfcProxy(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcObjectTypeEnum::IfcObjectTypeEnum v8_ProxyType, optional v9_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_ProxyType,IfcObjectTypeEnum::ToString(v8_ProxyType)); if (v9_Tag) { e->setArgument(8,(*v9_Tag)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcProxy::IfcProxy(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcObjectTypeEnum::IfcObjectTypeEnum v8_ProxyType, optional< IfcLabel > v9_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_ProxyType,IfcObjectTypeEnum::ToString(v8_ProxyType)); if (v9_Tag) { e->setArgument(8,(*v9_Tag)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcPumpType IfcPumpTypeEnum::IfcPumpTypeEnum IfcPumpType::PredefinedType() { return IfcPumpTypeEnum::FromString(*entity->getArgument(9)); } void IfcPumpType::setPredefinedType(IfcPumpTypeEnum::IfcPumpTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcPumpTypeEnum::ToString(v)); } @@ -9184,7 +9184,7 @@ bool IfcPumpType::is(Type::Enum v) const { return v == Type::IfcPumpType || IfcF Type::Enum IfcPumpType::type() const { return Type::IfcPumpType; } Type::Enum IfcPumpType::Class() { return Type::IfcPumpType; } IfcPumpType::IfcPumpType(IfcAbstractEntityPtr e) { if (!is(Type::IfcPumpType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcPumpType::IfcPumpType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPumpTypeEnum::IfcPumpTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPumpTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcPumpType::IfcPumpType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPumpTypeEnum::IfcPumpTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcPumpTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityArea IfcAreaMeasure IfcQuantityArea::AreaValue() { return *entity->getArgument(3); } void IfcQuantityArea::setAreaValue(IfcAreaMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9192,7 +9192,7 @@ bool IfcQuantityArea::is(Type::Enum v) const { return v == Type::IfcQuantityArea Type::Enum IfcQuantityArea::type() const { return Type::IfcQuantityArea; } Type::Enum IfcQuantityArea::Class() { return Type::IfcQuantityArea; } IfcQuantityArea::IfcQuantityArea(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityArea)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityArea::IfcQuantityArea(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcAreaMeasure v4_AreaValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_AreaValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityArea::IfcQuantityArea(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcAreaMeasure v4_AreaValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_AreaValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityCount IfcCountMeasure IfcQuantityCount::CountValue() { return *entity->getArgument(3); } void IfcQuantityCount::setCountValue(IfcCountMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9200,7 +9200,7 @@ bool IfcQuantityCount::is(Type::Enum v) const { return v == Type::IfcQuantityCou Type::Enum IfcQuantityCount::type() const { return Type::IfcQuantityCount; } Type::Enum IfcQuantityCount::Class() { return Type::IfcQuantityCount; } IfcQuantityCount::IfcQuantityCount(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityCount)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityCount::IfcQuantityCount(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcCountMeasure v4_CountValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_CountValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityCount::IfcQuantityCount(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcCountMeasure v4_CountValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_CountValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityLength IfcLengthMeasure IfcQuantityLength::LengthValue() { return *entity->getArgument(3); } void IfcQuantityLength::setLengthValue(IfcLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9208,7 +9208,7 @@ bool IfcQuantityLength::is(Type::Enum v) const { return v == Type::IfcQuantityLe Type::Enum IfcQuantityLength::type() const { return Type::IfcQuantityLength; } Type::Enum IfcQuantityLength::Class() { return Type::IfcQuantityLength; } IfcQuantityLength::IfcQuantityLength(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityLength)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityLength::IfcQuantityLength(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcLengthMeasure v4_LengthValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_LengthValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityLength::IfcQuantityLength(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcLengthMeasure v4_LengthValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_LengthValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityTime IfcTimeMeasure IfcQuantityTime::TimeValue() { return *entity->getArgument(3); } void IfcQuantityTime::setTimeValue(IfcTimeMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9216,7 +9216,7 @@ bool IfcQuantityTime::is(Type::Enum v) const { return v == Type::IfcQuantityTime Type::Enum IfcQuantityTime::type() const { return Type::IfcQuantityTime; } Type::Enum IfcQuantityTime::Class() { return Type::IfcQuantityTime; } IfcQuantityTime::IfcQuantityTime(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityTime)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityTime::IfcQuantityTime(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcTimeMeasure v4_TimeValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_TimeValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityTime::IfcQuantityTime(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcTimeMeasure v4_TimeValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_TimeValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityVolume IfcVolumeMeasure IfcQuantityVolume::VolumeValue() { return *entity->getArgument(3); } void IfcQuantityVolume::setVolumeValue(IfcVolumeMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9224,7 +9224,7 @@ bool IfcQuantityVolume::is(Type::Enum v) const { return v == Type::IfcQuantityVo Type::Enum IfcQuantityVolume::type() const { return Type::IfcQuantityVolume; } Type::Enum IfcQuantityVolume::Class() { return Type::IfcQuantityVolume; } IfcQuantityVolume::IfcQuantityVolume(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityVolume)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityVolume::IfcQuantityVolume(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcVolumeMeasure v4_VolumeValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_VolumeValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityVolume::IfcQuantityVolume(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcVolumeMeasure v4_VolumeValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_VolumeValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcQuantityWeight IfcMassMeasure IfcQuantityWeight::WeightValue() { return *entity->getArgument(3); } void IfcQuantityWeight::setWeightValue(IfcMassMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9232,7 +9232,7 @@ bool IfcQuantityWeight::is(Type::Enum v) const { return v == Type::IfcQuantityWe Type::Enum IfcQuantityWeight::type() const { return Type::IfcQuantityWeight; } Type::Enum IfcQuantityWeight::Class() { return Type::IfcQuantityWeight; } IfcQuantityWeight::IfcQuantityWeight(IfcAbstractEntityPtr e) { if (!is(Type::IfcQuantityWeight)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcQuantityWeight::IfcQuantityWeight(IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcMassMeasure v4_WeightValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_WeightValue)); entity = e; EntityBuffer::Add(this); } +IfcQuantityWeight::IfcQuantityWeight(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcMassMeasure v4_WeightValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Unit)); e->setArgument(3,(v4_WeightValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRadiusDimension bool IfcRadiusDimension::is(Type::Enum v) const { return v == Type::IfcRadiusDimension || IfcDimensionCurveDirectedCallout::is(v); } Type::Enum IfcRadiusDimension::type() const { return Type::IfcRadiusDimension; } @@ -9247,7 +9247,7 @@ bool IfcRailing::is(Type::Enum v) const { return v == Type::IfcRailing || IfcBui Type::Enum IfcRailing::type() const { return Type::IfcRailing; } Type::Enum IfcRailing::Class() { return Type::IfcRailing; } IfcRailing::IfcRailing(IfcAbstractEntityPtr e) { if (!is(Type::IfcRailing)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRailing::IfcRailing(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcRailingTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcRailing::IfcRailing(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcRailingTypeEnum::IfcRailingTypeEnum > v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcRailingTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRailingType IfcRailingTypeEnum::IfcRailingTypeEnum IfcRailingType::PredefinedType() { return IfcRailingTypeEnum::FromString(*entity->getArgument(9)); } void IfcRailingType::setPredefinedType(IfcRailingTypeEnum::IfcRailingTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcRailingTypeEnum::ToString(v)); } @@ -9255,7 +9255,7 @@ bool IfcRailingType::is(Type::Enum v) const { return v == Type::IfcRailingType | Type::Enum IfcRailingType::type() const { return Type::IfcRailingType; } Type::Enum IfcRailingType::Class() { return Type::IfcRailingType; } IfcRailingType::IfcRailingType(IfcAbstractEntityPtr e) { if (!is(Type::IfcRailingType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRailingType::IfcRailingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcRailingTypeEnum::IfcRailingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcRailingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcRailingType::IfcRailingType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcRailingTypeEnum::IfcRailingTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcRailingTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRamp IfcRampTypeEnum::IfcRampTypeEnum IfcRamp::ShapeType() { return IfcRampTypeEnum::FromString(*entity->getArgument(8)); } void IfcRamp::setShapeType(IfcRampTypeEnum::IfcRampTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcRampTypeEnum::ToString(v)); } @@ -9263,13 +9263,13 @@ bool IfcRamp::is(Type::Enum v) const { return v == Type::IfcRamp || IfcBuildingE Type::Enum IfcRamp::type() const { return Type::IfcRamp; } Type::Enum IfcRamp::Class() { return Type::IfcRamp; } IfcRamp::IfcRamp(IfcAbstractEntityPtr e) { if (!is(Type::IfcRamp)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRamp::IfcRamp(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcRampTypeEnum::IfcRampTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcRampTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } +IfcRamp::IfcRamp(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcRampTypeEnum::IfcRampTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcRampTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRampFlight bool IfcRampFlight::is(Type::Enum v) const { return v == Type::IfcRampFlight || IfcBuildingElement::is(v); } Type::Enum IfcRampFlight::type() const { return Type::IfcRampFlight; } Type::Enum IfcRampFlight::Class() { return Type::IfcRampFlight; } IfcRampFlight::IfcRampFlight(IfcAbstractEntityPtr e) { if (!is(Type::IfcRampFlight)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRampFlight::IfcRampFlight(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcRampFlight::IfcRampFlight(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRampFlightType IfcRampFlightTypeEnum::IfcRampFlightTypeEnum IfcRampFlightType::PredefinedType() { return IfcRampFlightTypeEnum::FromString(*entity->getArgument(9)); } void IfcRampFlightType::setPredefinedType(IfcRampFlightTypeEnum::IfcRampFlightTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcRampFlightTypeEnum::ToString(v)); } @@ -9277,15 +9277,15 @@ bool IfcRampFlightType::is(Type::Enum v) const { return v == Type::IfcRampFlight Type::Enum IfcRampFlightType::type() const { return Type::IfcRampFlightType; } Type::Enum IfcRampFlightType::Class() { return Type::IfcRampFlightType; } IfcRampFlightType::IfcRampFlightType(IfcAbstractEntityPtr e) { if (!is(Type::IfcRampFlightType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRampFlightType::IfcRampFlightType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcRampFlightTypeEnum::IfcRampFlightTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcRampFlightTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcRampFlightType::IfcRampFlightType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcRampFlightTypeEnum::IfcRampFlightTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcRampFlightTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRationalBezierCurve -std::vector /*[2:?]*/ IfcRationalBezierCurve::WeightsData() { return *entity->getArgument(5); } -void IfcRationalBezierCurve::setWeightsData(std::vector /*[2:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } +std::vector< double > /*[2:?]*/ IfcRationalBezierCurve::WeightsData() { return *entity->getArgument(5); } +void IfcRationalBezierCurve::setWeightsData(std::vector< double > /*[2:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcRationalBezierCurve::is(Type::Enum v) const { return v == Type::IfcRationalBezierCurve || IfcBezierCurve::is(v); } Type::Enum IfcRationalBezierCurve::type() const { return Type::IfcRationalBezierCurve; } Type::Enum IfcRationalBezierCurve::Class() { return Type::IfcRationalBezierCurve; } IfcRationalBezierCurve::IfcRationalBezierCurve(IfcAbstractEntityPtr e) { if (!is(Type::IfcRationalBezierCurve)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRationalBezierCurve::IfcRationalBezierCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect, std::vector /*[2:?]*/ v6_WeightsData) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); e->setArgument(5,(v6_WeightsData)); entity = e; EntityBuffer::Add(this); } +IfcRationalBezierCurve::IfcRationalBezierCurve(int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect, std::vector< double > /*[2:?]*/ v6_WeightsData) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Degree)); e->setArgument(1,(v2_ControlPointsList)->generalize()); e->setArgument(2,v3_CurveForm,IfcBSplineCurveForm::ToString(v3_CurveForm)); e->setArgument(3,(v4_ClosedCurve)); e->setArgument(4,(v5_SelfIntersect)); e->setArgument(5,(v6_WeightsData)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRectangleHollowProfileDef IfcPositiveLengthMeasure IfcRectangleHollowProfileDef::WallThickness() { return *entity->getArgument(5); } void IfcRectangleHollowProfileDef::setWallThickness(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9299,7 +9299,7 @@ bool IfcRectangleHollowProfileDef::is(Type::Enum v) const { return v == Type::If Type::Enum IfcRectangleHollowProfileDef::type() const { return Type::IfcRectangleHollowProfileDef; } Type::Enum IfcRectangleHollowProfileDef::Class() { return Type::IfcRectangleHollowProfileDef; } IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcRectangleHollowProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_WallThickness, optional v7_InnerFilletRadius, optional v8_OuterFilletRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); e->setArgument(5,(v6_WallThickness)); if (v7_InnerFilletRadius) { e->setArgument(6,(*v7_InnerFilletRadius)); } else { e->setArgument(6); } ; if (v8_OuterFilletRadius) { e->setArgument(7,(*v8_OuterFilletRadius)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcRectangleHollowProfileDef::IfcRectangleHollowProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_WallThickness, optional< IfcPositiveLengthMeasure > v7_InnerFilletRadius, optional< IfcPositiveLengthMeasure > v8_OuterFilletRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); e->setArgument(5,(v6_WallThickness)); if (v7_InnerFilletRadius) { e->setArgument(6,(*v7_InnerFilletRadius)); } else { e->setArgument(6); } ; if (v8_OuterFilletRadius) { e->setArgument(7,(*v8_OuterFilletRadius)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRectangleProfileDef IfcPositiveLengthMeasure IfcRectangleProfileDef::XDim() { return *entity->getArgument(3); } void IfcRectangleProfileDef::setXDim(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -9309,7 +9309,7 @@ bool IfcRectangleProfileDef::is(Type::Enum v) const { return v == Type::IfcRecta Type::Enum IfcRectangleProfileDef::type() const { return Type::IfcRectangleProfileDef; } Type::Enum IfcRectangleProfileDef::Class() { return Type::IfcRectangleProfileDef; } IfcRectangleProfileDef::IfcRectangleProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcRectangleProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRectangleProfileDef::IfcRectangleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); entity = e; EntityBuffer::Add(this); } +IfcRectangleProfileDef::IfcRectangleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRectangularPyramid IfcPositiveLengthMeasure IfcRectangularPyramid::XLength() { return *entity->getArgument(1); } void IfcRectangularPyramid::setXLength(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -9345,8 +9345,8 @@ IfcRectangularTrimmedSurface::IfcRectangularTrimmedSurface(IfcSurface* v1_BasisS // Function implementations for IfcReferencesValueDocument IfcDocumentSelect IfcReferencesValueDocument::ReferencedDocument() { return *entity->getArgument(0); } void IfcReferencesValueDocument::setReferencedDocument(IfcDocumentSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcReferencesValueDocument::ReferencingValues() { RETURN_AS_LIST(IfcAppliedValue,1) } -void IfcReferencesValueDocument::setReferencingValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > IfcReferencesValueDocument::ReferencingValues() { RETURN_AS_LIST(IfcAppliedValue,1) } +void IfcReferencesValueDocument::setReferencingValues(SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcReferencesValueDocument::hasName() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcReferencesValueDocument::Name() { return *entity->getArgument(2); } void IfcReferencesValueDocument::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -9357,17 +9357,17 @@ bool IfcReferencesValueDocument::is(Type::Enum v) const { return v == Type::IfcR Type::Enum IfcReferencesValueDocument::type() const { return Type::IfcReferencesValueDocument; } Type::Enum IfcReferencesValueDocument::Class() { return Type::IfcReferencesValueDocument; } IfcReferencesValueDocument::IfcReferencesValueDocument(IfcAbstractEntityPtr e) { if (!is(Type::IfcReferencesValueDocument)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReferencesValueDocument::IfcReferencesValueDocument(IfcDocumentSelect v1_ReferencedDocument, SHARED_PTR< IfcTemplatedEntityList > v2_ReferencingValues, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ReferencedDocument)); e->setArgument(1,(v2_ReferencingValues)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcReferencesValueDocument::IfcReferencesValueDocument(IfcDocumentSelect v1_ReferencedDocument, SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v2_ReferencingValues, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ReferencedDocument)); e->setArgument(1,(v2_ReferencingValues)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRegularTimeSeries IfcTimeMeasure IfcRegularTimeSeries::TimeStep() { return *entity->getArgument(8); } void IfcRegularTimeSeries::setTimeStep(IfcTimeMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRegularTimeSeries::Values() { RETURN_AS_LIST(IfcTimeSeriesValue,9) } -void IfcRegularTimeSeries::setValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > IfcRegularTimeSeries::Values() { RETURN_AS_LIST(IfcTimeSeriesValue,9) } +void IfcRegularTimeSeries::setValues(SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v->generalize()); } bool IfcRegularTimeSeries::is(Type::Enum v) const { return v == Type::IfcRegularTimeSeries || IfcTimeSeries::is(v); } Type::Enum IfcRegularTimeSeries::type() const { return Type::IfcRegularTimeSeries; } Type::Enum IfcRegularTimeSeries::Class() { return Type::IfcRegularTimeSeries; } IfcRegularTimeSeries::IfcRegularTimeSeries(IfcAbstractEntityPtr e) { if (!is(Type::IfcRegularTimeSeries)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRegularTimeSeries::IfcRegularTimeSeries(IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit, IfcTimeMeasure v9_TimeStep, SHARED_PTR< IfcTemplatedEntityList > v10_Values) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_TimeStep)); e->setArgument(9,(v10_Values)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRegularTimeSeries::IfcRegularTimeSeries(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit, IfcTimeMeasure v9_TimeStep, SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > v10_Values) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_TimeStep)); e->setArgument(9,(v10_Values)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcReinforcementBarProperties IfcAreaMeasure IfcReinforcementBarProperties::TotalCrossSectionArea() { return *entity->getArgument(0); } void IfcReinforcementBarProperties::setTotalCrossSectionArea(IfcAreaMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -9389,18 +9389,18 @@ bool IfcReinforcementBarProperties::is(Type::Enum v) const { return v == Type::I Type::Enum IfcReinforcementBarProperties::type() const { return Type::IfcReinforcementBarProperties; } Type::Enum IfcReinforcementBarProperties::Class() { return Type::IfcReinforcementBarProperties; } IfcReinforcementBarProperties::IfcReinforcementBarProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcReinforcementBarProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReinforcementBarProperties::IfcReinforcementBarProperties(IfcAreaMeasure v1_TotalCrossSectionArea, IfcLabel v2_SteelGrade, optional v3_BarSurface, optional v4_EffectiveDepth, optional v5_NominalBarDiameter, optional v6_BarCount) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TotalCrossSectionArea)); e->setArgument(1,(v2_SteelGrade)); if (v3_BarSurface) { e->setArgument(2,*v3_BarSurface,IfcReinforcingBarSurfaceEnum::ToString(*v3_BarSurface)); } else { e->setArgument(2); } ; if (v4_EffectiveDepth) { e->setArgument(3,(*v4_EffectiveDepth)); } else { e->setArgument(3); } ; if (v5_NominalBarDiameter) { e->setArgument(4,(*v5_NominalBarDiameter)); } else { e->setArgument(4); } ; if (v6_BarCount) { e->setArgument(5,(*v6_BarCount)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcReinforcementBarProperties::IfcReinforcementBarProperties(IfcAreaMeasure v1_TotalCrossSectionArea, IfcLabel v2_SteelGrade, optional< IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum > v3_BarSurface, optional< IfcLengthMeasure > v4_EffectiveDepth, optional< IfcPositiveLengthMeasure > v5_NominalBarDiameter, optional< IfcCountMeasure > v6_BarCount) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TotalCrossSectionArea)); e->setArgument(1,(v2_SteelGrade)); if (v3_BarSurface) { e->setArgument(2,*v3_BarSurface,IfcReinforcingBarSurfaceEnum::ToString(*v3_BarSurface)); } else { e->setArgument(2); } ; if (v4_EffectiveDepth) { e->setArgument(3,(*v4_EffectiveDepth)); } else { e->setArgument(3); } ; if (v5_NominalBarDiameter) { e->setArgument(4,(*v5_NominalBarDiameter)); } else { e->setArgument(4); } ; if (v6_BarCount) { e->setArgument(5,(*v6_BarCount)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcReinforcementDefinitionProperties bool IfcReinforcementDefinitionProperties::hasDefinitionType() { return !entity->getArgument(4)->isNull(); } IfcLabel IfcReinforcementDefinitionProperties::DefinitionType() { return *entity->getArgument(4); } void IfcReinforcementDefinitionProperties::setDefinitionType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcReinforcementDefinitionProperties::ReinforcementSectionDefinitions() { RETURN_AS_LIST(IfcSectionReinforcementProperties,5) } -void IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > IfcReinforcementDefinitionProperties::ReinforcementSectionDefinitions() { RETURN_AS_LIST(IfcSectionReinforcementProperties,5) } +void IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcReinforcementDefinitionProperties::is(Type::Enum v) const { return v == Type::IfcReinforcementDefinitionProperties || IfcPropertySetDefinition::is(v); } Type::Enum IfcReinforcementDefinitionProperties::type() const { return Type::IfcReinforcementDefinitionProperties; } Type::Enum IfcReinforcementDefinitionProperties::Class() { return Type::IfcReinforcementDefinitionProperties; } IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcReinforcementDefinitionProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_DefinitionType, SHARED_PTR< IfcTemplatedEntityList > v6_ReinforcementSectionDefinitions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_DefinitionType) { e->setArgument(4,(*v5_DefinitionType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ReinforcementSectionDefinitions)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcReinforcementDefinitionProperties::IfcReinforcementDefinitionProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_DefinitionType, SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > v6_ReinforcementSectionDefinitions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_DefinitionType) { e->setArgument(4,(*v5_DefinitionType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ReinforcementSectionDefinitions)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcReinforcingBar IfcPositiveLengthMeasure IfcReinforcingBar::NominalDiameter() { return *entity->getArgument(9); } void IfcReinforcingBar::setNominalDiameter(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v); } @@ -9418,7 +9418,7 @@ bool IfcReinforcingBar::is(Type::Enum v) const { return v == Type::IfcReinforcin Type::Enum IfcReinforcingBar::type() const { return Type::IfcReinforcingBar; } Type::Enum IfcReinforcingBar::Class() { return Type::IfcReinforcingBar; } IfcReinforcingBar::IfcReinforcingBar(IfcAbstractEntityPtr e) { if (!is(Type::IfcReinforcingBar)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReinforcingBar::IfcReinforcingBar(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, IfcPositiveLengthMeasure v10_NominalDiameter, IfcAreaMeasure v11_CrossSectionArea, optional v12_BarLength, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v13_BarRole, optional v14_BarSurface) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_NominalDiameter)); e->setArgument(10,(v11_CrossSectionArea)); if (v12_BarLength) { e->setArgument(11,(*v12_BarLength)); } else { e->setArgument(11); } ; e->setArgument(12,v13_BarRole,IfcReinforcingBarRoleEnum::ToString(v13_BarRole)); if (v14_BarSurface) { e->setArgument(13,*v14_BarSurface,IfcReinforcingBarSurfaceEnum::ToString(*v14_BarSurface)); } else { e->setArgument(13); } ; entity = e; EntityBuffer::Add(this); } +IfcReinforcingBar::IfcReinforcingBar(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, IfcPositiveLengthMeasure v10_NominalDiameter, IfcAreaMeasure v11_CrossSectionArea, optional< IfcPositiveLengthMeasure > v12_BarLength, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v13_BarRole, optional< IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum > v14_BarSurface) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_NominalDiameter)); e->setArgument(10,(v11_CrossSectionArea)); if (v12_BarLength) { e->setArgument(11,(*v12_BarLength)); } else { e->setArgument(11); } ; e->setArgument(12,v13_BarRole,IfcReinforcingBarRoleEnum::ToString(v13_BarRole)); if (v14_BarSurface) { e->setArgument(13,*v14_BarSurface,IfcReinforcingBarSurfaceEnum::ToString(*v14_BarSurface)); } else { e->setArgument(13); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcReinforcingElement bool IfcReinforcingElement::hasSteelGrade() { return !entity->getArgument(8)->isNull(); } IfcLabel IfcReinforcingElement::SteelGrade() { return *entity->getArgument(8); } @@ -9427,7 +9427,7 @@ bool IfcReinforcingElement::is(Type::Enum v) const { return v == Type::IfcReinfo Type::Enum IfcReinforcingElement::type() const { return Type::IfcReinforcingElement; } Type::Enum IfcReinforcingElement::Class() { return Type::IfcReinforcingElement; } IfcReinforcingElement::IfcReinforcingElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcReinforcingElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReinforcingElement::IfcReinforcingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcReinforcingElement::IfcReinforcingElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcReinforcingMesh bool IfcReinforcingMesh::hasMeshLength() { return !entity->getArgument(9)->isNull(); } IfcPositiveLengthMeasure IfcReinforcingMesh::MeshLength() { return *entity->getArgument(9); } @@ -9451,16 +9451,16 @@ bool IfcReinforcingMesh::is(Type::Enum v) const { return v == Type::IfcReinforci Type::Enum IfcReinforcingMesh::type() const { return Type::IfcReinforcingMesh; } Type::Enum IfcReinforcingMesh::Class() { return Type::IfcReinforcingMesh; } IfcReinforcingMesh::IfcReinforcingMesh(IfcAbstractEntityPtr e) { if (!is(Type::IfcReinforcingMesh)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcReinforcingMesh::IfcReinforcingMesh(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, optional v10_MeshLength, optional v11_MeshWidth, IfcPositiveLengthMeasure v12_LongitudinalBarNominalDiameter, IfcPositiveLengthMeasure v13_TransverseBarNominalDiameter, IfcAreaMeasure v14_LongitudinalBarCrossSectionArea, IfcAreaMeasure v15_TransverseBarCrossSectionArea, IfcPositiveLengthMeasure v16_LongitudinalBarSpacing, IfcPositiveLengthMeasure v17_TransverseBarSpacing) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; if (v10_MeshLength) { e->setArgument(9,(*v10_MeshLength)); } else { e->setArgument(9); } ; if (v11_MeshWidth) { e->setArgument(10,(*v11_MeshWidth)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_LongitudinalBarNominalDiameter)); e->setArgument(12,(v13_TransverseBarNominalDiameter)); e->setArgument(13,(v14_LongitudinalBarCrossSectionArea)); e->setArgument(14,(v15_TransverseBarCrossSectionArea)); e->setArgument(15,(v16_LongitudinalBarSpacing)); e->setArgument(16,(v17_TransverseBarSpacing)); entity = e; EntityBuffer::Add(this); } +IfcReinforcingMesh::IfcReinforcingMesh(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, optional< IfcPositiveLengthMeasure > v10_MeshLength, optional< IfcPositiveLengthMeasure > v11_MeshWidth, IfcPositiveLengthMeasure v12_LongitudinalBarNominalDiameter, IfcPositiveLengthMeasure v13_TransverseBarNominalDiameter, IfcAreaMeasure v14_LongitudinalBarCrossSectionArea, IfcAreaMeasure v15_TransverseBarCrossSectionArea, IfcPositiveLengthMeasure v16_LongitudinalBarSpacing, IfcPositiveLengthMeasure v17_TransverseBarSpacing) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; if (v10_MeshLength) { e->setArgument(9,(*v10_MeshLength)); } else { e->setArgument(9); } ; if (v11_MeshWidth) { e->setArgument(10,(*v11_MeshWidth)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_LongitudinalBarNominalDiameter)); e->setArgument(12,(v13_TransverseBarNominalDiameter)); e->setArgument(13,(v14_LongitudinalBarCrossSectionArea)); e->setArgument(14,(v15_TransverseBarCrossSectionArea)); e->setArgument(15,(v16_LongitudinalBarSpacing)); e->setArgument(16,(v17_TransverseBarSpacing)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAggregates bool IfcRelAggregates::is(Type::Enum v) const { return v == Type::IfcRelAggregates || IfcRelDecomposes::is(v); } Type::Enum IfcRelAggregates::type() const { return Type::IfcRelAggregates; } Type::Enum IfcRelAggregates::Class() { return Type::IfcRelAggregates; } IfcRelAggregates::IfcRelAggregates(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAggregates)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAggregates::IfcRelAggregates(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelAggregates::IfcRelAggregates(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssigns -SHARED_PTR< IfcTemplatedEntityList > IfcRelAssigns::RelatedObjects() { RETURN_AS_LIST(IfcObjectDefinition,4) } -void IfcRelAssigns::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > IfcRelAssigns::RelatedObjects() { RETURN_AS_LIST(IfcObjectDefinition,4) } +void IfcRelAssigns::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } bool IfcRelAssigns::hasRelatedObjectsType() { return !entity->getArgument(5)->isNull(); } IfcObjectTypeEnum::IfcObjectTypeEnum IfcRelAssigns::RelatedObjectsType() { return IfcObjectTypeEnum::FromString(*entity->getArgument(5)); } void IfcRelAssigns::setRelatedObjectsType(IfcObjectTypeEnum::IfcObjectTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcObjectTypeEnum::ToString(v)); } @@ -9468,7 +9468,7 @@ bool IfcRelAssigns::is(Type::Enum v) const { return v == Type::IfcRelAssigns || Type::Enum IfcRelAssigns::type() const { return Type::IfcRelAssigns; } Type::Enum IfcRelAssigns::Class() { return Type::IfcRelAssigns; } IfcRelAssigns::IfcRelAssigns(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssigns)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssigns::IfcRelAssigns(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcRelAssigns::IfcRelAssigns(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsTasks bool IfcRelAssignsTasks::hasTimeForTask() { return !entity->getArgument(7)->isNull(); } IfcScheduleTimeControl* IfcRelAssignsTasks::TimeForTask() { return reinterpret_pointer_cast(*entity->getArgument(7)); } @@ -9477,7 +9477,7 @@ bool IfcRelAssignsTasks::is(Type::Enum v) const { return v == Type::IfcRelAssign Type::Enum IfcRelAssignsTasks::type() const { return Type::IfcRelAssignsTasks; } Type::Enum IfcRelAssignsTasks::Class() { return Type::IfcRelAssignsTasks; } IfcRelAssignsTasks::IfcRelAssignsTasks(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsTasks)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsTasks::IfcRelAssignsTasks(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl, IfcScheduleTimeControl* v8_TimeForTask) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); e->setArgument(7,(v8_TimeForTask)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsTasks::IfcRelAssignsTasks(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl, IfcScheduleTimeControl* v8_TimeForTask) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); e->setArgument(7,(v8_TimeForTask)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToActor IfcActor* IfcRelAssignsToActor::RelatingActor() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToActor::setRelatingActor(IfcActor* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9488,7 +9488,7 @@ bool IfcRelAssignsToActor::is(Type::Enum v) const { return v == Type::IfcRelAssi Type::Enum IfcRelAssignsToActor::type() const { return Type::IfcRelAssignsToActor; } Type::Enum IfcRelAssignsToActor::Class() { return Type::IfcRelAssignsToActor; } IfcRelAssignsToActor::IfcRelAssignsToActor(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToActor)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToActor::IfcRelAssignsToActor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingActor)); e->setArgument(7,(v8_ActingRole)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToActor::IfcRelAssignsToActor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingActor)); e->setArgument(7,(v8_ActingRole)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToControl IfcControl* IfcRelAssignsToControl::RelatingControl() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToControl::setRelatingControl(IfcControl* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9496,7 +9496,7 @@ bool IfcRelAssignsToControl::is(Type::Enum v) const { return v == Type::IfcRelAs Type::Enum IfcRelAssignsToControl::type() const { return Type::IfcRelAssignsToControl; } Type::Enum IfcRelAssignsToControl::Class() { return Type::IfcRelAssignsToControl; } IfcRelAssignsToControl::IfcRelAssignsToControl(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToControl)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToControl::IfcRelAssignsToControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToControl::IfcRelAssignsToControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToGroup IfcGroup* IfcRelAssignsToGroup::RelatingGroup() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToGroup::setRelatingGroup(IfcGroup* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9504,7 +9504,7 @@ bool IfcRelAssignsToGroup::is(Type::Enum v) const { return v == Type::IfcRelAssi Type::Enum IfcRelAssignsToGroup::type() const { return Type::IfcRelAssignsToGroup; } Type::Enum IfcRelAssignsToGroup::Class() { return Type::IfcRelAssignsToGroup; } IfcRelAssignsToGroup::IfcRelAssignsToGroup(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToGroup)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToGroup::IfcRelAssignsToGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcGroup* v7_RelatingGroup) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingGroup)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToGroup::IfcRelAssignsToGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcGroup* v7_RelatingGroup) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingGroup)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToProcess IfcProcess* IfcRelAssignsToProcess::RelatingProcess() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToProcess::setRelatingProcess(IfcProcess* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9515,7 +9515,7 @@ bool IfcRelAssignsToProcess::is(Type::Enum v) const { return v == Type::IfcRelAs Type::Enum IfcRelAssignsToProcess::type() const { return Type::IfcRelAssignsToProcess; } Type::Enum IfcRelAssignsToProcess::Class() { return Type::IfcRelAssignsToProcess; } IfcRelAssignsToProcess::IfcRelAssignsToProcess(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToProcess)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToProcess::IfcRelAssignsToProcess(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcProcess* v7_RelatingProcess, IfcMeasureWithUnit* v8_QuantityInProcess) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingProcess)); e->setArgument(7,(v8_QuantityInProcess)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToProcess::IfcRelAssignsToProcess(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcProcess* v7_RelatingProcess, IfcMeasureWithUnit* v8_QuantityInProcess) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingProcess)); e->setArgument(7,(v8_QuantityInProcess)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToProduct IfcProduct* IfcRelAssignsToProduct::RelatingProduct() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToProduct::setRelatingProduct(IfcProduct* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9523,13 +9523,13 @@ bool IfcRelAssignsToProduct::is(Type::Enum v) const { return v == Type::IfcRelAs Type::Enum IfcRelAssignsToProduct::type() const { return Type::IfcRelAssignsToProduct; } Type::Enum IfcRelAssignsToProduct::Class() { return Type::IfcRelAssignsToProduct; } IfcRelAssignsToProduct::IfcRelAssignsToProduct(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToProduct)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToProduct::IfcRelAssignsToProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcProduct* v7_RelatingProduct) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingProduct)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToProduct::IfcRelAssignsToProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcProduct* v7_RelatingProduct) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingProduct)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToProjectOrder bool IfcRelAssignsToProjectOrder::is(Type::Enum v) const { return v == Type::IfcRelAssignsToProjectOrder || IfcRelAssignsToControl::is(v); } Type::Enum IfcRelAssignsToProjectOrder::type() const { return Type::IfcRelAssignsToProjectOrder; } Type::Enum IfcRelAssignsToProjectOrder::Class() { return Type::IfcRelAssignsToProjectOrder; } IfcRelAssignsToProjectOrder::IfcRelAssignsToProjectOrder(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToProjectOrder)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToProjectOrder::IfcRelAssignsToProjectOrder(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToProjectOrder::IfcRelAssignsToProjectOrder(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssignsToResource IfcResource* IfcRelAssignsToResource::RelatingResource() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcRelAssignsToResource::setRelatingResource(IfcResource* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } @@ -9537,15 +9537,15 @@ bool IfcRelAssignsToResource::is(Type::Enum v) const { return v == Type::IfcRelA Type::Enum IfcRelAssignsToResource::type() const { return Type::IfcRelAssignsToResource; } Type::Enum IfcRelAssignsToResource::Class() { return Type::IfcRelAssignsToResource; } IfcRelAssignsToResource::IfcRelAssignsToResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssignsToResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssignsToResource::IfcRelAssignsToResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcResource* v7_RelatingResource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingResource)); entity = e; EntityBuffer::Add(this); } +IfcRelAssignsToResource::IfcRelAssignsToResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcResource* v7_RelatingResource) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingResource)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociates -SHARED_PTR< IfcTemplatedEntityList > IfcRelAssociates::RelatedObjects() { RETURN_AS_LIST(IfcRoot,4) } -void IfcRelAssociates::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > IfcRelAssociates::RelatedObjects() { RETURN_AS_LIST(IfcRoot,4) } +void IfcRelAssociates::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } bool IfcRelAssociates::is(Type::Enum v) const { return v == Type::IfcRelAssociates || IfcRelationship::is(v); } Type::Enum IfcRelAssociates::type() const { return Type::IfcRelAssociates; } Type::Enum IfcRelAssociates::Class() { return Type::IfcRelAssociates; } IfcRelAssociates::IfcRelAssociates(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociates)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociates::IfcRelAssociates(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelAssociates::IfcRelAssociates(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesAppliedValue IfcAppliedValue* IfcRelAssociatesAppliedValue::RelatingAppliedValue() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelAssociatesAppliedValue::setRelatingAppliedValue(IfcAppliedValue* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9553,7 +9553,7 @@ bool IfcRelAssociatesAppliedValue::is(Type::Enum v) const { return v == Type::If Type::Enum IfcRelAssociatesAppliedValue::type() const { return Type::IfcRelAssociatesAppliedValue; } Type::Enum IfcRelAssociatesAppliedValue::Class() { return Type::IfcRelAssociatesAppliedValue; } IfcRelAssociatesAppliedValue::IfcRelAssociatesAppliedValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesAppliedValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesAppliedValue::IfcRelAssociatesAppliedValue(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcAppliedValue* v6_RelatingAppliedValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingAppliedValue)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesAppliedValue::IfcRelAssociatesAppliedValue(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcAppliedValue* v6_RelatingAppliedValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingAppliedValue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesApproval IfcApproval* IfcRelAssociatesApproval::RelatingApproval() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelAssociatesApproval::setRelatingApproval(IfcApproval* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9561,7 +9561,7 @@ bool IfcRelAssociatesApproval::is(Type::Enum v) const { return v == Type::IfcRel Type::Enum IfcRelAssociatesApproval::type() const { return Type::IfcRelAssociatesApproval; } Type::Enum IfcRelAssociatesApproval::Class() { return Type::IfcRelAssociatesApproval; } IfcRelAssociatesApproval::IfcRelAssociatesApproval(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesApproval)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesApproval::IfcRelAssociatesApproval(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcApproval* v6_RelatingApproval) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingApproval)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesApproval::IfcRelAssociatesApproval(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcApproval* v6_RelatingApproval) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingApproval)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesClassification IfcClassificationNotationSelect IfcRelAssociatesClassification::RelatingClassification() { return *entity->getArgument(5); } void IfcRelAssociatesClassification::setRelatingClassification(IfcClassificationNotationSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9569,7 +9569,7 @@ bool IfcRelAssociatesClassification::is(Type::Enum v) const { return v == Type:: Type::Enum IfcRelAssociatesClassification::type() const { return Type::IfcRelAssociatesClassification; } Type::Enum IfcRelAssociatesClassification::Class() { return Type::IfcRelAssociatesClassification; } IfcRelAssociatesClassification::IfcRelAssociatesClassification(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesClassification)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesClassification::IfcRelAssociatesClassification(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcClassificationNotationSelect v6_RelatingClassification) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingClassification)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesClassification::IfcRelAssociatesClassification(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcClassificationNotationSelect v6_RelatingClassification) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingClassification)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesConstraint IfcLabel IfcRelAssociatesConstraint::Intent() { return *entity->getArgument(5); } void IfcRelAssociatesConstraint::setIntent(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9579,7 +9579,7 @@ bool IfcRelAssociatesConstraint::is(Type::Enum v) const { return v == Type::IfcR Type::Enum IfcRelAssociatesConstraint::type() const { return Type::IfcRelAssociatesConstraint; } Type::Enum IfcRelAssociatesConstraint::Class() { return Type::IfcRelAssociatesConstraint; } IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesConstraint)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcLabel v6_Intent, IfcConstraint* v7_RelatingConstraint) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_Intent)); e->setArgument(6,(v7_RelatingConstraint)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesConstraint::IfcRelAssociatesConstraint(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcLabel v6_Intent, IfcConstraint* v7_RelatingConstraint) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_Intent)); e->setArgument(6,(v7_RelatingConstraint)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesDocument IfcDocumentSelect IfcRelAssociatesDocument::RelatingDocument() { return *entity->getArgument(5); } void IfcRelAssociatesDocument::setRelatingDocument(IfcDocumentSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9587,7 +9587,7 @@ bool IfcRelAssociatesDocument::is(Type::Enum v) const { return v == Type::IfcRel Type::Enum IfcRelAssociatesDocument::type() const { return Type::IfcRelAssociatesDocument; } Type::Enum IfcRelAssociatesDocument::Class() { return Type::IfcRelAssociatesDocument; } IfcRelAssociatesDocument::IfcRelAssociatesDocument(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesDocument)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesDocument::IfcRelAssociatesDocument(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcDocumentSelect v6_RelatingDocument) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingDocument)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesDocument::IfcRelAssociatesDocument(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcDocumentSelect v6_RelatingDocument) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingDocument)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesLibrary IfcLibrarySelect IfcRelAssociatesLibrary::RelatingLibrary() { return *entity->getArgument(5); } void IfcRelAssociatesLibrary::setRelatingLibrary(IfcLibrarySelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9595,7 +9595,7 @@ bool IfcRelAssociatesLibrary::is(Type::Enum v) const { return v == Type::IfcRelA Type::Enum IfcRelAssociatesLibrary::type() const { return Type::IfcRelAssociatesLibrary; } Type::Enum IfcRelAssociatesLibrary::Class() { return Type::IfcRelAssociatesLibrary; } IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesLibrary)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcLibrarySelect v6_RelatingLibrary) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingLibrary)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesLibrary::IfcRelAssociatesLibrary(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcLibrarySelect v6_RelatingLibrary) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingLibrary)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesMaterial IfcMaterialSelect IfcRelAssociatesMaterial::RelatingMaterial() { return *entity->getArgument(5); } void IfcRelAssociatesMaterial::setRelatingMaterial(IfcMaterialSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9603,7 +9603,7 @@ bool IfcRelAssociatesMaterial::is(Type::Enum v) const { return v == Type::IfcRel Type::Enum IfcRelAssociatesMaterial::type() const { return Type::IfcRelAssociatesMaterial; } Type::Enum IfcRelAssociatesMaterial::Class() { return Type::IfcRelAssociatesMaterial; } IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesMaterial)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcMaterialSelect v6_RelatingMaterial) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingMaterial)); entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesMaterial::IfcRelAssociatesMaterial(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcMaterialSelect v6_RelatingMaterial) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingMaterial)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelAssociatesProfileProperties IfcProfileProperties* IfcRelAssociatesProfileProperties::RelatingProfileProperties() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelAssociatesProfileProperties::setRelatingProfileProperties(IfcProfileProperties* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9617,13 +9617,13 @@ bool IfcRelAssociatesProfileProperties::is(Type::Enum v) const { return v == Typ Type::Enum IfcRelAssociatesProfileProperties::type() const { return Type::IfcRelAssociatesProfileProperties; } Type::Enum IfcRelAssociatesProfileProperties::Class() { return Type::IfcRelAssociatesProfileProperties; } IfcRelAssociatesProfileProperties::IfcRelAssociatesProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelAssociatesProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelAssociatesProfileProperties::IfcRelAssociatesProfileProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcProfileProperties* v6_RelatingProfileProperties, IfcShapeAspect* v7_ProfileSectionLocation, optional v8_ProfileOrientation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingProfileProperties)); e->setArgument(6,(v7_ProfileSectionLocation)); if (v8_ProfileOrientation) { e->setArgument(7,(*v8_ProfileOrientation)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcRelAssociatesProfileProperties::IfcRelAssociatesProfileProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcProfileProperties* v6_RelatingProfileProperties, IfcShapeAspect* v7_ProfileSectionLocation, optional< IfcOrientationSelect > v8_ProfileOrientation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingProfileProperties)); e->setArgument(6,(v7_ProfileSectionLocation)); if (v8_ProfileOrientation) { e->setArgument(7,(*v8_ProfileOrientation)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnects bool IfcRelConnects::is(Type::Enum v) const { return v == Type::IfcRelConnects || IfcRelationship::is(v); } Type::Enum IfcRelConnects::type() const { return Type::IfcRelConnects; } Type::Enum IfcRelConnects::Class() { return Type::IfcRelConnects; } IfcRelConnects::IfcRelConnects(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnects)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnects::IfcRelConnects(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcRelConnects::IfcRelConnects(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsElements bool IfcRelConnectsElements::hasConnectionGeometry() { return !entity->getArgument(4)->isNull(); } IfcConnectionGeometry* IfcRelConnectsElements::ConnectionGeometry() { return reinterpret_pointer_cast(*entity->getArgument(4)); } @@ -9636,12 +9636,12 @@ bool IfcRelConnectsElements::is(Type::Enum v) const { return v == Type::IfcRelCo Type::Enum IfcRelConnectsElements::type() const { return Type::IfcRelConnectsElements; } Type::Enum IfcRelConnectsElements::Class() { return Type::IfcRelConnectsElements; } IfcRelConnectsElements::IfcRelConnectsElements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsElements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsElements::IfcRelConnectsElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsElements::IfcRelConnectsElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsPathElements -std::vector /*[0:?]*/ IfcRelConnectsPathElements::RelatingPriorities() { return *entity->getArgument(7); } -void IfcRelConnectsPathElements::setRelatingPriorities(std::vector /*[0:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v); } -std::vector /*[0:?]*/ IfcRelConnectsPathElements::RelatedPriorities() { return *entity->getArgument(8); } -void IfcRelConnectsPathElements::setRelatedPriorities(std::vector /*[0:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } +std::vector< int > /*[0:?]*/ IfcRelConnectsPathElements::RelatingPriorities() { return *entity->getArgument(7); } +void IfcRelConnectsPathElements::setRelatingPriorities(std::vector< int > /*[0:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v); } +std::vector< int > /*[0:?]*/ IfcRelConnectsPathElements::RelatedPriorities() { return *entity->getArgument(8); } +void IfcRelConnectsPathElements::setRelatedPriorities(std::vector< int > /*[0:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } IfcConnectionTypeEnum::IfcConnectionTypeEnum IfcRelConnectsPathElements::RelatedConnectionType() { return IfcConnectionTypeEnum::FromString(*entity->getArgument(9)); } void IfcRelConnectsPathElements::setRelatedConnectionType(IfcConnectionTypeEnum::IfcConnectionTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcConnectionTypeEnum::ToString(v)); } IfcConnectionTypeEnum::IfcConnectionTypeEnum IfcRelConnectsPathElements::RelatingConnectionType() { return IfcConnectionTypeEnum::FromString(*entity->getArgument(10)); } @@ -9650,7 +9650,7 @@ bool IfcRelConnectsPathElements::is(Type::Enum v) const { return v == Type::IfcR Type::Enum IfcRelConnectsPathElements::type() const { return Type::IfcRelConnectsPathElements; } Type::Enum IfcRelConnectsPathElements::Class() { return Type::IfcRelConnectsPathElements; } IfcRelConnectsPathElements::IfcRelConnectsPathElements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsPathElements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsPathElements::IfcRelConnectsPathElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, std::vector /*[0:?]*/ v8_RelatingPriorities, std::vector /*[0:?]*/ v9_RelatedPriorities, IfcConnectionTypeEnum::IfcConnectionTypeEnum v10_RelatedConnectionType, IfcConnectionTypeEnum::IfcConnectionTypeEnum v11_RelatingConnectionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); e->setArgument(7,(v8_RelatingPriorities)); e->setArgument(8,(v9_RelatedPriorities)); e->setArgument(9,v10_RelatedConnectionType,IfcConnectionTypeEnum::ToString(v10_RelatedConnectionType)); e->setArgument(10,v11_RelatingConnectionType,IfcConnectionTypeEnum::ToString(v11_RelatingConnectionType)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsPathElements::IfcRelConnectsPathElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, IfcConnectionTypeEnum::IfcConnectionTypeEnum v10_RelatedConnectionType, IfcConnectionTypeEnum::IfcConnectionTypeEnum v11_RelatingConnectionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); e->setArgument(7,(v8_RelatingPriorities)); e->setArgument(8,(v9_RelatedPriorities)); e->setArgument(9,v10_RelatedConnectionType,IfcConnectionTypeEnum::ToString(v10_RelatedConnectionType)); e->setArgument(10,v11_RelatingConnectionType,IfcConnectionTypeEnum::ToString(v11_RelatingConnectionType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsPortToElement IfcPort* IfcRelConnectsPortToElement::RelatingPort() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelConnectsPortToElement::setRelatingPort(IfcPort* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9660,7 +9660,7 @@ bool IfcRelConnectsPortToElement::is(Type::Enum v) const { return v == Type::Ifc Type::Enum IfcRelConnectsPortToElement::type() const { return Type::IfcRelConnectsPortToElement; } Type::Enum IfcRelConnectsPortToElement::Class() { return Type::IfcRelConnectsPortToElement; } IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsPortToElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPort* v5_RelatingPort, IfcElement* v6_RelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingPort)); e->setArgument(5,(v6_RelatedElement)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsPortToElement::IfcRelConnectsPortToElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPort* v5_RelatingPort, IfcElement* v6_RelatedElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingPort)); e->setArgument(5,(v6_RelatedElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsPorts IfcPort* IfcRelConnectsPorts::RelatingPort() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelConnectsPorts::setRelatingPort(IfcPort* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9673,7 +9673,7 @@ bool IfcRelConnectsPorts::is(Type::Enum v) const { return v == Type::IfcRelConne Type::Enum IfcRelConnectsPorts::type() const { return Type::IfcRelConnectsPorts; } Type::Enum IfcRelConnectsPorts::Class() { return Type::IfcRelConnectsPorts; } IfcRelConnectsPorts::IfcRelConnectsPorts(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsPorts)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsPorts::IfcRelConnectsPorts(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPort* v5_RelatingPort, IfcPort* v6_RelatedPort, IfcElement* v7_RealizingElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingPort)); e->setArgument(5,(v6_RelatedPort)); e->setArgument(6,(v7_RealizingElement)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsPorts::IfcRelConnectsPorts(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPort* v5_RelatingPort, IfcPort* v6_RelatedPort, IfcElement* v7_RealizingElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingPort)); e->setArgument(5,(v6_RelatedPort)); e->setArgument(6,(v7_RealizingElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsStructuralActivity IfcStructuralActivityAssignmentSelect IfcRelConnectsStructuralActivity::RelatingElement() { return *entity->getArgument(4); } void IfcRelConnectsStructuralActivity::setRelatingElement(IfcStructuralActivityAssignmentSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9683,7 +9683,7 @@ bool IfcRelConnectsStructuralActivity::is(Type::Enum v) const { return v == Type Type::Enum IfcRelConnectsStructuralActivity::type() const { return Type::IfcRelConnectsStructuralActivity; } Type::Enum IfcRelConnectsStructuralActivity::Class() { return Type::IfcRelConnectsStructuralActivity; } IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsStructuralActivity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralActivityAssignmentSelect v5_RelatingElement, IfcStructuralActivity* v6_RelatedStructuralActivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedStructuralActivity)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsStructuralActivity::IfcRelConnectsStructuralActivity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralActivityAssignmentSelect v5_RelatingElement, IfcStructuralActivity* v6_RelatedStructuralActivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedStructuralActivity)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsStructuralElement IfcElement* IfcRelConnectsStructuralElement::RelatingElement() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelConnectsStructuralElement::setRelatingElement(IfcElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9693,7 +9693,7 @@ bool IfcRelConnectsStructuralElement::is(Type::Enum v) const { return v == Type: Type::Enum IfcRelConnectsStructuralElement::type() const { return Type::IfcRelConnectsStructuralElement; } Type::Enum IfcRelConnectsStructuralElement::Class() { return Type::IfcRelConnectsStructuralElement; } IfcRelConnectsStructuralElement::IfcRelConnectsStructuralElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsStructuralElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsStructuralElement::IfcRelConnectsStructuralElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingElement, IfcStructuralMember* v6_RelatedStructuralMember) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedStructuralMember)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsStructuralElement::IfcRelConnectsStructuralElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingElement, IfcStructuralMember* v6_RelatedStructuralMember) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedStructuralMember)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsStructuralMember IfcStructuralMember* IfcRelConnectsStructuralMember::RelatingStructuralMember() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelConnectsStructuralMember::setRelatingStructuralMember(IfcStructuralMember* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9715,7 +9715,7 @@ bool IfcRelConnectsStructuralMember::is(Type::Enum v) const { return v == Type:: Type::Enum IfcRelConnectsStructuralMember::type() const { return Type::IfcRelConnectsStructuralMember; } Type::Enum IfcRelConnectsStructuralMember::Class() { return Type::IfcRelConnectsStructuralMember; } IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsStructuralMember)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingStructuralMember)); e->setArgument(5,(v6_RelatedStructuralConnection)); e->setArgument(6,(v7_AppliedCondition)); e->setArgument(7,(v8_AdditionalConditions)); if (v9_SupportedLength) { e->setArgument(8,(*v9_SupportedLength)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_ConditionCoordinateSystem)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsStructuralMember::IfcRelConnectsStructuralMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional< IfcLengthMeasure > v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingStructuralMember)); e->setArgument(5,(v6_RelatedStructuralConnection)); e->setArgument(6,(v7_AppliedCondition)); e->setArgument(7,(v8_AdditionalConditions)); if (v9_SupportedLength) { e->setArgument(8,(*v9_SupportedLength)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_ConditionCoordinateSystem)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsWithEccentricity IfcConnectionGeometry* IfcRelConnectsWithEccentricity::ConnectionConstraint() { return reinterpret_pointer_cast(*entity->getArgument(10)); } void IfcRelConnectsWithEccentricity::setConnectionConstraint(IfcConnectionGeometry* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } @@ -9723,10 +9723,10 @@ bool IfcRelConnectsWithEccentricity::is(Type::Enum v) const { return v == Type:: Type::Enum IfcRelConnectsWithEccentricity::type() const { return Type::IfcRelConnectsWithEccentricity; } Type::Enum IfcRelConnectsWithEccentricity::Class() { return Type::IfcRelConnectsWithEccentricity; } IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsWithEccentricity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem, IfcConnectionGeometry* v11_ConnectionConstraint) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingStructuralMember)); e->setArgument(5,(v6_RelatedStructuralConnection)); e->setArgument(6,(v7_AppliedCondition)); e->setArgument(7,(v8_AdditionalConditions)); if (v9_SupportedLength) { e->setArgument(8,(*v9_SupportedLength)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_ConditionCoordinateSystem)); e->setArgument(10,(v11_ConnectionConstraint)); entity = e; EntityBuffer::Add(this); } +IfcRelConnectsWithEccentricity::IfcRelConnectsWithEccentricity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional< IfcLengthMeasure > v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem, IfcConnectionGeometry* v11_ConnectionConstraint) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingStructuralMember)); e->setArgument(5,(v6_RelatedStructuralConnection)); e->setArgument(6,(v7_AppliedCondition)); e->setArgument(7,(v8_AdditionalConditions)); if (v9_SupportedLength) { e->setArgument(8,(*v9_SupportedLength)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_ConditionCoordinateSystem)); e->setArgument(10,(v11_ConnectionConstraint)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelConnectsWithRealizingElements -SHARED_PTR< IfcTemplatedEntityList > IfcRelConnectsWithRealizingElements::RealizingElements() { RETURN_AS_LIST(IfcElement,7) } -void IfcRelConnectsWithRealizingElements::setRealizingElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcElement > > IfcRelConnectsWithRealizingElements::RealizingElements() { RETURN_AS_LIST(IfcElement,7) } +void IfcRelConnectsWithRealizingElements::setRealizingElements(SHARED_PTR< IfcTemplatedEntityList< IfcElement > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } bool IfcRelConnectsWithRealizingElements::hasConnectionType() { return !entity->getArgument(8)->isNull(); } IfcLabel IfcRelConnectsWithRealizingElements::ConnectionType() { return *entity->getArgument(8); } void IfcRelConnectsWithRealizingElements::setConnectionType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } @@ -9734,55 +9734,55 @@ bool IfcRelConnectsWithRealizingElements::is(Type::Enum v) const { return v == T Type::Enum IfcRelConnectsWithRealizingElements::type() const { return Type::IfcRelConnectsWithRealizingElements; } Type::Enum IfcRelConnectsWithRealizingElements::Class() { return Type::IfcRelConnectsWithRealizingElements; } IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelConnectsWithRealizingElements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, SHARED_PTR< IfcTemplatedEntityList > v8_RealizingElements, optional v9_ConnectionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); e->setArgument(7,(v8_RealizingElements)->generalize()); if (v9_ConnectionType) { e->setArgument(8,(*v9_ConnectionType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcRelConnectsWithRealizingElements::IfcRelConnectsWithRealizingElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, SHARED_PTR< IfcTemplatedEntityList< IfcElement > > v8_RealizingElements, optional< IfcLabel > v9_ConnectionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_ConnectionGeometry)); e->setArgument(5,(v6_RelatingElement)); e->setArgument(6,(v7_RelatedElement)); e->setArgument(7,(v8_RealizingElements)->generalize()); if (v9_ConnectionType) { e->setArgument(8,(*v9_ConnectionType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelContainedInSpatialStructure -SHARED_PTR< IfcTemplatedEntityList > IfcRelContainedInSpatialStructure::RelatedElements() { RETURN_AS_LIST(IfcProduct,4) } -void IfcRelContainedInSpatialStructure::setRelatedElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > IfcRelContainedInSpatialStructure::RelatedElements() { RETURN_AS_LIST(IfcProduct,4) } +void IfcRelContainedInSpatialStructure::setRelatedElements(SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } IfcSpatialStructureElement* IfcRelContainedInSpatialStructure::RelatingStructure() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelContainedInSpatialStructure::setRelatingStructure(IfcSpatialStructureElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcRelContainedInSpatialStructure::is(Type::Enum v) const { return v == Type::IfcRelContainedInSpatialStructure || IfcRelConnects::is(v); } Type::Enum IfcRelContainedInSpatialStructure::type() const { return Type::IfcRelContainedInSpatialStructure; } Type::Enum IfcRelContainedInSpatialStructure::Class() { return Type::IfcRelContainedInSpatialStructure; } IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelContainedInSpatialStructure)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedElements)->generalize()); e->setArgument(5,(v6_RelatingStructure)); entity = e; EntityBuffer::Add(this); } +IfcRelContainedInSpatialStructure::IfcRelContainedInSpatialStructure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedElements)->generalize()); e->setArgument(5,(v6_RelatingStructure)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelCoversBldgElements IfcElement* IfcRelCoversBldgElements::RelatingBuildingElement() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelCoversBldgElements::setRelatingBuildingElement(IfcElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRelCoversBldgElements::RelatedCoverings() { RETURN_AS_LIST(IfcCovering,5) } -void IfcRelCoversBldgElements::setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > IfcRelCoversBldgElements::RelatedCoverings() { RETURN_AS_LIST(IfcCovering,5) } +void IfcRelCoversBldgElements::setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcRelCoversBldgElements::is(Type::Enum v) const { return v == Type::IfcRelCoversBldgElements || IfcRelConnects::is(v); } Type::Enum IfcRelCoversBldgElements::type() const { return Type::IfcRelCoversBldgElements; } Type::Enum IfcRelCoversBldgElements::Class() { return Type::IfcRelCoversBldgElements; } IfcRelCoversBldgElements::IfcRelCoversBldgElements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelCoversBldgElements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelCoversBldgElements::IfcRelCoversBldgElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingBuildingElement, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedCoverings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingBuildingElement)); e->setArgument(5,(v6_RelatedCoverings)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelCoversBldgElements::IfcRelCoversBldgElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingBuildingElement, SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v6_RelatedCoverings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingBuildingElement)); e->setArgument(5,(v6_RelatedCoverings)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelCoversSpaces IfcSpace* IfcRelCoversSpaces::RelatedSpace() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelCoversSpaces::setRelatedSpace(IfcSpace* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRelCoversSpaces::RelatedCoverings() { RETURN_AS_LIST(IfcCovering,5) } -void IfcRelCoversSpaces::setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > IfcRelCoversSpaces::RelatedCoverings() { RETURN_AS_LIST(IfcCovering,5) } +void IfcRelCoversSpaces::setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcRelCoversSpaces::is(Type::Enum v) const { return v == Type::IfcRelCoversSpaces || IfcRelConnects::is(v); } Type::Enum IfcRelCoversSpaces::type() const { return Type::IfcRelCoversSpaces; } Type::Enum IfcRelCoversSpaces::Class() { return Type::IfcRelCoversSpaces; } IfcRelCoversSpaces::IfcRelCoversSpaces(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelCoversSpaces)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelCoversSpaces::IfcRelCoversSpaces(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSpace* v5_RelatedSpace, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedCoverings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedSpace)); e->setArgument(5,(v6_RelatedCoverings)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelCoversSpaces::IfcRelCoversSpaces(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSpace* v5_RelatedSpace, SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v6_RelatedCoverings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedSpace)); e->setArgument(5,(v6_RelatedCoverings)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelDecomposes IfcObjectDefinition* IfcRelDecomposes::RelatingObject() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelDecomposes::setRelatingObject(IfcObjectDefinition* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRelDecomposes::RelatedObjects() { RETURN_AS_LIST(IfcObjectDefinition,5) } -void IfcRelDecomposes::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > IfcRelDecomposes::RelatedObjects() { RETURN_AS_LIST(IfcObjectDefinition,5) } +void IfcRelDecomposes::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcRelDecomposes::is(Type::Enum v) const { return v == Type::IfcRelDecomposes || IfcRelationship::is(v); } Type::Enum IfcRelDecomposes::type() const { return Type::IfcRelDecomposes; } Type::Enum IfcRelDecomposes::Class() { return Type::IfcRelDecomposes; } IfcRelDecomposes::IfcRelDecomposes(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelDecomposes)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelDecomposes::IfcRelDecomposes(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelDecomposes::IfcRelDecomposes(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelDefines -SHARED_PTR< IfcTemplatedEntityList > IfcRelDefines::RelatedObjects() { RETURN_AS_LIST(IfcObject,4) } -void IfcRelDefines::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcObject > > IfcRelDefines::RelatedObjects() { RETURN_AS_LIST(IfcObject,4) } +void IfcRelDefines::setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } bool IfcRelDefines::is(Type::Enum v) const { return v == Type::IfcRelDefines || IfcRelationship::is(v); } Type::Enum IfcRelDefines::type() const { return Type::IfcRelDefines; } Type::Enum IfcRelDefines::Class() { return Type::IfcRelDefines; } IfcRelDefines::IfcRelDefines(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelDefines)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelDefines::IfcRelDefines(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelDefines::IfcRelDefines(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelDefinesByProperties IfcPropertySetDefinition* IfcRelDefinesByProperties::RelatingPropertyDefinition() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelDefinesByProperties::setRelatingPropertyDefinition(IfcPropertySetDefinition* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9790,7 +9790,7 @@ bool IfcRelDefinesByProperties::is(Type::Enum v) const { return v == Type::IfcRe Type::Enum IfcRelDefinesByProperties::type() const { return Type::IfcRelDefinesByProperties; } Type::Enum IfcRelDefinesByProperties::Class() { return Type::IfcRelDefinesByProperties; } IfcRelDefinesByProperties::IfcRelDefinesByProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelDefinesByProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelDefinesByProperties::IfcRelDefinesByProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingPropertyDefinition)); entity = e; EntityBuffer::Add(this); } +IfcRelDefinesByProperties::IfcRelDefinesByProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingPropertyDefinition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelDefinesByType IfcTypeObject* IfcRelDefinesByType::RelatingType() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelDefinesByType::setRelatingType(IfcTypeObject* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -9798,7 +9798,7 @@ bool IfcRelDefinesByType::is(Type::Enum v) const { return v == Type::IfcRelDefin Type::Enum IfcRelDefinesByType::type() const { return Type::IfcRelDefinesByType; } Type::Enum IfcRelDefinesByType::Class() { return Type::IfcRelDefinesByType; } IfcRelDefinesByType::IfcRelDefinesByType(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelDefinesByType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelDefinesByType::IfcRelDefinesByType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcTypeObject* v6_RelatingType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingType)); entity = e; EntityBuffer::Add(this); } +IfcRelDefinesByType::IfcRelDefinesByType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcTypeObject* v6_RelatingType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelFillsElement IfcOpeningElement* IfcRelFillsElement::RelatingOpeningElement() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelFillsElement::setRelatingOpeningElement(IfcOpeningElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9808,17 +9808,17 @@ bool IfcRelFillsElement::is(Type::Enum v) const { return v == Type::IfcRelFillsE Type::Enum IfcRelFillsElement::type() const { return Type::IfcRelFillsElement; } Type::Enum IfcRelFillsElement::Class() { return Type::IfcRelFillsElement; } IfcRelFillsElement::IfcRelFillsElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelFillsElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelFillsElement::IfcRelFillsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcOpeningElement* v5_RelatingOpeningElement, IfcElement* v6_RelatedBuildingElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingOpeningElement)); e->setArgument(5,(v6_RelatedBuildingElement)); entity = e; EntityBuffer::Add(this); } +IfcRelFillsElement::IfcRelFillsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcOpeningElement* v5_RelatingOpeningElement, IfcElement* v6_RelatedBuildingElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingOpeningElement)); e->setArgument(5,(v6_RelatedBuildingElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelFlowControlElements -SHARED_PTR< IfcTemplatedEntityList > IfcRelFlowControlElements::RelatedControlElements() { RETURN_AS_LIST(IfcDistributionControlElement,4) } -void IfcRelFlowControlElements::setRelatedControlElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > IfcRelFlowControlElements::RelatedControlElements() { RETURN_AS_LIST(IfcDistributionControlElement,4) } +void IfcRelFlowControlElements::setRelatedControlElements(SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } IfcDistributionFlowElement* IfcRelFlowControlElements::RelatingFlowElement() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelFlowControlElements::setRelatingFlowElement(IfcDistributionFlowElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcRelFlowControlElements::is(Type::Enum v) const { return v == Type::IfcRelFlowControlElements || IfcRelConnects::is(v); } Type::Enum IfcRelFlowControlElements::type() const { return Type::IfcRelFlowControlElements; } Type::Enum IfcRelFlowControlElements::Class() { return Type::IfcRelFlowControlElements; } IfcRelFlowControlElements::IfcRelFlowControlElements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelFlowControlElements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelFlowControlElements::IfcRelFlowControlElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedControlElements, IfcDistributionFlowElement* v6_RelatingFlowElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedControlElements)->generalize()); e->setArgument(5,(v6_RelatingFlowElement)); entity = e; EntityBuffer::Add(this); } +IfcRelFlowControlElements::IfcRelFlowControlElements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > v5_RelatedControlElements, IfcDistributionFlowElement* v6_RelatingFlowElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedControlElements)->generalize()); e->setArgument(5,(v6_RelatingFlowElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelInteractionRequirements bool IfcRelInteractionRequirements::hasDailyInteraction() { return !entity->getArgument(4)->isNull(); } IfcCountMeasure IfcRelInteractionRequirements::DailyInteraction() { return *entity->getArgument(4); } @@ -9837,27 +9837,27 @@ bool IfcRelInteractionRequirements::is(Type::Enum v) const { return v == Type::I Type::Enum IfcRelInteractionRequirements::type() const { return Type::IfcRelInteractionRequirements; } Type::Enum IfcRelInteractionRequirements::Class() { return Type::IfcRelInteractionRequirements; } IfcRelInteractionRequirements::IfcRelInteractionRequirements(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelInteractionRequirements)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelInteractionRequirements::IfcRelInteractionRequirements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_DailyInteraction, optional v6_ImportanceRating, IfcSpatialStructureElement* v7_LocationOfInteraction, IfcSpaceProgram* v8_RelatedSpaceProgram, IfcSpaceProgram* v9_RelatingSpaceProgram) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_DailyInteraction) { e->setArgument(4,(*v5_DailyInteraction)); } else { e->setArgument(4); } ; if (v6_ImportanceRating) { e->setArgument(5,(*v6_ImportanceRating)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_LocationOfInteraction)); e->setArgument(7,(v8_RelatedSpaceProgram)); e->setArgument(8,(v9_RelatingSpaceProgram)); entity = e; EntityBuffer::Add(this); } +IfcRelInteractionRequirements::IfcRelInteractionRequirements(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcCountMeasure > v5_DailyInteraction, optional< IfcNormalisedRatioMeasure > v6_ImportanceRating, IfcSpatialStructureElement* v7_LocationOfInteraction, IfcSpaceProgram* v8_RelatedSpaceProgram, IfcSpaceProgram* v9_RelatingSpaceProgram) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_DailyInteraction) { e->setArgument(4,(*v5_DailyInteraction)); } else { e->setArgument(4); } ; if (v6_ImportanceRating) { e->setArgument(5,(*v6_ImportanceRating)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_LocationOfInteraction)); e->setArgument(7,(v8_RelatedSpaceProgram)); e->setArgument(8,(v9_RelatingSpaceProgram)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelNests bool IfcRelNests::is(Type::Enum v) const { return v == Type::IfcRelNests || IfcRelDecomposes::is(v); } Type::Enum IfcRelNests::type() const { return Type::IfcRelNests; } Type::Enum IfcRelNests::Class() { return Type::IfcRelNests; } IfcRelNests::IfcRelNests(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelNests)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelNests::IfcRelNests(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelNests::IfcRelNests(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingObject)); e->setArgument(5,(v6_RelatedObjects)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelOccupiesSpaces bool IfcRelOccupiesSpaces::is(Type::Enum v) const { return v == Type::IfcRelOccupiesSpaces || IfcRelAssignsToActor::is(v); } Type::Enum IfcRelOccupiesSpaces::type() const { return Type::IfcRelOccupiesSpaces; } Type::Enum IfcRelOccupiesSpaces::Class() { return Type::IfcRelOccupiesSpaces; } IfcRelOccupiesSpaces::IfcRelOccupiesSpaces(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelOccupiesSpaces)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelOccupiesSpaces::IfcRelOccupiesSpaces(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingActor)); e->setArgument(7,(v8_ActingRole)); entity = e; EntityBuffer::Add(this); } +IfcRelOccupiesSpaces::IfcRelOccupiesSpaces(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingActor)); e->setArgument(7,(v8_ActingRole)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelOverridesProperties -SHARED_PTR< IfcTemplatedEntityList > IfcRelOverridesProperties::OverridingProperties() { RETURN_AS_LIST(IfcProperty,6) } -void IfcRelOverridesProperties::setOverridingProperties(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > IfcRelOverridesProperties::OverridingProperties() { RETURN_AS_LIST(IfcProperty,6) } +void IfcRelOverridesProperties::setOverridingProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } bool IfcRelOverridesProperties::is(Type::Enum v) const { return v == Type::IfcRelOverridesProperties || IfcRelDefinesByProperties::is(v); } Type::Enum IfcRelOverridesProperties::type() const { return Type::IfcRelOverridesProperties; } Type::Enum IfcRelOverridesProperties::Class() { return Type::IfcRelOverridesProperties; } IfcRelOverridesProperties::IfcRelOverridesProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelOverridesProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelOverridesProperties::IfcRelOverridesProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition, SHARED_PTR< IfcTemplatedEntityList > v7_OverridingProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingPropertyDefinition)); e->setArgument(6,(v7_OverridingProperties)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelOverridesProperties::IfcRelOverridesProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v7_OverridingProperties) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); e->setArgument(5,(v6_RelatingPropertyDefinition)); e->setArgument(6,(v7_OverridingProperties)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelProjectsElement IfcElement* IfcRelProjectsElement::RelatingElement() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelProjectsElement::setRelatingElement(IfcElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9867,23 +9867,23 @@ bool IfcRelProjectsElement::is(Type::Enum v) const { return v == Type::IfcRelPro Type::Enum IfcRelProjectsElement::type() const { return Type::IfcRelProjectsElement; } Type::Enum IfcRelProjectsElement::Class() { return Type::IfcRelProjectsElement; } IfcRelProjectsElement::IfcRelProjectsElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelProjectsElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelProjectsElement::IfcRelProjectsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingElement, IfcFeatureElementAddition* v6_RelatedFeatureElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedFeatureElement)); entity = e; EntityBuffer::Add(this); } +IfcRelProjectsElement::IfcRelProjectsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingElement, IfcFeatureElementAddition* v6_RelatedFeatureElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingElement)); e->setArgument(5,(v6_RelatedFeatureElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelReferencedInSpatialStructure -SHARED_PTR< IfcTemplatedEntityList > IfcRelReferencedInSpatialStructure::RelatedElements() { RETURN_AS_LIST(IfcProduct,4) } -void IfcRelReferencedInSpatialStructure::setRelatedElements(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > IfcRelReferencedInSpatialStructure::RelatedElements() { RETURN_AS_LIST(IfcProduct,4) } +void IfcRelReferencedInSpatialStructure::setRelatedElements(SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v->generalize()); } IfcSpatialStructureElement* IfcRelReferencedInSpatialStructure::RelatingStructure() { return reinterpret_pointer_cast(*entity->getArgument(5)); } void IfcRelReferencedInSpatialStructure::setRelatingStructure(IfcSpatialStructureElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcRelReferencedInSpatialStructure::is(Type::Enum v) const { return v == Type::IfcRelReferencedInSpatialStructure || IfcRelConnects::is(v); } Type::Enum IfcRelReferencedInSpatialStructure::type() const { return Type::IfcRelReferencedInSpatialStructure; } Type::Enum IfcRelReferencedInSpatialStructure::Class() { return Type::IfcRelReferencedInSpatialStructure; } IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelReferencedInSpatialStructure)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedElements)->generalize()); e->setArgument(5,(v6_RelatingStructure)); entity = e; EntityBuffer::Add(this); } +IfcRelReferencedInSpatialStructure::IfcRelReferencedInSpatialStructure(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedElements)->generalize()); e->setArgument(5,(v6_RelatingStructure)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelSchedulesCostItems bool IfcRelSchedulesCostItems::is(Type::Enum v) const { return v == Type::IfcRelSchedulesCostItems || IfcRelAssignsToControl::is(v); } Type::Enum IfcRelSchedulesCostItems::type() const { return Type::IfcRelSchedulesCostItems; } Type::Enum IfcRelSchedulesCostItems::Class() { return Type::IfcRelSchedulesCostItems; } IfcRelSchedulesCostItems::IfcRelSchedulesCostItems(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelSchedulesCostItems)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelSchedulesCostItems::IfcRelSchedulesCostItems(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } +IfcRelSchedulesCostItems::IfcRelSchedulesCostItems(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatedObjects)->generalize()); if (v6_RelatedObjectsType) { e->setArgument(5,*v6_RelatedObjectsType,IfcObjectTypeEnum::ToString(*v6_RelatedObjectsType)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_RelatingControl)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelSequence IfcProcess* IfcRelSequence::RelatingProcess() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelSequence::setRelatingProcess(IfcProcess* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9897,17 +9897,17 @@ bool IfcRelSequence::is(Type::Enum v) const { return v == Type::IfcRelSequence | Type::Enum IfcRelSequence::type() const { return Type::IfcRelSequence; } Type::Enum IfcRelSequence::Class() { return Type::IfcRelSequence; } IfcRelSequence::IfcRelSequence(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelSequence)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelSequence::IfcRelSequence(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcProcess* v5_RelatingProcess, IfcProcess* v6_RelatedProcess, IfcTimeMeasure v7_TimeLag, IfcSequenceEnum::IfcSequenceEnum v8_SequenceType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingProcess)); e->setArgument(5,(v6_RelatedProcess)); e->setArgument(6,(v7_TimeLag)); e->setArgument(7,v8_SequenceType,IfcSequenceEnum::ToString(v8_SequenceType)); entity = e; EntityBuffer::Add(this); } +IfcRelSequence::IfcRelSequence(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcProcess* v5_RelatingProcess, IfcProcess* v6_RelatedProcess, IfcTimeMeasure v7_TimeLag, IfcSequenceEnum::IfcSequenceEnum v8_SequenceType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingProcess)); e->setArgument(5,(v6_RelatedProcess)); e->setArgument(6,(v7_TimeLag)); e->setArgument(7,v8_SequenceType,IfcSequenceEnum::ToString(v8_SequenceType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelServicesBuildings IfcSystem* IfcRelServicesBuildings::RelatingSystem() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelServicesBuildings::setRelatingSystem(IfcSystem* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRelServicesBuildings::RelatedBuildings() { RETURN_AS_LIST(IfcSpatialStructureElement,5) } -void IfcRelServicesBuildings::setRelatedBuildings(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > IfcRelServicesBuildings::RelatedBuildings() { RETURN_AS_LIST(IfcSpatialStructureElement,5) } +void IfcRelServicesBuildings::setRelatedBuildings(SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcRelServicesBuildings::is(Type::Enum v) const { return v == Type::IfcRelServicesBuildings || IfcRelConnects::is(v); } Type::Enum IfcRelServicesBuildings::type() const { return Type::IfcRelServicesBuildings; } Type::Enum IfcRelServicesBuildings::Class() { return Type::IfcRelServicesBuildings; } IfcRelServicesBuildings::IfcRelServicesBuildings(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelServicesBuildings)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelServicesBuildings::IfcRelServicesBuildings(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSystem* v5_RelatingSystem, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedBuildings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingSystem)); e->setArgument(5,(v6_RelatedBuildings)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRelServicesBuildings::IfcRelServicesBuildings(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSystem* v5_RelatingSystem, SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > v6_RelatedBuildings) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingSystem)); e->setArgument(5,(v6_RelatedBuildings)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelSpaceBoundary IfcSpace* IfcRelSpaceBoundary::RelatingSpace() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelSpaceBoundary::setRelatingSpace(IfcSpace* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9925,7 +9925,7 @@ bool IfcRelSpaceBoundary::is(Type::Enum v) const { return v == Type::IfcRelSpace Type::Enum IfcRelSpaceBoundary::type() const { return Type::IfcRelSpaceBoundary; } Type::Enum IfcRelSpaceBoundary::Class() { return Type::IfcRelSpaceBoundary; } IfcRelSpaceBoundary::IfcRelSpaceBoundary(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelSpaceBoundary)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelSpaceBoundary::IfcRelSpaceBoundary(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSpace* v5_RelatingSpace, IfcElement* v6_RelatedBuildingElement, IfcConnectionGeometry* v7_ConnectionGeometry, IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum v8_PhysicalOrVirtualBoundary, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v9_InternalOrExternalBoundary) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingSpace)); e->setArgument(5,(v6_RelatedBuildingElement)); e->setArgument(6,(v7_ConnectionGeometry)); e->setArgument(7,v8_PhysicalOrVirtualBoundary,IfcPhysicalOrVirtualEnum::ToString(v8_PhysicalOrVirtualBoundary)); e->setArgument(8,v9_InternalOrExternalBoundary,IfcInternalOrExternalEnum::ToString(v9_InternalOrExternalBoundary)); entity = e; EntityBuffer::Add(this); } +IfcRelSpaceBoundary::IfcRelSpaceBoundary(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSpace* v5_RelatingSpace, IfcElement* v6_RelatedBuildingElement, IfcConnectionGeometry* v7_ConnectionGeometry, IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum v8_PhysicalOrVirtualBoundary, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v9_InternalOrExternalBoundary) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingSpace)); e->setArgument(5,(v6_RelatedBuildingElement)); e->setArgument(6,(v7_ConnectionGeometry)); e->setArgument(7,v8_PhysicalOrVirtualBoundary,IfcPhysicalOrVirtualEnum::ToString(v8_PhysicalOrVirtualBoundary)); e->setArgument(8,v9_InternalOrExternalBoundary,IfcInternalOrExternalEnum::ToString(v9_InternalOrExternalBoundary)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelVoidsElement IfcElement* IfcRelVoidsElement::RelatingBuildingElement() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcRelVoidsElement::setRelatingBuildingElement(IfcElement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } @@ -9935,13 +9935,13 @@ bool IfcRelVoidsElement::is(Type::Enum v) const { return v == Type::IfcRelVoidsE Type::Enum IfcRelVoidsElement::type() const { return Type::IfcRelVoidsElement; } Type::Enum IfcRelVoidsElement::Class() { return Type::IfcRelVoidsElement; } IfcRelVoidsElement::IfcRelVoidsElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelVoidsElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelVoidsElement::IfcRelVoidsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingBuildingElement, IfcFeatureElementSubtraction* v6_RelatedOpeningElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingBuildingElement)); e->setArgument(5,(v6_RelatedOpeningElement)); entity = e; EntityBuffer::Add(this); } +IfcRelVoidsElement::IfcRelVoidsElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingBuildingElement, IfcFeatureElementSubtraction* v6_RelatedOpeningElement) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_RelatingBuildingElement)); e->setArgument(5,(v6_RelatedOpeningElement)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelationship bool IfcRelationship::is(Type::Enum v) const { return v == Type::IfcRelationship || IfcRoot::is(v); } Type::Enum IfcRelationship::type() const { return Type::IfcRelationship; } Type::Enum IfcRelationship::Class() { return Type::IfcRelationship; } IfcRelationship::IfcRelationship(IfcAbstractEntityPtr e) { if (!is(Type::IfcRelationship)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRelationship::IfcRelationship(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcRelationship::IfcRelationship(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRelaxation IfcNormalisedRatioMeasure IfcRelaxation::RelaxationValue() { return *entity->getArgument(0); } void IfcRelaxation::setRelaxationValue(IfcNormalisedRatioMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -9961,8 +9961,8 @@ void IfcRepresentation::setRepresentationIdentifier(IfcLabel v) { if ( ! entity- bool IfcRepresentation::hasRepresentationType() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcRepresentation::RepresentationType() { return *entity->getArgument(2); } void IfcRepresentation::setRepresentationType(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcRepresentation::Items() { RETURN_AS_LIST(IfcRepresentationItem,3) } -void IfcRepresentation::setItems(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > IfcRepresentation::Items() { RETURN_AS_LIST(IfcRepresentationItem,3) } +void IfcRepresentation::setItems(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v->generalize()); } IfcRepresentationMap::list IfcRepresentation::RepresentationMap() { RETURN_INVERSE(IfcRepresentationMap) } IfcPresentationLayerAssignment::list IfcRepresentation::LayerAssignments() { RETURN_INVERSE(IfcPresentationLayerAssignment) } IfcProductRepresentation::list IfcRepresentation::OfProductRepresentation() { RETURN_INVERSE(IfcProductRepresentation) } @@ -9970,7 +9970,7 @@ bool IfcRepresentation::is(Type::Enum v) const { return v == Type::IfcRepresenta Type::Enum IfcRepresentation::type() const { return Type::IfcRepresentation; } Type::Enum IfcRepresentation::Class() { return Type::IfcRepresentation; } IfcRepresentation::IfcRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRepresentation::IfcRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcRepresentation::IfcRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRepresentationContext bool IfcRepresentationContext::hasContextIdentifier() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcRepresentationContext::ContextIdentifier() { return *entity->getArgument(0); } @@ -9983,7 +9983,7 @@ bool IfcRepresentationContext::is(Type::Enum v) const { return v == Type::IfcRep Type::Enum IfcRepresentationContext::type() const { return Type::IfcRepresentationContext; } Type::Enum IfcRepresentationContext::Class() { return Type::IfcRepresentationContext; } IfcRepresentationContext::IfcRepresentationContext(IfcAbstractEntityPtr e) { if (!is(Type::IfcRepresentationContext)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRepresentationContext::IfcRepresentationContext(optional v1_ContextIdentifier, optional v2_ContextType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcRepresentationContext::IfcRepresentationContext(optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ContextIdentifier) { e->setArgument(0,(*v1_ContextIdentifier)); } else { e->setArgument(0); } ; if (v2_ContextType) { e->setArgument(1,(*v2_ContextType)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRepresentationItem IfcPresentationLayerAssignment::list IfcRepresentationItem::LayerAssignments() { RETURN_INVERSE(IfcPresentationLayerAssignment) } IfcStyledItem::list IfcRepresentationItem::StyledByItem() { RETURN_INVERSE(IfcStyledItem) } @@ -10008,7 +10008,7 @@ bool IfcResource::is(Type::Enum v) const { return v == Type::IfcResource || IfcO Type::Enum IfcResource::type() const { return Type::IfcResource; } Type::Enum IfcResource::Class() { return Type::IfcResource; } IfcResource::IfcResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcResource::IfcResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcResource::IfcResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRevolvedAreaSolid IfcAxis1Placement* IfcRevolvedAreaSolid::Axis() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcRevolvedAreaSolid::setAxis(IfcAxis1Placement* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -10038,7 +10038,7 @@ bool IfcRibPlateProfileProperties::is(Type::Enum v) const { return v == Type::If Type::Enum IfcRibPlateProfileProperties::type() const { return Type::IfcRibPlateProfileProperties; } Type::Enum IfcRibPlateProfileProperties::Class() { return Type::IfcRibPlateProfileProperties; } IfcRibPlateProfileProperties::IfcRibPlateProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcRibPlateProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRibPlateProfileProperties::IfcRibPlateProfileProperties(optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_Thickness, optional v4_RibHeight, optional v5_RibWidth, optional v6_RibSpacing, IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum v7_Direction) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_Thickness) { e->setArgument(2,(*v3_Thickness)); } else { e->setArgument(2); } ; if (v4_RibHeight) { e->setArgument(3,(*v4_RibHeight)); } else { e->setArgument(3); } ; if (v5_RibWidth) { e->setArgument(4,(*v5_RibWidth)); } else { e->setArgument(4); } ; if (v6_RibSpacing) { e->setArgument(5,(*v6_RibSpacing)); } else { e->setArgument(5); } ; e->setArgument(6,v7_Direction,IfcRibPlateDirectionEnum::ToString(v7_Direction)); entity = e; EntityBuffer::Add(this); } +IfcRibPlateProfileProperties::IfcRibPlateProfileProperties(optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcPositiveLengthMeasure > v3_Thickness, optional< IfcPositiveLengthMeasure > v4_RibHeight, optional< IfcPositiveLengthMeasure > v5_RibWidth, optional< IfcPositiveLengthMeasure > v6_RibSpacing, IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum v7_Direction) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_Thickness) { e->setArgument(2,(*v3_Thickness)); } else { e->setArgument(2); } ; if (v4_RibHeight) { e->setArgument(3,(*v4_RibHeight)); } else { e->setArgument(3); } ; if (v5_RibWidth) { e->setArgument(4,(*v5_RibWidth)); } else { e->setArgument(4); } ; if (v6_RibSpacing) { e->setArgument(5,(*v6_RibSpacing)); } else { e->setArgument(5); } ; e->setArgument(6,v7_Direction,IfcRibPlateDirectionEnum::ToString(v7_Direction)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRightCircularCone IfcPositiveLengthMeasure IfcRightCircularCone::Height() { return *entity->getArgument(1); } void IfcRightCircularCone::setHeight(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -10066,7 +10066,7 @@ bool IfcRoof::is(Type::Enum v) const { return v == Type::IfcRoof || IfcBuildingE Type::Enum IfcRoof::type() const { return Type::IfcRoof; } Type::Enum IfcRoof::Class() { return Type::IfcRoof; } IfcRoof::IfcRoof(IfcAbstractEntityPtr e) { if (!is(Type::IfcRoof)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRoof::IfcRoof(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcRoofTypeEnum::IfcRoofTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcRoofTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } +IfcRoof::IfcRoof(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcRoofTypeEnum::IfcRoofTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcRoofTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRoot IfcGloballyUniqueId IfcRoot::GlobalId() { return *entity->getArgument(0); } void IfcRoot::setGlobalId(IfcGloballyUniqueId v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -10082,7 +10082,7 @@ bool IfcRoot::is(Type::Enum v) const { return v == Type::IfcRoot; } Type::Enum IfcRoot::type() const { return Type::IfcRoot; } Type::Enum IfcRoot::Class() { return Type::IfcRoot; } IfcRoot::IfcRoot(IfcAbstractEntityPtr e) { if (!is(Type::IfcRoot)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRoot::IfcRoot(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcRoot::IfcRoot(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRoundedEdgeFeature bool IfcRoundedEdgeFeature::hasRadius() { return !entity->getArgument(9)->isNull(); } IfcPositiveLengthMeasure IfcRoundedEdgeFeature::Radius() { return *entity->getArgument(9); } @@ -10091,7 +10091,7 @@ bool IfcRoundedEdgeFeature::is(Type::Enum v) const { return v == Type::IfcRounde Type::Enum IfcRoundedEdgeFeature::type() const { return Type::IfcRoundedEdgeFeature; } Type::Enum IfcRoundedEdgeFeature::Class() { return Type::IfcRoundedEdgeFeature; } IfcRoundedEdgeFeature::IfcRoundedEdgeFeature(IfcAbstractEntityPtr e) { if (!is(Type::IfcRoundedEdgeFeature)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRoundedEdgeFeature::IfcRoundedEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength, optional v10_Radius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; if (v10_Radius) { e->setArgument(9,(*v10_Radius)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcRoundedEdgeFeature::IfcRoundedEdgeFeature(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength, optional< IfcPositiveLengthMeasure > v10_Radius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_FeatureLength) { e->setArgument(8,(*v9_FeatureLength)); } else { e->setArgument(8); } ; if (v10_Radius) { e->setArgument(9,(*v10_Radius)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcRoundedRectangleProfileDef IfcPositiveLengthMeasure IfcRoundedRectangleProfileDef::RoundingRadius() { return *entity->getArgument(5); } void IfcRoundedRectangleProfileDef::setRoundingRadius(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -10099,7 +10099,7 @@ bool IfcRoundedRectangleProfileDef::is(Type::Enum v) const { return v == Type::I Type::Enum IfcRoundedRectangleProfileDef::type() const { return Type::IfcRoundedRectangleProfileDef; } Type::Enum IfcRoundedRectangleProfileDef::Class() { return Type::IfcRoundedRectangleProfileDef; } IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcRoundedRectangleProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_RoundingRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); e->setArgument(5,(v6_RoundingRadius)); entity = e; EntityBuffer::Add(this); } +IfcRoundedRectangleProfileDef::IfcRoundedRectangleProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_RoundingRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_XDim)); e->setArgument(4,(v5_YDim)); e->setArgument(5,(v6_RoundingRadius)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSIUnit bool IfcSIUnit::hasPrefix() { return !entity->getArgument(2)->isNull(); } IfcSIPrefix::IfcSIPrefix IfcSIUnit::Prefix() { return IfcSIPrefix::FromString(*entity->getArgument(2)); } @@ -10110,7 +10110,7 @@ bool IfcSIUnit::is(Type::Enum v) const { return v == Type::IfcSIUnit || IfcNamed Type::Enum IfcSIUnit::type() const { return Type::IfcSIUnit; } Type::Enum IfcSIUnit::Class() { return Type::IfcSIUnit; } IfcSIUnit::IfcSIUnit(IfcAbstractEntityPtr e) { if (!is(Type::IfcSIUnit)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSIUnit::IfcSIUnit(IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, optional v3_Prefix, IfcSIUnitName::IfcSIUnitName v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Dimensions)); e->setArgument(1,v2_UnitType,IfcUnitEnum::ToString(v2_UnitType)); if (v3_Prefix) { e->setArgument(2,*v3_Prefix,IfcSIPrefix::ToString(*v3_Prefix)); } else { e->setArgument(2); } ; e->setArgument(3,v4_Name,IfcSIUnitName::ToString(v4_Name)); entity = e; EntityBuffer::Add(this); } +IfcSIUnit::IfcSIUnit(IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, optional< IfcSIPrefix::IfcSIPrefix > v3_Prefix, IfcSIUnitName::IfcSIUnitName v4_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Dimensions)); e->setArgument(1,v2_UnitType,IfcUnitEnum::ToString(v2_UnitType)); if (v3_Prefix) { e->setArgument(2,*v3_Prefix,IfcSIPrefix::ToString(*v3_Prefix)); } else { e->setArgument(2); } ; e->setArgument(3,v4_Name,IfcSIUnitName::ToString(v4_Name)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSanitaryTerminalType IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum IfcSanitaryTerminalType::PredefinedType() { return IfcSanitaryTerminalTypeEnum::FromString(*entity->getArgument(9)); } void IfcSanitaryTerminalType::setPredefinedType(IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcSanitaryTerminalTypeEnum::ToString(v)); } @@ -10118,7 +10118,7 @@ bool IfcSanitaryTerminalType::is(Type::Enum v) const { return v == Type::IfcSani Type::Enum IfcSanitaryTerminalType::type() const { return Type::IfcSanitaryTerminalType; } Type::Enum IfcSanitaryTerminalType::Class() { return Type::IfcSanitaryTerminalType; } IfcSanitaryTerminalType::IfcSanitaryTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSanitaryTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSanitaryTerminalType::IfcSanitaryTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSanitaryTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSanitaryTerminalType::IfcSanitaryTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSanitaryTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcScheduleTimeControl bool IfcScheduleTimeControl::hasActualStart() { return !entity->getArgument(5)->isNull(); } IfcDateTimeSelect IfcScheduleTimeControl::ActualStart() { return *entity->getArgument(5); } @@ -10179,7 +10179,7 @@ bool IfcScheduleTimeControl::is(Type::Enum v) const { return v == Type::IfcSched Type::Enum IfcScheduleTimeControl::type() const { return Type::IfcScheduleTimeControl; } Type::Enum IfcScheduleTimeControl::Class() { return Type::IfcScheduleTimeControl; } IfcScheduleTimeControl::IfcScheduleTimeControl(IfcAbstractEntityPtr e) { if (!is(Type::IfcScheduleTimeControl)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcScheduleTimeControl::IfcScheduleTimeControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ActualStart, optional v7_EarlyStart, optional v8_LateStart, optional v9_ScheduleStart, optional v10_ActualFinish, optional v11_EarlyFinish, optional v12_LateFinish, optional v13_ScheduleFinish, optional v14_ScheduleDuration, optional v15_ActualDuration, optional v16_RemainingTime, optional v17_FreeFloat, optional v18_TotalFloat, optional v19_IsCritical, optional v20_StatusTime, optional v21_StartFloat, optional v22_FinishFloat, optional v23_Completion) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ActualStart) { e->setArgument(5,(*v6_ActualStart)); } else { e->setArgument(5); } ; if (v7_EarlyStart) { e->setArgument(6,(*v7_EarlyStart)); } else { e->setArgument(6); } ; if (v8_LateStart) { e->setArgument(7,(*v8_LateStart)); } else { e->setArgument(7); } ; if (v9_ScheduleStart) { e->setArgument(8,(*v9_ScheduleStart)); } else { e->setArgument(8); } ; if (v10_ActualFinish) { e->setArgument(9,(*v10_ActualFinish)); } else { e->setArgument(9); } ; if (v11_EarlyFinish) { e->setArgument(10,(*v11_EarlyFinish)); } else { e->setArgument(10); } ; if (v12_LateFinish) { e->setArgument(11,(*v12_LateFinish)); } else { e->setArgument(11); } ; if (v13_ScheduleFinish) { e->setArgument(12,(*v13_ScheduleFinish)); } else { e->setArgument(12); } ; if (v14_ScheduleDuration) { e->setArgument(13,(*v14_ScheduleDuration)); } else { e->setArgument(13); } ; if (v15_ActualDuration) { e->setArgument(14,(*v15_ActualDuration)); } else { e->setArgument(14); } ; if (v16_RemainingTime) { e->setArgument(15,(*v16_RemainingTime)); } else { e->setArgument(15); } ; if (v17_FreeFloat) { e->setArgument(16,(*v17_FreeFloat)); } else { e->setArgument(16); } ; if (v18_TotalFloat) { e->setArgument(17,(*v18_TotalFloat)); } else { e->setArgument(17); } ; if (v19_IsCritical) { e->setArgument(18,(*v19_IsCritical)); } else { e->setArgument(18); } ; if (v20_StatusTime) { e->setArgument(19,(*v20_StatusTime)); } else { e->setArgument(19); } ; if (v21_StartFloat) { e->setArgument(20,(*v21_StartFloat)); } else { e->setArgument(20); } ; if (v22_FinishFloat) { e->setArgument(21,(*v22_FinishFloat)); } else { e->setArgument(21); } ; if (v23_Completion) { e->setArgument(22,(*v23_Completion)); } else { e->setArgument(22); } ; entity = e; EntityBuffer::Add(this); } +IfcScheduleTimeControl::IfcScheduleTimeControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcDateTimeSelect > v6_ActualStart, optional< IfcDateTimeSelect > v7_EarlyStart, optional< IfcDateTimeSelect > v8_LateStart, optional< IfcDateTimeSelect > v9_ScheduleStart, optional< IfcDateTimeSelect > v10_ActualFinish, optional< IfcDateTimeSelect > v11_EarlyFinish, optional< IfcDateTimeSelect > v12_LateFinish, optional< IfcDateTimeSelect > v13_ScheduleFinish, optional< IfcTimeMeasure > v14_ScheduleDuration, optional< IfcTimeMeasure > v15_ActualDuration, optional< IfcTimeMeasure > v16_RemainingTime, optional< IfcTimeMeasure > v17_FreeFloat, optional< IfcTimeMeasure > v18_TotalFloat, optional< bool > v19_IsCritical, optional< IfcDateTimeSelect > v20_StatusTime, optional< IfcTimeMeasure > v21_StartFloat, optional< IfcTimeMeasure > v22_FinishFloat, optional< IfcPositiveRatioMeasure > v23_Completion) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ActualStart) { e->setArgument(5,(*v6_ActualStart)); } else { e->setArgument(5); } ; if (v7_EarlyStart) { e->setArgument(6,(*v7_EarlyStart)); } else { e->setArgument(6); } ; if (v8_LateStart) { e->setArgument(7,(*v8_LateStart)); } else { e->setArgument(7); } ; if (v9_ScheduleStart) { e->setArgument(8,(*v9_ScheduleStart)); } else { e->setArgument(8); } ; if (v10_ActualFinish) { e->setArgument(9,(*v10_ActualFinish)); } else { e->setArgument(9); } ; if (v11_EarlyFinish) { e->setArgument(10,(*v11_EarlyFinish)); } else { e->setArgument(10); } ; if (v12_LateFinish) { e->setArgument(11,(*v12_LateFinish)); } else { e->setArgument(11); } ; if (v13_ScheduleFinish) { e->setArgument(12,(*v13_ScheduleFinish)); } else { e->setArgument(12); } ; if (v14_ScheduleDuration) { e->setArgument(13,(*v14_ScheduleDuration)); } else { e->setArgument(13); } ; if (v15_ActualDuration) { e->setArgument(14,(*v15_ActualDuration)); } else { e->setArgument(14); } ; if (v16_RemainingTime) { e->setArgument(15,(*v16_RemainingTime)); } else { e->setArgument(15); } ; if (v17_FreeFloat) { e->setArgument(16,(*v17_FreeFloat)); } else { e->setArgument(16); } ; if (v18_TotalFloat) { e->setArgument(17,(*v18_TotalFloat)); } else { e->setArgument(17); } ; if (v19_IsCritical) { e->setArgument(18,(*v19_IsCritical)); } else { e->setArgument(18); } ; if (v20_StatusTime) { e->setArgument(19,(*v20_StatusTime)); } else { e->setArgument(19); } ; if (v21_StartFloat) { e->setArgument(20,(*v21_StartFloat)); } else { e->setArgument(20); } ; if (v22_FinishFloat) { e->setArgument(21,(*v22_FinishFloat)); } else { e->setArgument(21); } ; if (v23_Completion) { e->setArgument(22,(*v23_Completion)); } else { e->setArgument(22); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSectionProperties IfcSectionTypeEnum::IfcSectionTypeEnum IfcSectionProperties::SectionType() { return IfcSectionTypeEnum::FromString(*entity->getArgument(0)); } void IfcSectionProperties::setSectionType(IfcSectionTypeEnum::IfcSectionTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v,IfcSectionTypeEnum::ToString(v)); } @@ -10205,25 +10205,25 @@ IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum IfcSectionReinforcementProp void IfcSectionReinforcementProperties::setReinforcementRole(IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v,IfcReinforcingBarRoleEnum::ToString(v)); } IfcSectionProperties* IfcSectionReinforcementProperties::SectionDefinition() { return reinterpret_pointer_cast(*entity->getArgument(4)); } void IfcSectionReinforcementProperties::setSectionDefinition(IfcSectionProperties* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() { RETURN_AS_LIST(IfcReinforcementBarProperties,5) } -void IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() { RETURN_AS_LIST(IfcReinforcementBarProperties,5) } +void IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } bool IfcSectionReinforcementProperties::is(Type::Enum v) const { return v == Type::IfcSectionReinforcementProperties; } Type::Enum IfcSectionReinforcementProperties::type() const { return Type::IfcSectionReinforcementProperties; } Type::Enum IfcSectionReinforcementProperties::Class() { return Type::IfcSectionReinforcementProperties; } IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcSectionReinforcementProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(IfcLengthMeasure v1_LongitudinalStartPosition, IfcLengthMeasure v2_LongitudinalEndPosition, optional v3_TransversePosition, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v4_ReinforcementRole, IfcSectionProperties* v5_SectionDefinition, SHARED_PTR< IfcTemplatedEntityList > v6_CrossSectionReinforcementDefinitions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_LongitudinalStartPosition)); e->setArgument(1,(v2_LongitudinalEndPosition)); if (v3_TransversePosition) { e->setArgument(2,(*v3_TransversePosition)); } else { e->setArgument(2); } ; e->setArgument(3,v4_ReinforcementRole,IfcReinforcingBarRoleEnum::ToString(v4_ReinforcementRole)); e->setArgument(4,(v5_SectionDefinition)); e->setArgument(5,(v6_CrossSectionReinforcementDefinitions)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcSectionReinforcementProperties::IfcSectionReinforcementProperties(IfcLengthMeasure v1_LongitudinalStartPosition, IfcLengthMeasure v2_LongitudinalEndPosition, optional< IfcLengthMeasure > v3_TransversePosition, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v4_ReinforcementRole, IfcSectionProperties* v5_SectionDefinition, SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > v6_CrossSectionReinforcementDefinitions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_LongitudinalStartPosition)); e->setArgument(1,(v2_LongitudinalEndPosition)); if (v3_TransversePosition) { e->setArgument(2,(*v3_TransversePosition)); } else { e->setArgument(2); } ; e->setArgument(3,v4_ReinforcementRole,IfcReinforcingBarRoleEnum::ToString(v4_ReinforcementRole)); e->setArgument(4,(v5_SectionDefinition)); e->setArgument(5,(v6_CrossSectionReinforcementDefinitions)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSectionedSpine IfcCompositeCurve* IfcSectionedSpine::SpineCurve() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcSectionedSpine::setSpineCurve(IfcCompositeCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcSectionedSpine::CrossSections() { RETURN_AS_LIST(IfcProfileDef,1) } -void IfcSectionedSpine::setCrossSections(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } -SHARED_PTR< IfcTemplatedEntityList > IfcSectionedSpine::CrossSectionPositions() { RETURN_AS_LIST(IfcAxis2Placement3D,2) } -void IfcSectionedSpine::setCrossSectionPositions(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > IfcSectionedSpine::CrossSections() { RETURN_AS_LIST(IfcProfileDef,1) } +void IfcSectionedSpine::setCrossSections(SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > IfcSectionedSpine::CrossSectionPositions() { RETURN_AS_LIST(IfcAxis2Placement3D,2) } +void IfcSectionedSpine::setCrossSectionPositions(SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcSectionedSpine::is(Type::Enum v) const { return v == Type::IfcSectionedSpine || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcSectionedSpine::type() const { return Type::IfcSectionedSpine; } Type::Enum IfcSectionedSpine::Class() { return Type::IfcSectionedSpine; } IfcSectionedSpine::IfcSectionedSpine(IfcAbstractEntityPtr e) { if (!is(Type::IfcSectionedSpine)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSectionedSpine::IfcSectionedSpine(IfcCompositeCurve* v1_SpineCurve, SHARED_PTR< IfcTemplatedEntityList > v2_CrossSections, SHARED_PTR< IfcTemplatedEntityList > v3_CrossSectionPositions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SpineCurve)); e->setArgument(1,(v2_CrossSections)->generalize()); e->setArgument(2,(v3_CrossSectionPositions)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcSectionedSpine::IfcSectionedSpine(IfcCompositeCurve* v1_SpineCurve, SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v2_CrossSections, SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > v3_CrossSectionPositions) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SpineCurve)); e->setArgument(1,(v2_CrossSections)->generalize()); e->setArgument(2,(v3_CrossSectionPositions)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSensorType IfcSensorTypeEnum::IfcSensorTypeEnum IfcSensorType::PredefinedType() { return IfcSensorTypeEnum::FromString(*entity->getArgument(9)); } void IfcSensorType::setPredefinedType(IfcSensorTypeEnum::IfcSensorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcSensorTypeEnum::ToString(v)); } @@ -10231,7 +10231,7 @@ bool IfcSensorType::is(Type::Enum v) const { return v == Type::IfcSensorType || Type::Enum IfcSensorType::type() const { return Type::IfcSensorType; } Type::Enum IfcSensorType::Class() { return Type::IfcSensorType; } IfcSensorType::IfcSensorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSensorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSensorType::IfcSensorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSensorTypeEnum::IfcSensorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSensorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSensorType::IfcSensorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSensorTypeEnum::IfcSensorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSensorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcServiceLife IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum IfcServiceLife::ServiceLifeType() { return IfcServiceLifeTypeEnum::FromString(*entity->getArgument(5)); } void IfcServiceLife::setServiceLifeType(IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcServiceLifeTypeEnum::ToString(v)); } @@ -10241,7 +10241,7 @@ bool IfcServiceLife::is(Type::Enum v) const { return v == Type::IfcServiceLife | Type::Enum IfcServiceLife::type() const { return Type::IfcServiceLife; } Type::Enum IfcServiceLife::Class() { return Type::IfcServiceLife; } IfcServiceLife::IfcServiceLife(IfcAbstractEntityPtr e) { if (!is(Type::IfcServiceLife)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcServiceLife::IfcServiceLife(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum v6_ServiceLifeType, IfcTimeMeasure v7_ServiceLifeDuration) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_ServiceLifeType,IfcServiceLifeTypeEnum::ToString(v6_ServiceLifeType)); e->setArgument(6,(v7_ServiceLifeDuration)); entity = e; EntityBuffer::Add(this); } +IfcServiceLife::IfcServiceLife(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum v6_ServiceLifeType, IfcTimeMeasure v7_ServiceLifeDuration) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_ServiceLifeType,IfcServiceLifeTypeEnum::ToString(v6_ServiceLifeType)); e->setArgument(6,(v7_ServiceLifeDuration)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcServiceLifeFactor IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum IfcServiceLifeFactor::PredefinedType() { return IfcServiceLifeFactorTypeEnum::FromString(*entity->getArgument(4)); } void IfcServiceLifeFactor::setPredefinedType(IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v,IfcServiceLifeFactorTypeEnum::ToString(v)); } @@ -10257,10 +10257,10 @@ bool IfcServiceLifeFactor::is(Type::Enum v) const { return v == Type::IfcService Type::Enum IfcServiceLifeFactor::type() const { return Type::IfcServiceLifeFactor; } Type::Enum IfcServiceLifeFactor::Class() { return Type::IfcServiceLifeFactor; } IfcServiceLifeFactor::IfcServiceLifeFactor(IfcAbstractEntityPtr e) { if (!is(Type::IfcServiceLifeFactor)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcServiceLifeFactor::IfcServiceLifeFactor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum v5_PredefinedType, optional v6_UpperValue, IfcMeasureValue v7_MostUsedValue, optional v8_LowerValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_PredefinedType,IfcServiceLifeFactorTypeEnum::ToString(v5_PredefinedType)); if (v6_UpperValue) { e->setArgument(5,(*v6_UpperValue)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_MostUsedValue)); if (v8_LowerValue) { e->setArgument(7,(*v8_LowerValue)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcServiceLifeFactor::IfcServiceLifeFactor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum v5_PredefinedType, optional< IfcMeasureValue > v6_UpperValue, IfcMeasureValue v7_MostUsedValue, optional< IfcMeasureValue > v8_LowerValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_PredefinedType,IfcServiceLifeFactorTypeEnum::ToString(v5_PredefinedType)); if (v6_UpperValue) { e->setArgument(5,(*v6_UpperValue)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_MostUsedValue)); if (v8_LowerValue) { e->setArgument(7,(*v8_LowerValue)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcShapeAspect -SHARED_PTR< IfcTemplatedEntityList > IfcShapeAspect::ShapeRepresentations() { RETURN_AS_LIST(IfcShapeModel,0) } -void IfcShapeAspect::setShapeRepresentations(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > IfcShapeAspect::ShapeRepresentations() { RETURN_AS_LIST(IfcShapeModel,0) } +void IfcShapeAspect::setShapeRepresentations(SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcShapeAspect::hasName() { return !entity->getArgument(1)->isNull(); } IfcLabel IfcShapeAspect::Name() { return *entity->getArgument(1); } void IfcShapeAspect::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -10275,23 +10275,23 @@ bool IfcShapeAspect::is(Type::Enum v) const { return v == Type::IfcShapeAspect; Type::Enum IfcShapeAspect::type() const { return Type::IfcShapeAspect; } Type::Enum IfcShapeAspect::Class() { return Type::IfcShapeAspect; } IfcShapeAspect::IfcShapeAspect(IfcAbstractEntityPtr e) { if (!is(Type::IfcShapeAspect)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcShapeAspect::IfcShapeAspect(SHARED_PTR< IfcTemplatedEntityList > v1_ShapeRepresentations, optional v2_Name, optional v3_Description, bool v4_ProductDefinitional, IfcProductDefinitionShape* v5_PartOfProductDefinitionShape) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ShapeRepresentations)->generalize()); if (v2_Name) { e->setArgument(1,(*v2_Name)); } else { e->setArgument(1); } ; if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_ProductDefinitional)); e->setArgument(4,(v5_PartOfProductDefinitionShape)); entity = e; EntityBuffer::Add(this); } +IfcShapeAspect::IfcShapeAspect(SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > v1_ShapeRepresentations, optional< IfcLabel > v2_Name, optional< IfcText > v3_Description, bool v4_ProductDefinitional, IfcProductDefinitionShape* v5_PartOfProductDefinitionShape) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ShapeRepresentations)->generalize()); if (v2_Name) { e->setArgument(1,(*v2_Name)); } else { e->setArgument(1); } ; if (v3_Description) { e->setArgument(2,(*v3_Description)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_ProductDefinitional)); e->setArgument(4,(v5_PartOfProductDefinitionShape)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcShapeModel IfcShapeAspect::list IfcShapeModel::OfShapeAspect() { RETURN_INVERSE(IfcShapeAspect) } bool IfcShapeModel::is(Type::Enum v) const { return v == Type::IfcShapeModel || IfcRepresentation::is(v); } Type::Enum IfcShapeModel::type() const { return Type::IfcShapeModel; } Type::Enum IfcShapeModel::Class() { return Type::IfcShapeModel; } IfcShapeModel::IfcShapeModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcShapeModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcShapeModel::IfcShapeModel(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcShapeModel::IfcShapeModel(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcShapeRepresentation bool IfcShapeRepresentation::is(Type::Enum v) const { return v == Type::IfcShapeRepresentation || IfcShapeModel::is(v); } Type::Enum IfcShapeRepresentation::type() const { return Type::IfcShapeRepresentation; } Type::Enum IfcShapeRepresentation::Class() { return Type::IfcShapeRepresentation; } IfcShapeRepresentation::IfcShapeRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcShapeRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcShapeRepresentation::IfcShapeRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcShapeRepresentation::IfcShapeRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcShellBasedSurfaceModel -SHARED_PTR< IfcTemplatedEntityList > IfcShellBasedSurfaceModel::SbsmBoundary() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcShellBasedSurfaceModel::setSbsmBoundary(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcShellBasedSurfaceModel::SbsmBoundary() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcShellBasedSurfaceModel::setSbsmBoundary(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcShellBasedSurfaceModel::is(Type::Enum v) const { return v == Type::IfcShellBasedSurfaceModel || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcShellBasedSurfaceModel::type() const { return Type::IfcShellBasedSurfaceModel; } Type::Enum IfcShellBasedSurfaceModel::Class() { return Type::IfcShellBasedSurfaceModel; } @@ -10302,7 +10302,7 @@ bool IfcSimpleProperty::is(Type::Enum v) const { return v == Type::IfcSimpleProp Type::Enum IfcSimpleProperty::type() const { return Type::IfcSimpleProperty; } Type::Enum IfcSimpleProperty::Class() { return Type::IfcSimpleProperty; } IfcSimpleProperty::IfcSimpleProperty(IfcAbstractEntityPtr e) { if (!is(Type::IfcSimpleProperty)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSimpleProperty::IfcSimpleProperty(IfcIdentifier v1_Name, optional v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcSimpleProperty::IfcSimpleProperty(IfcIdentifier v1_Name, optional< IfcText > v2_Description) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSite bool IfcSite::hasRefLatitude() { return !entity->getArgument(9)->isNull(); } IfcCompoundPlaneAngleMeasure IfcSite::RefLatitude() { return *entity->getArgument(9); } @@ -10323,7 +10323,7 @@ bool IfcSite::is(Type::Enum v) const { return v == Type::IfcSite || IfcSpatialSt Type::Enum IfcSite::type() const { return Type::IfcSite; } Type::Enum IfcSite::Class() { return Type::IfcSite; } IfcSite::IfcSite(IfcAbstractEntityPtr e) { if (!is(Type::IfcSite)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSite::IfcSite(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_RefLatitude, optional v11_RefLongitude, optional v12_RefElevation, optional v13_LandTitleNumber, IfcPostalAddress* v14_SiteAddress) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_RefLatitude) { e->setArgument(9,(*v10_RefLatitude)); } else { e->setArgument(9); } ; if (v11_RefLongitude) { e->setArgument(10,(*v11_RefLongitude)); } else { e->setArgument(10); } ; if (v12_RefElevation) { e->setArgument(11,(*v12_RefElevation)); } else { e->setArgument(11); } ; if (v13_LandTitleNumber) { e->setArgument(12,(*v13_LandTitleNumber)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_SiteAddress)); entity = e; EntityBuffer::Add(this); } +IfcSite::IfcSite(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcCompoundPlaneAngleMeasure > v10_RefLatitude, optional< IfcCompoundPlaneAngleMeasure > v11_RefLongitude, optional< IfcLengthMeasure > v12_RefElevation, optional< IfcLabel > v13_LandTitleNumber, IfcPostalAddress* v14_SiteAddress) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); if (v10_RefLatitude) { e->setArgument(9,(*v10_RefLatitude)); } else { e->setArgument(9); } ; if (v11_RefLongitude) { e->setArgument(10,(*v11_RefLongitude)); } else { e->setArgument(10); } ; if (v12_RefElevation) { e->setArgument(11,(*v12_RefElevation)); } else { e->setArgument(11); } ; if (v13_LandTitleNumber) { e->setArgument(12,(*v13_LandTitleNumber)); } else { e->setArgument(12); } ; e->setArgument(13,(v14_SiteAddress)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSlab bool IfcSlab::hasPredefinedType() { return !entity->getArgument(8)->isNull(); } IfcSlabTypeEnum::IfcSlabTypeEnum IfcSlab::PredefinedType() { return IfcSlabTypeEnum::FromString(*entity->getArgument(8)); } @@ -10332,7 +10332,7 @@ bool IfcSlab::is(Type::Enum v) const { return v == Type::IfcSlab || IfcBuildingE Type::Enum IfcSlab::type() const { return Type::IfcSlab; } Type::Enum IfcSlab::Class() { return Type::IfcSlab; } IfcSlab::IfcSlab(IfcAbstractEntityPtr e) { if (!is(Type::IfcSlab)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSlab::IfcSlab(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcSlabTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcSlab::IfcSlab(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcSlabTypeEnum::IfcSlabTypeEnum > v9_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_PredefinedType) { e->setArgument(8,*v9_PredefinedType,IfcSlabTypeEnum::ToString(*v9_PredefinedType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSlabType IfcSlabTypeEnum::IfcSlabTypeEnum IfcSlabType::PredefinedType() { return IfcSlabTypeEnum::FromString(*entity->getArgument(9)); } void IfcSlabType::setPredefinedType(IfcSlabTypeEnum::IfcSlabTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcSlabTypeEnum::ToString(v)); } @@ -10340,7 +10340,7 @@ bool IfcSlabType::is(Type::Enum v) const { return v == Type::IfcSlabType || IfcB Type::Enum IfcSlabType::type() const { return Type::IfcSlabType; } Type::Enum IfcSlabType::Class() { return Type::IfcSlabType; } IfcSlabType::IfcSlabType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSlabType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSlabType::IfcSlabType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSlabTypeEnum::IfcSlabTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSlabTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSlabType::IfcSlabType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSlabTypeEnum::IfcSlabTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSlabTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSlippageConnectionCondition bool IfcSlippageConnectionCondition::hasSlippageX() { return !entity->getArgument(1)->isNull(); } IfcLengthMeasure IfcSlippageConnectionCondition::SlippageX() { return *entity->getArgument(1); } @@ -10355,7 +10355,7 @@ bool IfcSlippageConnectionCondition::is(Type::Enum v) const { return v == Type:: Type::Enum IfcSlippageConnectionCondition::type() const { return Type::IfcSlippageConnectionCondition; } Type::Enum IfcSlippageConnectionCondition::Class() { return Type::IfcSlippageConnectionCondition; } IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcSlippageConnectionCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(optional v1_Name, optional v2_SlippageX, optional v3_SlippageY, optional v4_SlippageZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_SlippageX) { e->setArgument(1,(*v2_SlippageX)); } else { e->setArgument(1); } ; if (v3_SlippageY) { e->setArgument(2,(*v3_SlippageY)); } else { e->setArgument(2); } ; if (v4_SlippageZ) { e->setArgument(3,(*v4_SlippageZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcSlippageConnectionCondition::IfcSlippageConnectionCondition(optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_SlippageX, optional< IfcLengthMeasure > v3_SlippageY, optional< IfcLengthMeasure > v4_SlippageZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_SlippageX) { e->setArgument(1,(*v2_SlippageX)); } else { e->setArgument(1); } ; if (v3_SlippageY) { e->setArgument(2,(*v3_SlippageY)); } else { e->setArgument(2); } ; if (v4_SlippageZ) { e->setArgument(3,(*v4_SlippageZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSolidModel bool IfcSolidModel::is(Type::Enum v) const { return v == Type::IfcSolidModel || IfcGeometricRepresentationItem::is(v); } Type::Enum IfcSolidModel::type() const { return Type::IfcSolidModel; } @@ -10367,13 +10367,13 @@ void IfcSoundProperties::setIsAttenuating(IfcBoolean v) { if ( ! entity->isWrita bool IfcSoundProperties::hasSoundScale() { return !entity->getArgument(5)->isNull(); } IfcSoundScaleEnum::IfcSoundScaleEnum IfcSoundProperties::SoundScale() { return IfcSoundScaleEnum::FromString(*entity->getArgument(5)); } void IfcSoundProperties::setSoundScale(IfcSoundScaleEnum::IfcSoundScaleEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcSoundScaleEnum::ToString(v)); } -SHARED_PTR< IfcTemplatedEntityList > IfcSoundProperties::SoundValues() { RETURN_AS_LIST(IfcSoundValue,6) } -void IfcSoundProperties::setSoundValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > IfcSoundProperties::SoundValues() { RETURN_AS_LIST(IfcSoundValue,6) } +void IfcSoundProperties::setSoundValues(SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } bool IfcSoundProperties::is(Type::Enum v) const { return v == Type::IfcSoundProperties || IfcPropertySetDefinition::is(v); } Type::Enum IfcSoundProperties::type() const { return Type::IfcSoundProperties; } Type::Enum IfcSoundProperties::Class() { return Type::IfcSoundProperties; } IfcSoundProperties::IfcSoundProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcSoundProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSoundProperties::IfcSoundProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcBoolean v5_IsAttenuating, optional v6_SoundScale, SHARED_PTR< IfcTemplatedEntityList > v7_SoundValues) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_IsAttenuating)); if (v6_SoundScale) { e->setArgument(5,*v6_SoundScale,IfcSoundScaleEnum::ToString(*v6_SoundScale)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_SoundValues)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcSoundProperties::IfcSoundProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcBoolean v5_IsAttenuating, optional< IfcSoundScaleEnum::IfcSoundScaleEnum > v6_SoundScale, SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > v7_SoundValues) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_IsAttenuating)); if (v6_SoundScale) { e->setArgument(5,*v6_SoundScale,IfcSoundScaleEnum::ToString(*v6_SoundScale)); } else { e->setArgument(5); } ; e->setArgument(6,(v7_SoundValues)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSoundValue bool IfcSoundValue::hasSoundLevelTimeSeries() { return !entity->getArgument(4)->isNull(); } IfcTimeSeries* IfcSoundValue::SoundLevelTimeSeries() { return reinterpret_pointer_cast(*entity->getArgument(4)); } @@ -10387,7 +10387,7 @@ bool IfcSoundValue::is(Type::Enum v) const { return v == Type::IfcSoundValue || Type::Enum IfcSoundValue::type() const { return Type::IfcSoundValue; } Type::Enum IfcSoundValue::Class() { return Type::IfcSoundValue; } IfcSoundValue::IfcSoundValue(IfcAbstractEntityPtr e) { if (!is(Type::IfcSoundValue)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSoundValue::IfcSoundValue(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcTimeSeries* v5_SoundLevelTimeSeries, IfcFrequencyMeasure v6_Frequency, optional v7_SoundLevelSingleValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_SoundLevelTimeSeries)); e->setArgument(5,(v6_Frequency)); if (v7_SoundLevelSingleValue) { e->setArgument(6,(*v7_SoundLevelSingleValue)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcSoundValue::IfcSoundValue(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcTimeSeries* v5_SoundLevelTimeSeries, IfcFrequencyMeasure v6_Frequency, optional< IfcDerivedMeasureValue > v7_SoundLevelSingleValue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,(v5_SoundLevelTimeSeries)); e->setArgument(5,(v6_Frequency)); if (v7_SoundLevelSingleValue) { e->setArgument(6,(*v7_SoundLevelSingleValue)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpace IfcInternalOrExternalEnum::IfcInternalOrExternalEnum IfcSpace::InteriorOrExteriorSpace() { return IfcInternalOrExternalEnum::FromString(*entity->getArgument(9)); } void IfcSpace::setInteriorOrExteriorSpace(IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcInternalOrExternalEnum::ToString(v)); } @@ -10400,7 +10400,7 @@ bool IfcSpace::is(Type::Enum v) const { return v == Type::IfcSpace || IfcSpatial Type::Enum IfcSpace::type() const { return Type::IfcSpace; } Type::Enum IfcSpace::Class() { return Type::IfcSpace; } IfcSpace::IfcSpace(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpace)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpace::IfcSpace(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v10_InteriorOrExteriorSpace, optional v11_ElevationWithFlooring) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); e->setArgument(9,v10_InteriorOrExteriorSpace,IfcInternalOrExternalEnum::ToString(v10_InteriorOrExteriorSpace)); if (v11_ElevationWithFlooring) { e->setArgument(10,(*v11_ElevationWithFlooring)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcSpace::IfcSpace(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v10_InteriorOrExteriorSpace, optional< IfcLengthMeasure > v11_ElevationWithFlooring) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); e->setArgument(9,v10_InteriorOrExteriorSpace,IfcInternalOrExternalEnum::ToString(v10_InteriorOrExteriorSpace)); if (v11_ElevationWithFlooring) { e->setArgument(10,(*v11_ElevationWithFlooring)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpaceHeaterType IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum IfcSpaceHeaterType::PredefinedType() { return IfcSpaceHeaterTypeEnum::FromString(*entity->getArgument(9)); } void IfcSpaceHeaterType::setPredefinedType(IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcSpaceHeaterTypeEnum::ToString(v)); } @@ -10408,7 +10408,7 @@ bool IfcSpaceHeaterType::is(Type::Enum v) const { return v == Type::IfcSpaceHeat Type::Enum IfcSpaceHeaterType::type() const { return Type::IfcSpaceHeaterType; } Type::Enum IfcSpaceHeaterType::Class() { return Type::IfcSpaceHeaterType; } IfcSpaceHeaterType::IfcSpaceHeaterType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpaceHeaterType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpaceHeaterType::IfcSpaceHeaterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSpaceHeaterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSpaceHeaterType::IfcSpaceHeaterType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSpaceHeaterTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpaceProgram IfcIdentifier IfcSpaceProgram::SpaceProgramIdentifier() { return *entity->getArgument(5); } void IfcSpaceProgram::setSpaceProgramIdentifier(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -10429,7 +10429,7 @@ bool IfcSpaceProgram::is(Type::Enum v) const { return v == Type::IfcSpaceProgram Type::Enum IfcSpaceProgram::type() const { return Type::IfcSpaceProgram; } Type::Enum IfcSpaceProgram::Class() { return Type::IfcSpaceProgram; } IfcSpaceProgram::IfcSpaceProgram(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpaceProgram)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpaceProgram::IfcSpaceProgram(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_SpaceProgramIdentifier, optional v7_MaxRequiredArea, optional v8_MinRequiredArea, IfcSpatialStructureElement* v9_RequestedLocation, IfcAreaMeasure v10_StandardRequiredArea) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_SpaceProgramIdentifier)); if (v7_MaxRequiredArea) { e->setArgument(6,(*v7_MaxRequiredArea)); } else { e->setArgument(6); } ; if (v8_MinRequiredArea) { e->setArgument(7,(*v8_MinRequiredArea)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_RequestedLocation)); e->setArgument(9,(v10_StandardRequiredArea)); entity = e; EntityBuffer::Add(this); } +IfcSpaceProgram::IfcSpaceProgram(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_SpaceProgramIdentifier, optional< IfcAreaMeasure > v7_MaxRequiredArea, optional< IfcAreaMeasure > v8_MinRequiredArea, IfcSpatialStructureElement* v9_RequestedLocation, IfcAreaMeasure v10_StandardRequiredArea) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_SpaceProgramIdentifier)); if (v7_MaxRequiredArea) { e->setArgument(6,(*v7_MaxRequiredArea)); } else { e->setArgument(6); } ; if (v8_MinRequiredArea) { e->setArgument(7,(*v8_MinRequiredArea)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_RequestedLocation)); e->setArgument(9,(v10_StandardRequiredArea)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpaceThermalLoadProperties bool IfcSpaceThermalLoadProperties::hasApplicableValueRatio() { return !entity->getArgument(4)->isNull(); } IfcPositiveRatioMeasure IfcSpaceThermalLoadProperties::ApplicableValueRatio() { return *entity->getArgument(4); } @@ -10461,7 +10461,7 @@ bool IfcSpaceThermalLoadProperties::is(Type::Enum v) const { return v == Type::I Type::Enum IfcSpaceThermalLoadProperties::type() const { return Type::IfcSpaceThermalLoadProperties; } Type::Enum IfcSpaceThermalLoadProperties::Class() { return Type::IfcSpaceThermalLoadProperties; } IfcSpaceThermalLoadProperties::IfcSpaceThermalLoadProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpaceThermalLoadProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpaceThermalLoadProperties::IfcSpaceThermalLoadProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableValueRatio, IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum v6_ThermalLoadSource, IfcPropertySourceEnum::IfcPropertySourceEnum v7_PropertySource, optional v8_SourceDescription, IfcPowerMeasure v9_MaximumValue, optional v10_MinimumValue, IfcTimeSeries* v11_ThermalLoadTimeSeriesValues, optional v12_UserDefinedThermalLoadSource, optional v13_UserDefinedPropertySource, IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum v14_ThermalLoadType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableValueRatio) { e->setArgument(4,(*v5_ApplicableValueRatio)); } else { e->setArgument(4); } ; e->setArgument(5,v6_ThermalLoadSource,IfcThermalLoadSourceEnum::ToString(v6_ThermalLoadSource)); e->setArgument(6,v7_PropertySource,IfcPropertySourceEnum::ToString(v7_PropertySource)); if (v8_SourceDescription) { e->setArgument(7,(*v8_SourceDescription)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_MaximumValue)); if (v10_MinimumValue) { e->setArgument(9,(*v10_MinimumValue)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_ThermalLoadTimeSeriesValues)); if (v12_UserDefinedThermalLoadSource) { e->setArgument(11,(*v12_UserDefinedThermalLoadSource)); } else { e->setArgument(11); } ; if (v13_UserDefinedPropertySource) { e->setArgument(12,(*v13_UserDefinedPropertySource)); } else { e->setArgument(12); } ; e->setArgument(13,v14_ThermalLoadType,IfcThermalLoadTypeEnum::ToString(v14_ThermalLoadType)); entity = e; EntityBuffer::Add(this); } +IfcSpaceThermalLoadProperties::IfcSpaceThermalLoadProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveRatioMeasure > v5_ApplicableValueRatio, IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum v6_ThermalLoadSource, IfcPropertySourceEnum::IfcPropertySourceEnum v7_PropertySource, optional< IfcText > v8_SourceDescription, IfcPowerMeasure v9_MaximumValue, optional< IfcPowerMeasure > v10_MinimumValue, IfcTimeSeries* v11_ThermalLoadTimeSeriesValues, optional< IfcLabel > v12_UserDefinedThermalLoadSource, optional< IfcLabel > v13_UserDefinedPropertySource, IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum v14_ThermalLoadType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableValueRatio) { e->setArgument(4,(*v5_ApplicableValueRatio)); } else { e->setArgument(4); } ; e->setArgument(5,v6_ThermalLoadSource,IfcThermalLoadSourceEnum::ToString(v6_ThermalLoadSource)); e->setArgument(6,v7_PropertySource,IfcPropertySourceEnum::ToString(v7_PropertySource)); if (v8_SourceDescription) { e->setArgument(7,(*v8_SourceDescription)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_MaximumValue)); if (v10_MinimumValue) { e->setArgument(9,(*v10_MinimumValue)); } else { e->setArgument(9); } ; e->setArgument(10,(v11_ThermalLoadTimeSeriesValues)); if (v12_UserDefinedThermalLoadSource) { e->setArgument(11,(*v12_UserDefinedThermalLoadSource)); } else { e->setArgument(11); } ; if (v13_UserDefinedPropertySource) { e->setArgument(12,(*v13_UserDefinedPropertySource)); } else { e->setArgument(12); } ; e->setArgument(13,v14_ThermalLoadType,IfcThermalLoadTypeEnum::ToString(v14_ThermalLoadType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpaceType IfcSpaceTypeEnum::IfcSpaceTypeEnum IfcSpaceType::PredefinedType() { return IfcSpaceTypeEnum::FromString(*entity->getArgument(9)); } void IfcSpaceType::setPredefinedType(IfcSpaceTypeEnum::IfcSpaceTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcSpaceTypeEnum::ToString(v)); } @@ -10469,7 +10469,7 @@ bool IfcSpaceType::is(Type::Enum v) const { return v == Type::IfcSpaceType || If Type::Enum IfcSpaceType::type() const { return Type::IfcSpaceType; } Type::Enum IfcSpaceType::Class() { return Type::IfcSpaceType; } IfcSpaceType::IfcSpaceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpaceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpaceType::IfcSpaceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSpaceTypeEnum::IfcSpaceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSpaceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSpaceType::IfcSpaceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSpaceTypeEnum::IfcSpaceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSpaceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpatialStructureElement bool IfcSpatialStructureElement::hasLongName() { return !entity->getArgument(7)->isNull(); } IfcLabel IfcSpatialStructureElement::LongName() { return *entity->getArgument(7); } @@ -10483,13 +10483,13 @@ bool IfcSpatialStructureElement::is(Type::Enum v) const { return v == Type::IfcS Type::Enum IfcSpatialStructureElement::type() const { return Type::IfcSpatialStructureElement; } Type::Enum IfcSpatialStructureElement::Class() { return Type::IfcSpatialStructureElement; } IfcSpatialStructureElement::IfcSpatialStructureElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpatialStructureElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpatialStructureElement::IfcSpatialStructureElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); entity = e; EntityBuffer::Add(this); } +IfcSpatialStructureElement::IfcSpatialStructureElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_LongName) { e->setArgument(7,(*v8_LongName)); } else { e->setArgument(7); } ; e->setArgument(8,v9_CompositionType,IfcElementCompositionEnum::ToString(v9_CompositionType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSpatialStructureElementType bool IfcSpatialStructureElementType::is(Type::Enum v) const { return v == Type::IfcSpatialStructureElementType || IfcElementType::is(v); } Type::Enum IfcSpatialStructureElementType::type() const { return Type::IfcSpatialStructureElementType; } Type::Enum IfcSpatialStructureElementType::Class() { return Type::IfcSpatialStructureElementType; } IfcSpatialStructureElementType::IfcSpatialStructureElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSpatialStructureElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSpatialStructureElementType::IfcSpatialStructureElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcSpatialStructureElementType::IfcSpatialStructureElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSphere IfcPositiveLengthMeasure IfcSphere::Radius() { return *entity->getArgument(1); } void IfcSphere::setRadius(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -10505,7 +10505,7 @@ bool IfcStackTerminalType::is(Type::Enum v) const { return v == Type::IfcStackTe Type::Enum IfcStackTerminalType::type() const { return Type::IfcStackTerminalType; } Type::Enum IfcStackTerminalType::Class() { return Type::IfcStackTerminalType; } IfcStackTerminalType::IfcStackTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcStackTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStackTerminalType::IfcStackTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcStackTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcStackTerminalType::IfcStackTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcStackTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStair IfcStairTypeEnum::IfcStairTypeEnum IfcStair::ShapeType() { return IfcStairTypeEnum::FromString(*entity->getArgument(8)); } void IfcStair::setShapeType(IfcStairTypeEnum::IfcStairTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcStairTypeEnum::ToString(v)); } @@ -10513,7 +10513,7 @@ bool IfcStair::is(Type::Enum v) const { return v == Type::IfcStair || IfcBuildin Type::Enum IfcStair::type() const { return Type::IfcStair; } Type::Enum IfcStair::Class() { return Type::IfcStair; } IfcStair::IfcStair(IfcAbstractEntityPtr e) { if (!is(Type::IfcStair)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStair::IfcStair(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcStairTypeEnum::IfcStairTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcStairTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } +IfcStair::IfcStair(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcStairTypeEnum::IfcStairTypeEnum v9_ShapeType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ShapeType,IfcStairTypeEnum::ToString(v9_ShapeType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStairFlight bool IfcStairFlight::hasNumberOfRiser() { return !entity->getArgument(8)->isNull(); } int IfcStairFlight::NumberOfRiser() { return *entity->getArgument(8); } @@ -10531,7 +10531,7 @@ bool IfcStairFlight::is(Type::Enum v) const { return v == Type::IfcStairFlight | Type::Enum IfcStairFlight::type() const { return Type::IfcStairFlight; } Type::Enum IfcStairFlight::Class() { return Type::IfcStairFlight; } IfcStairFlight::IfcStairFlight(IfcAbstractEntityPtr e) { if (!is(Type::IfcStairFlight)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStairFlight::IfcStairFlight(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_NumberOfRiser, optional v10_NumberOfTreads, optional v11_RiserHeight, optional v12_TreadLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_NumberOfRiser) { e->setArgument(8,(*v9_NumberOfRiser)); } else { e->setArgument(8); } ; if (v10_NumberOfTreads) { e->setArgument(9,(*v10_NumberOfTreads)); } else { e->setArgument(9); } ; if (v11_RiserHeight) { e->setArgument(10,(*v11_RiserHeight)); } else { e->setArgument(10); } ; if (v12_TreadLength) { e->setArgument(11,(*v12_TreadLength)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } +IfcStairFlight::IfcStairFlight(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< int > v9_NumberOfRiser, optional< int > v10_NumberOfTreads, optional< IfcPositiveLengthMeasure > v11_RiserHeight, optional< IfcPositiveLengthMeasure > v12_TreadLength) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_NumberOfRiser) { e->setArgument(8,(*v9_NumberOfRiser)); } else { e->setArgument(8); } ; if (v10_NumberOfTreads) { e->setArgument(9,(*v10_NumberOfTreads)); } else { e->setArgument(9); } ; if (v11_RiserHeight) { e->setArgument(10,(*v11_RiserHeight)); } else { e->setArgument(10); } ; if (v12_TreadLength) { e->setArgument(11,(*v12_TreadLength)); } else { e->setArgument(11); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStairFlightType IfcStairFlightTypeEnum::IfcStairFlightTypeEnum IfcStairFlightType::PredefinedType() { return IfcStairFlightTypeEnum::FromString(*entity->getArgument(9)); } void IfcStairFlightType::setPredefinedType(IfcStairFlightTypeEnum::IfcStairFlightTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcStairFlightTypeEnum::ToString(v)); } @@ -10539,7 +10539,7 @@ bool IfcStairFlightType::is(Type::Enum v) const { return v == Type::IfcStairFlig Type::Enum IfcStairFlightType::type() const { return Type::IfcStairFlightType; } Type::Enum IfcStairFlightType::Class() { return Type::IfcStairFlightType; } IfcStairFlightType::IfcStairFlightType(IfcAbstractEntityPtr e) { if (!is(Type::IfcStairFlightType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStairFlightType::IfcStairFlightType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcStairFlightTypeEnum::IfcStairFlightTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcStairFlightTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcStairFlightType::IfcStairFlightType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcStairFlightTypeEnum::IfcStairFlightTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcStairFlightTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralAction bool IfcStructuralAction::DestabilizingLoad() { return *entity->getArgument(9); } void IfcStructuralAction::setDestabilizingLoad(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v); } @@ -10550,7 +10550,7 @@ bool IfcStructuralAction::is(Type::Enum v) const { return v == Type::IfcStructur Type::Enum IfcStructuralAction::type() const { return Type::IfcStructuralAction; } Type::Enum IfcStructuralAction::Class() { return Type::IfcStructuralAction; } IfcStructuralAction::IfcStructuralAction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralAction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralAction::IfcStructuralAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); entity = e; EntityBuffer::Add(this); } +IfcStructuralAction::IfcStructuralAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralActivity IfcStructuralLoad* IfcStructuralActivity::AppliedLoad() { return reinterpret_pointer_cast(*entity->getArgument(7)); } void IfcStructuralActivity::setAppliedLoad(IfcStructuralLoad* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v); } @@ -10561,7 +10561,7 @@ bool IfcStructuralActivity::is(Type::Enum v) const { return v == Type::IfcStruct Type::Enum IfcStructuralActivity::type() const { return Type::IfcStructuralActivity; } Type::Enum IfcStructuralActivity::Class() { return Type::IfcStructuralActivity; } IfcStructuralActivity::IfcStructuralActivity(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralActivity)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralActivity::IfcStructuralActivity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } +IfcStructuralActivity::IfcStructuralActivity(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralAnalysisModel IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum IfcStructuralAnalysisModel::PredefinedType() { return IfcAnalysisModelTypeEnum::FromString(*entity->getArgument(5)); } void IfcStructuralAnalysisModel::setPredefinedType(IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcAnalysisModelTypeEnum::ToString(v)); } @@ -10569,16 +10569,16 @@ bool IfcStructuralAnalysisModel::hasOrientationOf2DPlane() { return !entity->get IfcAxis2Placement3D* IfcStructuralAnalysisModel::OrientationOf2DPlane() { return reinterpret_pointer_cast(*entity->getArgument(6)); } void IfcStructuralAnalysisModel::setOrientationOf2DPlane(IfcAxis2Placement3D* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } bool IfcStructuralAnalysisModel::hasLoadedBy() { return !entity->getArgument(7)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcStructuralAnalysisModel::LoadedBy() { RETURN_AS_LIST(IfcStructuralLoadGroup,7) } -void IfcStructuralAnalysisModel::setLoadedBy(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > IfcStructuralAnalysisModel::LoadedBy() { RETURN_AS_LIST(IfcStructuralLoadGroup,7) } +void IfcStructuralAnalysisModel::setLoadedBy(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } bool IfcStructuralAnalysisModel::hasHasResults() { return !entity->getArgument(8)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcStructuralAnalysisModel::HasResults() { RETURN_AS_LIST(IfcStructuralResultGroup,8) } -void IfcStructuralAnalysisModel::setHasResults(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > IfcStructuralAnalysisModel::HasResults() { RETURN_AS_LIST(IfcStructuralResultGroup,8) } +void IfcStructuralAnalysisModel::setHasResults(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v->generalize()); } bool IfcStructuralAnalysisModel::is(Type::Enum v) const { return v == Type::IfcStructuralAnalysisModel || IfcSystem::is(v); } Type::Enum IfcStructuralAnalysisModel::type() const { return Type::IfcStructuralAnalysisModel; } Type::Enum IfcStructuralAnalysisModel::Class() { return Type::IfcStructuralAnalysisModel; } IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralAnalysisModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum v6_PredefinedType, IfcAxis2Placement3D* v7_OrientationOf2DPlane, optional >> v8_LoadedBy, optional >> v9_HasResults) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PredefinedType,IfcAnalysisModelTypeEnum::ToString(v6_PredefinedType)); e->setArgument(6,(v7_OrientationOf2DPlane)); if (v8_LoadedBy) { e->setArgument(7,(*v8_LoadedBy)->generalize()); } else { e->setArgument(7); } ; if (v9_HasResults) { e->setArgument(8,(*v9_HasResults)->generalize()); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralAnalysisModel::IfcStructuralAnalysisModel(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum v6_PredefinedType, IfcAxis2Placement3D* v7_OrientationOf2DPlane, optional< SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > > v8_LoadedBy, optional< SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > > v9_HasResults) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PredefinedType,IfcAnalysisModelTypeEnum::ToString(v6_PredefinedType)); e->setArgument(6,(v7_OrientationOf2DPlane)); if (v8_LoadedBy) { e->setArgument(7,(*v8_LoadedBy)->generalize()); } else { e->setArgument(7); } ; if (v9_HasResults) { e->setArgument(8,(*v9_HasResults)->generalize()); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralConnection bool IfcStructuralConnection::hasAppliedCondition() { return !entity->getArgument(7)->isNull(); } IfcBoundaryCondition* IfcStructuralConnection::AppliedCondition() { return reinterpret_pointer_cast(*entity->getArgument(7)); } @@ -10588,7 +10588,7 @@ bool IfcStructuralConnection::is(Type::Enum v) const { return v == Type::IfcStru Type::Enum IfcStructuralConnection::type() const { return Type::IfcStructuralConnection; } Type::Enum IfcStructuralConnection::Class() { return Type::IfcStructuralConnection; } IfcStructuralConnection::IfcStructuralConnection(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralConnection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralConnection::IfcStructuralConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } +IfcStructuralConnection::IfcStructuralConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralConnectionCondition bool IfcStructuralConnectionCondition::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcStructuralConnectionCondition::Name() { return *entity->getArgument(0); } @@ -10597,13 +10597,13 @@ bool IfcStructuralConnectionCondition::is(Type::Enum v) const { return v == Type Type::Enum IfcStructuralConnectionCondition::type() const { return Type::IfcStructuralConnectionCondition; } Type::Enum IfcStructuralConnectionCondition::Class() { return Type::IfcStructuralConnectionCondition; } IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralConnectionCondition)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralConnectionCondition::IfcStructuralConnectionCondition(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralCurveConnection bool IfcStructuralCurveConnection::is(Type::Enum v) const { return v == Type::IfcStructuralCurveConnection || IfcStructuralConnection::is(v); } Type::Enum IfcStructuralCurveConnection::type() const { return Type::IfcStructuralCurveConnection; } Type::Enum IfcStructuralCurveConnection::Class() { return Type::IfcStructuralCurveConnection; } IfcStructuralCurveConnection::IfcStructuralCurveConnection(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralCurveConnection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralCurveConnection::IfcStructuralCurveConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } +IfcStructuralCurveConnection::IfcStructuralCurveConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralCurveMember IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum IfcStructuralCurveMember::PredefinedType() { return IfcStructuralCurveTypeEnum::FromString(*entity->getArgument(7)); } void IfcStructuralCurveMember::setPredefinedType(IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v,IfcStructuralCurveTypeEnum::ToString(v)); } @@ -10611,20 +10611,20 @@ bool IfcStructuralCurveMember::is(Type::Enum v) const { return v == Type::IfcStr Type::Enum IfcStructuralCurveMember::type() const { return Type::IfcStructuralCurveMember; } Type::Enum IfcStructuralCurveMember::Class() { return Type::IfcStructuralCurveMember; } IfcStructuralCurveMember::IfcStructuralCurveMember(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralCurveMember)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralCurveMember::IfcStructuralCurveMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralCurveTypeEnum::ToString(v8_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcStructuralCurveMember::IfcStructuralCurveMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralCurveTypeEnum::ToString(v8_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralCurveMemberVarying bool IfcStructuralCurveMemberVarying::is(Type::Enum v) const { return v == Type::IfcStructuralCurveMemberVarying || IfcStructuralCurveMember::is(v); } Type::Enum IfcStructuralCurveMemberVarying::type() const { return Type::IfcStructuralCurveMemberVarying; } Type::Enum IfcStructuralCurveMemberVarying::Class() { return Type::IfcStructuralCurveMemberVarying; } IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralCurveMemberVarying)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralCurveTypeEnum::ToString(v8_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcStructuralCurveMemberVarying::IfcStructuralCurveMemberVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralCurveTypeEnum::ToString(v8_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralItem IfcRelConnectsStructuralActivity::list IfcStructuralItem::AssignedStructuralActivity() { RETURN_INVERSE(IfcRelConnectsStructuralActivity) } bool IfcStructuralItem::is(Type::Enum v) const { return v == Type::IfcStructuralItem || IfcProduct::is(v); } Type::Enum IfcStructuralItem::type() const { return Type::IfcStructuralItem; } Type::Enum IfcStructuralItem::Class() { return Type::IfcStructuralItem; } IfcStructuralItem::IfcStructuralItem(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralItem)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralItem::IfcStructuralItem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } +IfcStructuralItem::IfcStructuralItem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLinearAction IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum IfcStructuralLinearAction::ProjectedOrTrue() { return IfcProjectedOrTrueLengthEnum::FromString(*entity->getArgument(11)); } void IfcStructuralLinearAction::setProjectedOrTrue(IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(11,v,IfcProjectedOrTrueLengthEnum::ToString(v)); } @@ -10632,17 +10632,17 @@ bool IfcStructuralLinearAction::is(Type::Enum v) const { return v == Type::IfcSt Type::Enum IfcStructuralLinearAction::type() const { return Type::IfcStructuralLinearAction; } Type::Enum IfcStructuralLinearAction::Class() { return Type::IfcStructuralLinearAction; } IfcStructuralLinearAction::IfcStructuralLinearAction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLinearAction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLinearAction::IfcStructuralLinearAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); entity = e; EntityBuffer::Add(this); } +IfcStructuralLinearAction::IfcStructuralLinearAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLinearActionVarying IfcShapeAspect* IfcStructuralLinearActionVarying::VaryingAppliedLoadLocation() { return reinterpret_pointer_cast(*entity->getArgument(12)); } void IfcStructuralLinearActionVarying::setVaryingAppliedLoadLocation(IfcShapeAspect* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcStructuralLinearActionVarying::SubsequentAppliedLoads() { RETURN_AS_LIST(IfcStructuralLoad,13) } -void IfcStructuralLinearActionVarying::setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(13,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > IfcStructuralLinearActionVarying::SubsequentAppliedLoads() { RETURN_AS_LIST(IfcStructuralLoad,13) } +void IfcStructuralLinearActionVarying::setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(13,v->generalize()); } bool IfcStructuralLinearActionVarying::is(Type::Enum v) const { return v == Type::IfcStructuralLinearActionVarying || IfcStructuralLinearAction::is(v); } Type::Enum IfcStructuralLinearActionVarying::type() const { return Type::IfcStructuralLinearActionVarying; } Type::Enum IfcStructuralLinearActionVarying::Class() { return Type::IfcStructuralLinearActionVarying; } IfcStructuralLinearActionVarying::IfcStructuralLinearActionVarying(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLinearActionVarying)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLinearActionVarying::IfcStructuralLinearActionVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList > v14_SubsequentAppliedLoads) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); e->setArgument(12,(v13_VaryingAppliedLoadLocation)); e->setArgument(13,(v14_SubsequentAppliedLoads)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcStructuralLinearActionVarying::IfcStructuralLinearActionVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v14_SubsequentAppliedLoads) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); e->setArgument(12,(v13_VaryingAppliedLoadLocation)); e->setArgument(13,(v14_SubsequentAppliedLoads)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoad bool IfcStructuralLoad::hasName() { return !entity->getArgument(0)->isNull(); } IfcLabel IfcStructuralLoad::Name() { return *entity->getArgument(0); } @@ -10651,7 +10651,7 @@ bool IfcStructuralLoad::is(Type::Enum v) const { return v == Type::IfcStructural Type::Enum IfcStructuralLoad::type() const { return Type::IfcStructuralLoad; } Type::Enum IfcStructuralLoad::Class() { return Type::IfcStructuralLoad; } IfcStructuralLoad::IfcStructuralLoad(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoad)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoad::IfcStructuralLoad(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoad::IfcStructuralLoad(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadGroup IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum IfcStructuralLoadGroup::PredefinedType() { return IfcLoadGroupTypeEnum::FromString(*entity->getArgument(5)); } void IfcStructuralLoadGroup::setPredefinedType(IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcLoadGroupTypeEnum::ToString(v)); } @@ -10671,7 +10671,7 @@ bool IfcStructuralLoadGroup::is(Type::Enum v) const { return v == Type::IfcStruc Type::Enum IfcStructuralLoadGroup::type() const { return Type::IfcStructuralLoadGroup; } Type::Enum IfcStructuralLoadGroup::Class() { return Type::IfcStructuralLoadGroup; } IfcStructuralLoadGroup::IfcStructuralLoadGroup(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadGroup)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadGroup::IfcStructuralLoadGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum v6_PredefinedType, IfcActionTypeEnum::IfcActionTypeEnum v7_ActionType, IfcActionSourceTypeEnum::IfcActionSourceTypeEnum v8_ActionSource, optional v9_Coefficient, optional v10_Purpose) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PredefinedType,IfcLoadGroupTypeEnum::ToString(v6_PredefinedType)); e->setArgument(6,v7_ActionType,IfcActionTypeEnum::ToString(v7_ActionType)); e->setArgument(7,v8_ActionSource,IfcActionSourceTypeEnum::ToString(v8_ActionSource)); if (v9_Coefficient) { e->setArgument(8,(*v9_Coefficient)); } else { e->setArgument(8); } ; if (v10_Purpose) { e->setArgument(9,(*v10_Purpose)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadGroup::IfcStructuralLoadGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum v6_PredefinedType, IfcActionTypeEnum::IfcActionTypeEnum v7_ActionType, IfcActionSourceTypeEnum::IfcActionSourceTypeEnum v8_ActionSource, optional< IfcRatioMeasure > v9_Coefficient, optional< IfcLabel > v10_Purpose) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_PredefinedType,IfcLoadGroupTypeEnum::ToString(v6_PredefinedType)); e->setArgument(6,v7_ActionType,IfcActionTypeEnum::ToString(v7_ActionType)); e->setArgument(7,v8_ActionSource,IfcActionSourceTypeEnum::ToString(v8_ActionSource)); if (v9_Coefficient) { e->setArgument(8,(*v9_Coefficient)); } else { e->setArgument(8); } ; if (v10_Purpose) { e->setArgument(9,(*v10_Purpose)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadLinearForce bool IfcStructuralLoadLinearForce::hasLinearForceX() { return !entity->getArgument(1)->isNull(); } IfcLinearForceMeasure IfcStructuralLoadLinearForce::LinearForceX() { return *entity->getArgument(1); } @@ -10695,7 +10695,7 @@ bool IfcStructuralLoadLinearForce::is(Type::Enum v) const { return v == Type::If Type::Enum IfcStructuralLoadLinearForce::type() const { return Type::IfcStructuralLoadLinearForce; } Type::Enum IfcStructuralLoadLinearForce::Class() { return Type::IfcStructuralLoadLinearForce; } IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadLinearForce)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(optional v1_Name, optional v2_LinearForceX, optional v3_LinearForceY, optional v4_LinearForceZ, optional v5_LinearMomentX, optional v6_LinearMomentY, optional v7_LinearMomentZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearForceX) { e->setArgument(1,(*v2_LinearForceX)); } else { e->setArgument(1); } ; if (v3_LinearForceY) { e->setArgument(2,(*v3_LinearForceY)); } else { e->setArgument(2); } ; if (v4_LinearForceZ) { e->setArgument(3,(*v4_LinearForceZ)); } else { e->setArgument(3); } ; if (v5_LinearMomentX) { e->setArgument(4,(*v5_LinearMomentX)); } else { e->setArgument(4); } ; if (v6_LinearMomentY) { e->setArgument(5,(*v6_LinearMomentY)); } else { e->setArgument(5); } ; if (v7_LinearMomentZ) { e->setArgument(6,(*v7_LinearMomentZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadLinearForce::IfcStructuralLoadLinearForce(optional< IfcLabel > v1_Name, optional< IfcLinearForceMeasure > v2_LinearForceX, optional< IfcLinearForceMeasure > v3_LinearForceY, optional< IfcLinearForceMeasure > v4_LinearForceZ, optional< IfcLinearMomentMeasure > v5_LinearMomentX, optional< IfcLinearMomentMeasure > v6_LinearMomentY, optional< IfcLinearMomentMeasure > v7_LinearMomentZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_LinearForceX) { e->setArgument(1,(*v2_LinearForceX)); } else { e->setArgument(1); } ; if (v3_LinearForceY) { e->setArgument(2,(*v3_LinearForceY)); } else { e->setArgument(2); } ; if (v4_LinearForceZ) { e->setArgument(3,(*v4_LinearForceZ)); } else { e->setArgument(3); } ; if (v5_LinearMomentX) { e->setArgument(4,(*v5_LinearMomentX)); } else { e->setArgument(4); } ; if (v6_LinearMomentY) { e->setArgument(5,(*v6_LinearMomentY)); } else { e->setArgument(5); } ; if (v7_LinearMomentZ) { e->setArgument(6,(*v7_LinearMomentZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadPlanarForce bool IfcStructuralLoadPlanarForce::hasPlanarForceX() { return !entity->getArgument(1)->isNull(); } IfcPlanarForceMeasure IfcStructuralLoadPlanarForce::PlanarForceX() { return *entity->getArgument(1); } @@ -10710,7 +10710,7 @@ bool IfcStructuralLoadPlanarForce::is(Type::Enum v) const { return v == Type::If Type::Enum IfcStructuralLoadPlanarForce::type() const { return Type::IfcStructuralLoadPlanarForce; } Type::Enum IfcStructuralLoadPlanarForce::Class() { return Type::IfcStructuralLoadPlanarForce; } IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadPlanarForce)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(optional v1_Name, optional v2_PlanarForceX, optional v3_PlanarForceY, optional v4_PlanarForceZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_PlanarForceX) { e->setArgument(1,(*v2_PlanarForceX)); } else { e->setArgument(1); } ; if (v3_PlanarForceY) { e->setArgument(2,(*v3_PlanarForceY)); } else { e->setArgument(2); } ; if (v4_PlanarForceZ) { e->setArgument(3,(*v4_PlanarForceZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadPlanarForce::IfcStructuralLoadPlanarForce(optional< IfcLabel > v1_Name, optional< IfcPlanarForceMeasure > v2_PlanarForceX, optional< IfcPlanarForceMeasure > v3_PlanarForceY, optional< IfcPlanarForceMeasure > v4_PlanarForceZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_PlanarForceX) { e->setArgument(1,(*v2_PlanarForceX)); } else { e->setArgument(1); } ; if (v3_PlanarForceY) { e->setArgument(2,(*v3_PlanarForceY)); } else { e->setArgument(2); } ; if (v4_PlanarForceZ) { e->setArgument(3,(*v4_PlanarForceZ)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadSingleDisplacement bool IfcStructuralLoadSingleDisplacement::hasDisplacementX() { return !entity->getArgument(1)->isNull(); } IfcLengthMeasure IfcStructuralLoadSingleDisplacement::DisplacementX() { return *entity->getArgument(1); } @@ -10734,7 +10734,7 @@ bool IfcStructuralLoadSingleDisplacement::is(Type::Enum v) const { return v == T Type::Enum IfcStructuralLoadSingleDisplacement::type() const { return Type::IfcStructuralLoadSingleDisplacement; } Type::Enum IfcStructuralLoadSingleDisplacement::Class() { return Type::IfcStructuralLoadSingleDisplacement; } IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadSingleDisplacement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(optional v1_Name, optional v2_DisplacementX, optional v3_DisplacementY, optional v4_DisplacementZ, optional v5_RotationalDisplacementRX, optional v6_RotationalDisplacementRY, optional v7_RotationalDisplacementRZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DisplacementX) { e->setArgument(1,(*v2_DisplacementX)); } else { e->setArgument(1); } ; if (v3_DisplacementY) { e->setArgument(2,(*v3_DisplacementY)); } else { e->setArgument(2); } ; if (v4_DisplacementZ) { e->setArgument(3,(*v4_DisplacementZ)); } else { e->setArgument(3); } ; if (v5_RotationalDisplacementRX) { e->setArgument(4,(*v5_RotationalDisplacementRX)); } else { e->setArgument(4); } ; if (v6_RotationalDisplacementRY) { e->setArgument(5,(*v6_RotationalDisplacementRY)); } else { e->setArgument(5); } ; if (v7_RotationalDisplacementRZ) { e->setArgument(6,(*v7_RotationalDisplacementRZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadSingleDisplacement::IfcStructuralLoadSingleDisplacement(optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_DisplacementX, optional< IfcLengthMeasure > v3_DisplacementY, optional< IfcLengthMeasure > v4_DisplacementZ, optional< IfcPlaneAngleMeasure > v5_RotationalDisplacementRX, optional< IfcPlaneAngleMeasure > v6_RotationalDisplacementRY, optional< IfcPlaneAngleMeasure > v7_RotationalDisplacementRZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DisplacementX) { e->setArgument(1,(*v2_DisplacementX)); } else { e->setArgument(1); } ; if (v3_DisplacementY) { e->setArgument(2,(*v3_DisplacementY)); } else { e->setArgument(2); } ; if (v4_DisplacementZ) { e->setArgument(3,(*v4_DisplacementZ)); } else { e->setArgument(3); } ; if (v5_RotationalDisplacementRX) { e->setArgument(4,(*v5_RotationalDisplacementRX)); } else { e->setArgument(4); } ; if (v6_RotationalDisplacementRY) { e->setArgument(5,(*v6_RotationalDisplacementRY)); } else { e->setArgument(5); } ; if (v7_RotationalDisplacementRZ) { e->setArgument(6,(*v7_RotationalDisplacementRZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion bool IfcStructuralLoadSingleDisplacementDistortion::hasDistortion() { return !entity->getArgument(7)->isNull(); } IfcCurvatureMeasure IfcStructuralLoadSingleDisplacementDistortion::Distortion() { return *entity->getArgument(7); } @@ -10743,7 +10743,7 @@ bool IfcStructuralLoadSingleDisplacementDistortion::is(Type::Enum v) const { ret Type::Enum IfcStructuralLoadSingleDisplacementDistortion::type() const { return Type::IfcStructuralLoadSingleDisplacementDistortion; } Type::Enum IfcStructuralLoadSingleDisplacementDistortion::Class() { return Type::IfcStructuralLoadSingleDisplacementDistortion; } IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadSingleDisplacementDistortion)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(optional v1_Name, optional v2_DisplacementX, optional v3_DisplacementY, optional v4_DisplacementZ, optional v5_RotationalDisplacementRX, optional v6_RotationalDisplacementRY, optional v7_RotationalDisplacementRZ, optional v8_Distortion) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DisplacementX) { e->setArgument(1,(*v2_DisplacementX)); } else { e->setArgument(1); } ; if (v3_DisplacementY) { e->setArgument(2,(*v3_DisplacementY)); } else { e->setArgument(2); } ; if (v4_DisplacementZ) { e->setArgument(3,(*v4_DisplacementZ)); } else { e->setArgument(3); } ; if (v5_RotationalDisplacementRX) { e->setArgument(4,(*v5_RotationalDisplacementRX)); } else { e->setArgument(4); } ; if (v6_RotationalDisplacementRY) { e->setArgument(5,(*v6_RotationalDisplacementRY)); } else { e->setArgument(5); } ; if (v7_RotationalDisplacementRZ) { e->setArgument(6,(*v7_RotationalDisplacementRZ)); } else { e->setArgument(6); } ; if (v8_Distortion) { e->setArgument(7,(*v8_Distortion)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadSingleDisplacementDistortion::IfcStructuralLoadSingleDisplacementDistortion(optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_DisplacementX, optional< IfcLengthMeasure > v3_DisplacementY, optional< IfcLengthMeasure > v4_DisplacementZ, optional< IfcPlaneAngleMeasure > v5_RotationalDisplacementRX, optional< IfcPlaneAngleMeasure > v6_RotationalDisplacementRY, optional< IfcPlaneAngleMeasure > v7_RotationalDisplacementRZ, optional< IfcCurvatureMeasure > v8_Distortion) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DisplacementX) { e->setArgument(1,(*v2_DisplacementX)); } else { e->setArgument(1); } ; if (v3_DisplacementY) { e->setArgument(2,(*v3_DisplacementY)); } else { e->setArgument(2); } ; if (v4_DisplacementZ) { e->setArgument(3,(*v4_DisplacementZ)); } else { e->setArgument(3); } ; if (v5_RotationalDisplacementRX) { e->setArgument(4,(*v5_RotationalDisplacementRX)); } else { e->setArgument(4); } ; if (v6_RotationalDisplacementRY) { e->setArgument(5,(*v6_RotationalDisplacementRY)); } else { e->setArgument(5); } ; if (v7_RotationalDisplacementRZ) { e->setArgument(6,(*v7_RotationalDisplacementRZ)); } else { e->setArgument(6); } ; if (v8_Distortion) { e->setArgument(7,(*v8_Distortion)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadSingleForce bool IfcStructuralLoadSingleForce::hasForceX() { return !entity->getArgument(1)->isNull(); } IfcForceMeasure IfcStructuralLoadSingleForce::ForceX() { return *entity->getArgument(1); } @@ -10767,7 +10767,7 @@ bool IfcStructuralLoadSingleForce::is(Type::Enum v) const { return v == Type::If Type::Enum IfcStructuralLoadSingleForce::type() const { return Type::IfcStructuralLoadSingleForce; } Type::Enum IfcStructuralLoadSingleForce::Class() { return Type::IfcStructuralLoadSingleForce; } IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadSingleForce)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(optional v1_Name, optional v2_ForceX, optional v3_ForceY, optional v4_ForceZ, optional v5_MomentX, optional v6_MomentY, optional v7_MomentZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_ForceX) { e->setArgument(1,(*v2_ForceX)); } else { e->setArgument(1); } ; if (v3_ForceY) { e->setArgument(2,(*v3_ForceY)); } else { e->setArgument(2); } ; if (v4_ForceZ) { e->setArgument(3,(*v4_ForceZ)); } else { e->setArgument(3); } ; if (v5_MomentX) { e->setArgument(4,(*v5_MomentX)); } else { e->setArgument(4); } ; if (v6_MomentY) { e->setArgument(5,(*v6_MomentY)); } else { e->setArgument(5); } ; if (v7_MomentZ) { e->setArgument(6,(*v7_MomentZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadSingleForce::IfcStructuralLoadSingleForce(optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_ForceX, optional< IfcForceMeasure > v3_ForceY, optional< IfcForceMeasure > v4_ForceZ, optional< IfcTorqueMeasure > v5_MomentX, optional< IfcTorqueMeasure > v6_MomentY, optional< IfcTorqueMeasure > v7_MomentZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_ForceX) { e->setArgument(1,(*v2_ForceX)); } else { e->setArgument(1); } ; if (v3_ForceY) { e->setArgument(2,(*v3_ForceY)); } else { e->setArgument(2); } ; if (v4_ForceZ) { e->setArgument(3,(*v4_ForceZ)); } else { e->setArgument(3); } ; if (v5_MomentX) { e->setArgument(4,(*v5_MomentX)); } else { e->setArgument(4); } ; if (v6_MomentY) { e->setArgument(5,(*v6_MomentY)); } else { e->setArgument(5); } ; if (v7_MomentZ) { e->setArgument(6,(*v7_MomentZ)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadSingleForceWarping bool IfcStructuralLoadSingleForceWarping::hasWarpingMoment() { return !entity->getArgument(7)->isNull(); } IfcWarpingMomentMeasure IfcStructuralLoadSingleForceWarping::WarpingMoment() { return *entity->getArgument(7); } @@ -10776,13 +10776,13 @@ bool IfcStructuralLoadSingleForceWarping::is(Type::Enum v) const { return v == T Type::Enum IfcStructuralLoadSingleForceWarping::type() const { return Type::IfcStructuralLoadSingleForceWarping; } Type::Enum IfcStructuralLoadSingleForceWarping::Class() { return Type::IfcStructuralLoadSingleForceWarping; } IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadSingleForceWarping)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(optional v1_Name, optional v2_ForceX, optional v3_ForceY, optional v4_ForceZ, optional v5_MomentX, optional v6_MomentY, optional v7_MomentZ, optional v8_WarpingMoment) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_ForceX) { e->setArgument(1,(*v2_ForceX)); } else { e->setArgument(1); } ; if (v3_ForceY) { e->setArgument(2,(*v3_ForceY)); } else { e->setArgument(2); } ; if (v4_ForceZ) { e->setArgument(3,(*v4_ForceZ)); } else { e->setArgument(3); } ; if (v5_MomentX) { e->setArgument(4,(*v5_MomentX)); } else { e->setArgument(4); } ; if (v6_MomentY) { e->setArgument(5,(*v6_MomentY)); } else { e->setArgument(5); } ; if (v7_MomentZ) { e->setArgument(6,(*v7_MomentZ)); } else { e->setArgument(6); } ; if (v8_WarpingMoment) { e->setArgument(7,(*v8_WarpingMoment)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadSingleForceWarping::IfcStructuralLoadSingleForceWarping(optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_ForceX, optional< IfcForceMeasure > v3_ForceY, optional< IfcForceMeasure > v4_ForceZ, optional< IfcTorqueMeasure > v5_MomentX, optional< IfcTorqueMeasure > v6_MomentY, optional< IfcTorqueMeasure > v7_MomentZ, optional< IfcWarpingMomentMeasure > v8_WarpingMoment) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_ForceX) { e->setArgument(1,(*v2_ForceX)); } else { e->setArgument(1); } ; if (v3_ForceY) { e->setArgument(2,(*v3_ForceY)); } else { e->setArgument(2); } ; if (v4_ForceZ) { e->setArgument(3,(*v4_ForceZ)); } else { e->setArgument(3); } ; if (v5_MomentX) { e->setArgument(4,(*v5_MomentX)); } else { e->setArgument(4); } ; if (v6_MomentY) { e->setArgument(5,(*v6_MomentY)); } else { e->setArgument(5); } ; if (v7_MomentZ) { e->setArgument(6,(*v7_MomentZ)); } else { e->setArgument(6); } ; if (v8_WarpingMoment) { e->setArgument(7,(*v8_WarpingMoment)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadStatic bool IfcStructuralLoadStatic::is(Type::Enum v) const { return v == Type::IfcStructuralLoadStatic || IfcStructuralLoad::is(v); } Type::Enum IfcStructuralLoadStatic::type() const { return Type::IfcStructuralLoadStatic; } Type::Enum IfcStructuralLoadStatic::Class() { return Type::IfcStructuralLoadStatic; } IfcStructuralLoadStatic::IfcStructuralLoadStatic(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadStatic)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadStatic::IfcStructuralLoadStatic(optional v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadStatic::IfcStructuralLoadStatic(optional< IfcLabel > v1_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralLoadTemperature bool IfcStructuralLoadTemperature::hasDeltaT_Constant() { return !entity->getArgument(1)->isNull(); } IfcThermodynamicTemperatureMeasure IfcStructuralLoadTemperature::DeltaT_Constant() { return *entity->getArgument(1); } @@ -10797,7 +10797,7 @@ bool IfcStructuralLoadTemperature::is(Type::Enum v) const { return v == Type::If Type::Enum IfcStructuralLoadTemperature::type() const { return Type::IfcStructuralLoadTemperature; } Type::Enum IfcStructuralLoadTemperature::Class() { return Type::IfcStructuralLoadTemperature; } IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralLoadTemperature)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(optional v1_Name, optional v2_DeltaT_Constant, optional v3_DeltaT_Y, optional v4_DeltaT_Z) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DeltaT_Constant) { e->setArgument(1,(*v2_DeltaT_Constant)); } else { e->setArgument(1); } ; if (v3_DeltaT_Y) { e->setArgument(2,(*v3_DeltaT_Y)); } else { e->setArgument(2); } ; if (v4_DeltaT_Z) { e->setArgument(3,(*v4_DeltaT_Z)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralLoadTemperature::IfcStructuralLoadTemperature(optional< IfcLabel > v1_Name, optional< IfcThermodynamicTemperatureMeasure > v2_DeltaT_Constant, optional< IfcThermodynamicTemperatureMeasure > v3_DeltaT_Y, optional< IfcThermodynamicTemperatureMeasure > v4_DeltaT_Z) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_DeltaT_Constant) { e->setArgument(1,(*v2_DeltaT_Constant)); } else { e->setArgument(1); } ; if (v3_DeltaT_Y) { e->setArgument(2,(*v3_DeltaT_Y)); } else { e->setArgument(2); } ; if (v4_DeltaT_Z) { e->setArgument(3,(*v4_DeltaT_Z)); } else { e->setArgument(3); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralMember IfcRelConnectsStructuralElement::list IfcStructuralMember::ReferencesElement() { RETURN_INVERSE(IfcRelConnectsStructuralElement) } IfcRelConnectsStructuralMember::list IfcStructuralMember::ConnectedBy() { RETURN_INVERSE(IfcRelConnectsStructuralMember) } @@ -10805,7 +10805,7 @@ bool IfcStructuralMember::is(Type::Enum v) const { return v == Type::IfcStructur Type::Enum IfcStructuralMember::type() const { return Type::IfcStructuralMember; } Type::Enum IfcStructuralMember::Class() { return Type::IfcStructuralMember; } IfcStructuralMember::IfcStructuralMember(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralMember)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralMember::IfcStructuralMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } +IfcStructuralMember::IfcStructuralMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralPlanarAction IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum IfcStructuralPlanarAction::ProjectedOrTrue() { return IfcProjectedOrTrueLengthEnum::FromString(*entity->getArgument(11)); } void IfcStructuralPlanarAction::setProjectedOrTrue(IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(11,v,IfcProjectedOrTrueLengthEnum::ToString(v)); } @@ -10813,35 +10813,35 @@ bool IfcStructuralPlanarAction::is(Type::Enum v) const { return v == Type::IfcSt Type::Enum IfcStructuralPlanarAction::type() const { return Type::IfcStructuralPlanarAction; } Type::Enum IfcStructuralPlanarAction::Class() { return Type::IfcStructuralPlanarAction; } IfcStructuralPlanarAction::IfcStructuralPlanarAction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralPlanarAction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralPlanarAction::IfcStructuralPlanarAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); entity = e; EntityBuffer::Add(this); } +IfcStructuralPlanarAction::IfcStructuralPlanarAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralPlanarActionVarying IfcShapeAspect* IfcStructuralPlanarActionVarying::VaryingAppliedLoadLocation() { return reinterpret_pointer_cast(*entity->getArgument(12)); } void IfcStructuralPlanarActionVarying::setVaryingAppliedLoadLocation(IfcShapeAspect* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(12,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcStructuralPlanarActionVarying::SubsequentAppliedLoads() { RETURN_AS_LIST(IfcStructuralLoad,13) } -void IfcStructuralPlanarActionVarying::setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(13,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > IfcStructuralPlanarActionVarying::SubsequentAppliedLoads() { RETURN_AS_LIST(IfcStructuralLoad,13) } +void IfcStructuralPlanarActionVarying::setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(13,v->generalize()); } bool IfcStructuralPlanarActionVarying::is(Type::Enum v) const { return v == Type::IfcStructuralPlanarActionVarying || IfcStructuralPlanarAction::is(v); } Type::Enum IfcStructuralPlanarActionVarying::type() const { return Type::IfcStructuralPlanarActionVarying; } Type::Enum IfcStructuralPlanarActionVarying::Class() { return Type::IfcStructuralPlanarActionVarying; } IfcStructuralPlanarActionVarying::IfcStructuralPlanarActionVarying(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralPlanarActionVarying)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralPlanarActionVarying::IfcStructuralPlanarActionVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList > v14_SubsequentAppliedLoads) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); e->setArgument(12,(v13_VaryingAppliedLoadLocation)); e->setArgument(13,(v14_SubsequentAppliedLoads)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcStructuralPlanarActionVarying::IfcStructuralPlanarActionVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v14_SubsequentAppliedLoads) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); e->setArgument(11,v12_ProjectedOrTrue,IfcProjectedOrTrueLengthEnum::ToString(v12_ProjectedOrTrue)); e->setArgument(12,(v13_VaryingAppliedLoadLocation)); e->setArgument(13,(v14_SubsequentAppliedLoads)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralPointAction bool IfcStructuralPointAction::is(Type::Enum v) const { return v == Type::IfcStructuralPointAction || IfcStructuralAction::is(v); } Type::Enum IfcStructuralPointAction::type() const { return Type::IfcStructuralPointAction; } Type::Enum IfcStructuralPointAction::Class() { return Type::IfcStructuralPointAction; } IfcStructuralPointAction::IfcStructuralPointAction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralPointAction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralPointAction::IfcStructuralPointAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); entity = e; EntityBuffer::Add(this); } +IfcStructuralPointAction::IfcStructuralPointAction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); e->setArgument(9,(v10_DestabilizingLoad)); e->setArgument(10,(v11_CausedBy)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralPointConnection bool IfcStructuralPointConnection::is(Type::Enum v) const { return v == Type::IfcStructuralPointConnection || IfcStructuralConnection::is(v); } Type::Enum IfcStructuralPointConnection::type() const { return Type::IfcStructuralPointConnection; } Type::Enum IfcStructuralPointConnection::Class() { return Type::IfcStructuralPointConnection; } IfcStructuralPointConnection::IfcStructuralPointConnection(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralPointConnection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralPointConnection::IfcStructuralPointConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } +IfcStructuralPointConnection::IfcStructuralPointConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralPointReaction bool IfcStructuralPointReaction::is(Type::Enum v) const { return v == Type::IfcStructuralPointReaction || IfcStructuralReaction::is(v); } Type::Enum IfcStructuralPointReaction::type() const { return Type::IfcStructuralPointReaction; } Type::Enum IfcStructuralPointReaction::Class() { return Type::IfcStructuralPointReaction; } IfcStructuralPointReaction::IfcStructuralPointReaction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralPointReaction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralPointReaction::IfcStructuralPointReaction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } +IfcStructuralPointReaction::IfcStructuralPointReaction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralProfileProperties bool IfcStructuralProfileProperties::hasTorsionalConstantX() { return !entity->getArgument(7)->isNull(); } IfcMomentOfInertiaMeasure IfcStructuralProfileProperties::TorsionalConstantX() { return *entity->getArgument(7); } @@ -10895,14 +10895,14 @@ bool IfcStructuralProfileProperties::is(Type::Enum v) const { return v == Type:: Type::Enum IfcStructuralProfileProperties::type() const { return Type::IfcStructuralProfileProperties; } Type::Enum IfcStructuralProfileProperties::Class() { return Type::IfcStructuralProfileProperties; } IfcStructuralProfileProperties::IfcStructuralProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralProfileProperties::IfcStructuralProfileProperties(optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea, optional v8_TorsionalConstantX, optional v9_MomentOfInertiaYZ, optional v10_MomentOfInertiaY, optional v11_MomentOfInertiaZ, optional v12_WarpingConstant, optional v13_ShearCentreZ, optional v14_ShearCentreY, optional v15_ShearDeformationAreaZ, optional v16_ShearDeformationAreaY, optional v17_MaximumSectionModulusY, optional v18_MinimumSectionModulusY, optional v19_MaximumSectionModulusZ, optional v20_MinimumSectionModulusZ, optional v21_TorsionalSectionModulus, optional v22_CentreOfGravityInX, optional v23_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; if (v8_TorsionalConstantX) { e->setArgument(7,(*v8_TorsionalConstantX)); } else { e->setArgument(7); } ; if (v9_MomentOfInertiaYZ) { e->setArgument(8,(*v9_MomentOfInertiaYZ)); } else { e->setArgument(8); } ; if (v10_MomentOfInertiaY) { e->setArgument(9,(*v10_MomentOfInertiaY)); } else { e->setArgument(9); } ; if (v11_MomentOfInertiaZ) { e->setArgument(10,(*v11_MomentOfInertiaZ)); } else { e->setArgument(10); } ; if (v12_WarpingConstant) { e->setArgument(11,(*v12_WarpingConstant)); } else { e->setArgument(11); } ; if (v13_ShearCentreZ) { e->setArgument(12,(*v13_ShearCentreZ)); } else { e->setArgument(12); } ; if (v14_ShearCentreY) { e->setArgument(13,(*v14_ShearCentreY)); } else { e->setArgument(13); } ; if (v15_ShearDeformationAreaZ) { e->setArgument(14,(*v15_ShearDeformationAreaZ)); } else { e->setArgument(14); } ; if (v16_ShearDeformationAreaY) { e->setArgument(15,(*v16_ShearDeformationAreaY)); } else { e->setArgument(15); } ; if (v17_MaximumSectionModulusY) { e->setArgument(16,(*v17_MaximumSectionModulusY)); } else { e->setArgument(16); } ; if (v18_MinimumSectionModulusY) { e->setArgument(17,(*v18_MinimumSectionModulusY)); } else { e->setArgument(17); } ; if (v19_MaximumSectionModulusZ) { e->setArgument(18,(*v19_MaximumSectionModulusZ)); } else { e->setArgument(18); } ; if (v20_MinimumSectionModulusZ) { e->setArgument(19,(*v20_MinimumSectionModulusZ)); } else { e->setArgument(19); } ; if (v21_TorsionalSectionModulus) { e->setArgument(20,(*v21_TorsionalSectionModulus)); } else { e->setArgument(20); } ; if (v22_CentreOfGravityInX) { e->setArgument(21,(*v22_CentreOfGravityInX)); } else { e->setArgument(21); } ; if (v23_CentreOfGravityInY) { e->setArgument(22,(*v23_CentreOfGravityInY)); } else { e->setArgument(22); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralProfileProperties::IfcStructuralProfileProperties(optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea, optional< IfcMomentOfInertiaMeasure > v8_TorsionalConstantX, optional< IfcMomentOfInertiaMeasure > v9_MomentOfInertiaYZ, optional< IfcMomentOfInertiaMeasure > v10_MomentOfInertiaY, optional< IfcMomentOfInertiaMeasure > v11_MomentOfInertiaZ, optional< IfcWarpingConstantMeasure > v12_WarpingConstant, optional< IfcLengthMeasure > v13_ShearCentreZ, optional< IfcLengthMeasure > v14_ShearCentreY, optional< IfcAreaMeasure > v15_ShearDeformationAreaZ, optional< IfcAreaMeasure > v16_ShearDeformationAreaY, optional< IfcSectionModulusMeasure > v17_MaximumSectionModulusY, optional< IfcSectionModulusMeasure > v18_MinimumSectionModulusY, optional< IfcSectionModulusMeasure > v19_MaximumSectionModulusZ, optional< IfcSectionModulusMeasure > v20_MinimumSectionModulusZ, optional< IfcSectionModulusMeasure > v21_TorsionalSectionModulus, optional< IfcLengthMeasure > v22_CentreOfGravityInX, optional< IfcLengthMeasure > v23_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; if (v8_TorsionalConstantX) { e->setArgument(7,(*v8_TorsionalConstantX)); } else { e->setArgument(7); } ; if (v9_MomentOfInertiaYZ) { e->setArgument(8,(*v9_MomentOfInertiaYZ)); } else { e->setArgument(8); } ; if (v10_MomentOfInertiaY) { e->setArgument(9,(*v10_MomentOfInertiaY)); } else { e->setArgument(9); } ; if (v11_MomentOfInertiaZ) { e->setArgument(10,(*v11_MomentOfInertiaZ)); } else { e->setArgument(10); } ; if (v12_WarpingConstant) { e->setArgument(11,(*v12_WarpingConstant)); } else { e->setArgument(11); } ; if (v13_ShearCentreZ) { e->setArgument(12,(*v13_ShearCentreZ)); } else { e->setArgument(12); } ; if (v14_ShearCentreY) { e->setArgument(13,(*v14_ShearCentreY)); } else { e->setArgument(13); } ; if (v15_ShearDeformationAreaZ) { e->setArgument(14,(*v15_ShearDeformationAreaZ)); } else { e->setArgument(14); } ; if (v16_ShearDeformationAreaY) { e->setArgument(15,(*v16_ShearDeformationAreaY)); } else { e->setArgument(15); } ; if (v17_MaximumSectionModulusY) { e->setArgument(16,(*v17_MaximumSectionModulusY)); } else { e->setArgument(16); } ; if (v18_MinimumSectionModulusY) { e->setArgument(17,(*v18_MinimumSectionModulusY)); } else { e->setArgument(17); } ; if (v19_MaximumSectionModulusZ) { e->setArgument(18,(*v19_MaximumSectionModulusZ)); } else { e->setArgument(18); } ; if (v20_MinimumSectionModulusZ) { e->setArgument(19,(*v20_MinimumSectionModulusZ)); } else { e->setArgument(19); } ; if (v21_TorsionalSectionModulus) { e->setArgument(20,(*v21_TorsionalSectionModulus)); } else { e->setArgument(20); } ; if (v22_CentreOfGravityInX) { e->setArgument(21,(*v22_CentreOfGravityInX)); } else { e->setArgument(21); } ; if (v23_CentreOfGravityInY) { e->setArgument(22,(*v23_CentreOfGravityInY)); } else { e->setArgument(22); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralReaction IfcStructuralAction::list IfcStructuralReaction::Causes() { RETURN_INVERSE(IfcStructuralAction) } bool IfcStructuralReaction::is(Type::Enum v) const { return v == Type::IfcStructuralReaction || IfcStructuralActivity::is(v); } Type::Enum IfcStructuralReaction::type() const { return Type::IfcStructuralReaction; } Type::Enum IfcStructuralReaction::Class() { return Type::IfcStructuralReaction; } IfcStructuralReaction::IfcStructuralReaction(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralReaction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralReaction::IfcStructuralReaction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } +IfcStructuralReaction::IfcStructuralReaction(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedLoad)); e->setArgument(8,v9_GlobalOrLocal,IfcGlobalOrLocalEnum::ToString(v9_GlobalOrLocal)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralResultGroup IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum IfcStructuralResultGroup::TheoryType() { return IfcAnalysisTheoryTypeEnum::FromString(*entity->getArgument(5)); } void IfcStructuralResultGroup::setTheoryType(IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v,IfcAnalysisTheoryTypeEnum::ToString(v)); } @@ -10916,7 +10916,7 @@ bool IfcStructuralResultGroup::is(Type::Enum v) const { return v == Type::IfcStr Type::Enum IfcStructuralResultGroup::type() const { return Type::IfcStructuralResultGroup; } Type::Enum IfcStructuralResultGroup::Class() { return Type::IfcStructuralResultGroup; } IfcStructuralResultGroup::IfcStructuralResultGroup(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralResultGroup)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralResultGroup::IfcStructuralResultGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum v6_TheoryType, IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_TheoryType,IfcAnalysisTheoryTypeEnum::ToString(v6_TheoryType)); e->setArgument(6,(v7_ResultForLoadGroup)); e->setArgument(7,(v8_IsLinear)); entity = e; EntityBuffer::Add(this); } +IfcStructuralResultGroup::IfcStructuralResultGroup(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum v6_TheoryType, IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,v6_TheoryType,IfcAnalysisTheoryTypeEnum::ToString(v6_TheoryType)); e->setArgument(6,(v7_ResultForLoadGroup)); e->setArgument(7,(v8_IsLinear)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralSteelProfileProperties bool IfcStructuralSteelProfileProperties::hasShearAreaZ() { return !entity->getArgument(23)->isNull(); } IfcAreaMeasure IfcStructuralSteelProfileProperties::ShearAreaZ() { return *entity->getArgument(23); } @@ -10934,13 +10934,13 @@ bool IfcStructuralSteelProfileProperties::is(Type::Enum v) const { return v == T Type::Enum IfcStructuralSteelProfileProperties::type() const { return Type::IfcStructuralSteelProfileProperties; } Type::Enum IfcStructuralSteelProfileProperties::Class() { return Type::IfcStructuralSteelProfileProperties; } IfcStructuralSteelProfileProperties::IfcStructuralSteelProfileProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralSteelProfileProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralSteelProfileProperties::IfcStructuralSteelProfileProperties(optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea, optional v8_TorsionalConstantX, optional v9_MomentOfInertiaYZ, optional v10_MomentOfInertiaY, optional v11_MomentOfInertiaZ, optional v12_WarpingConstant, optional v13_ShearCentreZ, optional v14_ShearCentreY, optional v15_ShearDeformationAreaZ, optional v16_ShearDeformationAreaY, optional v17_MaximumSectionModulusY, optional v18_MinimumSectionModulusY, optional v19_MaximumSectionModulusZ, optional v20_MinimumSectionModulusZ, optional v21_TorsionalSectionModulus, optional v22_CentreOfGravityInX, optional v23_CentreOfGravityInY, optional v24_ShearAreaZ, optional v25_ShearAreaY, optional v26_PlasticShapeFactorY, optional v27_PlasticShapeFactorZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; if (v8_TorsionalConstantX) { e->setArgument(7,(*v8_TorsionalConstantX)); } else { e->setArgument(7); } ; if (v9_MomentOfInertiaYZ) { e->setArgument(8,(*v9_MomentOfInertiaYZ)); } else { e->setArgument(8); } ; if (v10_MomentOfInertiaY) { e->setArgument(9,(*v10_MomentOfInertiaY)); } else { e->setArgument(9); } ; if (v11_MomentOfInertiaZ) { e->setArgument(10,(*v11_MomentOfInertiaZ)); } else { e->setArgument(10); } ; if (v12_WarpingConstant) { e->setArgument(11,(*v12_WarpingConstant)); } else { e->setArgument(11); } ; if (v13_ShearCentreZ) { e->setArgument(12,(*v13_ShearCentreZ)); } else { e->setArgument(12); } ; if (v14_ShearCentreY) { e->setArgument(13,(*v14_ShearCentreY)); } else { e->setArgument(13); } ; if (v15_ShearDeformationAreaZ) { e->setArgument(14,(*v15_ShearDeformationAreaZ)); } else { e->setArgument(14); } ; if (v16_ShearDeformationAreaY) { e->setArgument(15,(*v16_ShearDeformationAreaY)); } else { e->setArgument(15); } ; if (v17_MaximumSectionModulusY) { e->setArgument(16,(*v17_MaximumSectionModulusY)); } else { e->setArgument(16); } ; if (v18_MinimumSectionModulusY) { e->setArgument(17,(*v18_MinimumSectionModulusY)); } else { e->setArgument(17); } ; if (v19_MaximumSectionModulusZ) { e->setArgument(18,(*v19_MaximumSectionModulusZ)); } else { e->setArgument(18); } ; if (v20_MinimumSectionModulusZ) { e->setArgument(19,(*v20_MinimumSectionModulusZ)); } else { e->setArgument(19); } ; if (v21_TorsionalSectionModulus) { e->setArgument(20,(*v21_TorsionalSectionModulus)); } else { e->setArgument(20); } ; if (v22_CentreOfGravityInX) { e->setArgument(21,(*v22_CentreOfGravityInX)); } else { e->setArgument(21); } ; if (v23_CentreOfGravityInY) { e->setArgument(22,(*v23_CentreOfGravityInY)); } else { e->setArgument(22); } ; if (v24_ShearAreaZ) { e->setArgument(23,(*v24_ShearAreaZ)); } else { e->setArgument(23); } ; if (v25_ShearAreaY) { e->setArgument(24,(*v25_ShearAreaY)); } else { e->setArgument(24); } ; if (v26_PlasticShapeFactorY) { e->setArgument(25,(*v26_PlasticShapeFactorY)); } else { e->setArgument(25); } ; if (v27_PlasticShapeFactorZ) { e->setArgument(26,(*v27_PlasticShapeFactorZ)); } else { e->setArgument(26); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralSteelProfileProperties::IfcStructuralSteelProfileProperties(optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea, optional< IfcMomentOfInertiaMeasure > v8_TorsionalConstantX, optional< IfcMomentOfInertiaMeasure > v9_MomentOfInertiaYZ, optional< IfcMomentOfInertiaMeasure > v10_MomentOfInertiaY, optional< IfcMomentOfInertiaMeasure > v11_MomentOfInertiaZ, optional< IfcWarpingConstantMeasure > v12_WarpingConstant, optional< IfcLengthMeasure > v13_ShearCentreZ, optional< IfcLengthMeasure > v14_ShearCentreY, optional< IfcAreaMeasure > v15_ShearDeformationAreaZ, optional< IfcAreaMeasure > v16_ShearDeformationAreaY, optional< IfcSectionModulusMeasure > v17_MaximumSectionModulusY, optional< IfcSectionModulusMeasure > v18_MinimumSectionModulusY, optional< IfcSectionModulusMeasure > v19_MaximumSectionModulusZ, optional< IfcSectionModulusMeasure > v20_MinimumSectionModulusZ, optional< IfcSectionModulusMeasure > v21_TorsionalSectionModulus, optional< IfcLengthMeasure > v22_CentreOfGravityInX, optional< IfcLengthMeasure > v23_CentreOfGravityInY, optional< IfcAreaMeasure > v24_ShearAreaZ, optional< IfcAreaMeasure > v25_ShearAreaY, optional< IfcPositiveRatioMeasure > v26_PlasticShapeFactorY, optional< IfcPositiveRatioMeasure > v27_PlasticShapeFactorZ) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_ProfileName) { e->setArgument(0,(*v1_ProfileName)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_ProfileDefinition)); if (v3_PhysicalWeight) { e->setArgument(2,(*v3_PhysicalWeight)); } else { e->setArgument(2); } ; if (v4_Perimeter) { e->setArgument(3,(*v4_Perimeter)); } else { e->setArgument(3); } ; if (v5_MinimumPlateThickness) { e->setArgument(4,(*v5_MinimumPlateThickness)); } else { e->setArgument(4); } ; if (v6_MaximumPlateThickness) { e->setArgument(5,(*v6_MaximumPlateThickness)); } else { e->setArgument(5); } ; if (v7_CrossSectionArea) { e->setArgument(6,(*v7_CrossSectionArea)); } else { e->setArgument(6); } ; if (v8_TorsionalConstantX) { e->setArgument(7,(*v8_TorsionalConstantX)); } else { e->setArgument(7); } ; if (v9_MomentOfInertiaYZ) { e->setArgument(8,(*v9_MomentOfInertiaYZ)); } else { e->setArgument(8); } ; if (v10_MomentOfInertiaY) { e->setArgument(9,(*v10_MomentOfInertiaY)); } else { e->setArgument(9); } ; if (v11_MomentOfInertiaZ) { e->setArgument(10,(*v11_MomentOfInertiaZ)); } else { e->setArgument(10); } ; if (v12_WarpingConstant) { e->setArgument(11,(*v12_WarpingConstant)); } else { e->setArgument(11); } ; if (v13_ShearCentreZ) { e->setArgument(12,(*v13_ShearCentreZ)); } else { e->setArgument(12); } ; if (v14_ShearCentreY) { e->setArgument(13,(*v14_ShearCentreY)); } else { e->setArgument(13); } ; if (v15_ShearDeformationAreaZ) { e->setArgument(14,(*v15_ShearDeformationAreaZ)); } else { e->setArgument(14); } ; if (v16_ShearDeformationAreaY) { e->setArgument(15,(*v16_ShearDeformationAreaY)); } else { e->setArgument(15); } ; if (v17_MaximumSectionModulusY) { e->setArgument(16,(*v17_MaximumSectionModulusY)); } else { e->setArgument(16); } ; if (v18_MinimumSectionModulusY) { e->setArgument(17,(*v18_MinimumSectionModulusY)); } else { e->setArgument(17); } ; if (v19_MaximumSectionModulusZ) { e->setArgument(18,(*v19_MaximumSectionModulusZ)); } else { e->setArgument(18); } ; if (v20_MinimumSectionModulusZ) { e->setArgument(19,(*v20_MinimumSectionModulusZ)); } else { e->setArgument(19); } ; if (v21_TorsionalSectionModulus) { e->setArgument(20,(*v21_TorsionalSectionModulus)); } else { e->setArgument(20); } ; if (v22_CentreOfGravityInX) { e->setArgument(21,(*v22_CentreOfGravityInX)); } else { e->setArgument(21); } ; if (v23_CentreOfGravityInY) { e->setArgument(22,(*v23_CentreOfGravityInY)); } else { e->setArgument(22); } ; if (v24_ShearAreaZ) { e->setArgument(23,(*v24_ShearAreaZ)); } else { e->setArgument(23); } ; if (v25_ShearAreaY) { e->setArgument(24,(*v25_ShearAreaY)); } else { e->setArgument(24); } ; if (v26_PlasticShapeFactorY) { e->setArgument(25,(*v26_PlasticShapeFactorY)); } else { e->setArgument(25); } ; if (v27_PlasticShapeFactorZ) { e->setArgument(26,(*v27_PlasticShapeFactorZ)); } else { e->setArgument(26); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralSurfaceConnection bool IfcStructuralSurfaceConnection::is(Type::Enum v) const { return v == Type::IfcStructuralSurfaceConnection || IfcStructuralConnection::is(v); } Type::Enum IfcStructuralSurfaceConnection::type() const { return Type::IfcStructuralSurfaceConnection; } Type::Enum IfcStructuralSurfaceConnection::Class() { return Type::IfcStructuralSurfaceConnection; } IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralSurfaceConnection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } +IfcStructuralSurfaceConnection::IfcStructuralSurfaceConnection(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,(v8_AppliedCondition)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralSurfaceMember IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum IfcStructuralSurfaceMember::PredefinedType() { return IfcStructuralSurfaceTypeEnum::FromString(*entity->getArgument(7)); } void IfcStructuralSurfaceMember::setPredefinedType(IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v,IfcStructuralSurfaceTypeEnum::ToString(v)); } @@ -10951,17 +10951,17 @@ bool IfcStructuralSurfaceMember::is(Type::Enum v) const { return v == Type::IfcS Type::Enum IfcStructuralSurfaceMember::type() const { return Type::IfcStructuralSurfaceMember; } Type::Enum IfcStructuralSurfaceMember::Class() { return Type::IfcStructuralSurfaceMember; } IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralSurfaceMember)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional v9_Thickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralSurfaceTypeEnum::ToString(v8_PredefinedType)); if (v9_Thickness) { e->setArgument(8,(*v9_Thickness)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcStructuralSurfaceMember::IfcStructuralSurfaceMember(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional< IfcPositiveLengthMeasure > v9_Thickness) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralSurfaceTypeEnum::ToString(v8_PredefinedType)); if (v9_Thickness) { e->setArgument(8,(*v9_Thickness)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuralSurfaceMemberVarying -std::vector /*[2:?]*/ IfcStructuralSurfaceMemberVarying::SubsequentThickness() { return *entity->getArgument(9); } -void IfcStructuralSurfaceMemberVarying::setSubsequentThickness(std::vector /*[2:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v); } +std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ IfcStructuralSurfaceMemberVarying::SubsequentThickness() { return *entity->getArgument(9); } +void IfcStructuralSurfaceMemberVarying::setSubsequentThickness(std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v); } IfcShapeAspect* IfcStructuralSurfaceMemberVarying::VaryingThicknessLocation() { return reinterpret_pointer_cast(*entity->getArgument(10)); } void IfcStructuralSurfaceMemberVarying::setVaryingThicknessLocation(IfcShapeAspect* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(10,v); } bool IfcStructuralSurfaceMemberVarying::is(Type::Enum v) const { return v == Type::IfcStructuralSurfaceMemberVarying || IfcStructuralSurfaceMember::is(v); } Type::Enum IfcStructuralSurfaceMemberVarying::type() const { return Type::IfcStructuralSurfaceMemberVarying; } Type::Enum IfcStructuralSurfaceMemberVarying::Class() { return Type::IfcStructuralSurfaceMemberVarying; } IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(IfcAbstractEntityPtr e) { if (!is(Type::IfcStructuralSurfaceMemberVarying)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional v9_Thickness, std::vector /*[2:?]*/ v10_SubsequentThickness, IfcShapeAspect* v11_VaryingThicknessLocation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralSurfaceTypeEnum::ToString(v8_PredefinedType)); if (v9_Thickness) { e->setArgument(8,(*v9_Thickness)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_SubsequentThickness)); e->setArgument(10,(v11_VaryingThicknessLocation)); entity = e; EntityBuffer::Add(this); } +IfcStructuralSurfaceMemberVarying::IfcStructuralSurfaceMemberVarying(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional< IfcPositiveLengthMeasure > v9_Thickness, std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ v10_SubsequentThickness, IfcShapeAspect* v11_VaryingThicknessLocation) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); e->setArgument(7,v8_PredefinedType,IfcStructuralSurfaceTypeEnum::ToString(v8_PredefinedType)); if (v9_Thickness) { e->setArgument(8,(*v9_Thickness)); } else { e->setArgument(8); } ; e->setArgument(9,(v10_SubsequentThickness)); e->setArgument(10,(v11_VaryingThicknessLocation)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStructuredDimensionCallout bool IfcStructuredDimensionCallout::is(Type::Enum v) const { return v == Type::IfcStructuredDimensionCallout || IfcDraughtingCallout::is(v); } Type::Enum IfcStructuredDimensionCallout::type() const { return Type::IfcStructuredDimensionCallout; } @@ -10973,13 +10973,13 @@ bool IfcStyleModel::is(Type::Enum v) const { return v == Type::IfcStyleModel || Type::Enum IfcStyleModel::type() const { return Type::IfcStyleModel; } Type::Enum IfcStyleModel::Class() { return Type::IfcStyleModel; } IfcStyleModel::IfcStyleModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcStyleModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStyleModel::IfcStyleModel(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcStyleModel::IfcStyleModel(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStyledItem bool IfcStyledItem::hasItem() { return !entity->getArgument(0)->isNull(); } IfcRepresentationItem* IfcStyledItem::Item() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcStyledItem::setItem(IfcRepresentationItem* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcStyledItem::Styles() { RETURN_AS_LIST(IfcPresentationStyleAssignment,1) } -void IfcStyledItem::setStyles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > IfcStyledItem::Styles() { RETURN_AS_LIST(IfcPresentationStyleAssignment,1) } +void IfcStyledItem::setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcStyledItem::hasName() { return !entity->getArgument(2)->isNull(); } IfcLabel IfcStyledItem::Name() { return *entity->getArgument(2); } void IfcStyledItem::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -10987,13 +10987,13 @@ bool IfcStyledItem::is(Type::Enum v) const { return v == Type::IfcStyledItem || Type::Enum IfcStyledItem::type() const { return Type::IfcStyledItem; } Type::Enum IfcStyledItem::Class() { return Type::IfcStyledItem; } IfcStyledItem::IfcStyledItem(IfcAbstractEntityPtr e) { if (!is(Type::IfcStyledItem)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStyledItem::IfcStyledItem(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } +IfcStyledItem::IfcStyledItem(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcStyledRepresentation bool IfcStyledRepresentation::is(Type::Enum v) const { return v == Type::IfcStyledRepresentation || IfcStyleModel::is(v); } Type::Enum IfcStyledRepresentation::type() const { return Type::IfcStyledRepresentation; } Type::Enum IfcStyledRepresentation::Class() { return Type::IfcStyledRepresentation; } IfcStyledRepresentation::IfcStyledRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcStyledRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcStyledRepresentation::IfcStyledRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcStyledRepresentation::IfcStyledRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSubContractResource bool IfcSubContractResource::hasSubContractor() { return !entity->getArgument(9)->isNull(); } IfcActorSelect IfcSubContractResource::SubContractor() { return *entity->getArgument(9); } @@ -11005,7 +11005,7 @@ bool IfcSubContractResource::is(Type::Enum v) const { return v == Type::IfcSubCo Type::Enum IfcSubContractResource::type() const { return Type::IfcSubContractResource; } Type::Enum IfcSubContractResource::Class() { return Type::IfcSubContractResource; } IfcSubContractResource::IfcSubContractResource(IfcAbstractEntityPtr e) { if (!is(Type::IfcSubContractResource)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSubContractResource::IfcSubContractResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_SubContractor, optional v11_JobDescription) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_SubContractor) { e->setArgument(9,(*v10_SubContractor)); } else { e->setArgument(9); } ; if (v11_JobDescription) { e->setArgument(10,(*v11_JobDescription)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcSubContractResource::IfcSubContractResource(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcActorSelect > v10_SubContractor, optional< IfcText > v11_JobDescription) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ResourceIdentifier) { e->setArgument(5,(*v6_ResourceIdentifier)); } else { e->setArgument(5); } ; if (v7_ResourceGroup) { e->setArgument(6,(*v7_ResourceGroup)); } else { e->setArgument(6); } ; if (v8_ResourceConsumption) { e->setArgument(7,*v8_ResourceConsumption,IfcResourceConsumptionEnum::ToString(*v8_ResourceConsumption)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_BaseQuantity)); if (v10_SubContractor) { e->setArgument(9,(*v10_SubContractor)); } else { e->setArgument(9); } ; if (v11_JobDescription) { e->setArgument(10,(*v11_JobDescription)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSubedge IfcEdge* IfcSubedge::ParentEdge() { return reinterpret_pointer_cast(*entity->getArgument(2)); } void IfcSubedge::setParentEdge(IfcEdge* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -11054,13 +11054,13 @@ IfcSurfaceOfRevolution::IfcSurfaceOfRevolution(IfcProfileDef* v1_SweptCurve, Ifc // Function implementations for IfcSurfaceStyle IfcSurfaceSide::IfcSurfaceSide IfcSurfaceStyle::Side() { return IfcSurfaceSide::FromString(*entity->getArgument(1)); } void IfcSurfaceStyle::setSide(IfcSurfaceSide::IfcSurfaceSide v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v,IfcSurfaceSide::ToString(v)); } -SHARED_PTR< IfcTemplatedEntityList > IfcSurfaceStyle::Styles() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcSurfaceStyle::setStyles(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcSurfaceStyle::Styles() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcSurfaceStyle::setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcSurfaceStyle::is(Type::Enum v) const { return v == Type::IfcSurfaceStyle || IfcPresentationStyle::is(v); } Type::Enum IfcSurfaceStyle::type() const { return Type::IfcSurfaceStyle; } Type::Enum IfcSurfaceStyle::Class() { return Type::IfcSurfaceStyle; } IfcSurfaceStyle::IfcSurfaceStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcSurfaceStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSurfaceStyle::IfcSurfaceStyle(optional v1_Name, IfcSurfaceSide::IfcSurfaceSide v2_Side, IfcEntities v3_Styles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,v2_Side,IfcSurfaceSide::ToString(v2_Side)); e->setArgument(2,(v3_Styles)); entity = e; EntityBuffer::Add(this); } +IfcSurfaceStyle::IfcSurfaceStyle(optional< IfcLabel > v1_Name, IfcSurfaceSide::IfcSurfaceSide v2_Side, IfcEntities v3_Styles) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,v2_Side,IfcSurfaceSide::ToString(v2_Side)); e->setArgument(2,(v3_Styles)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSurfaceStyleLighting IfcColourRgb* IfcSurfaceStyleLighting::DiffuseTransmissionColour() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcSurfaceStyleLighting::setDiffuseTransmissionColour(IfcColourRgb* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11086,7 +11086,7 @@ bool IfcSurfaceStyleRefraction::is(Type::Enum v) const { return v == Type::IfcSu Type::Enum IfcSurfaceStyleRefraction::type() const { return Type::IfcSurfaceStyleRefraction; } Type::Enum IfcSurfaceStyleRefraction::Class() { return Type::IfcSurfaceStyleRefraction; } IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(IfcAbstractEntityPtr e) { if (!is(Type::IfcSurfaceStyleRefraction)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(optional v1_RefractionIndex, optional v2_DispersionFactor) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_RefractionIndex) { e->setArgument(0,(*v1_RefractionIndex)); } else { e->setArgument(0); } ; if (v2_DispersionFactor) { e->setArgument(1,(*v2_DispersionFactor)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcSurfaceStyleRefraction::IfcSurfaceStyleRefraction(optional< IfcReal > v1_RefractionIndex, optional< IfcReal > v2_DispersionFactor) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_RefractionIndex) { e->setArgument(0,(*v1_RefractionIndex)); } else { e->setArgument(0); } ; if (v2_DispersionFactor) { e->setArgument(1,(*v2_DispersionFactor)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSurfaceStyleRendering bool IfcSurfaceStyleRendering::hasTransparency() { return !entity->getArgument(1)->isNull(); } IfcNormalisedRatioMeasure IfcSurfaceStyleRendering::Transparency() { return *entity->getArgument(1); } @@ -11115,7 +11115,7 @@ bool IfcSurfaceStyleRendering::is(Type::Enum v) const { return v == Type::IfcSur Type::Enum IfcSurfaceStyleRendering::type() const { return Type::IfcSurfaceStyleRendering; } Type::Enum IfcSurfaceStyleRendering::Class() { return Type::IfcSurfaceStyleRendering; } IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(IfcAbstractEntityPtr e) { if (!is(Type::IfcSurfaceStyleRendering)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(IfcColourRgb* v1_SurfaceColour, optional v2_Transparency, optional v3_DiffuseColour, optional v4_TransmissionColour, optional v5_DiffuseTransmissionColour, optional v6_ReflectionColour, optional v7_SpecularColour, optional v8_SpecularHighlight, IfcReflectanceMethodEnum::IfcReflectanceMethodEnum v9_ReflectanceMethod) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SurfaceColour)); if (v2_Transparency) { e->setArgument(1,(*v2_Transparency)); } else { e->setArgument(1); } ; if (v3_DiffuseColour) { e->setArgument(2,(*v3_DiffuseColour)); } else { e->setArgument(2); } ; if (v4_TransmissionColour) { e->setArgument(3,(*v4_TransmissionColour)); } else { e->setArgument(3); } ; if (v5_DiffuseTransmissionColour) { e->setArgument(4,(*v5_DiffuseTransmissionColour)); } else { e->setArgument(4); } ; if (v6_ReflectionColour) { e->setArgument(5,(*v6_ReflectionColour)); } else { e->setArgument(5); } ; if (v7_SpecularColour) { e->setArgument(6,(*v7_SpecularColour)); } else { e->setArgument(6); } ; if (v8_SpecularHighlight) { e->setArgument(7,(*v8_SpecularHighlight)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ReflectanceMethod,IfcReflectanceMethodEnum::ToString(v9_ReflectanceMethod)); entity = e; EntityBuffer::Add(this); } +IfcSurfaceStyleRendering::IfcSurfaceStyleRendering(IfcColourRgb* v1_SurfaceColour, optional< IfcNormalisedRatioMeasure > v2_Transparency, optional< IfcColourOrFactor > v3_DiffuseColour, optional< IfcColourOrFactor > v4_TransmissionColour, optional< IfcColourOrFactor > v5_DiffuseTransmissionColour, optional< IfcColourOrFactor > v6_ReflectionColour, optional< IfcColourOrFactor > v7_SpecularColour, optional< IfcSpecularHighlightSelect > v8_SpecularHighlight, IfcReflectanceMethodEnum::IfcReflectanceMethodEnum v9_ReflectanceMethod) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SurfaceColour)); if (v2_Transparency) { e->setArgument(1,(*v2_Transparency)); } else { e->setArgument(1); } ; if (v3_DiffuseColour) { e->setArgument(2,(*v3_DiffuseColour)); } else { e->setArgument(2); } ; if (v4_TransmissionColour) { e->setArgument(3,(*v4_TransmissionColour)); } else { e->setArgument(3); } ; if (v5_DiffuseTransmissionColour) { e->setArgument(4,(*v5_DiffuseTransmissionColour)); } else { e->setArgument(4); } ; if (v6_ReflectionColour) { e->setArgument(5,(*v6_ReflectionColour)); } else { e->setArgument(5); } ; if (v7_SpecularColour) { e->setArgument(6,(*v7_SpecularColour)); } else { e->setArgument(6); } ; if (v8_SpecularHighlight) { e->setArgument(7,(*v8_SpecularHighlight)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ReflectanceMethod,IfcReflectanceMethodEnum::ToString(v9_ReflectanceMethod)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSurfaceStyleShading IfcColourRgb* IfcSurfaceStyleShading::SurfaceColour() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcSurfaceStyleShading::setSurfaceColour(IfcColourRgb* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11125,13 +11125,13 @@ Type::Enum IfcSurfaceStyleShading::Class() { return Type::IfcSurfaceStyleShading IfcSurfaceStyleShading::IfcSurfaceStyleShading(IfcAbstractEntityPtr e) { if (!is(Type::IfcSurfaceStyleShading)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcSurfaceStyleShading::IfcSurfaceStyleShading(IfcColourRgb* v1_SurfaceColour) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_SurfaceColour)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSurfaceStyleWithTextures -SHARED_PTR< IfcTemplatedEntityList > IfcSurfaceStyleWithTextures::Textures() { RETURN_AS_LIST(IfcSurfaceTexture,0) } -void IfcSurfaceStyleWithTextures::setTextures(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > IfcSurfaceStyleWithTextures::Textures() { RETURN_AS_LIST(IfcSurfaceTexture,0) } +void IfcSurfaceStyleWithTextures::setTextures(SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcSurfaceStyleWithTextures::is(Type::Enum v) const { return v == Type::IfcSurfaceStyleWithTextures; } Type::Enum IfcSurfaceStyleWithTextures::type() const { return Type::IfcSurfaceStyleWithTextures; } Type::Enum IfcSurfaceStyleWithTextures::Class() { return Type::IfcSurfaceStyleWithTextures; } IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(IfcAbstractEntityPtr e) { if (!is(Type::IfcSurfaceStyleWithTextures)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(SHARED_PTR< IfcTemplatedEntityList > v1_Textures) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Textures)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcSurfaceStyleWithTextures::IfcSurfaceStyleWithTextures(SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > v1_Textures) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Textures)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSurfaceTexture bool IfcSurfaceTexture::RepeatS() { return *entity->getArgument(0); } void IfcSurfaceTexture::setRepeatS(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11173,7 +11173,7 @@ bool IfcSweptDiskSolid::is(Type::Enum v) const { return v == Type::IfcSweptDiskS Type::Enum IfcSweptDiskSolid::type() const { return Type::IfcSweptDiskSolid; } Type::Enum IfcSweptDiskSolid::Class() { return Type::IfcSweptDiskSolid; } IfcSweptDiskSolid::IfcSweptDiskSolid(IfcAbstractEntityPtr e) { if (!is(Type::IfcSweptDiskSolid)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSweptDiskSolid::IfcSweptDiskSolid(IfcCurve* v1_Directrix, IfcPositiveLengthMeasure v2_Radius, optional v3_InnerRadius, IfcParameterValue v4_StartParam, IfcParameterValue v5_EndParam) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Directrix)); e->setArgument(1,(v2_Radius)); if (v3_InnerRadius) { e->setArgument(2,(*v3_InnerRadius)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_StartParam)); e->setArgument(4,(v5_EndParam)); entity = e; EntityBuffer::Add(this); } +IfcSweptDiskSolid::IfcSweptDiskSolid(IfcCurve* v1_Directrix, IfcPositiveLengthMeasure v2_Radius, optional< IfcPositiveLengthMeasure > v3_InnerRadius, IfcParameterValue v4_StartParam, IfcParameterValue v5_EndParam) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Directrix)); e->setArgument(1,(v2_Radius)); if (v3_InnerRadius) { e->setArgument(2,(*v3_InnerRadius)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_StartParam)); e->setArgument(4,(v5_EndParam)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSweptSurface IfcProfileDef* IfcSweptSurface::SweptCurve() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcSweptSurface::setSweptCurve(IfcProfileDef* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11191,7 +11191,7 @@ bool IfcSwitchingDeviceType::is(Type::Enum v) const { return v == Type::IfcSwitc Type::Enum IfcSwitchingDeviceType::type() const { return Type::IfcSwitchingDeviceType; } Type::Enum IfcSwitchingDeviceType::Class() { return Type::IfcSwitchingDeviceType; } IfcSwitchingDeviceType::IfcSwitchingDeviceType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSwitchingDeviceType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSwitchingDeviceType::IfcSwitchingDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSwitchingDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcSwitchingDeviceType::IfcSwitchingDeviceType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcSwitchingDeviceTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSymbolStyle IfcSymbolStyleSelect IfcSymbolStyle::StyleOfSymbol() { return *entity->getArgument(1); } void IfcSymbolStyle::setStyleOfSymbol(IfcSymbolStyleSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -11199,20 +11199,20 @@ bool IfcSymbolStyle::is(Type::Enum v) const { return v == Type::IfcSymbolStyle | Type::Enum IfcSymbolStyle::type() const { return Type::IfcSymbolStyle; } Type::Enum IfcSymbolStyle::Class() { return Type::IfcSymbolStyle; } IfcSymbolStyle::IfcSymbolStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcSymbolStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSymbolStyle::IfcSymbolStyle(optional v1_Name, IfcSymbolStyleSelect v2_StyleOfSymbol) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_StyleOfSymbol)); entity = e; EntityBuffer::Add(this); } +IfcSymbolStyle::IfcSymbolStyle(optional< IfcLabel > v1_Name, IfcSymbolStyleSelect v2_StyleOfSymbol) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; e->setArgument(1,(v2_StyleOfSymbol)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSystem IfcRelServicesBuildings::list IfcSystem::ServicesBuildings() { RETURN_INVERSE(IfcRelServicesBuildings) } bool IfcSystem::is(Type::Enum v) const { return v == Type::IfcSystem || IfcGroup::is(v); } Type::Enum IfcSystem::type() const { return Type::IfcSystem; } Type::Enum IfcSystem::Class() { return Type::IfcSystem; } IfcSystem::IfcSystem(IfcAbstractEntityPtr e) { if (!is(Type::IfcSystem)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSystem::IfcSystem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcSystem::IfcSystem(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcSystemFurnitureElementType bool IfcSystemFurnitureElementType::is(Type::Enum v) const { return v == Type::IfcSystemFurnitureElementType || IfcFurnishingElementType::is(v); } Type::Enum IfcSystemFurnitureElementType::type() const { return Type::IfcSystemFurnitureElementType; } Type::Enum IfcSystemFurnitureElementType::Class() { return Type::IfcSystemFurnitureElementType; } IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcSystemFurnitureElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcSystemFurnitureElementType::IfcSystemFurnitureElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTShapeProfileDef IfcPositiveLengthMeasure IfcTShapeProfileDef::Depth() { return *entity->getArgument(3); } void IfcTShapeProfileDef::setDepth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -11244,20 +11244,20 @@ bool IfcTShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcTShapePr Type::Enum IfcTShapeProfileDef::type() const { return Type::IfcTShapeProfileDef; } Type::Enum IfcTShapeProfileDef::Class() { return Type::IfcTShapeProfileDef; } IfcTShapeProfileDef::IfcTShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcTShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTShapeProfileDef::IfcTShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_FlangeEdgeRadius, optional v10_WebEdgeRadius, optional v11_WebSlope, optional v12_FlangeSlope, optional v13_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_FlangeEdgeRadius) { e->setArgument(8,(*v9_FlangeEdgeRadius)); } else { e->setArgument(8); } ; if (v10_WebEdgeRadius) { e->setArgument(9,(*v10_WebEdgeRadius)); } else { e->setArgument(9); } ; if (v11_WebSlope) { e->setArgument(10,(*v11_WebSlope)); } else { e->setArgument(10); } ; if (v12_FlangeSlope) { e->setArgument(11,(*v12_FlangeSlope)); } else { e->setArgument(11); } ; if (v13_CentreOfGravityInY) { e->setArgument(12,(*v13_CentreOfGravityInY)); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } +IfcTShapeProfileDef::IfcTShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_FlangeEdgeRadius, optional< IfcPositiveLengthMeasure > v10_WebEdgeRadius, optional< IfcPlaneAngleMeasure > v11_WebSlope, optional< IfcPlaneAngleMeasure > v12_FlangeSlope, optional< IfcPositiveLengthMeasure > v13_CentreOfGravityInY) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_FlangeEdgeRadius) { e->setArgument(8,(*v9_FlangeEdgeRadius)); } else { e->setArgument(8); } ; if (v10_WebEdgeRadius) { e->setArgument(9,(*v10_WebEdgeRadius)); } else { e->setArgument(9); } ; if (v11_WebSlope) { e->setArgument(10,(*v11_WebSlope)); } else { e->setArgument(10); } ; if (v12_FlangeSlope) { e->setArgument(11,(*v12_FlangeSlope)); } else { e->setArgument(11); } ; if (v13_CentreOfGravityInY) { e->setArgument(12,(*v13_CentreOfGravityInY)); } else { e->setArgument(12); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTable std::string IfcTable::Name() { return *entity->getArgument(0); } void IfcTable::setName(std::string v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcTable::Rows() { RETURN_AS_LIST(IfcTableRow,1) } -void IfcTable::setRows(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > IfcTable::Rows() { RETURN_AS_LIST(IfcTableRow,1) } +void IfcTable::setRows(SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcTable::is(Type::Enum v) const { return v == Type::IfcTable; } Type::Enum IfcTable::type() const { return Type::IfcTable; } Type::Enum IfcTable::Class() { return Type::IfcTable; } IfcTable::IfcTable(IfcAbstractEntityPtr e) { if (!is(Type::IfcTable)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTable::IfcTable(std::string v1_Name, SHARED_PTR< IfcTemplatedEntityList > v2_Rows) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); e->setArgument(1,(v2_Rows)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcTable::IfcTable(std::string v1_Name, SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > v2_Rows) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); e->setArgument(1,(v2_Rows)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTableRow -SHARED_PTR< IfcTemplatedEntityList > IfcTableRow::RowCells() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcTableRow::setRowCells(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTableRow::RowCells() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcTableRow::setRowCells(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcTableRow::IsHeading() { return *entity->getArgument(1); } void IfcTableRow::setIsHeading(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } IfcTable::list IfcTableRow::OfTable() { RETURN_INVERSE(IfcTable) } @@ -11273,7 +11273,7 @@ bool IfcTankType::is(Type::Enum v) const { return v == Type::IfcTankType || IfcF Type::Enum IfcTankType::type() const { return Type::IfcTankType; } Type::Enum IfcTankType::Class() { return Type::IfcTankType; } IfcTankType::IfcTankType(IfcAbstractEntityPtr e) { if (!is(Type::IfcTankType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTankType::IfcTankType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTankTypeEnum::IfcTankTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTankTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcTankType::IfcTankType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTankTypeEnum::IfcTankTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTankTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTask IfcIdentifier IfcTask::TaskId() { return *entity->getArgument(5); } void IfcTask::setTaskId(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } @@ -11292,20 +11292,20 @@ bool IfcTask::is(Type::Enum v) const { return v == Type::IfcTask || IfcProcess:: Type::Enum IfcTask::type() const { return Type::IfcTask; } Type::Enum IfcTask::Class() { return Type::IfcTask; } IfcTask::IfcTask(IfcAbstractEntityPtr e) { if (!is(Type::IfcTask)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTask::IfcTask(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcTask::IfcTask(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_TaskId)); if (v7_Status) { e->setArgument(6,(*v7_Status)); } else { e->setArgument(6); } ; if (v8_WorkMethod) { e->setArgument(7,(*v8_WorkMethod)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_IsMilestone)); if (v10_Priority) { e->setArgument(9,(*v10_Priority)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTelecomAddress bool IfcTelecomAddress::hasTelephoneNumbers() { return !entity->getArgument(3)->isNull(); } -std::vector /*[1:?]*/ IfcTelecomAddress::TelephoneNumbers() { return *entity->getArgument(3); } -void IfcTelecomAddress::setTelephoneNumbers(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcTelecomAddress::TelephoneNumbers() { return *entity->getArgument(3); } +void IfcTelecomAddress::setTelephoneNumbers(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } bool IfcTelecomAddress::hasFacsimileNumbers() { return !entity->getArgument(4)->isNull(); } -std::vector /*[1:?]*/ IfcTelecomAddress::FacsimileNumbers() { return *entity->getArgument(4); } -void IfcTelecomAddress::setFacsimileNumbers(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcTelecomAddress::FacsimileNumbers() { return *entity->getArgument(4); } +void IfcTelecomAddress::setFacsimileNumbers(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } bool IfcTelecomAddress::hasPagerNumber() { return !entity->getArgument(5)->isNull(); } IfcLabel IfcTelecomAddress::PagerNumber() { return *entity->getArgument(5); } void IfcTelecomAddress::setPagerNumber(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } bool IfcTelecomAddress::hasElectronicMailAddresses() { return !entity->getArgument(6)->isNull(); } -std::vector /*[1:?]*/ IfcTelecomAddress::ElectronicMailAddresses() { return *entity->getArgument(6); } -void IfcTelecomAddress::setElectronicMailAddresses(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } +std::vector< IfcLabel > /*[1:?]*/ IfcTelecomAddress::ElectronicMailAddresses() { return *entity->getArgument(6); } +void IfcTelecomAddress::setElectronicMailAddresses(std::vector< IfcLabel > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } bool IfcTelecomAddress::hasWWWHomePageURL() { return !entity->getArgument(7)->isNull(); } IfcLabel IfcTelecomAddress::WWWHomePageURL() { return *entity->getArgument(7); } void IfcTelecomAddress::setWWWHomePageURL(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v); } @@ -11313,7 +11313,7 @@ bool IfcTelecomAddress::is(Type::Enum v) const { return v == Type::IfcTelecomAdd Type::Enum IfcTelecomAddress::type() const { return Type::IfcTelecomAddress; } Type::Enum IfcTelecomAddress::Class() { return Type::IfcTelecomAddress; } IfcTelecomAddress::IfcTelecomAddress(IfcAbstractEntityPtr e) { if (!is(Type::IfcTelecomAddress)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTelecomAddress::IfcTelecomAddress(optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose, optional /*[1:?]*/> v4_TelephoneNumbers, optional /*[1:?]*/> v5_FacsimileNumbers, optional v6_PagerNumber, optional /*[1:?]*/> v7_ElectronicMailAddresses, optional v8_WWWHomePageURL) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; if (v4_TelephoneNumbers) { e->setArgument(3,(*v4_TelephoneNumbers)); } else { e->setArgument(3); } ; if (v5_FacsimileNumbers) { e->setArgument(4,(*v5_FacsimileNumbers)); } else { e->setArgument(4); } ; if (v6_PagerNumber) { e->setArgument(5,(*v6_PagerNumber)); } else { e->setArgument(5); } ; if (v7_ElectronicMailAddresses) { e->setArgument(6,(*v7_ElectronicMailAddresses)); } else { e->setArgument(6); } ; if (v8_WWWHomePageURL) { e->setArgument(7,(*v8_WWWHomePageURL)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcTelecomAddress::IfcTelecomAddress(optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose, optional< std::vector< IfcLabel > /*[1:?]*/ > v4_TelephoneNumbers, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_FacsimileNumbers, optional< IfcLabel > v6_PagerNumber, optional< std::vector< IfcLabel > /*[1:?]*/ > v7_ElectronicMailAddresses, optional< IfcLabel > v8_WWWHomePageURL) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Purpose) { e->setArgument(0,*v1_Purpose,IfcAddressTypeEnum::ToString(*v1_Purpose)); } else { e->setArgument(0); } ; if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; if (v3_UserDefinedPurpose) { e->setArgument(2,(*v3_UserDefinedPurpose)); } else { e->setArgument(2); } ; if (v4_TelephoneNumbers) { e->setArgument(3,(*v4_TelephoneNumbers)); } else { e->setArgument(3); } ; if (v5_FacsimileNumbers) { e->setArgument(4,(*v5_FacsimileNumbers)); } else { e->setArgument(4); } ; if (v6_PagerNumber) { e->setArgument(5,(*v6_PagerNumber)); } else { e->setArgument(5); } ; if (v7_ElectronicMailAddresses) { e->setArgument(6,(*v7_ElectronicMailAddresses)); } else { e->setArgument(6); } ; if (v8_WWWHomePageURL) { e->setArgument(7,(*v8_WWWHomePageURL)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTendon IfcTendonTypeEnum::IfcTendonTypeEnum IfcTendon::PredefinedType() { return IfcTendonTypeEnum::FromString(*entity->getArgument(9)); } void IfcTendon::setPredefinedType(IfcTendonTypeEnum::IfcTendonTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcTendonTypeEnum::ToString(v)); } @@ -11340,13 +11340,13 @@ bool IfcTendon::is(Type::Enum v) const { return v == Type::IfcTendon || IfcReinf Type::Enum IfcTendon::type() const { return Type::IfcTendon; } Type::Enum IfcTendon::Class() { return Type::IfcTendon; } IfcTendon::IfcTendon(IfcAbstractEntityPtr e) { if (!is(Type::IfcTendon)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTendon::IfcTendon(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, IfcTendonTypeEnum::IfcTendonTypeEnum v10_PredefinedType, IfcPositiveLengthMeasure v11_NominalDiameter, IfcAreaMeasure v12_CrossSectionArea, optional v13_TensionForce, optional v14_PreStress, optional v15_FrictionCoefficient, optional v16_AnchorageSlip, optional v17_MinCurvatureRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTendonTypeEnum::ToString(v10_PredefinedType)); e->setArgument(10,(v11_NominalDiameter)); e->setArgument(11,(v12_CrossSectionArea)); if (v13_TensionForce) { e->setArgument(12,(*v13_TensionForce)); } else { e->setArgument(12); } ; if (v14_PreStress) { e->setArgument(13,(*v14_PreStress)); } else { e->setArgument(13); } ; if (v15_FrictionCoefficient) { e->setArgument(14,(*v15_FrictionCoefficient)); } else { e->setArgument(14); } ; if (v16_AnchorageSlip) { e->setArgument(15,(*v16_AnchorageSlip)); } else { e->setArgument(15); } ; if (v17_MinCurvatureRadius) { e->setArgument(16,(*v17_MinCurvatureRadius)); } else { e->setArgument(16); } ; entity = e; EntityBuffer::Add(this); } +IfcTendon::IfcTendon(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, IfcTendonTypeEnum::IfcTendonTypeEnum v10_PredefinedType, IfcPositiveLengthMeasure v11_NominalDiameter, IfcAreaMeasure v12_CrossSectionArea, optional< IfcForceMeasure > v13_TensionForce, optional< IfcPressureMeasure > v14_PreStress, optional< IfcNormalisedRatioMeasure > v15_FrictionCoefficient, optional< IfcPositiveLengthMeasure > v16_AnchorageSlip, optional< IfcPositiveLengthMeasure > v17_MinCurvatureRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTendonTypeEnum::ToString(v10_PredefinedType)); e->setArgument(10,(v11_NominalDiameter)); e->setArgument(11,(v12_CrossSectionArea)); if (v13_TensionForce) { e->setArgument(12,(*v13_TensionForce)); } else { e->setArgument(12); } ; if (v14_PreStress) { e->setArgument(13,(*v14_PreStress)); } else { e->setArgument(13); } ; if (v15_FrictionCoefficient) { e->setArgument(14,(*v15_FrictionCoefficient)); } else { e->setArgument(14); } ; if (v16_AnchorageSlip) { e->setArgument(15,(*v16_AnchorageSlip)); } else { e->setArgument(15); } ; if (v17_MinCurvatureRadius) { e->setArgument(16,(*v17_MinCurvatureRadius)); } else { e->setArgument(16); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTendonAnchor bool IfcTendonAnchor::is(Type::Enum v) const { return v == Type::IfcTendonAnchor || IfcReinforcingElement::is(v); } Type::Enum IfcTendonAnchor::type() const { return Type::IfcTendonAnchor; } Type::Enum IfcTendonAnchor::Class() { return Type::IfcTendonAnchor; } IfcTendonAnchor::IfcTendonAnchor(IfcAbstractEntityPtr e) { if (!is(Type::IfcTendonAnchor)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTendonAnchor::IfcTendonAnchor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcTendonAnchor::IfcTendonAnchor(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_SteelGrade) { e->setArgument(8,(*v9_SteelGrade)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTerminatorSymbol IfcAnnotationCurveOccurrence* IfcTerminatorSymbol::AnnotatedCurve() { return reinterpret_pointer_cast(*entity->getArgument(3)); } void IfcTerminatorSymbol::setAnnotatedCurve(IfcAnnotationCurveOccurrence* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -11354,7 +11354,7 @@ bool IfcTerminatorSymbol::is(Type::Enum v) const { return v == Type::IfcTerminat Type::Enum IfcTerminatorSymbol::type() const { return Type::IfcTerminatorSymbol; } Type::Enum IfcTerminatorSymbol::Class() { return Type::IfcTerminatorSymbol; } IfcTerminatorSymbol::IfcTerminatorSymbol(IfcAbstractEntityPtr e) { if (!is(Type::IfcTerminatorSymbol)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTerminatorSymbol::IfcTerminatorSymbol(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_AnnotatedCurve)); entity = e; EntityBuffer::Add(this); } +IfcTerminatorSymbol::IfcTerminatorSymbol(IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Item)); e->setArgument(1,(v2_Styles)->generalize()); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_AnnotatedCurve)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextLiteral IfcPresentableText IfcTextLiteral::Literal() { return *entity->getArgument(0); } void IfcTextLiteral::setLiteral(IfcPresentableText v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11390,11 +11390,11 @@ bool IfcTextStyle::is(Type::Enum v) const { return v == Type::IfcTextStyle || If Type::Enum IfcTextStyle::type() const { return Type::IfcTextStyle; } Type::Enum IfcTextStyle::Class() { return Type::IfcTextStyle; } IfcTextStyle::IfcTextStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextStyle::IfcTextStyle(optional v1_Name, optional v2_TextCharacterAppearance, optional v3_TextStyle, IfcTextFontSelect v4_TextFontStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_TextCharacterAppearance) { e->setArgument(1,(*v2_TextCharacterAppearance)); } else { e->setArgument(1); } ; if (v3_TextStyle) { e->setArgument(2,(*v3_TextStyle)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_TextFontStyle)); entity = e; EntityBuffer::Add(this); } +IfcTextStyle::IfcTextStyle(optional< IfcLabel > v1_Name, optional< IfcCharacterStyleSelect > v2_TextCharacterAppearance, optional< IfcTextStyleSelect > v3_TextStyle, IfcTextFontSelect v4_TextFontStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_Name) { e->setArgument(0,(*v1_Name)); } else { e->setArgument(0); } ; if (v2_TextCharacterAppearance) { e->setArgument(1,(*v2_TextCharacterAppearance)); } else { e->setArgument(1); } ; if (v3_TextStyle) { e->setArgument(2,(*v3_TextStyle)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_TextFontStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextStyleFontModel bool IfcTextStyleFontModel::hasFontFamily() { return !entity->getArgument(1)->isNull(); } -std::vector /*[1:?]*/ IfcTextStyleFontModel::FontFamily() { return *entity->getArgument(1); } -void IfcTextStyleFontModel::setFontFamily(std::vector /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } +std::vector< IfcTextFontName > /*[1:?]*/ IfcTextStyleFontModel::FontFamily() { return *entity->getArgument(1); } +void IfcTextStyleFontModel::setFontFamily(std::vector< IfcTextFontName > /*[1:?]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcTextStyleFontModel::hasFontStyle() { return !entity->getArgument(2)->isNull(); } IfcFontStyle IfcTextStyleFontModel::FontStyle() { return *entity->getArgument(2); } void IfcTextStyleFontModel::setFontStyle(IfcFontStyle v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v); } @@ -11410,7 +11410,7 @@ bool IfcTextStyleFontModel::is(Type::Enum v) const { return v == Type::IfcTextSt Type::Enum IfcTextStyleFontModel::type() const { return Type::IfcTextStyleFontModel; } Type::Enum IfcTextStyleFontModel::Class() { return Type::IfcTextStyleFontModel; } IfcTextStyleFontModel::IfcTextStyleFontModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextStyleFontModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextStyleFontModel::IfcTextStyleFontModel(IfcLabel v1_Name, optional /*[1:?]*/> v2_FontFamily, optional v3_FontStyle, optional v4_FontVariant, optional v5_FontWeight, IfcSizeSelect v6_FontSize) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_FontFamily) { e->setArgument(1,(*v2_FontFamily)); } else { e->setArgument(1); } ; if (v3_FontStyle) { e->setArgument(2,(*v3_FontStyle)); } else { e->setArgument(2); } ; if (v4_FontVariant) { e->setArgument(3,(*v4_FontVariant)); } else { e->setArgument(3); } ; if (v5_FontWeight) { e->setArgument(4,(*v5_FontWeight)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_FontSize)); entity = e; EntityBuffer::Add(this); } +IfcTextStyleFontModel::IfcTextStyleFontModel(IfcLabel v1_Name, optional< std::vector< IfcTextFontName > /*[1:?]*/ > v2_FontFamily, optional< IfcFontStyle > v3_FontStyle, optional< IfcFontVariant > v4_FontVariant, optional< IfcFontWeight > v5_FontWeight, IfcSizeSelect v6_FontSize) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_FontFamily) { e->setArgument(1,(*v2_FontFamily)); } else { e->setArgument(1); } ; if (v3_FontStyle) { e->setArgument(2,(*v3_FontStyle)); } else { e->setArgument(2); } ; if (v4_FontVariant) { e->setArgument(3,(*v4_FontVariant)); } else { e->setArgument(3); } ; if (v5_FontWeight) { e->setArgument(4,(*v5_FontWeight)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_FontSize)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextStyleForDefinedFont IfcColour IfcTextStyleForDefinedFont::Colour() { return *entity->getArgument(0); } void IfcTextStyleForDefinedFont::setColour(IfcColour v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11421,7 +11421,7 @@ bool IfcTextStyleForDefinedFont::is(Type::Enum v) const { return v == Type::IfcT Type::Enum IfcTextStyleForDefinedFont::type() const { return Type::IfcTextStyleForDefinedFont; } Type::Enum IfcTextStyleForDefinedFont::Class() { return Type::IfcTextStyleForDefinedFont; } IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextStyleForDefinedFont)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(IfcColour v1_Colour, optional v2_BackgroundColour) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Colour)); if (v2_BackgroundColour) { e->setArgument(1,(*v2_BackgroundColour)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } +IfcTextStyleForDefinedFont::IfcTextStyleForDefinedFont(IfcColour v1_Colour, optional< IfcColour > v2_BackgroundColour) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Colour)); if (v2_BackgroundColour) { e->setArgument(1,(*v2_BackgroundColour)); } else { e->setArgument(1); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextStyleTextModel bool IfcTextStyleTextModel::hasTextIndent() { return !entity->getArgument(0)->isNull(); } IfcSizeSelect IfcTextStyleTextModel::TextIndent() { return *entity->getArgument(0); } @@ -11448,7 +11448,7 @@ bool IfcTextStyleTextModel::is(Type::Enum v) const { return v == Type::IfcTextSt Type::Enum IfcTextStyleTextModel::type() const { return Type::IfcTextStyleTextModel; } Type::Enum IfcTextStyleTextModel::Class() { return Type::IfcTextStyleTextModel; } IfcTextStyleTextModel::IfcTextStyleTextModel(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextStyleTextModel)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextStyleTextModel::IfcTextStyleTextModel(optional v1_TextIndent, optional v2_TextAlign, optional v3_TextDecoration, optional v4_LetterSpacing, optional v5_WordSpacing, optional v6_TextTransform, optional v7_LineHeight) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_TextIndent) { e->setArgument(0,(*v1_TextIndent)); } else { e->setArgument(0); } ; if (v2_TextAlign) { e->setArgument(1,(*v2_TextAlign)); } else { e->setArgument(1); } ; if (v3_TextDecoration) { e->setArgument(2,(*v3_TextDecoration)); } else { e->setArgument(2); } ; if (v4_LetterSpacing) { e->setArgument(3,(*v4_LetterSpacing)); } else { e->setArgument(3); } ; if (v5_WordSpacing) { e->setArgument(4,(*v5_WordSpacing)); } else { e->setArgument(4); } ; if (v6_TextTransform) { e->setArgument(5,(*v6_TextTransform)); } else { e->setArgument(5); } ; if (v7_LineHeight) { e->setArgument(6,(*v7_LineHeight)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } +IfcTextStyleTextModel::IfcTextStyleTextModel(optional< IfcSizeSelect > v1_TextIndent, optional< IfcTextAlignment > v2_TextAlign, optional< IfcTextDecoration > v3_TextDecoration, optional< IfcSizeSelect > v4_LetterSpacing, optional< IfcSizeSelect > v5_WordSpacing, optional< IfcTextTransformation > v6_TextTransform, optional< IfcSizeSelect > v7_LineHeight) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_TextIndent) { e->setArgument(0,(*v1_TextIndent)); } else { e->setArgument(0); } ; if (v2_TextAlign) { e->setArgument(1,(*v2_TextAlign)); } else { e->setArgument(1); } ; if (v3_TextDecoration) { e->setArgument(2,(*v3_TextDecoration)); } else { e->setArgument(2); } ; if (v4_LetterSpacing) { e->setArgument(3,(*v4_LetterSpacing)); } else { e->setArgument(3); } ; if (v5_WordSpacing) { e->setArgument(4,(*v5_WordSpacing)); } else { e->setArgument(4); } ; if (v6_TextTransform) { e->setArgument(5,(*v6_TextTransform)); } else { e->setArgument(5); } ; if (v7_LineHeight) { e->setArgument(6,(*v7_LineHeight)); } else { e->setArgument(6); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextStyleWithBoxCharacteristics bool IfcTextStyleWithBoxCharacteristics::hasBoxHeight() { return !entity->getArgument(0)->isNull(); } IfcPositiveLengthMeasure IfcTextStyleWithBoxCharacteristics::BoxHeight() { return *entity->getArgument(0); } @@ -11469,7 +11469,7 @@ bool IfcTextStyleWithBoxCharacteristics::is(Type::Enum v) const { return v == Ty Type::Enum IfcTextStyleWithBoxCharacteristics::type() const { return Type::IfcTextStyleWithBoxCharacteristics; } Type::Enum IfcTextStyleWithBoxCharacteristics::Class() { return Type::IfcTextStyleWithBoxCharacteristics; } IfcTextStyleWithBoxCharacteristics::IfcTextStyleWithBoxCharacteristics(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextStyleWithBoxCharacteristics)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextStyleWithBoxCharacteristics::IfcTextStyleWithBoxCharacteristics(optional v1_BoxHeight, optional v2_BoxWidth, optional v3_BoxSlantAngle, optional v4_BoxRotateAngle, optional v5_CharacterSpacing) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_BoxHeight) { e->setArgument(0,(*v1_BoxHeight)); } else { e->setArgument(0); } ; if (v2_BoxWidth) { e->setArgument(1,(*v2_BoxWidth)); } else { e->setArgument(1); } ; if (v3_BoxSlantAngle) { e->setArgument(2,(*v3_BoxSlantAngle)); } else { e->setArgument(2); } ; if (v4_BoxRotateAngle) { e->setArgument(3,(*v4_BoxRotateAngle)); } else { e->setArgument(3); } ; if (v5_CharacterSpacing) { e->setArgument(4,(*v5_CharacterSpacing)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcTextStyleWithBoxCharacteristics::IfcTextStyleWithBoxCharacteristics(optional< IfcPositiveLengthMeasure > v1_BoxHeight, optional< IfcPositiveLengthMeasure > v2_BoxWidth, optional< IfcPlaneAngleMeasure > v3_BoxSlantAngle, optional< IfcPlaneAngleMeasure > v4_BoxRotateAngle, optional< IfcSizeSelect > v5_CharacterSpacing) { IfcWritableEntity* e = new IfcWritableEntity(Class()); if (v1_BoxHeight) { e->setArgument(0,(*v1_BoxHeight)); } else { e->setArgument(0); } ; if (v2_BoxWidth) { e->setArgument(1,(*v2_BoxWidth)); } else { e->setArgument(1); } ; if (v3_BoxSlantAngle) { e->setArgument(2,(*v3_BoxSlantAngle)); } else { e->setArgument(2); } ; if (v4_BoxRotateAngle) { e->setArgument(3,(*v4_BoxRotateAngle)); } else { e->setArgument(3); } ; if (v5_CharacterSpacing) { e->setArgument(4,(*v5_CharacterSpacing)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextureCoordinate IfcAnnotationSurface::list IfcTextureCoordinate::AnnotatedSurface() { RETURN_INVERSE(IfcAnnotationSurface) } bool IfcTextureCoordinate::is(Type::Enum v) const { return v == Type::IfcTextureCoordinate; } @@ -11479,29 +11479,29 @@ IfcTextureCoordinate::IfcTextureCoordinate(IfcAbstractEntityPtr e) { if (!is(Typ // Function implementations for IfcTextureCoordinateGenerator IfcLabel IfcTextureCoordinateGenerator::Mode() { return *entity->getArgument(0); } void IfcTextureCoordinateGenerator::setMode(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcTextureCoordinateGenerator::Parameter() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcTextureCoordinateGenerator::setParameter(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTextureCoordinateGenerator::Parameter() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcTextureCoordinateGenerator::setParameter(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcTextureCoordinateGenerator::is(Type::Enum v) const { return v == Type::IfcTextureCoordinateGenerator || IfcTextureCoordinate::is(v); } Type::Enum IfcTextureCoordinateGenerator::type() const { return Type::IfcTextureCoordinateGenerator; } Type::Enum IfcTextureCoordinateGenerator::Class() { return Type::IfcTextureCoordinateGenerator; } IfcTextureCoordinateGenerator::IfcTextureCoordinateGenerator(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextureCoordinateGenerator)) throw IfcException("Unable to find find keyword in schema"); entity = e; } IfcTextureCoordinateGenerator::IfcTextureCoordinateGenerator(IfcLabel v1_Mode, IfcEntities v2_Parameter) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Mode)); e->setArgument(1,(v2_Parameter)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextureMap -SHARED_PTR< IfcTemplatedEntityList > IfcTextureMap::TextureMaps() { RETURN_AS_LIST(IfcVertexBasedTextureMap,0) } -void IfcTextureMap::setTextureMaps(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > IfcTextureMap::TextureMaps() { RETURN_AS_LIST(IfcVertexBasedTextureMap,0) } +void IfcTextureMap::setTextureMaps(SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcTextureMap::is(Type::Enum v) const { return v == Type::IfcTextureMap || IfcTextureCoordinate::is(v); } Type::Enum IfcTextureMap::type() const { return Type::IfcTextureMap; } Type::Enum IfcTextureMap::Class() { return Type::IfcTextureMap; } IfcTextureMap::IfcTextureMap(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextureMap)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextureMap::IfcTextureMap(SHARED_PTR< IfcTemplatedEntityList > v1_TextureMaps) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TextureMaps)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcTextureMap::IfcTextureMap(SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > v1_TextureMaps) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TextureMaps)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTextureVertex -std::vector /*[2:2]*/ IfcTextureVertex::Coordinates() { return *entity->getArgument(0); } -void IfcTextureVertex::setCoordinates(std::vector /*[2:2]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } +std::vector< IfcParameterValue > /*[2:2]*/ IfcTextureVertex::Coordinates() { return *entity->getArgument(0); } +void IfcTextureVertex::setCoordinates(std::vector< IfcParameterValue > /*[2:2]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } bool IfcTextureVertex::is(Type::Enum v) const { return v == Type::IfcTextureVertex; } Type::Enum IfcTextureVertex::type() const { return Type::IfcTextureVertex; } Type::Enum IfcTextureVertex::Class() { return Type::IfcTextureVertex; } IfcTextureVertex::IfcTextureVertex(IfcAbstractEntityPtr e) { if (!is(Type::IfcTextureVertex)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTextureVertex::IfcTextureVertex(std::vector /*[2:2]*/ v1_Coordinates) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Coordinates)); entity = e; EntityBuffer::Add(this); } +IfcTextureVertex::IfcTextureVertex(std::vector< IfcParameterValue > /*[2:2]*/ v1_Coordinates) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Coordinates)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcThermalMaterialProperties bool IfcThermalMaterialProperties::hasSpecificHeatCapacity() { return !entity->getArgument(1)->isNull(); } IfcSpecificHeatCapacityMeasure IfcThermalMaterialProperties::SpecificHeatCapacity() { return *entity->getArgument(1); } @@ -11519,7 +11519,7 @@ bool IfcThermalMaterialProperties::is(Type::Enum v) const { return v == Type::If Type::Enum IfcThermalMaterialProperties::type() const { return Type::IfcThermalMaterialProperties; } Type::Enum IfcThermalMaterialProperties::Class() { return Type::IfcThermalMaterialProperties; } IfcThermalMaterialProperties::IfcThermalMaterialProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcThermalMaterialProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcThermalMaterialProperties::IfcThermalMaterialProperties(IfcMaterial* v1_Material, optional v2_SpecificHeatCapacity, optional v3_BoilingPoint, optional v4_FreezingPoint, optional v5_ThermalConductivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_SpecificHeatCapacity) { e->setArgument(1,(*v2_SpecificHeatCapacity)); } else { e->setArgument(1); } ; if (v3_BoilingPoint) { e->setArgument(2,(*v3_BoilingPoint)); } else { e->setArgument(2); } ; if (v4_FreezingPoint) { e->setArgument(3,(*v4_FreezingPoint)); } else { e->setArgument(3); } ; if (v5_ThermalConductivity) { e->setArgument(4,(*v5_ThermalConductivity)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } +IfcThermalMaterialProperties::IfcThermalMaterialProperties(IfcMaterial* v1_Material, optional< IfcSpecificHeatCapacityMeasure > v2_SpecificHeatCapacity, optional< IfcThermodynamicTemperatureMeasure > v3_BoilingPoint, optional< IfcThermodynamicTemperatureMeasure > v4_FreezingPoint, optional< IfcThermalConductivityMeasure > v5_ThermalConductivity) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_SpecificHeatCapacity) { e->setArgument(1,(*v2_SpecificHeatCapacity)); } else { e->setArgument(1); } ; if (v3_BoilingPoint) { e->setArgument(2,(*v3_BoilingPoint)); } else { e->setArgument(2); } ; if (v4_FreezingPoint) { e->setArgument(3,(*v4_FreezingPoint)); } else { e->setArgument(3); } ; if (v5_ThermalConductivity) { e->setArgument(4,(*v5_ThermalConductivity)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTimeSeries IfcLabel IfcTimeSeries::Name() { return *entity->getArgument(0); } void IfcTimeSeries::setName(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11545,12 +11545,12 @@ bool IfcTimeSeries::is(Type::Enum v) const { return v == Type::IfcTimeSeries; } Type::Enum IfcTimeSeries::type() const { return Type::IfcTimeSeries; } Type::Enum IfcTimeSeries::Class() { return Type::IfcTimeSeries; } IfcTimeSeries::IfcTimeSeries(IfcAbstractEntityPtr e) { if (!is(Type::IfcTimeSeries)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTimeSeries::IfcTimeSeries(IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcTimeSeries::IfcTimeSeries(IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Name)); if (v2_Description) { e->setArgument(1,(*v2_Description)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_StartTime)); e->setArgument(3,(v4_EndTime)); e->setArgument(4,v5_TimeSeriesDataType,IfcTimeSeriesDataTypeEnum::ToString(v5_TimeSeriesDataType)); e->setArgument(5,v6_DataOrigin,IfcDataOriginEnum::ToString(v6_DataOrigin)); if (v7_UserDefinedDataOrigin) { e->setArgument(6,(*v7_UserDefinedDataOrigin)); } else { e->setArgument(6); } ; if (v8_Unit) { e->setArgument(7,(*v8_Unit)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTimeSeriesReferenceRelationship IfcTimeSeries* IfcTimeSeriesReferenceRelationship::ReferencedTimeSeries() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcTimeSeriesReferenceRelationship::setReferencedTimeSeries(IfcTimeSeries* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcTimeSeriesReferenceRelationship::TimeSeriesReferences() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcTimeSeriesReferenceRelationship::setTimeSeriesReferences(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTimeSeriesReferenceRelationship::TimeSeriesReferences() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcTimeSeriesReferenceRelationship::setTimeSeriesReferences(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcTimeSeriesReferenceRelationship::is(Type::Enum v) const { return v == Type::IfcTimeSeriesReferenceRelationship; } Type::Enum IfcTimeSeriesReferenceRelationship::type() const { return Type::IfcTimeSeriesReferenceRelationship; } Type::Enum IfcTimeSeriesReferenceRelationship::Class() { return Type::IfcTimeSeriesReferenceRelationship; } @@ -11558,8 +11558,8 @@ IfcTimeSeriesReferenceRelationship::IfcTimeSeriesReferenceRelationship(IfcAbstra IfcTimeSeriesReferenceRelationship::IfcTimeSeriesReferenceRelationship(IfcTimeSeries* v1_ReferencedTimeSeries, IfcEntities v2_TimeSeriesReferences) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ReferencedTimeSeries)); e->setArgument(1,(v2_TimeSeriesReferences)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTimeSeriesSchedule bool IfcTimeSeriesSchedule::hasApplicableDates() { return !entity->getArgument(5)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcTimeSeriesSchedule::ApplicableDates() { RETURN_AS_LIST(IfcAbstractSelect,5) } -void IfcTimeSeriesSchedule::setApplicableDates(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTimeSeriesSchedule::ApplicableDates() { RETURN_AS_LIST(IfcAbstractSelect,5) } +void IfcTimeSeriesSchedule::setApplicableDates(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum IfcTimeSeriesSchedule::TimeSeriesScheduleType() { return IfcTimeSeriesScheduleTypeEnum::FromString(*entity->getArgument(6)); } void IfcTimeSeriesSchedule::setTimeSeriesScheduleType(IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v,IfcTimeSeriesScheduleTypeEnum::ToString(v)); } IfcTimeSeries* IfcTimeSeriesSchedule::TimeSeries() { return reinterpret_pointer_cast(*entity->getArgument(7)); } @@ -11568,10 +11568,10 @@ bool IfcTimeSeriesSchedule::is(Type::Enum v) const { return v == Type::IfcTimeSe Type::Enum IfcTimeSeriesSchedule::type() const { return Type::IfcTimeSeriesSchedule; } Type::Enum IfcTimeSeriesSchedule::Class() { return Type::IfcTimeSeriesSchedule; } IfcTimeSeriesSchedule::IfcTimeSeriesSchedule(IfcAbstractEntityPtr e) { if (!is(Type::IfcTimeSeriesSchedule)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTimeSeriesSchedule::IfcTimeSeriesSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ApplicableDates, IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v7_TimeSeriesScheduleType, IfcTimeSeries* v8_TimeSeries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ApplicableDates) { e->setArgument(5,(*v6_ApplicableDates)); } else { e->setArgument(5); } ; e->setArgument(6,v7_TimeSeriesScheduleType,IfcTimeSeriesScheduleTypeEnum::ToString(v7_TimeSeriesScheduleType)); e->setArgument(7,(v8_TimeSeries)); entity = e; EntityBuffer::Add(this); } +IfcTimeSeriesSchedule::IfcTimeSeriesSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcEntities > v6_ApplicableDates, IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v7_TimeSeriesScheduleType, IfcTimeSeries* v8_TimeSeries) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; if (v6_ApplicableDates) { e->setArgument(5,(*v6_ApplicableDates)); } else { e->setArgument(5); } ; e->setArgument(6,v7_TimeSeriesScheduleType,IfcTimeSeriesScheduleTypeEnum::ToString(v7_TimeSeriesScheduleType)); e->setArgument(7,(v8_TimeSeries)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTimeSeriesValue -SHARED_PTR< IfcTemplatedEntityList > IfcTimeSeriesValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcTimeSeriesValue::setListValues(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTimeSeriesValue::ListValues() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcTimeSeriesValue::setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcTimeSeriesValue::is(Type::Enum v) const { return v == Type::IfcTimeSeriesValue; } Type::Enum IfcTimeSeriesValue::type() const { return Type::IfcTimeSeriesValue; } Type::Enum IfcTimeSeriesValue::Class() { return Type::IfcTimeSeriesValue; } @@ -11587,7 +11587,7 @@ bool IfcTopologyRepresentation::is(Type::Enum v) const { return v == Type::IfcTo Type::Enum IfcTopologyRepresentation::type() const { return Type::IfcTopologyRepresentation; } Type::Enum IfcTopologyRepresentation::Class() { return Type::IfcTopologyRepresentation; } IfcTopologyRepresentation::IfcTopologyRepresentation(IfcAbstractEntityPtr e) { if (!is(Type::IfcTopologyRepresentation)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTopologyRepresentation::IfcTopologyRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcTopologyRepresentation::IfcTopologyRepresentation(IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_ContextOfItems)); if (v2_RepresentationIdentifier) { e->setArgument(1,(*v2_RepresentationIdentifier)); } else { e->setArgument(1); } ; if (v3_RepresentationType) { e->setArgument(2,(*v3_RepresentationType)); } else { e->setArgument(2); } ; e->setArgument(3,(v4_Items)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTransformerType IfcTransformerTypeEnum::IfcTransformerTypeEnum IfcTransformerType::PredefinedType() { return IfcTransformerTypeEnum::FromString(*entity->getArgument(9)); } void IfcTransformerType::setPredefinedType(IfcTransformerTypeEnum::IfcTransformerTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcTransformerTypeEnum::ToString(v)); } @@ -11595,7 +11595,7 @@ bool IfcTransformerType::is(Type::Enum v) const { return v == Type::IfcTransform Type::Enum IfcTransformerType::type() const { return Type::IfcTransformerType; } Type::Enum IfcTransformerType::Class() { return Type::IfcTransformerType; } IfcTransformerType::IfcTransformerType(IfcAbstractEntityPtr e) { if (!is(Type::IfcTransformerType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTransformerType::IfcTransformerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTransformerTypeEnum::IfcTransformerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTransformerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcTransformerType::IfcTransformerType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTransformerTypeEnum::IfcTransformerTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTransformerTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTransportElement bool IfcTransportElement::hasOperationType() { return !entity->getArgument(8)->isNull(); } IfcTransportElementTypeEnum::IfcTransportElementTypeEnum IfcTransportElement::OperationType() { return IfcTransportElementTypeEnum::FromString(*entity->getArgument(8)); } @@ -11610,7 +11610,7 @@ bool IfcTransportElement::is(Type::Enum v) const { return v == Type::IfcTranspor Type::Enum IfcTransportElement::type() const { return Type::IfcTransportElement; } Type::Enum IfcTransportElement::Class() { return Type::IfcTransportElement; } IfcTransportElement::IfcTransportElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcTransportElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTransportElement::IfcTransportElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OperationType, optional v10_CapacityByWeight, optional v11_CapacityByNumber) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OperationType) { e->setArgument(8,*v9_OperationType,IfcTransportElementTypeEnum::ToString(*v9_OperationType)); } else { e->setArgument(8); } ; if (v10_CapacityByWeight) { e->setArgument(9,(*v10_CapacityByWeight)); } else { e->setArgument(9); } ; if (v11_CapacityByNumber) { e->setArgument(10,(*v11_CapacityByNumber)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcTransportElement::IfcTransportElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcTransportElementTypeEnum::IfcTransportElementTypeEnum > v9_OperationType, optional< IfcMassMeasure > v10_CapacityByWeight, optional< IfcCountMeasure > v11_CapacityByNumber) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OperationType) { e->setArgument(8,*v9_OperationType,IfcTransportElementTypeEnum::ToString(*v9_OperationType)); } else { e->setArgument(8); } ; if (v10_CapacityByWeight) { e->setArgument(9,(*v10_CapacityByWeight)); } else { e->setArgument(9); } ; if (v11_CapacityByNumber) { e->setArgument(10,(*v11_CapacityByNumber)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTransportElementType IfcTransportElementTypeEnum::IfcTransportElementTypeEnum IfcTransportElementType::PredefinedType() { return IfcTransportElementTypeEnum::FromString(*entity->getArgument(9)); } void IfcTransportElementType::setPredefinedType(IfcTransportElementTypeEnum::IfcTransportElementTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcTransportElementTypeEnum::ToString(v)); } @@ -11618,7 +11618,7 @@ bool IfcTransportElementType::is(Type::Enum v) const { return v == Type::IfcTran Type::Enum IfcTransportElementType::type() const { return Type::IfcTransportElementType; } Type::Enum IfcTransportElementType::Class() { return Type::IfcTransportElementType; } IfcTransportElementType::IfcTransportElementType(IfcAbstractEntityPtr e) { if (!is(Type::IfcTransportElementType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTransportElementType::IfcTransportElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTransportElementTypeEnum::IfcTransportElementTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTransportElementTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcTransportElementType::IfcTransportElementType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTransportElementTypeEnum::IfcTransportElementTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTransportElementTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTrapeziumProfileDef IfcPositiveLengthMeasure IfcTrapeziumProfileDef::BottomXDim() { return *entity->getArgument(3); } void IfcTrapeziumProfileDef::setBottomXDim(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -11632,14 +11632,14 @@ bool IfcTrapeziumProfileDef::is(Type::Enum v) const { return v == Type::IfcTrape Type::Enum IfcTrapeziumProfileDef::type() const { return Type::IfcTrapeziumProfileDef; } Type::Enum IfcTrapeziumProfileDef::Class() { return Type::IfcTrapeziumProfileDef; } IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcTrapeziumProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_BottomXDim, IfcPositiveLengthMeasure v5_TopXDim, IfcPositiveLengthMeasure v6_YDim, IfcLengthMeasure v7_TopXOffset) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_BottomXDim)); e->setArgument(4,(v5_TopXDim)); e->setArgument(5,(v6_YDim)); e->setArgument(6,(v7_TopXOffset)); entity = e; EntityBuffer::Add(this); } +IfcTrapeziumProfileDef::IfcTrapeziumProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_BottomXDim, IfcPositiveLengthMeasure v5_TopXDim, IfcPositiveLengthMeasure v6_YDim, IfcLengthMeasure v7_TopXOffset) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_BottomXDim)); e->setArgument(4,(v5_TopXDim)); e->setArgument(5,(v6_YDim)); e->setArgument(6,(v7_TopXOffset)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTrimmedCurve IfcCurve* IfcTrimmedCurve::BasisCurve() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcTrimmedCurve::setBasisCurve(IfcCurve* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } -SHARED_PTR< IfcTemplatedEntityList > IfcTrimmedCurve::Trim1() { RETURN_AS_LIST(IfcAbstractSelect,1) } -void IfcTrimmedCurve::setTrim1(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } -SHARED_PTR< IfcTemplatedEntityList > IfcTrimmedCurve::Trim2() { RETURN_AS_LIST(IfcAbstractSelect,2) } -void IfcTrimmedCurve::setTrim2(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTrimmedCurve::Trim1() { RETURN_AS_LIST(IfcAbstractSelect,1) } +void IfcTrimmedCurve::setTrim1(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcTrimmedCurve::Trim2() { RETURN_AS_LIST(IfcAbstractSelect,2) } +void IfcTrimmedCurve::setTrim2(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(2,v->generalize()); } bool IfcTrimmedCurve::SenseAgreement() { return *entity->getArgument(3); } void IfcTrimmedCurve::setSenseAgreement(bool v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } IfcTrimmingPreference::IfcTrimmingPreference IfcTrimmedCurve::MasterRepresentation() { return IfcTrimmingPreference::FromString(*entity->getArgument(4)); } @@ -11656,7 +11656,7 @@ bool IfcTubeBundleType::is(Type::Enum v) const { return v == Type::IfcTubeBundle Type::Enum IfcTubeBundleType::type() const { return Type::IfcTubeBundleType; } Type::Enum IfcTubeBundleType::Class() { return Type::IfcTubeBundleType; } IfcTubeBundleType::IfcTubeBundleType(IfcAbstractEntityPtr e) { if (!is(Type::IfcTubeBundleType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTubeBundleType::IfcTubeBundleType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTubeBundleTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcTubeBundleType::IfcTubeBundleType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcTubeBundleTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTwoDirectionRepeatFactor IfcVector* IfcTwoDirectionRepeatFactor::SecondRepeatFactor() { return reinterpret_pointer_cast(*entity->getArgument(1)); } void IfcTwoDirectionRepeatFactor::setSecondRepeatFactor(IfcVector* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } @@ -11670,18 +11670,18 @@ bool IfcTypeObject::hasApplicableOccurrence() { return !entity->getArgument(4)-> IfcLabel IfcTypeObject::ApplicableOccurrence() { return *entity->getArgument(4); } void IfcTypeObject::setApplicableOccurrence(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v); } bool IfcTypeObject::hasHasPropertySets() { return !entity->getArgument(5)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcTypeObject::HasPropertySets() { RETURN_AS_LIST(IfcPropertySetDefinition,5) } -void IfcTypeObject::setHasPropertySets(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > IfcTypeObject::HasPropertySets() { RETURN_AS_LIST(IfcPropertySetDefinition,5) } +void IfcTypeObject::setHasPropertySets(SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v->generalize()); } IfcRelDefinesByType::list IfcTypeObject::ObjectTypeOf() { RETURN_INVERSE(IfcRelDefinesByType) } bool IfcTypeObject::is(Type::Enum v) const { return v == Type::IfcTypeObject || IfcObjectDefinition::is(v); } Type::Enum IfcTypeObject::type() const { return Type::IfcTypeObject; } Type::Enum IfcTypeObject::Class() { return Type::IfcTypeObject; } IfcTypeObject::IfcTypeObject(IfcAbstractEntityPtr e) { if (!is(Type::IfcTypeObject)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTypeObject::IfcTypeObject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } +IfcTypeObject::IfcTypeObject(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcTypeProduct bool IfcTypeProduct::hasRepresentationMaps() { return !entity->getArgument(6)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcTypeProduct::RepresentationMaps() { RETURN_AS_LIST(IfcRepresentationMap,6) } -void IfcTypeProduct::setRepresentationMaps(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > IfcTypeProduct::RepresentationMaps() { RETURN_AS_LIST(IfcRepresentationMap,6) } +void IfcTypeProduct::setRepresentationMaps(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v->generalize()); } bool IfcTypeProduct::hasTag() { return !entity->getArgument(7)->isNull(); } IfcLabel IfcTypeProduct::Tag() { return *entity->getArgument(7); } void IfcTypeProduct::setTag(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v); } @@ -11689,7 +11689,7 @@ bool IfcTypeProduct::is(Type::Enum v) const { return v == Type::IfcTypeProduct | Type::Enum IfcTypeProduct::type() const { return Type::IfcTypeProduct; } Type::Enum IfcTypeProduct::Class() { return Type::IfcTypeProduct; } IfcTypeProduct::IfcTypeProduct(IfcAbstractEntityPtr e) { if (!is(Type::IfcTypeProduct)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcTypeProduct::IfcTypeProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcTypeProduct::IfcTypeProduct(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcUShapeProfileDef IfcPositiveLengthMeasure IfcUShapeProfileDef::Depth() { return *entity->getArgument(3); } void IfcUShapeProfileDef::setDepth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -11715,10 +11715,10 @@ bool IfcUShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcUShapePr Type::Enum IfcUShapeProfileDef::type() const { return Type::IfcUShapeProfileDef; } Type::Enum IfcUShapeProfileDef::Class() { return Type::IfcUShapeProfileDef; } IfcUShapeProfileDef::IfcUShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcUShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcUShapeProfileDef::IfcUShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_EdgeRadius, optional v10_FlangeSlope, optional v11_CentreOfGravityInX) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_EdgeRadius) { e->setArgument(8,(*v9_EdgeRadius)); } else { e->setArgument(8); } ; if (v10_FlangeSlope) { e->setArgument(9,(*v10_FlangeSlope)); } else { e->setArgument(9); } ; if (v11_CentreOfGravityInX) { e->setArgument(10,(*v11_CentreOfGravityInX)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } +IfcUShapeProfileDef::IfcUShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_EdgeRadius, optional< IfcPlaneAngleMeasure > v10_FlangeSlope, optional< IfcPositiveLengthMeasure > v11_CentreOfGravityInX) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_EdgeRadius) { e->setArgument(8,(*v9_EdgeRadius)); } else { e->setArgument(8); } ; if (v10_FlangeSlope) { e->setArgument(9,(*v10_FlangeSlope)); } else { e->setArgument(9); } ; if (v11_CentreOfGravityInX) { e->setArgument(10,(*v11_CentreOfGravityInX)); } else { e->setArgument(10); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcUnitAssignment -SHARED_PTR< IfcTemplatedEntityList > IfcUnitAssignment::Units() { RETURN_AS_LIST(IfcAbstractSelect,0) } -void IfcUnitAssignment::setUnits(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > IfcUnitAssignment::Units() { RETURN_AS_LIST(IfcAbstractSelect,0) } +void IfcUnitAssignment::setUnits(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } bool IfcUnitAssignment::is(Type::Enum v) const { return v == Type::IfcUnitAssignment; } Type::Enum IfcUnitAssignment::type() const { return Type::IfcUnitAssignment; } Type::Enum IfcUnitAssignment::Class() { return Type::IfcUnitAssignment; } @@ -11731,7 +11731,7 @@ bool IfcUnitaryEquipmentType::is(Type::Enum v) const { return v == Type::IfcUnit Type::Enum IfcUnitaryEquipmentType::type() const { return Type::IfcUnitaryEquipmentType; } Type::Enum IfcUnitaryEquipmentType::Class() { return Type::IfcUnitaryEquipmentType; } IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(IfcAbstractEntityPtr e) { if (!is(Type::IfcUnitaryEquipmentType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcUnitaryEquipmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcUnitaryEquipmentType::IfcUnitaryEquipmentType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcUnitaryEquipmentTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcValveType IfcValveTypeEnum::IfcValveTypeEnum IfcValveType::PredefinedType() { return IfcValveTypeEnum::FromString(*entity->getArgument(9)); } void IfcValveType::setPredefinedType(IfcValveTypeEnum::IfcValveTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcValveTypeEnum::ToString(v)); } @@ -11739,7 +11739,7 @@ bool IfcValveType::is(Type::Enum v) const { return v == Type::IfcValveType || If Type::Enum IfcValveType::type() const { return Type::IfcValveType; } Type::Enum IfcValveType::Class() { return Type::IfcValveType; } IfcValveType::IfcValveType(IfcAbstractEntityPtr e) { if (!is(Type::IfcValveType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcValveType::IfcValveType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcValveTypeEnum::IfcValveTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcValveTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcValveType::IfcValveType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcValveTypeEnum::IfcValveTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcValveTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcVector IfcDirection* IfcVector::Orientation() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcVector::setOrientation(IfcDirection* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11756,15 +11756,15 @@ Type::Enum IfcVertex::type() const { return Type::IfcVertex; } Type::Enum IfcVertex::Class() { return Type::IfcVertex; } IfcVertex::IfcVertex(IfcAbstractEntityPtr e) { if (!is(Type::IfcVertex)) throw IfcException("Unable to find find keyword in schema"); entity = e; } // Function implementations for IfcVertexBasedTextureMap -SHARED_PTR< IfcTemplatedEntityList > IfcVertexBasedTextureMap::TextureVertices() { RETURN_AS_LIST(IfcTextureVertex,0) } -void IfcVertexBasedTextureMap::setTextureVertices(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } -SHARED_PTR< IfcTemplatedEntityList > IfcVertexBasedTextureMap::TexturePoints() { RETURN_AS_LIST(IfcCartesianPoint,1) } -void IfcVertexBasedTextureMap::setTexturePoints(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > IfcVertexBasedTextureMap::TextureVertices() { RETURN_AS_LIST(IfcTextureVertex,0) } +void IfcVertexBasedTextureMap::setTextureVertices(SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > IfcVertexBasedTextureMap::TexturePoints() { RETURN_AS_LIST(IfcCartesianPoint,1) } +void IfcVertexBasedTextureMap::setTexturePoints(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v->generalize()); } bool IfcVertexBasedTextureMap::is(Type::Enum v) const { return v == Type::IfcVertexBasedTextureMap; } Type::Enum IfcVertexBasedTextureMap::type() const { return Type::IfcVertexBasedTextureMap; } Type::Enum IfcVertexBasedTextureMap::Class() { return Type::IfcVertexBasedTextureMap; } IfcVertexBasedTextureMap::IfcVertexBasedTextureMap(IfcAbstractEntityPtr e) { if (!is(Type::IfcVertexBasedTextureMap)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcVertexBasedTextureMap::IfcVertexBasedTextureMap(SHARED_PTR< IfcTemplatedEntityList > v1_TextureVertices, SHARED_PTR< IfcTemplatedEntityList > v2_TexturePoints) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TextureVertices)->generalize()); e->setArgument(1,(v2_TexturePoints)->generalize()); entity = e; EntityBuffer::Add(this); } +IfcVertexBasedTextureMap::IfcVertexBasedTextureMap(SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > v1_TextureVertices, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_TexturePoints) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_TextureVertices)->generalize()); e->setArgument(1,(v2_TexturePoints)->generalize()); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcVertexLoop IfcVertex* IfcVertexLoop::LoopVertex() { return reinterpret_pointer_cast(*entity->getArgument(0)); } void IfcVertexLoop::setLoopVertex(IfcVertex* v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v); } @@ -11788,35 +11788,35 @@ bool IfcVibrationIsolatorType::is(Type::Enum v) const { return v == Type::IfcVib Type::Enum IfcVibrationIsolatorType::type() const { return Type::IfcVibrationIsolatorType; } Type::Enum IfcVibrationIsolatorType::Class() { return Type::IfcVibrationIsolatorType; } IfcVibrationIsolatorType::IfcVibrationIsolatorType(IfcAbstractEntityPtr e) { if (!is(Type::IfcVibrationIsolatorType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcVibrationIsolatorType::IfcVibrationIsolatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcVibrationIsolatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcVibrationIsolatorType::IfcVibrationIsolatorType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcVibrationIsolatorTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcVirtualElement bool IfcVirtualElement::is(Type::Enum v) const { return v == Type::IfcVirtualElement || IfcElement::is(v); } Type::Enum IfcVirtualElement::type() const { return Type::IfcVirtualElement; } Type::Enum IfcVirtualElement::Class() { return Type::IfcVirtualElement; } IfcVirtualElement::IfcVirtualElement(IfcAbstractEntityPtr e) { if (!is(Type::IfcVirtualElement)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcVirtualElement::IfcVirtualElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcVirtualElement::IfcVirtualElement(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcVirtualGridIntersection -SHARED_PTR< IfcTemplatedEntityList > IfcVirtualGridIntersection::IntersectingAxes() { RETURN_AS_LIST(IfcGridAxis,0) } -void IfcVirtualGridIntersection::setIntersectingAxes(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } -std::vector /*[2:3]*/ IfcVirtualGridIntersection::OffsetDistances() { return *entity->getArgument(1); } -void IfcVirtualGridIntersection::setOffsetDistances(std::vector /*[2:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } +SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > IfcVirtualGridIntersection::IntersectingAxes() { RETURN_AS_LIST(IfcGridAxis,0) } +void IfcVirtualGridIntersection::setIntersectingAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(0,v->generalize()); } +std::vector< IfcLengthMeasure > /*[2:3]*/ IfcVirtualGridIntersection::OffsetDistances() { return *entity->getArgument(1); } +void IfcVirtualGridIntersection::setOffsetDistances(std::vector< IfcLengthMeasure > /*[2:3]*/ v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(1,v); } bool IfcVirtualGridIntersection::is(Type::Enum v) const { return v == Type::IfcVirtualGridIntersection; } Type::Enum IfcVirtualGridIntersection::type() const { return Type::IfcVirtualGridIntersection; } Type::Enum IfcVirtualGridIntersection::Class() { return Type::IfcVirtualGridIntersection; } IfcVirtualGridIntersection::IfcVirtualGridIntersection(IfcAbstractEntityPtr e) { if (!is(Type::IfcVirtualGridIntersection)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcVirtualGridIntersection::IfcVirtualGridIntersection(SHARED_PTR< IfcTemplatedEntityList > v1_IntersectingAxes, std::vector /*[2:3]*/ v2_OffsetDistances) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_IntersectingAxes)->generalize()); e->setArgument(1,(v2_OffsetDistances)); entity = e; EntityBuffer::Add(this); } +IfcVirtualGridIntersection::IfcVirtualGridIntersection(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v1_IntersectingAxes, std::vector< IfcLengthMeasure > /*[2:3]*/ v2_OffsetDistances) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_IntersectingAxes)->generalize()); e->setArgument(1,(v2_OffsetDistances)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWall bool IfcWall::is(Type::Enum v) const { return v == Type::IfcWall || IfcBuildingElement::is(v); } Type::Enum IfcWall::type() const { return Type::IfcWall; } Type::Enum IfcWall::Class() { return Type::IfcWall; } IfcWall::IfcWall(IfcAbstractEntityPtr e) { if (!is(Type::IfcWall)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWall::IfcWall(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcWall::IfcWall(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWallStandardCase bool IfcWallStandardCase::is(Type::Enum v) const { return v == Type::IfcWallStandardCase || IfcWall::is(v); } Type::Enum IfcWallStandardCase::type() const { return Type::IfcWallStandardCase; } Type::Enum IfcWallStandardCase::Class() { return Type::IfcWallStandardCase; } IfcWallStandardCase::IfcWallStandardCase(IfcAbstractEntityPtr e) { if (!is(Type::IfcWallStandardCase)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWallStandardCase::IfcWallStandardCase(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcWallStandardCase::IfcWallStandardCase(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWallType IfcWallTypeEnum::IfcWallTypeEnum IfcWallType::PredefinedType() { return IfcWallTypeEnum::FromString(*entity->getArgument(9)); } void IfcWallType::setPredefinedType(IfcWallTypeEnum::IfcWallTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcWallTypeEnum::ToString(v)); } @@ -11824,7 +11824,7 @@ bool IfcWallType::is(Type::Enum v) const { return v == Type::IfcWallType || IfcB Type::Enum IfcWallType::type() const { return Type::IfcWallType; } Type::Enum IfcWallType::Class() { return Type::IfcWallType; } IfcWallType::IfcWallType(IfcAbstractEntityPtr e) { if (!is(Type::IfcWallType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWallType::IfcWallType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcWallTypeEnum::IfcWallTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcWallTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcWallType::IfcWallType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcWallTypeEnum::IfcWallTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcWallTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWasteTerminalType IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum IfcWasteTerminalType::PredefinedType() { return IfcWasteTerminalTypeEnum::FromString(*entity->getArgument(9)); } void IfcWasteTerminalType::setPredefinedType(IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(9,v,IfcWasteTerminalTypeEnum::ToString(v)); } @@ -11832,7 +11832,7 @@ bool IfcWasteTerminalType::is(Type::Enum v) const { return v == Type::IfcWasteTe Type::Enum IfcWasteTerminalType::type() const { return Type::IfcWasteTerminalType; } Type::Enum IfcWasteTerminalType::Class() { return Type::IfcWasteTerminalType; } IfcWasteTerminalType::IfcWasteTerminalType(IfcAbstractEntityPtr e) { if (!is(Type::IfcWasteTerminalType)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWasteTerminalType::IfcWasteTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcWasteTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } +IfcWasteTerminalType::IfcWasteTerminalType(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum v10_PredefinedType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_ElementType) { e->setArgument(8,(*v9_ElementType)); } else { e->setArgument(8); } ; e->setArgument(9,v10_PredefinedType,IfcWasteTerminalTypeEnum::ToString(v10_PredefinedType)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWaterProperties bool IfcWaterProperties::hasIsPotable() { return !entity->getArgument(1)->isNull(); } bool IfcWaterProperties::IsPotable() { return *entity->getArgument(1); } @@ -11859,7 +11859,7 @@ bool IfcWaterProperties::is(Type::Enum v) const { return v == Type::IfcWaterProp Type::Enum IfcWaterProperties::type() const { return Type::IfcWaterProperties; } Type::Enum IfcWaterProperties::Class() { return Type::IfcWaterProperties; } IfcWaterProperties::IfcWaterProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcWaterProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWaterProperties::IfcWaterProperties(IfcMaterial* v1_Material, optional v2_IsPotable, optional v3_Hardness, optional v4_AlkalinityConcentration, optional v5_AcidityConcentration, optional v6_ImpuritiesContent, optional v7_PHLevel, optional v8_DissolvedSolidsContent) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_IsPotable) { e->setArgument(1,(*v2_IsPotable)); } else { e->setArgument(1); } ; if (v3_Hardness) { e->setArgument(2,(*v3_Hardness)); } else { e->setArgument(2); } ; if (v4_AlkalinityConcentration) { e->setArgument(3,(*v4_AlkalinityConcentration)); } else { e->setArgument(3); } ; if (v5_AcidityConcentration) { e->setArgument(4,(*v5_AcidityConcentration)); } else { e->setArgument(4); } ; if (v6_ImpuritiesContent) { e->setArgument(5,(*v6_ImpuritiesContent)); } else { e->setArgument(5); } ; if (v7_PHLevel) { e->setArgument(6,(*v7_PHLevel)); } else { e->setArgument(6); } ; if (v8_DissolvedSolidsContent) { e->setArgument(7,(*v8_DissolvedSolidsContent)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } +IfcWaterProperties::IfcWaterProperties(IfcMaterial* v1_Material, optional< bool > v2_IsPotable, optional< IfcIonConcentrationMeasure > v3_Hardness, optional< IfcIonConcentrationMeasure > v4_AlkalinityConcentration, optional< IfcIonConcentrationMeasure > v5_AcidityConcentration, optional< IfcNormalisedRatioMeasure > v6_ImpuritiesContent, optional< IfcPHMeasure > v7_PHLevel, optional< IfcNormalisedRatioMeasure > v8_DissolvedSolidsContent) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_Material)); if (v2_IsPotable) { e->setArgument(1,(*v2_IsPotable)); } else { e->setArgument(1); } ; if (v3_Hardness) { e->setArgument(2,(*v3_Hardness)); } else { e->setArgument(2); } ; if (v4_AlkalinityConcentration) { e->setArgument(3,(*v4_AlkalinityConcentration)); } else { e->setArgument(3); } ; if (v5_AcidityConcentration) { e->setArgument(4,(*v5_AcidityConcentration)); } else { e->setArgument(4); } ; if (v6_ImpuritiesContent) { e->setArgument(5,(*v6_ImpuritiesContent)); } else { e->setArgument(5); } ; if (v7_PHLevel) { e->setArgument(6,(*v7_PHLevel)); } else { e->setArgument(6); } ; if (v8_DissolvedSolidsContent) { e->setArgument(7,(*v8_DissolvedSolidsContent)); } else { e->setArgument(7); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWindow bool IfcWindow::hasOverallHeight() { return !entity->getArgument(8)->isNull(); } IfcPositiveLengthMeasure IfcWindow::OverallHeight() { return *entity->getArgument(8); } @@ -11871,7 +11871,7 @@ bool IfcWindow::is(Type::Enum v) const { return v == Type::IfcWindow || IfcBuild Type::Enum IfcWindow::type() const { return Type::IfcWindow; } Type::Enum IfcWindow::Class() { return Type::IfcWindow; } IfcWindow::IfcWindow(IfcAbstractEntityPtr e) { if (!is(Type::IfcWindow)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWindow::IfcWindow(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OverallHeight, optional v10_OverallWidth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OverallHeight) { e->setArgument(8,(*v9_OverallHeight)); } else { e->setArgument(8); } ; if (v10_OverallWidth) { e->setArgument(9,(*v10_OverallWidth)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } +IfcWindow::IfcWindow(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_OverallHeight, optional< IfcPositiveLengthMeasure > v10_OverallWidth) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_ObjectPlacement)); e->setArgument(6,(v7_Representation)); if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; if (v9_OverallHeight) { e->setArgument(8,(*v9_OverallHeight)); } else { e->setArgument(8); } ; if (v10_OverallWidth) { e->setArgument(9,(*v10_OverallWidth)); } else { e->setArgument(9); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWindowLiningProperties bool IfcWindowLiningProperties::hasLiningDepth() { return !entity->getArgument(4)->isNull(); } IfcPositiveLengthMeasure IfcWindowLiningProperties::LiningDepth() { return *entity->getArgument(4); } @@ -11904,7 +11904,7 @@ bool IfcWindowLiningProperties::is(Type::Enum v) const { return v == Type::IfcWi Type::Enum IfcWindowLiningProperties::type() const { return Type::IfcWindowLiningProperties; } Type::Enum IfcWindowLiningProperties::Class() { return Type::IfcWindowLiningProperties; } IfcWindowLiningProperties::IfcWindowLiningProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcWindowLiningProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWindowLiningProperties::IfcWindowLiningProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_LiningDepth, optional v6_LiningThickness, optional v7_TransomThickness, optional v8_MullionThickness, optional v9_FirstTransomOffset, optional v10_SecondTransomOffset, optional v11_FirstMullionOffset, optional v12_SecondMullionOffset, IfcShapeAspect* v13_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_LiningDepth) { e->setArgument(4,(*v5_LiningDepth)); } else { e->setArgument(4); } ; if (v6_LiningThickness) { e->setArgument(5,(*v6_LiningThickness)); } else { e->setArgument(5); } ; if (v7_TransomThickness) { e->setArgument(6,(*v7_TransomThickness)); } else { e->setArgument(6); } ; if (v8_MullionThickness) { e->setArgument(7,(*v8_MullionThickness)); } else { e->setArgument(7); } ; if (v9_FirstTransomOffset) { e->setArgument(8,(*v9_FirstTransomOffset)); } else { e->setArgument(8); } ; if (v10_SecondTransomOffset) { e->setArgument(9,(*v10_SecondTransomOffset)); } else { e->setArgument(9); } ; if (v11_FirstMullionOffset) { e->setArgument(10,(*v11_FirstMullionOffset)); } else { e->setArgument(10); } ; if (v12_SecondMullionOffset) { e->setArgument(11,(*v12_SecondMullionOffset)); } else { e->setArgument(11); } ; e->setArgument(12,(v13_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } +IfcWindowLiningProperties::IfcWindowLiningProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_LiningDepth, optional< IfcPositiveLengthMeasure > v6_LiningThickness, optional< IfcPositiveLengthMeasure > v7_TransomThickness, optional< IfcPositiveLengthMeasure > v8_MullionThickness, optional< IfcNormalisedRatioMeasure > v9_FirstTransomOffset, optional< IfcNormalisedRatioMeasure > v10_SecondTransomOffset, optional< IfcNormalisedRatioMeasure > v11_FirstMullionOffset, optional< IfcNormalisedRatioMeasure > v12_SecondMullionOffset, IfcShapeAspect* v13_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_LiningDepth) { e->setArgument(4,(*v5_LiningDepth)); } else { e->setArgument(4); } ; if (v6_LiningThickness) { e->setArgument(5,(*v6_LiningThickness)); } else { e->setArgument(5); } ; if (v7_TransomThickness) { e->setArgument(6,(*v7_TransomThickness)); } else { e->setArgument(6); } ; if (v8_MullionThickness) { e->setArgument(7,(*v8_MullionThickness)); } else { e->setArgument(7); } ; if (v9_FirstTransomOffset) { e->setArgument(8,(*v9_FirstTransomOffset)); } else { e->setArgument(8); } ; if (v10_SecondTransomOffset) { e->setArgument(9,(*v10_SecondTransomOffset)); } else { e->setArgument(9); } ; if (v11_FirstMullionOffset) { e->setArgument(10,(*v11_FirstMullionOffset)); } else { e->setArgument(10); } ; if (v12_SecondMullionOffset) { e->setArgument(11,(*v12_SecondMullionOffset)); } else { e->setArgument(11); } ; e->setArgument(12,(v13_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWindowPanelProperties IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum IfcWindowPanelProperties::OperationType() { return IfcWindowPanelOperationEnum::FromString(*entity->getArgument(4)); } void IfcWindowPanelProperties::setOperationType(IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(4,v,IfcWindowPanelOperationEnum::ToString(v)); } @@ -11923,7 +11923,7 @@ bool IfcWindowPanelProperties::is(Type::Enum v) const { return v == Type::IfcWin Type::Enum IfcWindowPanelProperties::type() const { return Type::IfcWindowPanelProperties; } Type::Enum IfcWindowPanelProperties::Class() { return Type::IfcWindowPanelProperties; } IfcWindowPanelProperties::IfcWindowPanelProperties(IfcAbstractEntityPtr e) { if (!is(Type::IfcWindowPanelProperties)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWindowPanelProperties::IfcWindowPanelProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional v7_FrameDepth, optional v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_OperationType,IfcWindowPanelOperationEnum::ToString(v5_OperationType)); e->setArgument(5,v6_PanelPosition,IfcWindowPanelPositionEnum::ToString(v6_PanelPosition)); if (v7_FrameDepth) { e->setArgument(6,(*v7_FrameDepth)); } else { e->setArgument(6); } ; if (v8_FrameThickness) { e->setArgument(7,(*v8_FrameThickness)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } +IfcWindowPanelProperties::IfcWindowPanelProperties(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional< IfcPositiveLengthMeasure > v7_FrameDepth, optional< IfcPositiveLengthMeasure > v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; e->setArgument(4,v5_OperationType,IfcWindowPanelOperationEnum::ToString(v5_OperationType)); e->setArgument(5,v6_PanelPosition,IfcWindowPanelPositionEnum::ToString(v6_PanelPosition)); if (v7_FrameDepth) { e->setArgument(6,(*v7_FrameDepth)); } else { e->setArgument(6); } ; if (v8_FrameThickness) { e->setArgument(7,(*v8_FrameThickness)); } else { e->setArgument(7); } ; e->setArgument(8,(v9_ShapeAspectStyle)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWindowStyle IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum IfcWindowStyle::ConstructionType() { return IfcWindowStyleConstructionEnum::FromString(*entity->getArgument(8)); } void IfcWindowStyle::setConstructionType(IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v,IfcWindowStyleConstructionEnum::ToString(v)); } @@ -11937,15 +11937,15 @@ bool IfcWindowStyle::is(Type::Enum v) const { return v == Type::IfcWindowStyle | Type::Enum IfcWindowStyle::type() const { return Type::IfcWindowStyle; } Type::Enum IfcWindowStyle::Class() { return Type::IfcWindowStyle; } IfcWindowStyle::IfcWindowStyle(IfcAbstractEntityPtr e) { if (!is(Type::IfcWindowStyle)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWindowStyle::IfcWindowStyle(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum v9_ConstructionType, IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ConstructionType,IfcWindowStyleConstructionEnum::ToString(v9_ConstructionType)); e->setArgument(9,v10_OperationType,IfcWindowStyleOperationEnum::ToString(v10_OperationType)); e->setArgument(10,(v11_ParameterTakesPrecedence)); e->setArgument(11,(v12_Sizeable)); entity = e; EntityBuffer::Add(this); } +IfcWindowStyle::IfcWindowStyle(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum v9_ConstructionType, IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ApplicableOccurrence) { e->setArgument(4,(*v5_ApplicableOccurrence)); } else { e->setArgument(4); } ; if (v6_HasPropertySets) { e->setArgument(5,(*v6_HasPropertySets)->generalize()); } else { e->setArgument(5); } ; if (v7_RepresentationMaps) { e->setArgument(6,(*v7_RepresentationMaps)->generalize()); } else { e->setArgument(6); } ; if (v8_Tag) { e->setArgument(7,(*v8_Tag)); } else { e->setArgument(7); } ; e->setArgument(8,v9_ConstructionType,IfcWindowStyleConstructionEnum::ToString(v9_ConstructionType)); e->setArgument(9,v10_OperationType,IfcWindowStyleOperationEnum::ToString(v10_OperationType)); e->setArgument(10,(v11_ParameterTakesPrecedence)); e->setArgument(11,(v12_Sizeable)); entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWorkControl IfcIdentifier IfcWorkControl::Identifier() { return *entity->getArgument(5); } void IfcWorkControl::setIdentifier(IfcIdentifier v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(5,v); } IfcDateTimeSelect IfcWorkControl::CreationDate() { return *entity->getArgument(6); } void IfcWorkControl::setCreationDate(IfcDateTimeSelect v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(6,v); } bool IfcWorkControl::hasCreators() { return !entity->getArgument(7)->isNull(); } -SHARED_PTR< IfcTemplatedEntityList > IfcWorkControl::Creators() { RETURN_AS_LIST(IfcPerson,7) } -void IfcWorkControl::setCreators(SHARED_PTR< IfcTemplatedEntityList > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } +SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > IfcWorkControl::Creators() { RETURN_AS_LIST(IfcPerson,7) } +void IfcWorkControl::setCreators(SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(7,v->generalize()); } bool IfcWorkControl::hasPurpose() { return !entity->getArgument(8)->isNull(); } IfcLabel IfcWorkControl::Purpose() { return *entity->getArgument(8); } void IfcWorkControl::setPurpose(IfcLabel v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(8,v); } @@ -11970,19 +11970,19 @@ bool IfcWorkControl::is(Type::Enum v) const { return v == Type::IfcWorkControl | Type::Enum IfcWorkControl::type() const { return Type::IfcWorkControl; } Type::Enum IfcWorkControl::Class() { return Type::IfcWorkControl; } IfcWorkControl::IfcWorkControl(IfcAbstractEntityPtr e) { if (!is(Type::IfcWorkControl)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWorkControl::IfcWorkControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } +IfcWorkControl::IfcWorkControl(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWorkPlan bool IfcWorkPlan::is(Type::Enum v) const { return v == Type::IfcWorkPlan || IfcWorkControl::is(v); } Type::Enum IfcWorkPlan::type() const { return Type::IfcWorkPlan; } Type::Enum IfcWorkPlan::Class() { return Type::IfcWorkPlan; } IfcWorkPlan::IfcWorkPlan(IfcAbstractEntityPtr e) { if (!is(Type::IfcWorkPlan)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWorkPlan::IfcWorkPlan(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } +IfcWorkPlan::IfcWorkPlan(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcWorkSchedule bool IfcWorkSchedule::is(Type::Enum v) const { return v == Type::IfcWorkSchedule || IfcWorkControl::is(v); } Type::Enum IfcWorkSchedule::type() const { return Type::IfcWorkSchedule; } Type::Enum IfcWorkSchedule::Class() { return Type::IfcWorkSchedule; } IfcWorkSchedule::IfcWorkSchedule(IfcAbstractEntityPtr e) { if (!is(Type::IfcWorkSchedule)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcWorkSchedule::IfcWorkSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } +IfcWorkSchedule::IfcWorkSchedule(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; e->setArgument(5,(v6_Identifier)); e->setArgument(6,(v7_CreationDate)); if (v8_Creators) { e->setArgument(7,(*v8_Creators)->generalize()); } else { e->setArgument(7); } ; if (v9_Purpose) { e->setArgument(8,(*v9_Purpose)); } else { e->setArgument(8); } ; if (v10_Duration) { e->setArgument(9,(*v10_Duration)); } else { e->setArgument(9); } ; if (v11_TotalFloat) { e->setArgument(10,(*v11_TotalFloat)); } else { e->setArgument(10); } ; e->setArgument(11,(v12_StartTime)); if (v13_FinishTime) { e->setArgument(12,(*v13_FinishTime)); } else { e->setArgument(12); } ; if (v14_WorkControlType) { e->setArgument(13,*v14_WorkControlType,IfcWorkControlTypeEnum::ToString(*v14_WorkControlType)); } else { e->setArgument(13); } ; if (v15_UserDefinedControlType) { e->setArgument(14,(*v15_UserDefinedControlType)); } else { e->setArgument(14); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcZShapeProfileDef IfcPositiveLengthMeasure IfcZShapeProfileDef::Depth() { return *entity->getArgument(3); } void IfcZShapeProfileDef::setDepth(IfcPositiveLengthMeasure v) { if ( ! entity->isWritable() ) { entity = new IfcWritableEntity(entity); } ((IfcWritableEntity*)entity)->setArgument(3,v); } @@ -12002,10 +12002,10 @@ bool IfcZShapeProfileDef::is(Type::Enum v) const { return v == Type::IfcZShapePr Type::Enum IfcZShapeProfileDef::type() const { return Type::IfcZShapeProfileDef; } Type::Enum IfcZShapeProfileDef::Class() { return Type::IfcZShapeProfileDef; } IfcZShapeProfileDef::IfcZShapeProfileDef(IfcAbstractEntityPtr e) { if (!is(Type::IfcZShapeProfileDef)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcZShapeProfileDef::IfcZShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_EdgeRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_EdgeRadius) { e->setArgument(8,(*v9_EdgeRadius)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } +IfcZShapeProfileDef::IfcZShapeProfileDef(IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_EdgeRadius) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,v1_ProfileType,IfcProfileTypeEnum::ToString(v1_ProfileType)); if (v2_ProfileName) { e->setArgument(1,(*v2_ProfileName)); } else { e->setArgument(1); } ; e->setArgument(2,(v3_Position)); e->setArgument(3,(v4_Depth)); e->setArgument(4,(v5_FlangeWidth)); e->setArgument(5,(v6_WebThickness)); e->setArgument(6,(v7_FlangeThickness)); if (v8_FilletRadius) { e->setArgument(7,(*v8_FilletRadius)); } else { e->setArgument(7); } ; if (v9_EdgeRadius) { e->setArgument(8,(*v9_EdgeRadius)); } else { e->setArgument(8); } ; entity = e; EntityBuffer::Add(this); } // Function implementations for IfcZone bool IfcZone::is(Type::Enum v) const { return v == Type::IfcZone || IfcGroup::is(v); } Type::Enum IfcZone::type() const { return Type::IfcZone; } Type::Enum IfcZone::Class() { return Type::IfcZone; } IfcZone::IfcZone(IfcAbstractEntityPtr e) { if (!is(Type::IfcZone)) throw IfcException("Unable to find find keyword in schema"); entity = e; } -IfcZone::IfcZone(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } \ No newline at end of file +IfcZone::IfcZone(IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType) { IfcWritableEntity* e = new IfcWritableEntity(Class()); e->setArgument(0,(v1_GlobalId)); e->setArgument(1,(v2_OwnerHistory)); if (v3_Name) { e->setArgument(2,(*v3_Name)); } else { e->setArgument(2); } ; if (v4_Description) { e->setArgument(3,(*v4_Description)); } else { e->setArgument(3); } ; if (v5_ObjectType) { e->setArgument(4,(*v5_ObjectType)); } else { e->setArgument(4); } ; entity = e; EntityBuffer::Add(this); } \ No newline at end of file diff --git a/src/ifcparse/Ifc2x3.h b/src/ifcparse/Ifc2x3.h index d4679d539b..688ef39083 100644 --- a/src/ifcparse/Ifc2x3.h +++ b/src/ifcparse/Ifc2x3.h @@ -114,7 +114,7 @@ typedef bool IfcBoolean; /// Type: ARRAY [1:2] OF REAL /// /// HISTORY New type in IFC Release 2x2. -typedef std::vector /*[1:2]*/ IfcComplexNumber; +typedef std::vector< double > /*[1:2]*/ IfcComplexNumber; /// IfcCompoundPlaneAngleMeasure is a compound measure of plane angle in degrees, minutes, seconds, and optionally millionth-seconds of arc. /// /// NOTE: IfcCompoundPlaneAngleMeasure is used where angles need to be described to an accuracy as fine as one millionth of a degree and expressed as parts of an arc. It may be used for angular measurement by surveyors or for other angular measurements where precision is required. Another usage is exact or approximate global positioning against a geographic coordinate systems using longitude and latitude. @@ -163,7 +163,7 @@ typedef std::vector /*[1:2]*/ IfcComplexNumber; ///      + FORMAT(ABS(c[4]), '##');  -- -50° 58' 33" 110400 /// /// Another often encountered display format of latitudes and longitudes is to omit the signs and print N, S, E, W indicators instead, for example, 50°58'33"S. When stored as IfcCompoundPlaneAngleMeasure however, a compound plane angle measure is always signed, with same sign of all components. -typedef std::vector /*[3:4]*/ IfcCompoundPlaneAngleMeasure; +typedef std::vector< int > /*[3:4]*/ IfcCompoundPlaneAngleMeasure; /// Definition from ISO/CD 10303-41:1992: Is the value of a physical quantity as defined by an application context. /// Type: REAL /// @@ -5415,10 +5415,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcActorRole (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcActorRole (IfcRoleEnum::IfcRoleEnum v1_Role, optional v2_UserDefinedRole, optional v3_Description); + IfcActorRole (IfcRoleEnum::IfcRoleEnum v1_Role, optional< IfcLabel > v2_UserDefinedRole, optional< IfcText > v3_Description); typedef IfcActorRole* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > list; + typedef IfcTemplatedEntityList< IfcActorRole >::it it; }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. /// @@ -5449,16 +5449,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENUMERATION; case 1: return Argument_STRING; case 2: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Purpose"; case 1: return "Description"; case 2: return "UserDefinedPurpose"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > OfPerson(); // INVERSE IfcPerson::Addresses - SHARED_PTR< IfcTemplatedEntityList > OfOrganization(); // INVERSE IfcOrganization::Addresses + SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > OfPerson(); // INVERSE IfcPerson::Addresses + SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > OfOrganization(); // INVERSE IfcOrganization::Addresses bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcAddress (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAddress (optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose); + IfcAddress (optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose); typedef IfcAddress* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > list; + typedef IfcTemplatedEntityList< IfcAddress >::it it; }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. /// @@ -5487,8 +5487,8 @@ public: IfcApplication (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcApplication (IfcOrganization* v1_ApplicationDeveloper, IfcLabel v2_Version, IfcLabel v3_ApplicationFullName, IfcIdentifier v4_ApplicationIdentifier); typedef IfcApplication* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcApplication > > list; + typedef IfcTemplatedEntityList< IfcApplication >::it it; }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. /// @@ -5548,17 +5548,17 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_ENTITY; case 4: return Argument_ENTITY; case 5: return Argument_ENTITY; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "AppliedValue"; case 3: return "UnitBasis"; case 4: return "ApplicableDate"; case 5: return "FixedUntilDate"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ValuesReferenced(); // INVERSE IfcReferencesValueDocument::ReferencingValues - SHARED_PTR< IfcTemplatedEntityList > ValueOfComponents(); // INVERSE IfcAppliedValueRelationship::ComponentOfTotal - SHARED_PTR< IfcTemplatedEntityList > IsComponentIn(); // INVERSE IfcAppliedValueRelationship::Components + SHARED_PTR< IfcTemplatedEntityList< IfcReferencesValueDocument > > ValuesReferenced(); // INVERSE IfcReferencesValueDocument::ReferencingValues + SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValueRelationship > > ValueOfComponents(); // INVERSE IfcAppliedValueRelationship::ComponentOfTotal + SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValueRelationship > > IsComponentIn(); // INVERSE IfcAppliedValueRelationship::Components bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcAppliedValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAppliedValue (optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate); + IfcAppliedValue (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate); typedef IfcAppliedValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > list; + typedef IfcTemplatedEntityList< IfcAppliedValue >::it it; }; /// An IfcAppliedValueRelationship is a relationship class that enables cost values to be aggregated together as components of another cost value. /// @@ -5590,8 +5590,8 @@ public: IfcAppliedValue* ComponentOfTotal(); void setComponentOfTotal(IfcAppliedValue* v); /// Applied values that are components of another applied value and from which that applied value may be deduced. - SHARED_PTR< IfcTemplatedEntityList > Components(); - void setComponents(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > Components(); + void setComponents(SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v); /// The arithmetic operator applied in an applied value relationship. IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum ArithmeticOperator(); void setArithmeticOperator(IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v); @@ -5611,10 +5611,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAppliedValueRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAppliedValueRelationship (IfcAppliedValue* v1_ComponentOfTotal, SHARED_PTR< IfcTemplatedEntityList > v2_Components, IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v3_ArithmeticOperator, optional v4_Name, optional v5_Description); + IfcAppliedValueRelationship (IfcAppliedValue* v1_ComponentOfTotal, SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v2_Components, IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum v3_ArithmeticOperator, optional< IfcLabel > v4_Name, optional< IfcText > v5_Description); typedef IfcAppliedValueRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValueRelationship > > list; + typedef IfcTemplatedEntityList< IfcAppliedValueRelationship >::it it; }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship /// @@ -5652,17 +5652,17 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_ENTITY; case 2: return Argument_STRING; case 3: return Argument_STRING; case 4: return Argument_STRING; case 5: return Argument_STRING; case 6: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Description"; case 1: return "ApprovalDateTime"; case 2: return "ApprovalStatus"; case 3: return "ApprovalLevel"; case 4: return "ApprovalQualifier"; case 5: return "Name"; case 6: return "Identifier"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > Actors(); // INVERSE IfcApprovalActorRelationship::Approval - SHARED_PTR< IfcTemplatedEntityList > IsRelatedWith(); // INVERSE IfcApprovalRelationship::RelatedApproval - SHARED_PTR< IfcTemplatedEntityList > Relates(); // INVERSE IfcApprovalRelationship::RelatingApproval + SHARED_PTR< IfcTemplatedEntityList< IfcApprovalActorRelationship > > Actors(); // INVERSE IfcApprovalActorRelationship::Approval + SHARED_PTR< IfcTemplatedEntityList< IfcApprovalRelationship > > IsRelatedWith(); // INVERSE IfcApprovalRelationship::RelatedApproval + SHARED_PTR< IfcTemplatedEntityList< IfcApprovalRelationship > > Relates(); // INVERSE IfcApprovalRelationship::RelatingApproval bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcApproval (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcApproval (optional v1_Description, IfcDateTimeSelect v2_ApprovalDateTime, optional v3_ApprovalStatus, optional v4_ApprovalLevel, optional v5_ApprovalQualifier, IfcLabel v6_Name, IfcIdentifier v7_Identifier); + IfcApproval (optional< IfcText > v1_Description, IfcDateTimeSelect v2_ApprovalDateTime, optional< IfcLabel > v3_ApprovalStatus, optional< IfcLabel > v4_ApprovalLevel, optional< IfcText > v5_ApprovalQualifier, IfcLabel v6_Name, IfcIdentifier v7_Identifier); typedef IfcApproval* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcApproval > > list; + typedef IfcTemplatedEntityList< IfcApproval >::it it; }; class IfcApprovalActorRelationship : public IfcBaseEntity { public: @@ -5682,13 +5682,13 @@ public: IfcApprovalActorRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcApprovalActorRelationship (IfcActorSelect v1_Actor, IfcApproval* v2_Approval, IfcActorRole* v3_Role); typedef IfcApprovalActorRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcApprovalActorRelationship > > list; + typedef IfcTemplatedEntityList< IfcApprovalActorRelationship >::it it; }; class IfcApprovalPropertyRelationship : public IfcBaseEntity { public: - SHARED_PTR< IfcTemplatedEntityList > ApprovedProperties(); - void setApprovedProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > ApprovedProperties(); + void setApprovedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); IfcApproval* Approval(); void setApproval(IfcApproval* v); virtual unsigned int getArgumentCount() const { return 2; } @@ -5699,10 +5699,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcApprovalPropertyRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcApprovalPropertyRelationship (SHARED_PTR< IfcTemplatedEntityList > v1_ApprovedProperties, IfcApproval* v2_Approval); + IfcApprovalPropertyRelationship (SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v1_ApprovedProperties, IfcApproval* v2_Approval); typedef IfcApprovalPropertyRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcApprovalPropertyRelationship > > list; + typedef IfcTemplatedEntityList< IfcApprovalPropertyRelationship >::it it; }; /// An IfcApprovalRelationship associates approvals (one /// relating approval and one or more related approvals), each having different status or level as the approval process or the approved @@ -5732,10 +5732,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcApprovalRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcApprovalRelationship (IfcApproval* v1_RelatedApproval, IfcApproval* v2_RelatingApproval, optional v3_Description, IfcLabel v4_Name); + IfcApprovalRelationship (IfcApproval* v1_RelatedApproval, IfcApproval* v2_RelatingApproval, optional< IfcText > v3_Description, IfcLabel v4_Name); typedef IfcApprovalRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcApprovalRelationship > > list; + typedef IfcTemplatedEntityList< IfcApprovalRelationship >::it it; }; /// Definition /// from IAI: The abstract entity IfcBoundaryCondition @@ -5767,10 +5767,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoundaryCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoundaryCondition (optional v1_Name); + IfcBoundaryCondition (optional< IfcLabel > v1_Name); typedef IfcBoundaryCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundaryCondition > > list; + typedef IfcTemplatedEntityList< IfcBoundaryCondition >::it it; }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. /// @@ -5819,10 +5819,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoundaryEdgeCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoundaryEdgeCondition (optional v1_Name, optional v2_LinearStiffnessByLengthX, optional v3_LinearStiffnessByLengthY, optional v4_LinearStiffnessByLengthZ, optional v5_RotationalStiffnessByLengthX, optional v6_RotationalStiffnessByLengthY, optional v7_RotationalStiffnessByLengthZ); + IfcBoundaryEdgeCondition (optional< IfcLabel > v1_Name, optional< IfcModulusOfLinearSubgradeReactionMeasure > v2_LinearStiffnessByLengthX, optional< IfcModulusOfLinearSubgradeReactionMeasure > v3_LinearStiffnessByLengthY, optional< IfcModulusOfLinearSubgradeReactionMeasure > v4_LinearStiffnessByLengthZ, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v5_RotationalStiffnessByLengthX, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v6_RotationalStiffnessByLengthY, optional< IfcModulusOfRotationalSubgradeReactionMeasure > v7_RotationalStiffnessByLengthZ); typedef IfcBoundaryEdgeCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundaryEdgeCondition > > list; + typedef IfcTemplatedEntityList< IfcBoundaryEdgeCondition >::it it; }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. /// @@ -5856,10 +5856,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoundaryFaceCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoundaryFaceCondition (optional v1_Name, optional v2_LinearStiffnessByAreaX, optional v3_LinearStiffnessByAreaY, optional v4_LinearStiffnessByAreaZ); + IfcBoundaryFaceCondition (optional< IfcLabel > v1_Name, optional< IfcModulusOfSubgradeReactionMeasure > v2_LinearStiffnessByAreaX, optional< IfcModulusOfSubgradeReactionMeasure > v3_LinearStiffnessByAreaY, optional< IfcModulusOfSubgradeReactionMeasure > v4_LinearStiffnessByAreaZ); typedef IfcBoundaryFaceCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundaryFaceCondition > > list; + typedef IfcTemplatedEntityList< IfcBoundaryFaceCondition >::it it; }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. /// @@ -5908,10 +5908,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoundaryNodeCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoundaryNodeCondition (optional v1_Name, optional v2_LinearStiffnessX, optional v3_LinearStiffnessY, optional v4_LinearStiffnessZ, optional v5_RotationalStiffnessX, optional v6_RotationalStiffnessY, optional v7_RotationalStiffnessZ); + IfcBoundaryNodeCondition (optional< IfcLabel > v1_Name, optional< IfcLinearStiffnessMeasure > v2_LinearStiffnessX, optional< IfcLinearStiffnessMeasure > v3_LinearStiffnessY, optional< IfcLinearStiffnessMeasure > v4_LinearStiffnessZ, optional< IfcRotationalStiffnessMeasure > v5_RotationalStiffnessX, optional< IfcRotationalStiffnessMeasure > v6_RotationalStiffnessY, optional< IfcRotationalStiffnessMeasure > v7_RotationalStiffnessZ); typedef IfcBoundaryNodeCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundaryNodeCondition > > list; + typedef IfcTemplatedEntityList< IfcBoundaryNodeCondition >::it it; }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. /// @@ -5937,10 +5937,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoundaryNodeConditionWarping (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoundaryNodeConditionWarping (optional v1_Name, optional v2_LinearStiffnessX, optional v3_LinearStiffnessY, optional v4_LinearStiffnessZ, optional v5_RotationalStiffnessX, optional v6_RotationalStiffnessY, optional v7_RotationalStiffnessZ, optional v8_WarpingStiffness); + IfcBoundaryNodeConditionWarping (optional< IfcLabel > v1_Name, optional< IfcLinearStiffnessMeasure > v2_LinearStiffnessX, optional< IfcLinearStiffnessMeasure > v3_LinearStiffnessY, optional< IfcLinearStiffnessMeasure > v4_LinearStiffnessZ, optional< IfcRotationalStiffnessMeasure > v5_RotationalStiffnessX, optional< IfcRotationalStiffnessMeasure > v6_RotationalStiffnessY, optional< IfcRotationalStiffnessMeasure > v7_RotationalStiffnessZ, optional< IfcWarpingMomentMeasure > v8_WarpingStiffness); typedef IfcBoundaryNodeConditionWarping* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundaryNodeConditionWarping > > list; + typedef IfcTemplatedEntityList< IfcBoundaryNodeConditionWarping >::it it; }; class IfcCalendarDate : public IfcBaseEntity { public: @@ -5960,8 +5960,8 @@ public: IfcCalendarDate (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCalendarDate (IfcDayInMonthNumber v1_DayComponent, IfcMonthInYearNumber v2_MonthComponent, IfcYearNumber v3_YearComponent); typedef IfcCalendarDate* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCalendarDate > > list; + typedef IfcTemplatedEntityList< IfcCalendarDate >::it it; }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common /// characteristics. A classification in the sense of IfcClassification is taxonomy, or taxonomic scheme, arranged in a hierarchical structure. A category of objects relates to other categories in a generalization-specialization relationship. Therefore the classification items in an @@ -6010,15 +6010,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Source"; case 1: return "Edition"; case 2: return "EditionDate"; case 3: return "Name"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > Contains(); // INVERSE IfcClassificationItem::ItemOf + SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > Contains(); // INVERSE IfcClassificationItem::ItemOf bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcClassification (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcClassification (IfcLabel v1_Source, IfcLabel v2_Edition, IfcCalendarDate* v3_EditionDate, IfcLabel v4_Name); typedef IfcClassification* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassification > > list; + typedef IfcTemplatedEntityList< IfcClassification >::it it; }; class IfcClassificationItem : public IfcBaseEntity { public: @@ -6034,23 +6034,23 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY; case 2: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Notation"; case 1: return "ItemOf"; case 2: return "Title"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsClassifiedItemIn(); // INVERSE IfcClassificationItemRelationship::RelatedItems - SHARED_PTR< IfcTemplatedEntityList > IsClassifyingItemIn(); // INVERSE IfcClassificationItemRelationship::RelatingItem + SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItemRelationship > > IsClassifiedItemIn(); // INVERSE IfcClassificationItemRelationship::RelatedItems + SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItemRelationship > > IsClassifyingItemIn(); // INVERSE IfcClassificationItemRelationship::RelatingItem bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcClassificationItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcClassificationItem (IfcClassificationNotationFacet* v1_Notation, IfcClassification* v2_ItemOf, IfcLabel v3_Title); typedef IfcClassificationItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > list; + typedef IfcTemplatedEntityList< IfcClassificationItem >::it it; }; class IfcClassificationItemRelationship : public IfcBaseEntity { public: IfcClassificationItem* RelatingItem(); void setRelatingItem(IfcClassificationItem* v); - SHARED_PTR< IfcTemplatedEntityList > RelatedItems(); - void setRelatedItems(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > RelatedItems(); + void setRelatedItems(SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "RelatingItem"; case 1: return "RelatedItems"; } throw IfcException("argument out of range"); } @@ -6059,15 +6059,15 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcClassificationItemRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcClassificationItemRelationship (IfcClassificationItem* v1_RelatingItem, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedItems); + IfcClassificationItemRelationship (IfcClassificationItem* v1_RelatingItem, SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItem > > v2_RelatedItems); typedef IfcClassificationItemRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassificationItemRelationship > > list; + typedef IfcTemplatedEntityList< IfcClassificationItemRelationship >::it it; }; class IfcClassificationNotation : public IfcBaseEntity { public: - SHARED_PTR< IfcTemplatedEntityList > NotationFacets(); - void setNotationFacets(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > NotationFacets(); + void setNotationFacets(SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "NotationFacets"; } throw IfcException("argument out of range"); } @@ -6076,10 +6076,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcClassificationNotation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcClassificationNotation (SHARED_PTR< IfcTemplatedEntityList > v1_NotationFacets); + IfcClassificationNotation (SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > v1_NotationFacets); typedef IfcClassificationNotation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotation > > list; + typedef IfcTemplatedEntityList< IfcClassificationNotation >::it it; }; class IfcClassificationNotationFacet : public IfcBaseEntity { public: @@ -6095,8 +6095,8 @@ public: IfcClassificationNotationFacet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcClassificationNotationFacet (IfcLabel v1_NotationValue); typedef IfcClassificationNotationFacet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassificationNotationFacet > > list; + typedef IfcTemplatedEntityList< IfcClassificationNotationFacet >::it it; }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. /// @@ -6121,10 +6121,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcColourSpecification (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcColourSpecification (optional v1_Name); + IfcColourSpecification (optional< IfcLabel > v1_Name); typedef IfcColourSpecification* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcColourSpecification > > list; + typedef IfcTemplatedEntityList< IfcColourSpecification >::it it; }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. /// @@ -6151,8 +6151,8 @@ public: static Type::Enum Class(); IfcConnectionGeometry (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcConnectionGeometry* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionGeometry > > list; + typedef IfcTemplatedEntityList< IfcConnectionGeometry >::it it; }; /// IfcConnectionPointGeometry /// is used to describe the geometric constraints that facilitate the @@ -6188,10 +6188,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectionPointGeometry (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectionPointGeometry (IfcPointOrVertexPoint v1_PointOnRelatingElement, optional v2_PointOnRelatedElement); + IfcConnectionPointGeometry (IfcPointOrVertexPoint v1_PointOnRelatingElement, optional< IfcPointOrVertexPoint > v2_PointOnRelatedElement); typedef IfcConnectionPointGeometry* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionPointGeometry > > list; + typedef IfcTemplatedEntityList< IfcConnectionPointGeometry >::it it; }; class IfcConnectionPortGeometry : public IfcConnectionGeometry { public: @@ -6211,10 +6211,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectionPortGeometry (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectionPortGeometry (IfcAxis2Placement v1_LocationAtRelatingElement, optional v2_LocationAtRelatedElement, IfcProfileDef* v3_ProfileOfPort); + IfcConnectionPortGeometry (IfcAxis2Placement v1_LocationAtRelatingElement, optional< IfcAxis2Placement > v2_LocationAtRelatedElement, IfcProfileDef* v3_ProfileOfPort); typedef IfcConnectionPortGeometry* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionPortGeometry > > list; + typedef IfcTemplatedEntityList< IfcConnectionPortGeometry >::it it; }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. /// @@ -6242,10 +6242,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectionSurfaceGeometry (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectionSurfaceGeometry (IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, optional v2_SurfaceOnRelatedElement); + IfcConnectionSurfaceGeometry (IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, optional< IfcSurfaceOrFaceSurface > v2_SurfaceOnRelatedElement); typedef IfcConnectionSurfaceGeometry* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionSurfaceGeometry > > list; + typedef IfcTemplatedEntityList< IfcConnectionSurfaceGeometry >::it it; }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. /// @@ -6299,20 +6299,20 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENUMERATION; case 3: return Argument_STRING; case 4: return Argument_ENTITY; case 5: return Argument_ENTITY; case 6: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "ConstraintGrade"; case 3: return "ConstraintSource"; case 4: return "CreatingActor"; case 5: return "CreationTime"; case 6: return "UserDefinedGrade"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ClassifiedAs(); // INVERSE IfcConstraintClassificationRelationship::ClassifiedConstraint - SHARED_PTR< IfcTemplatedEntityList > RelatesConstraints(); // INVERSE IfcConstraintRelationship::RelatingConstraint - SHARED_PTR< IfcTemplatedEntityList > IsRelatedWith(); // INVERSE IfcConstraintRelationship::RelatedConstraints - SHARED_PTR< IfcTemplatedEntityList > PropertiesForConstraint(); // INVERSE IfcPropertyConstraintRelationship::RelatingConstraint - SHARED_PTR< IfcTemplatedEntityList > Aggregates(); // INVERSE IfcConstraintAggregationRelationship::RelatingConstraint - SHARED_PTR< IfcTemplatedEntityList > IsAggregatedIn(); // INVERSE IfcConstraintAggregationRelationship::RelatedConstraints + SHARED_PTR< IfcTemplatedEntityList< IfcConstraintClassificationRelationship > > ClassifiedAs(); // INVERSE IfcConstraintClassificationRelationship::ClassifiedConstraint + SHARED_PTR< IfcTemplatedEntityList< IfcConstraintRelationship > > RelatesConstraints(); // INVERSE IfcConstraintRelationship::RelatingConstraint + SHARED_PTR< IfcTemplatedEntityList< IfcConstraintRelationship > > IsRelatedWith(); // INVERSE IfcConstraintRelationship::RelatedConstraints + SHARED_PTR< IfcTemplatedEntityList< IfcPropertyConstraintRelationship > > PropertiesForConstraint(); // INVERSE IfcPropertyConstraintRelationship::RelatingConstraint + SHARED_PTR< IfcTemplatedEntityList< IfcConstraintAggregationRelationship > > Aggregates(); // INVERSE IfcConstraintAggregationRelationship::RelatingConstraint + SHARED_PTR< IfcTemplatedEntityList< IfcConstraintAggregationRelationship > > IsAggregatedIn(); // INVERSE IfcConstraintAggregationRelationship::RelatedConstraints bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcConstraint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstraint (IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade); + IfcConstraint (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade); typedef IfcConstraint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > list; + typedef IfcTemplatedEntityList< IfcConstraint >::it it; }; /// An IfcConstraintAggregationRelationship is an objectified relationship that enables instances of IfcConstraint subtypes to be aggregated together logically. /// @@ -6337,8 +6337,8 @@ public: void setDescription(IfcText v); IfcConstraint* RelatingConstraint(); void setRelatingConstraint(IfcConstraint* v); - SHARED_PTR< IfcTemplatedEntityList > RelatedConstraints(); - void setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > RelatedConstraints(); + void setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v); /// Enumeration that identifies the logical type of aggregation. IfcLogicalOperatorEnum::IfcLogicalOperatorEnum LogicalAggregator(); void setLogicalAggregator(IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v); @@ -6350,17 +6350,17 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstraintAggregationRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstraintAggregationRelationship (optional v1_Name, optional v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedConstraints, IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v5_LogicalAggregator); + IfcConstraintAggregationRelationship (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v4_RelatedConstraints, IfcLogicalOperatorEnum::IfcLogicalOperatorEnum v5_LogicalAggregator); typedef IfcConstraintAggregationRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstraintAggregationRelationship > > list; + typedef IfcTemplatedEntityList< IfcConstraintAggregationRelationship >::it it; }; class IfcConstraintClassificationRelationship : public IfcBaseEntity { public: IfcConstraint* ClassifiedConstraint(); void setClassifiedConstraint(IfcConstraint* v); - SHARED_PTR< IfcTemplatedEntityList > RelatedClassifications(); - void setRelatedClassifications(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > RelatedClassifications(); + void setRelatedClassifications(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ClassifiedConstraint"; case 1: return "RelatedClassifications"; } throw IfcException("argument out of range"); } @@ -6371,8 +6371,8 @@ public: IfcConstraintClassificationRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcConstraintClassificationRelationship (IfcConstraint* v1_ClassifiedConstraint, IfcEntities v2_RelatedClassifications); typedef IfcConstraintClassificationRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstraintClassificationRelationship > > list; + typedef IfcTemplatedEntityList< IfcConstraintClassificationRelationship >::it it; }; /// An IfcConstraintRelationship is an objectified relationship that enables instances of IfcConstraint and its /// subtypes to be associated to each other. Logical aggregation of instances of IfcConstraint and its subtypes is handled by the subtype IfcConstraintAggregationRelationship. @@ -6397,8 +6397,8 @@ public: IfcConstraint* RelatingConstraint(); void setRelatingConstraint(IfcConstraint* v); /// Constraints that are related with the one referenced as RelatingConstraint. - SHARED_PTR< IfcTemplatedEntityList > RelatedConstraints(); - void setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > RelatedConstraints(); + void setRelatedConstraints(SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v); virtual unsigned int getArgumentCount() const { return 4; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "RelatingConstraint"; case 3: return "RelatedConstraints"; } throw IfcException("argument out of range"); } @@ -6407,10 +6407,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstraintRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstraintRelationship (optional v1_Name, optional v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedConstraints); + IfcConstraintRelationship (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcConstraint* v3_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcConstraint > > v4_RelatedConstraints); typedef IfcConstraintRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstraintRelationship > > list; + typedef IfcTemplatedEntityList< IfcConstraintRelationship >::it it; }; class IfcCoordinatedUniversalTimeOffset : public IfcBaseEntity { public: @@ -6430,10 +6430,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCoordinatedUniversalTimeOffset (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCoordinatedUniversalTimeOffset (IfcHourInDay v1_HourOffset, optional v2_MinuteOffset, IfcAheadOrBehind::IfcAheadOrBehind v3_Sense); + IfcCoordinatedUniversalTimeOffset (IfcHourInDay v1_HourOffset, optional< IfcMinuteInHour > v2_MinuteOffset, IfcAheadOrBehind::IfcAheadOrBehind v3_Sense); typedef IfcCoordinatedUniversalTimeOffset* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCoordinatedUniversalTimeOffset > > list; + typedef IfcTemplatedEntityList< IfcCoordinatedUniversalTimeOffset >::it it; }; /// IfcCostValue is an amount of money or a value that affects an amount of money. /// @@ -6499,10 +6499,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCostValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCostValue (optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate, IfcLabel v7_CostType, optional v8_Condition); + IfcCostValue (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate, IfcLabel v7_CostType, optional< IfcText > v8_Condition); typedef IfcCostValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCostValue > > list; + typedef IfcTemplatedEntityList< IfcCostValue >::it it; }; /// IfcCurrencyRelationship defines the rate of exchange /// that applies between two designated currencies at a particular time @@ -6546,8 +6546,8 @@ public: IfcCurrencyRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCurrencyRelationship (IfcMonetaryUnit* v1_RelatingMonetaryUnit, IfcMonetaryUnit* v2_RelatedMonetaryUnit, IfcPositiveRatioMeasure v3_ExchangeRate, IfcDateAndTime* v4_RateDateTime, IfcLibraryInformation* v5_RateSource); typedef IfcCurrencyRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurrencyRelationship > > list; + typedef IfcTemplatedEntityList< IfcCurrencyRelationship >::it it; }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. /// @@ -6562,8 +6562,8 @@ public: IfcLabel Name(); void setName(IfcLabel v); /// A list of curve font pattern entities, that contains the simple patterns used for drawing curves. The patterns are applied in the order they occur in the list. - SHARED_PTR< IfcTemplatedEntityList > PatternList(); - void setPatternList(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > PatternList(); + void setPatternList(SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "PatternList"; } throw IfcException("argument out of range"); } @@ -6572,10 +6572,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurveStyleFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurveStyleFont (optional v1_Name, SHARED_PTR< IfcTemplatedEntityList > v2_PatternList); + IfcCurveStyleFont (optional< IfcLabel > v1_Name, SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > v2_PatternList); typedef IfcCurveStyleFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFont > > list; + typedef IfcTemplatedEntityList< IfcCurveStyleFont >::it it; }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. /// @@ -6609,10 +6609,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurveStyleFontAndScaling (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurveStyleFontAndScaling (optional v1_Name, IfcCurveStyleFontSelect v2_CurveFont, IfcPositiveRatioMeasure v3_CurveFontScaling); + IfcCurveStyleFontAndScaling (optional< IfcLabel > v1_Name, IfcCurveStyleFontSelect v2_CurveFont, IfcPositiveRatioMeasure v3_CurveFontScaling); typedef IfcCurveStyleFontAndScaling* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontAndScaling > > list; + typedef IfcTemplatedEntityList< IfcCurveStyleFontAndScaling >::it it; }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. /// @@ -6641,8 +6641,8 @@ public: IfcCurveStyleFontPattern (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCurveStyleFontPattern (IfcLengthMeasure v1_VisibleSegmentLength, IfcPositiveLengthMeasure v2_InvisibleSegmentLength); typedef IfcCurveStyleFontPattern* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyleFontPattern > > list; + typedef IfcTemplatedEntityList< IfcCurveStyleFontPattern >::it it; }; class IfcDateAndTime : public IfcBaseEntity { public: @@ -6660,8 +6660,8 @@ public: IfcDateAndTime (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDateAndTime (IfcCalendarDate* v1_DateComponent, IfcLocalTime* v2_TimeComponent); typedef IfcDateAndTime* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDateAndTime > > list; + typedef IfcTemplatedEntityList< IfcDateAndTime >::it it; }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. /// @@ -6673,8 +6673,8 @@ public: class IfcDerivedUnit : public IfcBaseEntity { public: /// The group of units and their exponents that define the derived unit. - SHARED_PTR< IfcTemplatedEntityList > Elements(); - void setElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > Elements(); + void setElements(SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > v); /// Name of the derived unit chosen from an enumeration of derived unit types for use in IFC models. IfcDerivedUnitEnum::IfcDerivedUnitEnum UnitType(); void setUnitType(IfcDerivedUnitEnum::IfcDerivedUnitEnum v); @@ -6690,10 +6690,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDerivedUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDerivedUnit (SHARED_PTR< IfcTemplatedEntityList > v1_Elements, IfcDerivedUnitEnum::IfcDerivedUnitEnum v2_UnitType, optional v3_UserDefinedType); + IfcDerivedUnit (SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > v1_Elements, IfcDerivedUnitEnum::IfcDerivedUnitEnum v2_UnitType, optional< IfcLabel > v3_UserDefinedType); typedef IfcDerivedUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnit > > list; + typedef IfcTemplatedEntityList< IfcDerivedUnit >::it it; }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities /// which makes up a derived unit. @@ -6722,8 +6722,8 @@ public: IfcDerivedUnitElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDerivedUnitElement (IfcNamedUnit* v1_Unit, int v2_Exponent); typedef IfcDerivedUnitElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDerivedUnitElement > > list; + typedef IfcTemplatedEntityList< IfcDerivedUnitElement >::it it; }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. /// The dimensional exponents entity defines the powers of the dimensions of the base quantities. All the physical @@ -6775,8 +6775,8 @@ public: IfcDimensionalExponents (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDimensionalExponents (int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); typedef IfcDimensionalExponents* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionalExponents > > list; + typedef IfcTemplatedEntityList< IfcDimensionalExponents >::it it; }; /// IfcDocumentElectronicFormat captures the type of document being referenced as an external source, and for which metadata is specified by IfcDocumentInformation. /// @@ -6806,10 +6806,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDocumentElectronicFormat (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDocumentElectronicFormat (optional v1_FileExtension, optional v2_MimeContentType, optional v3_MimeSubtype); + IfcDocumentElectronicFormat (optional< IfcLabel > v1_FileExtension, optional< IfcLabel > v2_MimeContentType, optional< IfcLabel > v3_MimeSubtype); typedef IfcDocumentElectronicFormat* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDocumentElectronicFormat > > list; + typedef IfcTemplatedEntityList< IfcDocumentElectronicFormat >::it it; }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. /// @@ -6829,8 +6829,8 @@ public: void setDescription(IfcText v); /// Whether the optional attribute DocumentReferences is defined for this IfcDocumentInformation bool hasDocumentReferences(); - SHARED_PTR< IfcTemplatedEntityList > DocumentReferences(); - void setDocumentReferences(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > DocumentReferences(); + void setDocumentReferences(SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > v); /// Whether the optional attribute Purpose is defined for this IfcDocumentInformation bool hasPurpose(); /// Purpose for this document. @@ -6859,8 +6859,8 @@ public: /// Whether the optional attribute Editors is defined for this IfcDocumentInformation bool hasEditors(); /// The persons and/or organizations who have created this document or contributed to it. - SHARED_PTR< IfcTemplatedEntityList > Editors(); - void setEditors(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Editors(); + void setEditors(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute CreationTime is defined for this IfcDocumentInformation bool hasCreationTime(); /// Date and time stamp when the document was originally created. @@ -6912,16 +6912,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_STRING; case 3: return Argument_ENTITY_LIST; case 4: return Argument_STRING; case 5: return Argument_STRING; case 6: return Argument_STRING; case 7: return Argument_STRING; case 8: return Argument_ENTITY; case 9: return Argument_ENTITY_LIST; case 10: return Argument_ENTITY; case 11: return Argument_ENTITY; case 12: return Argument_ENTITY; case 13: return Argument_ENTITY; case 14: return Argument_ENTITY; case 15: return Argument_ENUMERATION; case 16: return Argument_ENUMERATION; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "DocumentId"; case 1: return "Name"; case 2: return "Description"; case 3: return "DocumentReferences"; case 4: return "Purpose"; case 5: return "IntendedUse"; case 6: return "Scope"; case 7: return "Revision"; case 8: return "DocumentOwner"; case 9: return "Editors"; case 10: return "CreationTime"; case 11: return "LastRevisionTime"; case 12: return "ElectronicFormat"; case 13: return "ValidFrom"; case 14: return "ValidUntil"; case 15: return "Confidentiality"; case 16: return "Status"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsPointedTo(); // INVERSE IfcDocumentInformationRelationship::RelatedDocuments - SHARED_PTR< IfcTemplatedEntityList > IsPointer(); // INVERSE IfcDocumentInformationRelationship::RelatingDocument + SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformationRelationship > > IsPointedTo(); // INVERSE IfcDocumentInformationRelationship::RelatedDocuments + SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformationRelationship > > IsPointer(); // INVERSE IfcDocumentInformationRelationship::RelatingDocument bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDocumentInformation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDocumentInformation (IfcIdentifier v1_DocumentId, IfcLabel v2_Name, optional v3_Description, optional >> v4_DocumentReferences, optional v5_Purpose, optional v6_IntendedUse, optional v7_Scope, optional v8_Revision, optional v9_DocumentOwner, optional v10_Editors, IfcDateAndTime* v11_CreationTime, IfcDateAndTime* v12_LastRevisionTime, IfcDocumentElectronicFormat* v13_ElectronicFormat, IfcCalendarDate* v14_ValidFrom, IfcCalendarDate* v15_ValidUntil, optional v16_Confidentiality, optional v17_Status); + IfcDocumentInformation (IfcIdentifier v1_DocumentId, IfcLabel v2_Name, optional< IfcText > v3_Description, optional< SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > > v4_DocumentReferences, optional< IfcText > v5_Purpose, optional< IfcText > v6_IntendedUse, optional< IfcText > v7_Scope, optional< IfcLabel > v8_Revision, optional< IfcActorSelect > v9_DocumentOwner, optional< IfcEntities > v10_Editors, IfcDateAndTime* v11_CreationTime, IfcDateAndTime* v12_LastRevisionTime, IfcDocumentElectronicFormat* v13_ElectronicFormat, IfcCalendarDate* v14_ValidFrom, IfcCalendarDate* v15_ValidUntil, optional< IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum > v16_Confidentiality, optional< IfcDocumentStatusEnum::IfcDocumentStatusEnum > v17_Status); typedef IfcDocumentInformation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > list; + typedef IfcTemplatedEntityList< IfcDocumentInformation >::it it; }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. /// @@ -6937,8 +6937,8 @@ public: IfcDocumentInformation* RelatingDocument(); void setRelatingDocument(IfcDocumentInformation* v); /// The document that acts as the child, referenced or replacing document in a relationship. - SHARED_PTR< IfcTemplatedEntityList > RelatedDocuments(); - void setRelatedDocuments(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > RelatedDocuments(); + void setRelatedDocuments(SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > v); /// Whether the optional attribute RelationshipType is defined for this IfcDocumentInformationRelationship bool hasRelationshipType(); /// Describes the type of relationship between documents. This could be sub-document, replacement etc. The interpretation has to be established in an application context. @@ -6952,10 +6952,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDocumentInformationRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDocumentInformationRelationship (IfcDocumentInformation* v1_RelatingDocument, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedDocuments, optional v3_RelationshipType); + IfcDocumentInformationRelationship (IfcDocumentInformation* v1_RelatingDocument, SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > v2_RelatedDocuments, optional< IfcLabel > v3_RelationshipType); typedef IfcDocumentInformationRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformationRelationship > > list; + typedef IfcTemplatedEntityList< IfcDocumentInformationRelationship >::it it; }; class IfcDraughtingCalloutRelationship : public IfcBaseEntity { public: @@ -6979,10 +6979,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDraughtingCalloutRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDraughtingCalloutRelationship (optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); + IfcDraughtingCalloutRelationship (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); typedef IfcDraughtingCalloutRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingCalloutRelationship > > list; + typedef IfcTemplatedEntityList< IfcDraughtingCalloutRelationship >::it it; }; class IfcEnvironmentalImpactValue : public IfcAppliedValue { public: @@ -7002,10 +7002,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEnvironmentalImpactValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEnvironmentalImpactValue (optional v1_Name, optional v2_Description, optional v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional v5_ApplicableDate, optional v6_FixedUntilDate, IfcLabel v7_ImpactType, IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum v8_Category, optional v9_UserDefinedCategory); + IfcEnvironmentalImpactValue (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, optional< IfcAppliedValueSelect > v3_AppliedValue, IfcMeasureWithUnit* v4_UnitBasis, optional< IfcDateTimeSelect > v5_ApplicableDate, optional< IfcDateTimeSelect > v6_FixedUntilDate, IfcLabel v7_ImpactType, IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum v8_Category, optional< IfcLabel > v9_UserDefinedCategory); typedef IfcEnvironmentalImpactValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEnvironmentalImpactValue > > list; + typedef IfcTemplatedEntityList< IfcEnvironmentalImpactValue >::it it; }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a /// dictionary entry, a classification notation, or a document reference within the external source. @@ -7042,10 +7042,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExternalReference (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExternalReference (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcExternalReference (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcExternalReference* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExternalReference > > list; + typedef IfcTemplatedEntityList< IfcExternalReference >::it it; }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. /// @@ -7065,10 +7065,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExternallyDefinedHatchStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExternallyDefinedHatchStyle (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcExternallyDefinedHatchStyle (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcExternallyDefinedHatchStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExternallyDefinedHatchStyle > > list; + typedef IfcTemplatedEntityList< IfcExternallyDefinedHatchStyle >::it it; }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. /// @@ -7087,10 +7087,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExternallyDefinedSurfaceStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExternallyDefinedSurfaceStyle (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcExternallyDefinedSurfaceStyle (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcExternallyDefinedSurfaceStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExternallyDefinedSurfaceStyle > > list; + typedef IfcTemplatedEntityList< IfcExternallyDefinedSurfaceStyle >::it it; }; /// An externally defined symbol is a symbol that gets its shape information by an agreed reference to an external source. /// @@ -7111,10 +7111,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExternallyDefinedSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExternallyDefinedSymbol (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcExternallyDefinedSymbol (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcExternallyDefinedSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExternallyDefinedSymbol > > list; + typedef IfcTemplatedEntityList< IfcExternallyDefinedSymbol >::it it; }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font /// @@ -7133,10 +7133,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExternallyDefinedTextFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExternallyDefinedTextFont (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcExternallyDefinedTextFont (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcExternallyDefinedTextFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExternallyDefinedTextFont > > list; + typedef IfcTemplatedEntityList< IfcExternallyDefinedTextFont >::it it; }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. /// @@ -7178,18 +7178,18 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_ENTITY; case 2: return Argument_BOOL; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "AxisTag"; case 1: return "AxisCurve"; case 2: return "SameSense"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > PartOfW(); // INVERSE IfcGrid::WAxes - SHARED_PTR< IfcTemplatedEntityList > PartOfV(); // INVERSE IfcGrid::VAxes - SHARED_PTR< IfcTemplatedEntityList > PartOfU(); // INVERSE IfcGrid::UAxes - SHARED_PTR< IfcTemplatedEntityList > HasIntersections(); // INVERSE IfcVirtualGridIntersection::IntersectingAxes + SHARED_PTR< IfcTemplatedEntityList< IfcGrid > > PartOfW(); // INVERSE IfcGrid::WAxes + SHARED_PTR< IfcTemplatedEntityList< IfcGrid > > PartOfV(); // INVERSE IfcGrid::VAxes + SHARED_PTR< IfcTemplatedEntityList< IfcGrid > > PartOfU(); // INVERSE IfcGrid::UAxes + SHARED_PTR< IfcTemplatedEntityList< IfcVirtualGridIntersection > > HasIntersections(); // INVERSE IfcVirtualGridIntersection::IntersectingAxes bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcGridAxis (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGridAxis (optional v1_AxisTag, IfcCurve* v2_AxisCurve, IfcBoolean v3_SameSense); + IfcGridAxis (optional< IfcLabel > v1_AxisTag, IfcCurve* v2_AxisCurve, IfcBoolean v3_SameSense); typedef IfcGridAxis* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > list; + typedef IfcTemplatedEntityList< IfcGridAxis >::it it; }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. /// @@ -7200,8 +7200,8 @@ public: IfcDateTimeSelect TimeStamp(); void setTimeStamp(IfcDateTimeSelect v); /// A list of time-series values. At least one value is required. - SHARED_PTR< IfcTemplatedEntityList > ListValues(); - void setListValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > ListValues(); + void setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "TimeStamp"; case 1: return "ListValues"; } throw IfcException("argument out of range"); } @@ -7212,8 +7212,8 @@ public: IfcIrregularTimeSeriesValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcIrregularTimeSeriesValue (IfcDateTimeSelect v1_TimeStamp, IfcEntities v2_ListValues); typedef IfcIrregularTimeSeriesValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > list; + typedef IfcTemplatedEntityList< IfcIrregularTimeSeriesValue >::it it; }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. /// @@ -7247,8 +7247,8 @@ public: void setVersionDate(IfcCalendarDate* v); /// Whether the optional attribute LibraryReference is defined for this IfcLibraryInformation bool hasLibraryReference(); - SHARED_PTR< IfcTemplatedEntityList > LibraryReference(); - void setLibraryReference(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > LibraryReference(); + void setLibraryReference(SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > v); virtual unsigned int getArgumentCount() const { return 5; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_ENTITY; case 4: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Version"; case 2: return "Publisher"; case 3: return "VersionDate"; case 4: return "LibraryReference"; } throw IfcException("argument out of range"); } @@ -7257,10 +7257,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLibraryInformation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLibraryInformation (IfcLabel v1_Name, optional v2_Version, IfcOrganization* v3_Publisher, IfcCalendarDate* v4_VersionDate, optional >> v5_LibraryReference); + IfcLibraryInformation (IfcLabel v1_Name, optional< IfcLabel > v2_Version, IfcOrganization* v3_Publisher, IfcCalendarDate* v4_VersionDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > > v5_LibraryReference); typedef IfcLibraryInformation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLibraryInformation > > list; + typedef IfcTemplatedEntityList< IfcLibraryInformation >::it it; }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. /// @@ -7275,15 +7275,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcExternalReference::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcExternalReference::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ReferenceIntoLibrary(); // INVERSE IfcLibraryInformation::LibraryReference + SHARED_PTR< IfcTemplatedEntityList< IfcLibraryInformation > > ReferenceIntoLibrary(); // INVERSE IfcLibraryInformation::LibraryReference bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcLibraryReference (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLibraryReference (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcLibraryReference (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcLibraryReference* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLibraryReference > > list; + typedef IfcTemplatedEntityList< IfcLibraryReference >::it it; }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the /// @@ -7308,11 +7308,11 @@ public: /// The list of secondary plane angles (the α, β or γ angles) according to the light distribution curve chosen. /// /// NOTE: The SecondaryPlaneAngle and LuminousIntensity lists are corresponding lists. - std::vector /*[1:?]*/ SecondaryPlaneAngle(); - void setSecondaryPlaneAngle(std::vector /*[1:?]*/ v); + std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ SecondaryPlaneAngle(); + void setSecondaryPlaneAngle(std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ v); /// The luminous intensity distribution measure for this pair of main and secondary plane angles according to the light distribution curve chosen. - std::vector /*[1:?]*/ LuminousIntensity(); - void setLuminousIntensity(std::vector /*[1:?]*/ v); + std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ LuminousIntensity(); + void setLuminousIntensity(std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_DOUBLE; case 1: return Argument_VECTOR_DOUBLE; case 2: return Argument_VECTOR_DOUBLE; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "MainPlaneAngle"; case 1: return "SecondaryPlaneAngle"; case 2: return "LuminousIntensity"; } throw IfcException("argument out of range"); } @@ -7321,10 +7321,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightDistributionData (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightDistributionData (IfcPlaneAngleMeasure v1_MainPlaneAngle, std::vector /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector /*[1:?]*/ v3_LuminousIntensity); + IfcLightDistributionData (IfcPlaneAngleMeasure v1_MainPlaneAngle, std::vector< IfcPlaneAngleMeasure > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< IfcLuminousIntensityDistributionMeasure > /*[1:?]*/ v3_LuminousIntensity); typedef IfcLightDistributionData* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > list; + typedef IfcTemplatedEntityList< IfcLightDistributionData >::it it; }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. /// @@ -7335,8 +7335,8 @@ public: IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum LightDistributionCurve(); void setLightDistributionCurve(IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v); /// Light distribution data applied to the light source. It is defined by a list of main plane angles (B or C according to the light distribution curve chosen) that includes (for each B or C angle) a second list of secondary plane angles (the β or γ angles) and the according luminous intensity distribution measures. - SHARED_PTR< IfcTemplatedEntityList > DistributionData(); - void setDistributionData(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > DistributionData(); + void setDistributionData(SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENUMERATION; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "LightDistributionCurve"; case 1: return "DistributionData"; } throw IfcException("argument out of range"); } @@ -7345,10 +7345,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightIntensityDistribution (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightIntensityDistribution (IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v1_LightDistributionCurve, SHARED_PTR< IfcTemplatedEntityList > v2_DistributionData); + IfcLightIntensityDistribution (IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum v1_LightDistributionCurve, SHARED_PTR< IfcTemplatedEntityList< IfcLightDistributionData > > v2_DistributionData); typedef IfcLightIntensityDistribution* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightIntensityDistribution > > list; + typedef IfcTemplatedEntityList< IfcLightIntensityDistribution >::it it; }; class IfcLocalTime : public IfcBaseEntity { public: @@ -7378,10 +7378,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLocalTime (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLocalTime (IfcHourInDay v1_HourComponent, optional v2_MinuteComponent, optional v3_SecondComponent, IfcCoordinatedUniversalTimeOffset* v4_Zone, optional v5_DaylightSavingOffset); + IfcLocalTime (IfcHourInDay v1_HourComponent, optional< IfcMinuteInHour > v2_MinuteComponent, optional< IfcSecondInMinute > v3_SecondComponent, IfcCoordinatedUniversalTimeOffset* v4_Zone, optional< IfcDaylightSavingHour > v5_DaylightSavingOffset); typedef IfcLocalTime* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLocalTime > > list; + typedef IfcTemplatedEntityList< IfcLocalTime >::it it; }; /// IfcMaterial is a homogeneous or inhomogeneous /// substance that can be used to form elements (physical products or @@ -7423,16 +7423,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasRepresentation(); // INVERSE IfcMaterialDefinitionRepresentation::RepresentedMaterial - SHARED_PTR< IfcTemplatedEntityList > ClassifiedAs(); // INVERSE IfcMaterialClassificationRelationship::ClassifiedMaterial + SHARED_PTR< IfcTemplatedEntityList< IfcMaterialDefinitionRepresentation > > HasRepresentation(); // INVERSE IfcMaterialDefinitionRepresentation::RepresentedMaterial + SHARED_PTR< IfcTemplatedEntityList< IfcMaterialClassificationRelationship > > ClassifiedAs(); // INVERSE IfcMaterialClassificationRelationship::ClassifiedMaterial bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcMaterial (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMaterial (IfcLabel v1_Name); typedef IfcMaterial* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > list; + typedef IfcTemplatedEntityList< IfcMaterial >::it it; }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. /// @@ -7442,8 +7442,8 @@ public: class IfcMaterialClassificationRelationship : public IfcBaseEntity { public: /// The material classifications identifying the type of material. - SHARED_PTR< IfcTemplatedEntityList > MaterialClassifications(); - void setMaterialClassifications(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > MaterialClassifications(); + void setMaterialClassifications(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Material being classified. IfcMaterial* ClassifiedMaterial(); void setClassifiedMaterial(IfcMaterial* v); @@ -7457,8 +7457,8 @@ public: IfcMaterialClassificationRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMaterialClassificationRelationship (IfcEntities v1_MaterialClassifications, IfcMaterial* v2_ClassifiedMaterial); typedef IfcMaterialClassificationRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialClassificationRelationship > > list; + typedef IfcTemplatedEntityList< IfcMaterialClassificationRelationship >::it it; }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. /// @@ -7510,15 +7510,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_DOUBLE; case 2: return Argument_BOOL; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Material"; case 1: return "LayerThickness"; case 2: return "IsVentilated"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ToMaterialLayerSet(); // INVERSE IfcMaterialLayerSet::MaterialLayers + SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayerSet > > ToMaterialLayerSet(); // INVERSE IfcMaterialLayerSet::MaterialLayers bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcMaterialLayer (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMaterialLayer (IfcMaterial* v1_Material, IfcPositiveLengthMeasure v2_LayerThickness, optional v3_IsVentilated); + IfcMaterialLayer (IfcMaterial* v1_Material, IfcPositiveLengthMeasure v2_LayerThickness, optional< IfcLogical > v3_IsVentilated); typedef IfcMaterialLayer* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > list; + typedef IfcTemplatedEntityList< IfcMaterialLayer >::it it; }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. /// @@ -7556,8 +7556,8 @@ public: class IfcMaterialLayerSet : public IfcBaseEntity { public: /// Identification of the layers from which the material layer set is composed. - SHARED_PTR< IfcTemplatedEntityList > MaterialLayers(); - void setMaterialLayers(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > MaterialLayers(); + void setMaterialLayers(SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > v); /// Whether the optional attribute LayerSetName is defined for this IfcMaterialLayerSet bool hasLayerSetName(); /// The name by which the material layer set is known. @@ -7571,10 +7571,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMaterialLayerSet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMaterialLayerSet (SHARED_PTR< IfcTemplatedEntityList > v1_MaterialLayers, optional v2_LayerSetName); + IfcMaterialLayerSet (SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayer > > v1_MaterialLayers, optional< IfcLabel > v2_LayerSetName); typedef IfcMaterialLayerSet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayerSet > > list; + typedef IfcTemplatedEntityList< IfcMaterialLayerSet >::it it; }; /// IfcMaterialLayerSetUsage determines the usage of /// IfcMaterialLayerSet in terms of its location and @@ -7705,8 +7705,8 @@ public: IfcMaterialLayerSetUsage (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMaterialLayerSetUsage (IfcMaterialLayerSet* v1_ForLayerSet, IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum v2_LayerSetDirection, IfcDirectionSenseEnum::IfcDirectionSenseEnum v3_DirectionSense, IfcLengthMeasure v4_OffsetFromReferenceLine); typedef IfcMaterialLayerSetUsage* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialLayerSetUsage > > list; + typedef IfcTemplatedEntityList< IfcMaterialLayerSetUsage >::it it; }; /// IfcMaterialList is a list of the different materials /// that are used in an element. @@ -7728,8 +7728,8 @@ public: class IfcMaterialList : public IfcBaseEntity { public: /// Materials used in a composition of substances. - SHARED_PTR< IfcTemplatedEntityList > Materials(); - void setMaterials(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > Materials(); + void setMaterials(SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Materials"; } throw IfcException("argument out of range"); } @@ -7738,10 +7738,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMaterialList (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMaterialList (SHARED_PTR< IfcTemplatedEntityList > v1_Materials); + IfcMaterialList (SHARED_PTR< IfcTemplatedEntityList< IfcMaterial > > v1_Materials); typedef IfcMaterialList* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialList > > list; + typedef IfcTemplatedEntityList< IfcMaterialList >::it it; }; /// IfcMaterialProperties is defined as an abstract /// supertype for entities that apply material properties to material @@ -7782,8 +7782,8 @@ public: IfcMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMaterialProperties (IfcMaterial* v1_Material); typedef IfcMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcMaterialProperties >::it it; }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). /// @@ -7813,8 +7813,8 @@ public: IfcMeasureWithUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMeasureWithUnit (IfcValue v1_ValueComponent, IfcUnit v2_UnitComponent); typedef IfcMeasureWithUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMeasureWithUnit > > list; + typedef IfcTemplatedEntityList< IfcMeasureWithUnit >::it it; }; class IfcMechanicalMaterialProperties : public IfcMaterialProperties { public: @@ -7846,10 +7846,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMechanicalMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMechanicalMaterialProperties (IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient); + IfcMechanicalMaterialProperties (IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient); typedef IfcMechanicalMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMechanicalMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcMechanicalMaterialProperties >::it it; }; class IfcMechanicalSteelMaterialProperties : public IfcMechanicalMaterialProperties { public: @@ -7879,8 +7879,8 @@ public: void setPlasticStrain(IfcPositiveRatioMeasure v); /// Whether the optional attribute Relaxations is defined for this IfcMechanicalSteelMaterialProperties bool hasRelaxations(); - SHARED_PTR< IfcTemplatedEntityList > Relaxations(); - void setRelaxations(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > Relaxations(); + void setRelaxations(SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > v); virtual unsigned int getArgumentCount() const { return 13; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 6: return Argument_DOUBLE; case 7: return Argument_DOUBLE; case 8: return Argument_DOUBLE; case 9: return Argument_DOUBLE; case 10: return Argument_DOUBLE; case 11: return Argument_DOUBLE; case 12: return Argument_ENTITY_LIST; } return IfcMechanicalMaterialProperties::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 6: return "YieldStress"; case 7: return "UltimateStress"; case 8: return "UltimateStrain"; case 9: return "HardeningModule"; case 10: return "ProportionalStress"; case 11: return "PlasticStrain"; case 12: return "Relaxations"; } return IfcMechanicalMaterialProperties::getArgumentName(i); } @@ -7889,10 +7889,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMechanicalSteelMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMechanicalSteelMaterialProperties (IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient, optional v7_YieldStress, optional v8_UltimateStress, optional v9_UltimateStrain, optional v10_HardeningModule, optional v11_ProportionalStress, optional v12_PlasticStrain, optional >> v13_Relaxations); + IfcMechanicalSteelMaterialProperties (IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient, optional< IfcPressureMeasure > v7_YieldStress, optional< IfcPressureMeasure > v8_UltimateStress, optional< IfcPositiveRatioMeasure > v9_UltimateStrain, optional< IfcModulusOfElasticityMeasure > v10_HardeningModule, optional< IfcPressureMeasure > v11_ProportionalStress, optional< IfcPositiveRatioMeasure > v12_PlasticStrain, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > > v13_Relaxations); typedef IfcMechanicalSteelMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMechanicalSteelMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcMechanicalSteelMaterialProperties >::it it; }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. /// @@ -7967,10 +7967,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMetric (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMetric (IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade, IfcBenchmarkEnum::IfcBenchmarkEnum v8_Benchmark, optional v9_ValueSource, IfcMetricValueSelect v10_DataValue); + IfcMetric (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade, IfcBenchmarkEnum::IfcBenchmarkEnum v8_Benchmark, optional< IfcLabel > v9_ValueSource, IfcMetricValueSelect v10_DataValue); typedef IfcMetric* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMetric > > list; + typedef IfcTemplatedEntityList< IfcMetric >::it it; }; /// IfcMonetaryUnit is a unit to define currency for money. /// @@ -7992,8 +7992,8 @@ public: IfcMonetaryUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMonetaryUnit (IfcCurrencyEnum::IfcCurrencyEnum v1_Currency); typedef IfcMonetaryUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMonetaryUnit > > list; + typedef IfcTemplatedEntityList< IfcMonetaryUnit >::it it; }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. /// @@ -8018,8 +8018,8 @@ public: IfcNamedUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcNamedUnit (IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType); typedef IfcNamedUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcNamedUnit > > list; + typedef IfcTemplatedEntityList< IfcNamedUnit >::it it; }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The /// IfcObjectPlacement has to be provided for each product that has a shape representation. @@ -8038,15 +8038,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > PlacesObject(); // INVERSE IfcProduct::ObjectPlacement - SHARED_PTR< IfcTemplatedEntityList > ReferencedByPlacements(); // INVERSE IfcLocalPlacement::PlacementRelTo + SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > PlacesObject(); // INVERSE IfcProduct::ObjectPlacement + SHARED_PTR< IfcTemplatedEntityList< IfcLocalPlacement > > ReferencedByPlacements(); // INVERSE IfcLocalPlacement::PlacementRelTo bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcObjectPlacement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcObjectPlacement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcObjectPlacement > > list; + typedef IfcTemplatedEntityList< IfcObjectPlacement >::it it; }; /// An IfcObjective captures qualitative information for an objective-based constraint. /// @@ -8085,10 +8085,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcObjective (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcObjective (IfcLabel v1_Name, optional v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional v4_ConstraintSource, optional v5_CreatingActor, optional v6_CreationTime, optional v7_UserDefinedGrade, IfcMetric* v8_BenchmarkValues, IfcMetric* v9_ResultValues, IfcObjectiveEnum::IfcObjectiveEnum v10_ObjectiveQualifier, optional v11_UserDefinedQualifier); + IfcObjective (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcConstraintEnum::IfcConstraintEnum v3_ConstraintGrade, optional< IfcLabel > v4_ConstraintSource, optional< IfcActorSelect > v5_CreatingActor, optional< IfcDateTimeSelect > v6_CreationTime, optional< IfcLabel > v7_UserDefinedGrade, IfcMetric* v8_BenchmarkValues, IfcMetric* v9_ResultValues, IfcObjectiveEnum::IfcObjectiveEnum v10_ObjectiveQualifier, optional< IfcLabel > v11_UserDefinedQualifier); typedef IfcObjective* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcObjective > > list; + typedef IfcTemplatedEntityList< IfcObjective >::it it; }; class IfcOpticalMaterialProperties : public IfcMaterialProperties { public: @@ -8136,10 +8136,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOpticalMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOpticalMaterialProperties (IfcMaterial* v1_Material, optional v2_VisibleTransmittance, optional v3_SolarTransmittance, optional v4_ThermalIrTransmittance, optional v5_ThermalIrEmissivityBack, optional v6_ThermalIrEmissivityFront, optional v7_VisibleReflectanceBack, optional v8_VisibleReflectanceFront, optional v9_SolarReflectanceFront, optional v10_SolarReflectanceBack); + IfcOpticalMaterialProperties (IfcMaterial* v1_Material, optional< IfcPositiveRatioMeasure > v2_VisibleTransmittance, optional< IfcPositiveRatioMeasure > v3_SolarTransmittance, optional< IfcPositiveRatioMeasure > v4_ThermalIrTransmittance, optional< IfcPositiveRatioMeasure > v5_ThermalIrEmissivityBack, optional< IfcPositiveRatioMeasure > v6_ThermalIrEmissivityFront, optional< IfcPositiveRatioMeasure > v7_VisibleReflectanceBack, optional< IfcPositiveRatioMeasure > v8_VisibleReflectanceFront, optional< IfcPositiveRatioMeasure > v9_SolarReflectanceFront, optional< IfcPositiveRatioMeasure > v10_SolarReflectanceBack); typedef IfcOpticalMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOpticalMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcOpticalMaterialProperties >::it it; }; /// A named and structured grouping with a corporate identity. /// @@ -8166,29 +8166,29 @@ public: /// Whether the optional attribute Roles is defined for this IfcOrganization bool hasRoles(); /// Roles played by the organization. - SHARED_PTR< IfcTemplatedEntityList > Roles(); - void setRoles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > Roles(); + void setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v); /// Whether the optional attribute Addresses is defined for this IfcOrganization bool hasAddresses(); /// Postal and telecom addresses of an organization. /// NOTE: There may be several addresses related to an organization. - SHARED_PTR< IfcTemplatedEntityList > Addresses(); - void setAddresses(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > Addresses(); + void setAddresses(SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > v); virtual unsigned int getArgumentCount() const { return 5; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_STRING; case 3: return Argument_ENTITY_LIST; case 4: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Id"; case 1: return "Name"; case 2: return "Description"; case 3: return "Roles"; case 4: return "Addresses"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsRelatedBy(); // INVERSE IfcOrganizationRelationship::RelatedOrganizations - SHARED_PTR< IfcTemplatedEntityList > Relates(); // INVERSE IfcOrganizationRelationship::RelatingOrganization - SHARED_PTR< IfcTemplatedEntityList > Engages(); // INVERSE IfcPersonAndOrganization::TheOrganization + SHARED_PTR< IfcTemplatedEntityList< IfcOrganizationRelationship > > IsRelatedBy(); // INVERSE IfcOrganizationRelationship::RelatedOrganizations + SHARED_PTR< IfcTemplatedEntityList< IfcOrganizationRelationship > > Relates(); // INVERSE IfcOrganizationRelationship::RelatingOrganization + SHARED_PTR< IfcTemplatedEntityList< IfcPersonAndOrganization > > Engages(); // INVERSE IfcPersonAndOrganization::TheOrganization bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcOrganization (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOrganization (optional v1_Id, IfcLabel v2_Name, optional v3_Description, optional >> v4_Roles, optional >> v5_Addresses); + IfcOrganization (optional< IfcIdentifier > v1_Id, IfcLabel v2_Name, optional< IfcText > v3_Description, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v4_Roles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > > v5_Addresses); typedef IfcOrganization* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > list; + typedef IfcTemplatedEntityList< IfcOrganization >::it it; }; /// Definition: establishes an association between one relating organization and one or more related organizations. /// @@ -8210,8 +8210,8 @@ public: IfcOrganization* RelatingOrganization(); void setRelatingOrganization(IfcOrganization* v); /// The other, possibly dependent, organizations which are the related parts of the relationship between organizations. - SHARED_PTR< IfcTemplatedEntityList > RelatedOrganizations(); - void setRelatedOrganizations(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > RelatedOrganizations(); + void setRelatedOrganizations(SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > v); virtual unsigned int getArgumentCount() const { return 4; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "RelatingOrganization"; case 3: return "RelatedOrganizations"; } throw IfcException("argument out of range"); } @@ -8220,10 +8220,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOrganizationRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOrganizationRelationship (IfcLabel v1_Name, optional v2_Description, IfcOrganization* v3_RelatingOrganization, SHARED_PTR< IfcTemplatedEntityList > v4_RelatedOrganizations); + IfcOrganizationRelationship (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcOrganization* v3_RelatingOrganization, SHARED_PTR< IfcTemplatedEntityList< IfcOrganization > > v4_RelatedOrganizations); typedef IfcOrganizationRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOrganizationRelationship > > list; + typedef IfcTemplatedEntityList< IfcOrganizationRelationship >::it it; }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. /// @@ -8277,10 +8277,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOwnerHistory (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOwnerHistory (IfcPersonAndOrganization* v1_OwningUser, IfcApplication* v2_OwningApplication, optional v3_State, IfcChangeActionEnum::IfcChangeActionEnum v4_ChangeAction, optional v5_LastModifiedDate, IfcPersonAndOrganization* v6_LastModifyingUser, IfcApplication* v7_LastModifyingApplication, IfcTimeStamp v8_CreationDate); + IfcOwnerHistory (IfcPersonAndOrganization* v1_OwningUser, IfcApplication* v2_OwningApplication, optional< IfcStateEnum::IfcStateEnum > v3_State, IfcChangeActionEnum::IfcChangeActionEnum v4_ChangeAction, optional< IfcTimeStamp > v5_LastModifiedDate, IfcPersonAndOrganization* v6_LastModifyingUser, IfcApplication* v7_LastModifyingApplication, IfcTimeStamp v8_CreationDate); typedef IfcOwnerHistory* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOwnerHistory > > list; + typedef IfcTemplatedEntityList< IfcOwnerHistory >::it it; }; /// Definition: an individual human being. /// @@ -8315,42 +8315,42 @@ public: /// NOTE: Middle names are not normally used in familiar communication but may be asserted to provide additional /// identification of a particular person if necessary. They may be particularly useful in situations where the person concerned has a /// family name that occurs commonly in the geographical region. - std::vector /*[1:?]*/ MiddleNames(); - void setMiddleNames(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ MiddleNames(); + void setMiddleNames(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute PrefixTitles is defined for this IfcPerson bool hasPrefixTitles(); /// The word, or group of words, which specify the person's social and/or professional standing and appear before his/her names. - std::vector /*[1:?]*/ PrefixTitles(); - void setPrefixTitles(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ PrefixTitles(); + void setPrefixTitles(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute SuffixTitles is defined for this IfcPerson bool hasSuffixTitles(); /// The word, or group of words, which specify the person's social and/or professional standing and appear after his/her names. - std::vector /*[1:?]*/ SuffixTitles(); - void setSuffixTitles(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ SuffixTitles(); + void setSuffixTitles(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute Roles is defined for this IfcPerson bool hasRoles(); /// Roles played by the person. - SHARED_PTR< IfcTemplatedEntityList > Roles(); - void setRoles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > Roles(); + void setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v); /// Whether the optional attribute Addresses is defined for this IfcPerson bool hasAddresses(); /// Postal and telecommunication addresses of a person. /// NOTE - A person may have several addresses. - SHARED_PTR< IfcTemplatedEntityList > Addresses(); - void setAddresses(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > Addresses(); + void setAddresses(SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > v); virtual unsigned int getArgumentCount() const { return 8; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_STRING; case 3: return Argument_VECTOR_STRING; case 4: return Argument_VECTOR_STRING; case 5: return Argument_VECTOR_STRING; case 6: return Argument_ENTITY_LIST; case 7: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Id"; case 1: return "FamilyName"; case 2: return "GivenName"; case 3: return "MiddleNames"; case 4: return "PrefixTitles"; case 5: return "SuffixTitles"; case 6: return "Roles"; case 7: return "Addresses"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > EngagedIn(); // INVERSE IfcPersonAndOrganization::ThePerson + SHARED_PTR< IfcTemplatedEntityList< IfcPersonAndOrganization > > EngagedIn(); // INVERSE IfcPersonAndOrganization::ThePerson bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcPerson (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPerson (optional v1_Id, optional v2_FamilyName, optional v3_GivenName, optional /*[1:?]*/> v4_MiddleNames, optional /*[1:?]*/> v5_PrefixTitles, optional /*[1:?]*/> v6_SuffixTitles, optional >> v7_Roles, optional >> v8_Addresses); + IfcPerson (optional< IfcIdentifier > v1_Id, optional< IfcLabel > v2_FamilyName, optional< IfcLabel > v3_GivenName, optional< std::vector< IfcLabel > /*[1:?]*/ > v4_MiddleNames, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_PrefixTitles, optional< std::vector< IfcLabel > /*[1:?]*/ > v6_SuffixTitles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v7_Roles, optional< SHARED_PTR< IfcTemplatedEntityList< IfcAddress > > > v8_Addresses); typedef IfcPerson* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > list; + typedef IfcTemplatedEntityList< IfcPerson >::it it; }; /// Definition: Identification of a person within an organization. /// @@ -8368,8 +8368,8 @@ public: /// Whether the optional attribute Roles is defined for this IfcPersonAndOrganization bool hasRoles(); /// Roles played by the person within the context of an organization. These may differ from the roles in ThePerson.Roles which may be asserted without organizational context. - SHARED_PTR< IfcTemplatedEntityList > Roles(); - void setRoles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > Roles(); + void setRoles(SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY; case 2: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ThePerson"; case 1: return "TheOrganization"; case 2: return "Roles"; } throw IfcException("argument out of range"); } @@ -8378,10 +8378,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPersonAndOrganization (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPersonAndOrganization (IfcPerson* v1_ThePerson, IfcOrganization* v2_TheOrganization, optional >> v3_Roles); + IfcPersonAndOrganization (IfcPerson* v1_ThePerson, IfcOrganization* v2_TheOrganization, optional< SHARED_PTR< IfcTemplatedEntityList< IfcActorRole > > > v3_Roles); typedef IfcPersonAndOrganization* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPersonAndOrganization > > list; + typedef IfcTemplatedEntityList< IfcPersonAndOrganization >::it it; }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. /// @@ -8402,15 +8402,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > PartOfComplex(); // INVERSE IfcPhysicalComplexQuantity::HasQuantities + SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalComplexQuantity > > PartOfComplex(); // INVERSE IfcPhysicalComplexQuantity::HasQuantities bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcPhysicalQuantity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPhysicalQuantity (IfcLabel v1_Name, optional v2_Description); + IfcPhysicalQuantity (IfcLabel v1_Name, optional< IfcText > v2_Description); typedef IfcPhysicalQuantity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > list; + typedef IfcTemplatedEntityList< IfcPhysicalQuantity >::it it; }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. /// @@ -8436,10 +8436,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPhysicalSimpleQuantity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPhysicalSimpleQuantity (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit); + IfcPhysicalSimpleQuantity (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit); typedef IfcPhysicalSimpleQuantity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalSimpleQuantity > > list; + typedef IfcTemplatedEntityList< IfcPhysicalSimpleQuantity >::it it; }; /// Definition: The address for delivery of paper based mail. /// @@ -8459,8 +8459,8 @@ public: /// A location within a building (e.g. 3rd Floor) Building name (e.g. Interoperability House) Street number /// (e.g. 6400) Street name (e.g. Alliance Boulevard). Typical content of address lines may vary in different /// countries. - std::vector /*[1:?]*/ AddressLines(); - void setAddressLines(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ AddressLines(); + void setAddressLines(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute PostalBox is defined for this IfcPostalAddress bool hasPostalBox(); /// An address that is implied by an identifiable mail drop. @@ -8495,10 +8495,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPostalAddress (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPostalAddress (optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose, optional v4_InternalLocation, optional /*[1:?]*/> v5_AddressLines, optional v6_PostalBox, optional v7_Town, optional v8_Region, optional v9_PostalCode, optional v10_Country); + IfcPostalAddress (optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose, optional< IfcLabel > v4_InternalLocation, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_AddressLines, optional< IfcLabel > v6_PostalBox, optional< IfcLabel > v7_Town, optional< IfcLabel > v8_Region, optional< IfcLabel > v9_PostalCode, optional< IfcLabel > v10_Country); typedef IfcPostalAddress* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPostalAddress > > list; + typedef IfcTemplatedEntityList< IfcPostalAddress >::it it; }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). /// @@ -8522,8 +8522,8 @@ public: IfcPreDefinedItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedItem (IfcLabel v1_Name); typedef IfcPreDefinedItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedItem > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedItem >::it it; }; /// A predefined symbol is a symbol that gets its shape information by a conforming name that is specified within subtypes of the entity. /// @@ -8544,8 +8544,8 @@ public: IfcPreDefinedSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedSymbol (IfcLabel v1_Name); typedef IfcPreDefinedSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedSymbol > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedSymbol >::it it; }; class IfcPreDefinedTerminatorSymbol : public IfcPreDefinedSymbol { public: @@ -8559,8 +8559,8 @@ public: IfcPreDefinedTerminatorSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedTerminatorSymbol (IfcLabel v1_Name); typedef IfcPreDefinedTerminatorSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedTerminatorSymbol > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedTerminatorSymbol >::it it; }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: /// @@ -8585,8 +8585,8 @@ public: IfcPreDefinedTextFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedTextFont (IfcLabel v1_Name); typedef IfcPreDefinedTextFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedTextFont > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedTextFont >::it it; }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. /// @@ -8614,8 +8614,8 @@ public: IfcText Description(); void setDescription(IfcText v); /// The set of layered items, which are assigned to this layer. - SHARED_PTR< IfcTemplatedEntityList > AssignedItems(); - void setAssignedItems(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > AssignedItems(); + void setAssignedItems(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute Identifier is defined for this IfcPresentationLayerAssignment bool hasIdentifier(); /// An (internal) identifier assigned to the layer. @@ -8629,10 +8629,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPresentationLayerAssignment (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPresentationLayerAssignment (IfcLabel v1_Name, optional v2_Description, IfcEntities v3_AssignedItems, optional v4_Identifier); + IfcPresentationLayerAssignment (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcEntities v3_AssignedItems, optional< IfcIdentifier > v4_Identifier); typedef IfcPresentationLayerAssignment* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPresentationLayerAssignment > > list; + typedef IfcTemplatedEntityList< IfcPresentationLayerAssignment >::it it; }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. /// @@ -8663,8 +8663,8 @@ public: /// NOTE  In most cases the assignment of styles to a layer is restricted to an IfcCurveStyle representing the layer curve colour, layer curve thickness, and layer curve type. /// /// IFC2x4 CHANGE  The data type has been changed from IfcPresentationStyleSelect (now deprecated) to IfcPresentationStyle. - SHARED_PTR< IfcTemplatedEntityList > LayerStyles(); - void setLayerStyles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > LayerStyles(); + void setLayerStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 8; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_BOOL; case 5: return Argument_BOOL; case 6: return Argument_BOOL; case 7: return Argument_ENTITY_LIST; } return IfcPresentationLayerAssignment::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "LayerOn"; case 5: return "LayerFrozen"; case 6: return "LayerBlocked"; case 7: return "LayerStyles"; } return IfcPresentationLayerAssignment::getArgumentName(i); } @@ -8673,10 +8673,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPresentationLayerWithStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPresentationLayerWithStyle (IfcLabel v1_Name, optional v2_Description, IfcEntities v3_AssignedItems, optional v4_Identifier, bool v5_LayerOn, bool v6_LayerFrozen, bool v7_LayerBlocked, IfcEntities v8_LayerStyles); + IfcPresentationLayerWithStyle (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcEntities v3_AssignedItems, optional< IfcIdentifier > v4_Identifier, bool v5_LayerOn, bool v6_LayerFrozen, bool v7_LayerBlocked, IfcEntities v8_LayerStyles); typedef IfcPresentationLayerWithStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPresentationLayerWithStyle > > list; + typedef IfcTemplatedEntityList< IfcPresentationLayerWithStyle >::it it; }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. /// @@ -8698,10 +8698,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPresentationStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPresentationStyle (optional v1_Name); + IfcPresentationStyle (optional< IfcLabel > v1_Name); typedef IfcPresentationStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyle > > list; + typedef IfcTemplatedEntityList< IfcPresentationStyle >::it it; }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. /// @@ -8711,8 +8711,8 @@ public: class IfcPresentationStyleAssignment : public IfcBaseEntity { public: /// A set of presentation styles that are assigned to styled items. - SHARED_PTR< IfcTemplatedEntityList > Styles(); - void setStyles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Styles(); + void setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Styles"; } throw IfcException("argument out of range"); } @@ -8723,8 +8723,8 @@ public: IfcPresentationStyleAssignment (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPresentationStyleAssignment (IfcEntities v1_Styles); typedef IfcPresentationStyleAssignment* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > list; + typedef IfcTemplatedEntityList< IfcPresentationStyleAssignment >::it it; }; /// IfcProductRepresentation defines a representation of a /// product, including its (geometric or topological) representation. @@ -8756,8 +8756,8 @@ public: IfcText Description(); void setDescription(IfcText v); /// Contained list of representations (including shape representations). Each member defines a valid representation of a particular type within a particular representation context. - SHARED_PTR< IfcTemplatedEntityList > Representations(); - void setRepresentations(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > Representations(); + void setRepresentations(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "Representations"; } throw IfcException("argument out of range"); } @@ -8766,10 +8766,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProductRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProductRepresentation (optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations); + IfcProductRepresentation (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations); typedef IfcProductRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProductRepresentation > > list; + typedef IfcTemplatedEntityList< IfcProductRepresentation >::it it; }; class IfcProductsOfCombustionProperties : public IfcMaterialProperties { public: @@ -8797,10 +8797,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProductsOfCombustionProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProductsOfCombustionProperties (IfcMaterial* v1_Material, optional v2_SpecificHeatCapacity, optional v3_N20Content, optional v4_COContent, optional v5_CO2Content); + IfcProductsOfCombustionProperties (IfcMaterial* v1_Material, optional< IfcSpecificHeatCapacityMeasure > v2_SpecificHeatCapacity, optional< IfcPositiveRatioMeasure > v3_N20Content, optional< IfcPositiveRatioMeasure > v4_COContent, optional< IfcPositiveRatioMeasure > v5_CO2Content); typedef IfcProductsOfCombustionProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProductsOfCombustionProperties > > list; + typedef IfcTemplatedEntityList< IfcProductsOfCombustionProperties >::it it; }; /// IfcProfileDef /// is the supertype of all definitions of standard and arbitrary profiles @@ -8990,10 +8990,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName); + IfcProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName); typedef IfcProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > list; + typedef IfcTemplatedEntityList< IfcProfileDef >::it it; }; /// This is a collection of properties applicable to section profile definitions. /// @@ -9025,10 +9025,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProfileProperties (optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition); + IfcProfileProperties (optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition); typedef IfcProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcProfileProperties >::it it; }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. /// @@ -9047,24 +9047,24 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > PropertyForDependance(); // INVERSE IfcPropertyDependencyRelationship::DependingProperty - SHARED_PTR< IfcTemplatedEntityList > PropertyDependsOn(); // INVERSE IfcPropertyDependencyRelationship::DependantProperty - SHARED_PTR< IfcTemplatedEntityList > PartOfComplex(); // INVERSE IfcComplexProperty::HasProperties + SHARED_PTR< IfcTemplatedEntityList< IfcPropertyDependencyRelationship > > PropertyForDependance(); // INVERSE IfcPropertyDependencyRelationship::DependingProperty + SHARED_PTR< IfcTemplatedEntityList< IfcPropertyDependencyRelationship > > PropertyDependsOn(); // INVERSE IfcPropertyDependencyRelationship::DependantProperty + SHARED_PTR< IfcTemplatedEntityList< IfcComplexProperty > > PartOfComplex(); // INVERSE IfcComplexProperty::HasProperties bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcProperty (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProperty (IfcIdentifier v1_Name, optional v2_Description); + IfcProperty (IfcIdentifier v1_Name, optional< IfcText > v2_Description); typedef IfcProperty* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > list; + typedef IfcTemplatedEntityList< IfcProperty >::it it; }; class IfcPropertyConstraintRelationship : public IfcBaseEntity { public: IfcConstraint* RelatingConstraint(); void setRelatingConstraint(IfcConstraint* v); - SHARED_PTR< IfcTemplatedEntityList > RelatedProperties(); - void setRelatedProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > RelatedProperties(); + void setRelatedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); /// Whether the optional attribute Name is defined for this IfcPropertyConstraintRelationship bool hasName(); IfcLabel Name(); @@ -9081,10 +9081,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyConstraintRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyConstraintRelationship (IfcConstraint* v1_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList > v2_RelatedProperties, optional v3_Name, optional v4_Description); + IfcPropertyConstraintRelationship (IfcConstraint* v1_RelatingConstraint, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v2_RelatedProperties, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcPropertyConstraintRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyConstraintRelationship > > list; + typedef IfcTemplatedEntityList< IfcPropertyConstraintRelationship >::it it; }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. /// @@ -9123,10 +9123,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyDependencyRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyDependencyRelationship (IfcProperty* v1_DependingProperty, IfcProperty* v2_DependantProperty, optional v3_Name, optional v4_Description, optional v5_Expression); + IfcPropertyDependencyRelationship (IfcProperty* v1_DependingProperty, IfcProperty* v2_DependantProperty, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcText > v5_Expression); typedef IfcPropertyDependencyRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyDependencyRelationship > > list; + typedef IfcTemplatedEntityList< IfcPropertyDependencyRelationship >::it it; }; /// IfcPropertyEnumeration is a collection of simple /// or measure values that define a prescribed set of alternatives from @@ -9180,8 +9180,8 @@ public: IfcLabel Name(); void setName(IfcLabel v); /// List of values that form the enumeration. - SHARED_PTR< IfcTemplatedEntityList > EnumerationValues(); - void setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > EnumerationValues(); + void setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute Unit is defined for this IfcPropertyEnumeration bool hasUnit(); /// Unit for the enumerator values, if not given, the default value for the measure type (given by the TYPE of nominal value) is used as defined by the global unit assignment at IfcProject. @@ -9195,10 +9195,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyEnumeration (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyEnumeration (IfcLabel v1_Name, IfcEntities v2_EnumerationValues, optional v3_Unit); + IfcPropertyEnumeration (IfcLabel v1_Name, IfcEntities v2_EnumerationValues, optional< IfcUnit > v3_Unit); typedef IfcPropertyEnumeration* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyEnumeration > > list; + typedef IfcTemplatedEntityList< IfcPropertyEnumeration >::it it; }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. /// @@ -9218,10 +9218,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityArea (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityArea (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcAreaMeasure v4_AreaValue); + IfcQuantityArea (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcAreaMeasure v4_AreaValue); typedef IfcQuantityArea* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityArea > > list; + typedef IfcTemplatedEntityList< IfcQuantityArea >::it it; }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. /// @@ -9241,10 +9241,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityCount (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityCount (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcCountMeasure v4_CountValue); + IfcQuantityCount (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcCountMeasure v4_CountValue); typedef IfcQuantityCount* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityCount > > list; + typedef IfcTemplatedEntityList< IfcQuantityCount >::it it; }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. /// @@ -9264,10 +9264,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityLength (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityLength (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcLengthMeasure v4_LengthValue); + IfcQuantityLength (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcLengthMeasure v4_LengthValue); typedef IfcQuantityLength* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityLength > > list; + typedef IfcTemplatedEntityList< IfcQuantityLength >::it it; }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. /// @@ -9287,10 +9287,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityTime (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityTime (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcTimeMeasure v4_TimeValue); + IfcQuantityTime (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcTimeMeasure v4_TimeValue); typedef IfcQuantityTime* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityTime > > list; + typedef IfcTemplatedEntityList< IfcQuantityTime >::it it; }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. /// @@ -9310,10 +9310,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityVolume (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityVolume (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcVolumeMeasure v4_VolumeValue); + IfcQuantityVolume (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcVolumeMeasure v4_VolumeValue); typedef IfcQuantityVolume* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityVolume > > list; + typedef IfcTemplatedEntityList< IfcQuantityVolume >::it it; }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. /// @@ -9333,17 +9333,17 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcQuantityWeight (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcQuantityWeight (IfcLabel v1_Name, optional v2_Description, IfcNamedUnit* v3_Unit, IfcMassMeasure v4_WeightValue); + IfcQuantityWeight (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcNamedUnit* v3_Unit, IfcMassMeasure v4_WeightValue); typedef IfcQuantityWeight* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcQuantityWeight > > list; + typedef IfcTemplatedEntityList< IfcQuantityWeight >::it it; }; class IfcReferencesValueDocument : public IfcBaseEntity { public: IfcDocumentSelect ReferencedDocument(); void setReferencedDocument(IfcDocumentSelect v); - SHARED_PTR< IfcTemplatedEntityList > ReferencingValues(); - void setReferencingValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > ReferencingValues(); + void setReferencingValues(SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v); /// Whether the optional attribute Name is defined for this IfcReferencesValueDocument bool hasName(); IfcLabel Name(); @@ -9360,10 +9360,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReferencesValueDocument (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReferencesValueDocument (IfcDocumentSelect v1_ReferencedDocument, SHARED_PTR< IfcTemplatedEntityList > v2_ReferencingValues, optional v3_Name, optional v4_Description); + IfcReferencesValueDocument (IfcDocumentSelect v1_ReferencedDocument, SHARED_PTR< IfcTemplatedEntityList< IfcAppliedValue > > v2_ReferencingValues, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcReferencesValueDocument* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReferencesValueDocument > > list; + typedef IfcTemplatedEntityList< IfcReferencesValueDocument >::it it; }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. /// @@ -9406,10 +9406,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReinforcementBarProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReinforcementBarProperties (IfcAreaMeasure v1_TotalCrossSectionArea, IfcLabel v2_SteelGrade, optional v3_BarSurface, optional v4_EffectiveDepth, optional v5_NominalBarDiameter, optional v6_BarCount); + IfcReinforcementBarProperties (IfcAreaMeasure v1_TotalCrossSectionArea, IfcLabel v2_SteelGrade, optional< IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum > v3_BarSurface, optional< IfcLengthMeasure > v4_EffectiveDepth, optional< IfcPositiveLengthMeasure > v5_NominalBarDiameter, optional< IfcCountMeasure > v6_BarCount); typedef IfcReinforcementBarProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > list; + typedef IfcTemplatedEntityList< IfcReinforcementBarProperties >::it it; }; class IfcRelaxation : public IfcBaseEntity { public: @@ -9427,8 +9427,8 @@ public: IfcRelaxation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRelaxation (IfcNormalisedRatioMeasure v1_RelaxationValue, IfcNormalisedRatioMeasure v2_InitialStress); typedef IfcRelaxation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelaxation > > list; + typedef IfcTemplatedEntityList< IfcRelaxation >::it it; }; /// Definition from ISO/CD 10303-43:1992: A /// representation is one or more representation items that are @@ -9493,23 +9493,23 @@ public: IfcLabel RepresentationType(); void setRepresentationType(IfcLabel v); /// Set of geometric representation items that are defined for this representation. - SHARED_PTR< IfcTemplatedEntityList > Items(); - void setItems(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > Items(); + void setItems(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v); virtual unsigned int getArgumentCount() const { return 4; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_STRING; case 2: return Argument_STRING; case 3: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ContextOfItems"; case 1: return "RepresentationIdentifier"; case 2: return "RepresentationType"; case 3: return "Items"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > RepresentationMap(); // INVERSE IfcRepresentationMap::MappedRepresentation - SHARED_PTR< IfcTemplatedEntityList > LayerAssignments(); // INVERSE IfcPresentationLayerAssignment::AssignedItems - SHARED_PTR< IfcTemplatedEntityList > OfProductRepresentation(); // INVERSE IfcProductRepresentation::Representations + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > RepresentationMap(); // INVERSE IfcRepresentationMap::MappedRepresentation + SHARED_PTR< IfcTemplatedEntityList< IfcPresentationLayerAssignment > > LayerAssignments(); // INVERSE IfcPresentationLayerAssignment::AssignedItems + SHARED_PTR< IfcTemplatedEntityList< IfcProductRepresentation > > OfProductRepresentation(); // INVERSE IfcProductRepresentation::Representations bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > list; + typedef IfcTemplatedEntityList< IfcRepresentation >::it it; }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. /// @@ -9537,15 +9537,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ContextIdentifier"; case 1: return "ContextType"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > RepresentationsInContext(); // INVERSE IfcRepresentation::ContextOfItems + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > RepresentationsInContext(); // INVERSE IfcRepresentation::ContextOfItems bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcRepresentationContext (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRepresentationContext (optional v1_ContextIdentifier, optional v2_ContextType); + IfcRepresentationContext (optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType); typedef IfcRepresentationContext* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > list; + typedef IfcTemplatedEntityList< IfcRepresentationContext >::it it; }; /// Definition from ISO/CD /// 10303-43:1992: A representation item is an element of @@ -9585,15 +9585,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > LayerAssignments(); // INVERSE IfcPresentationLayerAssignment::AssignedItems - SHARED_PTR< IfcTemplatedEntityList > StyledByItem(); // INVERSE IfcStyledItem::Item + SHARED_PTR< IfcTemplatedEntityList< IfcPresentationLayerAssignment > > LayerAssignments(); // INVERSE IfcPresentationLayerAssignment::AssignedItems + SHARED_PTR< IfcTemplatedEntityList< IfcStyledItem > > StyledByItem(); // INVERSE IfcStyledItem::Item bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcRepresentationItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcRepresentationItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > list; + typedef IfcTemplatedEntityList< IfcRepresentationItem >::it it; }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. /// @@ -9619,15 +9619,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "MappingOrigin"; case 1: return "MappedRepresentation"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > MapUsage(); // INVERSE IfcMappedItem::MappingSource + SHARED_PTR< IfcTemplatedEntityList< IfcMappedItem > > MapUsage(); // INVERSE IfcMappedItem::MappingSource bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcRepresentationMap (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRepresentationMap (IfcAxis2Placement v1_MappingOrigin, IfcRepresentation* v2_MappedRepresentation); typedef IfcRepresentationMap* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > list; + typedef IfcTemplatedEntityList< IfcRepresentationMap >::it it; }; class IfcRibPlateProfileProperties : public IfcProfileProperties { public: @@ -9657,10 +9657,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRibPlateProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRibPlateProfileProperties (optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_Thickness, optional v4_RibHeight, optional v5_RibWidth, optional v6_RibSpacing, IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum v7_Direction); + IfcRibPlateProfileProperties (optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcPositiveLengthMeasure > v3_Thickness, optional< IfcPositiveLengthMeasure > v4_RibHeight, optional< IfcPositiveLengthMeasure > v5_RibWidth, optional< IfcPositiveLengthMeasure > v6_RibSpacing, IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum v7_Direction); typedef IfcRibPlateProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRibPlateProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcRibPlateProfileProperties >::it it; }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. /// @@ -9701,10 +9701,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRoot (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRoot (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcRoot (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcRoot* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > list; + typedef IfcTemplatedEntityList< IfcRoot >::it it; }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). /// @@ -9733,10 +9733,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSIUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSIUnit (IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, optional v3_Prefix, IfcSIUnitName::IfcSIUnitName v4_Name); + IfcSIUnit (IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, optional< IfcSIPrefix::IfcSIPrefix > v3_Prefix, IfcSIUnitName::IfcSIUnitName v4_Name); typedef IfcSIUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSIUnit > > list; + typedef IfcTemplatedEntityList< IfcSIUnit >::it it; }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. /// @@ -9766,8 +9766,8 @@ public: IfcSectionProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSectionProperties (IfcSectionTypeEnum::IfcSectionTypeEnum v1_SectionType, IfcProfileDef* v2_StartProfile, IfcProfileDef* v3_EndProfile); typedef IfcSectionProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSectionProperties > > list; + typedef IfcTemplatedEntityList< IfcSectionProperties >::it it; }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. /// @@ -9796,8 +9796,8 @@ public: IfcSectionProperties* SectionDefinition(); void setSectionDefinition(IfcSectionProperties* v); /// The set of reinforcment properties attached to a section reinforcement properties definition. - SHARED_PTR< IfcTemplatedEntityList > CrossSectionReinforcementDefinitions(); - void setCrossSectionReinforcementDefinitions(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > CrossSectionReinforcementDefinitions(); + void setCrossSectionReinforcementDefinitions(SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_DOUBLE; case 1: return Argument_DOUBLE; case 2: return Argument_DOUBLE; case 3: return Argument_ENUMERATION; case 4: return Argument_ENTITY; case 5: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "LongitudinalStartPosition"; case 1: return "LongitudinalEndPosition"; case 2: return "TransversePosition"; case 3: return "ReinforcementRole"; case 4: return "SectionDefinition"; case 5: return "CrossSectionReinforcementDefinitions"; } throw IfcException("argument out of range"); } @@ -9806,10 +9806,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSectionReinforcementProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSectionReinforcementProperties (IfcLengthMeasure v1_LongitudinalStartPosition, IfcLengthMeasure v2_LongitudinalEndPosition, optional v3_TransversePosition, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v4_ReinforcementRole, IfcSectionProperties* v5_SectionDefinition, SHARED_PTR< IfcTemplatedEntityList > v6_CrossSectionReinforcementDefinitions); + IfcSectionReinforcementProperties (IfcLengthMeasure v1_LongitudinalStartPosition, IfcLengthMeasure v2_LongitudinalEndPosition, optional< IfcLengthMeasure > v3_TransversePosition, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v4_ReinforcementRole, IfcSectionProperties* v5_SectionDefinition, SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementBarProperties > > v6_CrossSectionReinforcementDefinitions); typedef IfcSectionReinforcementProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > list; + typedef IfcTemplatedEntityList< IfcSectionReinforcementProperties >::it it; }; /// Definition from ISO/CD 10303-41:1992: The shape /// aspect is an identifiable element of the shape of a @@ -9852,8 +9852,8 @@ class IfcShapeAspect : public IfcBaseEntity { public: /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility - SHARED_PTR< IfcTemplatedEntityList > ShapeRepresentations(); - void setShapeRepresentations(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > ShapeRepresentations(); + void setShapeRepresentations(SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > v); /// Whether the optional attribute Name is defined for this IfcShapeAspect bool hasName(); /// The word or group of words by which the shape aspect is known. It is a tag to indicate the particular semantic of a component within the product definition shape, used to provide meaning. Example: use the tag "Glazing" to define which component of a window shape defines the glazing area. @@ -9881,10 +9881,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcShapeAspect (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcShapeAspect (SHARED_PTR< IfcTemplatedEntityList > v1_ShapeRepresentations, optional v2_Name, optional v3_Description, bool v4_ProductDefinitional, IfcProductDefinitionShape* v5_PartOfProductDefinitionShape); + IfcShapeAspect (SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > v1_ShapeRepresentations, optional< IfcLabel > v2_Name, optional< IfcText > v3_Description, bool v4_ProductDefinitional, IfcProductDefinitionShape* v5_PartOfProductDefinitionShape); typedef IfcShapeAspect* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcShapeAspect > > list; + typedef IfcTemplatedEntityList< IfcShapeAspect >::it it; }; /// IfcShapeModel represents /// the concept of a particular geometric and/or topological @@ -9910,15 +9910,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcRepresentation::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcRepresentation::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > OfShapeAspect(); // INVERSE IfcShapeAspect::ShapeRepresentations + SHARED_PTR< IfcTemplatedEntityList< IfcShapeAspect > > OfShapeAspect(); // INVERSE IfcShapeAspect::ShapeRepresentations bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcShapeModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcShapeModel (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcShapeModel (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcShapeModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcShapeModel > > list; + typedef IfcTemplatedEntityList< IfcShapeModel >::it it; }; /// The IfcShapeRepresentation represents the concept of a /// particular geometric representation of a product or a product @@ -10065,10 +10065,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcShapeRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcShapeRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcShapeRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcShapeRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcShapeRepresentation > > list; + typedef IfcTemplatedEntityList< IfcShapeRepresentation >::it it; }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. /// @@ -10083,10 +10083,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSimpleProperty (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSimpleProperty (IfcIdentifier v1_Name, optional v2_Description); + IfcSimpleProperty (IfcIdentifier v1_Name, optional< IfcText > v2_Description); typedef IfcSimpleProperty* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSimpleProperty > > list; + typedef IfcTemplatedEntityList< IfcSimpleProperty >::it it; }; /// Definition from IAI: Describe more rarely needed connection properties. /// @@ -10106,10 +10106,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralConnectionCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralConnectionCondition (optional v1_Name); + IfcStructuralConnectionCondition (optional< IfcLabel > v1_Name); typedef IfcStructuralConnectionCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralConnectionCondition > > list; + typedef IfcTemplatedEntityList< IfcStructuralConnectionCondition >::it it; }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. /// @@ -10129,10 +10129,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoad (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoad (optional v1_Name); + IfcStructuralLoad (optional< IfcLabel > v1_Name); typedef IfcStructuralLoad* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoad >::it it; }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. /// @@ -10147,10 +10147,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadStatic (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadStatic (optional v1_Name); + IfcStructuralLoadStatic (optional< IfcLabel > v1_Name); typedef IfcStructuralLoadStatic* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadStatic > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadStatic >::it it; }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. /// @@ -10179,10 +10179,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadTemperature (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadTemperature (optional v1_Name, optional v2_DeltaT_Constant, optional v3_DeltaT_Y, optional v4_DeltaT_Z); + IfcStructuralLoadTemperature (optional< IfcLabel > v1_Name, optional< IfcThermodynamicTemperatureMeasure > v2_DeltaT_Constant, optional< IfcThermodynamicTemperatureMeasure > v3_DeltaT_Y, optional< IfcThermodynamicTemperatureMeasure > v4_DeltaT_Z); typedef IfcStructuralLoadTemperature* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadTemperature > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadTemperature >::it it; }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. /// @@ -10199,10 +10199,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStyleModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStyleModel (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcStyleModel (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcStyleModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStyleModel > > list; + typedef IfcTemplatedEntityList< IfcStyleModel >::it it; }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. /// @@ -10247,8 +10247,8 @@ public: /// for file based exchange. /// /// NOTE Only the select item IfcPresentationStyle shall be used from IFC2x4 onwards, the IfcPresentationStyleAssignment has been deprecated. - SHARED_PTR< IfcTemplatedEntityList > Styles(); - void setStyles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > Styles(); + void setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v); /// Whether the optional attribute Name is defined for this IfcStyledItem bool hasName(); /// The word, or group of words, by which the styled item is referred to. @@ -10262,10 +10262,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStyledItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStyledItem (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcStyledItem (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcStyledItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStyledItem > > list; + typedef IfcTemplatedEntityList< IfcStyledItem >::it it; }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. /// @@ -10284,10 +10284,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStyledRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStyledRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcStyledRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcStyledRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStyledRepresentation > > list; + typedef IfcTemplatedEntityList< IfcStyledRepresentation >::it it; }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. /// @@ -10302,8 +10302,8 @@ public: IfcSurfaceSide::IfcSurfaceSide Side(); void setSide(IfcSurfaceSide::IfcSurfaceSide v); /// A collection of different surface styles. - SHARED_PTR< IfcTemplatedEntityList > Styles(); - void setStyles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Styles(); + void setStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 1: return Argument_ENUMERATION; case 2: return Argument_ENTITY_LIST; } return IfcPresentationStyle::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 1: return "Side"; case 2: return "Styles"; } return IfcPresentationStyle::getArgumentName(i); } @@ -10312,10 +10312,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSurfaceStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSurfaceStyle (optional v1_Name, IfcSurfaceSide::IfcSurfaceSide v2_Side, IfcEntities v3_Styles); + IfcSurfaceStyle (optional< IfcLabel > v1_Name, IfcSurfaceSide::IfcSurfaceSide v2_Side, IfcEntities v3_Styles); typedef IfcSurfaceStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyle > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyle >::it it; }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. /// @@ -10356,8 +10356,8 @@ public: IfcSurfaceStyleLighting (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceStyleLighting (IfcColourRgb* v1_DiffuseTransmissionColour, IfcColourRgb* v2_DiffuseReflectionColour, IfcColourRgb* v3_TransmissionColour, IfcColourRgb* v4_ReflectanceColour); typedef IfcSurfaceStyleLighting* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyleLighting > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyleLighting >::it it; }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. /// @@ -10384,10 +10384,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSurfaceStyleRefraction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSurfaceStyleRefraction (optional v1_RefractionIndex, optional v2_DispersionFactor); + IfcSurfaceStyleRefraction (optional< IfcReal > v1_RefractionIndex, optional< IfcReal > v2_DispersionFactor); typedef IfcSurfaceStyleRefraction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyleRefraction > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyleRefraction >::it it; }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. /// @@ -10411,8 +10411,8 @@ public: IfcSurfaceStyleShading (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceStyleShading (IfcColourRgb* v1_SurfaceColour); typedef IfcSurfaceStyleShading* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyleShading > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyleShading >::it it; }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. /// @@ -10435,8 +10435,8 @@ public: class IfcSurfaceStyleWithTextures : public IfcBaseEntity { public: /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. - SHARED_PTR< IfcTemplatedEntityList > Textures(); - void setTextures(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > Textures(); + void setTextures(SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Textures"; } throw IfcException("argument out of range"); } @@ -10445,10 +10445,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSurfaceStyleWithTextures (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSurfaceStyleWithTextures (SHARED_PTR< IfcTemplatedEntityList > v1_Textures); + IfcSurfaceStyleWithTextures (SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > v1_Textures); typedef IfcSurfaceStyleWithTextures* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyleWithTextures > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyleWithTextures >::it it; }; /// An IfcSurfaceTexture provides a 2-dimensional /// image-based texture map. It can either be given by referencing an @@ -10569,8 +10569,8 @@ public: IfcSurfaceTexture (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceTexture (bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform); typedef IfcSurfaceTexture* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceTexture > > list; + typedef IfcTemplatedEntityList< IfcSurfaceTexture >::it it; }; /// Definition from ISO/CD 10303-46:1992: The symbol style is the presentation style that indicates the presentation of annotation symbols. /// @@ -10590,10 +10590,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSymbolStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSymbolStyle (optional v1_Name, IfcSymbolStyleSelect v2_StyleOfSymbol); + IfcSymbolStyle (optional< IfcLabel > v1_Name, IfcSymbolStyleSelect v2_StyleOfSymbol); typedef IfcSymbolStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSymbolStyle > > list; + typedef IfcTemplatedEntityList< IfcSymbolStyle >::it it; }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. /// @@ -10616,8 +10616,8 @@ public: std::string Name(); void setName(std::string v); /// Reference to information content of rows. - SHARED_PTR< IfcTemplatedEntityList > Rows(); - void setRows(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > Rows(); + void setRows(SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Rows"; } throw IfcException("argument out of range"); } @@ -10626,10 +10626,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTable (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTable (std::string v1_Name, SHARED_PTR< IfcTemplatedEntityList > v2_Rows); + IfcTable (std::string v1_Name, SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > v2_Rows); typedef IfcTable* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTable > > list; + typedef IfcTemplatedEntityList< IfcTable >::it it; }; /// IfcTableRow contains data for a single row within an IfcTable. /// @@ -10647,8 +10647,8 @@ public: class IfcTableRow : public IfcBaseEntity { public: /// The data value of the table cell.. - SHARED_PTR< IfcTemplatedEntityList > RowCells(); - void setRowCells(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > RowCells(); + void setRowCells(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Flag which identifies if the row is a heading row or a row which contains row values. NOTE - If the row is a heading, the flag takes the value = TRUE. bool IsHeading(); void setIsHeading(bool v); @@ -10656,15 +10656,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; case 1: return Argument_BOOL; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "RowCells"; case 1: return "IsHeading"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > OfTable(); // INVERSE IfcTable::Rows + SHARED_PTR< IfcTemplatedEntityList< IfcTable > > OfTable(); // INVERSE IfcTable::Rows bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcTableRow (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTableRow (IfcEntities v1_RowCells, bool v2_IsHeading); typedef IfcTableRow* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTableRow > > list; + typedef IfcTemplatedEntityList< IfcTableRow >::it it; }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. /// @@ -10677,13 +10677,13 @@ public: /// Whether the optional attribute TelephoneNumbers is defined for this IfcTelecomAddress bool hasTelephoneNumbers(); /// The list of telephone numbers at which telephone messages may be received. - std::vector /*[1:?]*/ TelephoneNumbers(); - void setTelephoneNumbers(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ TelephoneNumbers(); + void setTelephoneNumbers(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute FacsimileNumbers is defined for this IfcTelecomAddress bool hasFacsimileNumbers(); /// The list of fax numbers at which fax messages may be received. - std::vector /*[1:?]*/ FacsimileNumbers(); - void setFacsimileNumbers(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ FacsimileNumbers(); + void setFacsimileNumbers(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute PagerNumber is defined for this IfcTelecomAddress bool hasPagerNumber(); /// The pager number at which paging messages may be received. @@ -10692,8 +10692,8 @@ public: /// Whether the optional attribute ElectronicMailAddresses is defined for this IfcTelecomAddress bool hasElectronicMailAddresses(); /// The list of Email addresses at which Email messages may be received. - std::vector /*[1:?]*/ ElectronicMailAddresses(); - void setElectronicMailAddresses(std::vector /*[1:?]*/ v); + std::vector< IfcLabel > /*[1:?]*/ ElectronicMailAddresses(); + void setElectronicMailAddresses(std::vector< IfcLabel > /*[1:?]*/ v); /// Whether the optional attribute WWWHomePageURL is defined for this IfcTelecomAddress bool hasWWWHomePageURL(); /// The world wide web address at which the preliminary page of information for the person or organization can be located. @@ -10710,10 +10710,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTelecomAddress (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTelecomAddress (optional v1_Purpose, optional v2_Description, optional v3_UserDefinedPurpose, optional /*[1:?]*/> v4_TelephoneNumbers, optional /*[1:?]*/> v5_FacsimileNumbers, optional v6_PagerNumber, optional /*[1:?]*/> v7_ElectronicMailAddresses, optional v8_WWWHomePageURL); + IfcTelecomAddress (optional< IfcAddressTypeEnum::IfcAddressTypeEnum > v1_Purpose, optional< IfcText > v2_Description, optional< IfcLabel > v3_UserDefinedPurpose, optional< std::vector< IfcLabel > /*[1:?]*/ > v4_TelephoneNumbers, optional< std::vector< IfcLabel > /*[1:?]*/ > v5_FacsimileNumbers, optional< IfcLabel > v6_PagerNumber, optional< std::vector< IfcLabel > /*[1:?]*/ > v7_ElectronicMailAddresses, optional< IfcLabel > v8_WWWHomePageURL); typedef IfcTelecomAddress* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTelecomAddress > > list; + typedef IfcTemplatedEntityList< IfcTelecomAddress >::it it; }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. /// @@ -10772,10 +10772,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextStyle (optional v1_Name, optional v2_TextCharacterAppearance, optional v3_TextStyle, IfcTextFontSelect v4_TextFontStyle); + IfcTextStyle (optional< IfcLabel > v1_Name, optional< IfcCharacterStyleSelect > v2_TextCharacterAppearance, optional< IfcTextStyleSelect > v3_TextStyle, IfcTextFontSelect v4_TextFontStyle); typedef IfcTextStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextStyle > > list; + typedef IfcTemplatedEntityList< IfcTextStyle >::it it; }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. /// @@ -10847,8 +10847,8 @@ public: /// Whether the optional attribute FontFamily is defined for this IfcTextStyleFontModel bool hasFontFamily(); /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. - std::vector /*[1:?]*/ FontFamily(); - void setFontFamily(std::vector /*[1:?]*/ v); + std::vector< IfcTextFontName > /*[1:?]*/ FontFamily(); + void setFontFamily(std::vector< IfcTextFontName > /*[1:?]*/ v); /// Whether the optional attribute FontStyle is defined for this IfcTextStyleFontModel bool hasFontStyle(); /// The font style property selects between normal (sometimes referred to as "roman" or "upright"), italic and oblique faces within a font family. @@ -10878,10 +10878,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextStyleFontModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextStyleFontModel (IfcLabel v1_Name, optional /*[1:?]*/> v2_FontFamily, optional v3_FontStyle, optional v4_FontVariant, optional v5_FontWeight, IfcSizeSelect v6_FontSize); + IfcTextStyleFontModel (IfcLabel v1_Name, optional< std::vector< IfcTextFontName > /*[1:?]*/ > v2_FontFamily, optional< IfcFontStyle > v3_FontStyle, optional< IfcFontVariant > v4_FontVariant, optional< IfcFontWeight > v5_FontWeight, IfcSizeSelect v6_FontSize); typedef IfcTextStyleFontModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextStyleFontModel > > list; + typedef IfcTemplatedEntityList< IfcTextStyleFontModel >::it it; }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. /// @@ -10918,10 +10918,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextStyleForDefinedFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextStyleForDefinedFont (IfcColour v1_Colour, optional v2_BackgroundColour); + IfcTextStyleForDefinedFont (IfcColour v1_Colour, optional< IfcColour > v2_BackgroundColour); typedef IfcTextStyleForDefinedFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextStyleForDefinedFont > > list; + typedef IfcTemplatedEntityList< IfcTextStyleForDefinedFont >::it it; }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. /// @@ -10982,10 +10982,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextStyleTextModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextStyleTextModel (optional v1_TextIndent, optional v2_TextAlign, optional v3_TextDecoration, optional v4_LetterSpacing, optional v5_WordSpacing, optional v6_TextTransform, optional v7_LineHeight); + IfcTextStyleTextModel (optional< IfcSizeSelect > v1_TextIndent, optional< IfcTextAlignment > v2_TextAlign, optional< IfcTextDecoration > v3_TextDecoration, optional< IfcSizeSelect > v4_LetterSpacing, optional< IfcSizeSelect > v5_WordSpacing, optional< IfcTextTransformation > v6_TextTransform, optional< IfcSizeSelect > v7_LineHeight); typedef IfcTextStyleTextModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextStyleTextModel > > list; + typedef IfcTemplatedEntityList< IfcTextStyleTextModel >::it it; }; /// The text style with box characteristics allows the presentation of annotated text by specifying the characteristics of the character boxes of the text and the spacing between the character boxes. /// @@ -11039,10 +11039,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextStyleWithBoxCharacteristics (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextStyleWithBoxCharacteristics (optional v1_BoxHeight, optional v2_BoxWidth, optional v3_BoxSlantAngle, optional v4_BoxRotateAngle, optional v5_CharacterSpacing); + IfcTextStyleWithBoxCharacteristics (optional< IfcPositiveLengthMeasure > v1_BoxHeight, optional< IfcPositiveLengthMeasure > v2_BoxWidth, optional< IfcPlaneAngleMeasure > v3_BoxSlantAngle, optional< IfcPlaneAngleMeasure > v4_BoxRotateAngle, optional< IfcSizeSelect > v5_CharacterSpacing); typedef IfcTextStyleWithBoxCharacteristics* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextStyleWithBoxCharacteristics > > list; + typedef IfcTemplatedEntityList< IfcTextStyleWithBoxCharacteristics >::it it; }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. /// @@ -11061,14 +11061,14 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > AnnotatedSurface(); // INVERSE IfcAnnotationSurface::TextureCoordinates + SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationSurface > > AnnotatedSurface(); // INVERSE IfcAnnotationSurface::TextureCoordinates bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcTextureCoordinate (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcTextureCoordinate* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextureCoordinate > > list; + typedef IfcTemplatedEntityList< IfcTextureCoordinate >::it it; }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. /// @@ -11106,8 +11106,8 @@ public: /// The parameters used as arguments by the function as specified by Mode. /// /// IFC2x4 CHANGE  Made optional data type restricted to REAL. - SHARED_PTR< IfcTemplatedEntityList > Parameter(); - void setParameter(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Parameter(); + void setParameter(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_ENTITY_LIST; } return IfcTextureCoordinate::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Mode"; case 1: return "Parameter"; } return IfcTextureCoordinate::getArgumentName(i); } @@ -11118,8 +11118,8 @@ public: IfcTextureCoordinateGenerator (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTextureCoordinateGenerator (IfcLabel v1_Mode, IfcEntities v2_Parameter); typedef IfcTextureCoordinateGenerator* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextureCoordinateGenerator > > list; + typedef IfcTemplatedEntityList< IfcTextureCoordinateGenerator >::it it; }; /// An IfcTextureMap provides the mapping of the /// 2-dimensional texture coordinates to the surface onto which it is @@ -11174,8 +11174,8 @@ public: /// The FaceBound referenced in AppliedTo shall be used by the vertex based geometry, to which this texture map is assigned to by through the IfcStyledItem. class IfcTextureMap : public IfcTextureCoordinate { public: - SHARED_PTR< IfcTemplatedEntityList > TextureMaps(); - void setTextureMaps(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > TextureMaps(); + void setTextureMaps(SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcTextureCoordinate::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "TextureMaps"; } return IfcTextureCoordinate::getArgumentName(i); } @@ -11184,10 +11184,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextureMap (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextureMap (SHARED_PTR< IfcTemplatedEntityList > v1_TextureMaps); + IfcTextureMap (SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > v1_TextureMaps); typedef IfcTextureMap* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextureMap > > list; + typedef IfcTemplatedEntityList< IfcTextureMap >::it it; }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. /// @@ -11219,8 +11219,8 @@ public: class IfcTextureVertex : public IfcBaseEntity { public: /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. - std::vector /*[2:2]*/ Coordinates(); - void setCoordinates(std::vector /*[2:2]*/ v); + std::vector< IfcParameterValue > /*[2:2]*/ Coordinates(); + void setCoordinates(std::vector< IfcParameterValue > /*[2:2]*/ v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_VECTOR_DOUBLE; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Coordinates"; } throw IfcException("argument out of range"); } @@ -11229,10 +11229,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTextureVertex (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTextureVertex (std::vector /*[2:2]*/ v1_Coordinates); + IfcTextureVertex (std::vector< IfcParameterValue > /*[2:2]*/ v1_Coordinates); typedef IfcTextureVertex* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > list; + typedef IfcTemplatedEntityList< IfcTextureVertex >::it it; }; class IfcThermalMaterialProperties : public IfcMaterialProperties { public: @@ -11260,10 +11260,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcThermalMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcThermalMaterialProperties (IfcMaterial* v1_Material, optional v2_SpecificHeatCapacity, optional v3_BoilingPoint, optional v4_FreezingPoint, optional v5_ThermalConductivity); + IfcThermalMaterialProperties (IfcMaterial* v1_Material, optional< IfcSpecificHeatCapacityMeasure > v2_SpecificHeatCapacity, optional< IfcThermodynamicTemperatureMeasure > v3_BoilingPoint, optional< IfcThermodynamicTemperatureMeasure > v4_FreezingPoint, optional< IfcThermalConductivityMeasure > v5_ThermalConductivity); typedef IfcThermalMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcThermalMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcThermalMaterialProperties >::it it; }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. /// @@ -11306,22 +11306,22 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_STRING; case 1: return Argument_STRING; case 2: return Argument_ENTITY; case 3: return Argument_ENTITY; case 4: return Argument_ENUMERATION; case 5: return Argument_ENUMERATION; case 6: return Argument_STRING; case 7: return Argument_ENTITY; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Name"; case 1: return "Description"; case 2: return "StartTime"; case 3: return "EndTime"; case 4: return "TimeSeriesDataType"; case 5: return "DataOrigin"; case 6: return "UserDefinedDataOrigin"; case 7: return "Unit"; } throw IfcException("argument out of range"); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > DocumentedBy(); // INVERSE IfcTimeSeriesReferenceRelationship::ReferencedTimeSeries + SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesReferenceRelationship > > DocumentedBy(); // INVERSE IfcTimeSeriesReferenceRelationship::ReferencedTimeSeries bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcTimeSeries (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTimeSeries (IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit); + IfcTimeSeries (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit); typedef IfcTimeSeries* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeries > > list; + typedef IfcTemplatedEntityList< IfcTimeSeries >::it it; }; class IfcTimeSeriesReferenceRelationship : public IfcBaseEntity { public: IfcTimeSeries* ReferencedTimeSeries(); void setReferencedTimeSeries(IfcTimeSeries* v); - SHARED_PTR< IfcTemplatedEntityList > TimeSeriesReferences(); - void setTimeSeriesReferences(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > TimeSeriesReferences(); + void setTimeSeriesReferences(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ReferencedTimeSeries"; case 1: return "TimeSeriesReferences"; } throw IfcException("argument out of range"); } @@ -11332,8 +11332,8 @@ public: IfcTimeSeriesReferenceRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTimeSeriesReferenceRelationship (IfcTimeSeries* v1_ReferencedTimeSeries, IfcEntities v2_TimeSeriesReferences); typedef IfcTimeSeriesReferenceRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesReferenceRelationship > > list; + typedef IfcTemplatedEntityList< IfcTimeSeriesReferenceRelationship >::it it; }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: /// @@ -11347,8 +11347,8 @@ public: class IfcTimeSeriesValue : public IfcBaseEntity { public: /// A list of time-series values. At least one value is required. - SHARED_PTR< IfcTemplatedEntityList > ListValues(); - void setListValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > ListValues(); + void setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "ListValues"; } throw IfcException("argument out of range"); } @@ -11359,8 +11359,8 @@ public: IfcTimeSeriesValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTimeSeriesValue (IfcEntities v1_ListValues); typedef IfcTimeSeriesValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > list; + typedef IfcTemplatedEntityList< IfcTimeSeriesValue >::it it; }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. /// @@ -11378,8 +11378,8 @@ public: static Type::Enum Class(); IfcTopologicalRepresentationItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcTopologicalRepresentationItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTopologicalRepresentationItem > > list; + typedef IfcTemplatedEntityList< IfcTopologicalRepresentationItem >::it it; }; /// IfcTopologyRepresentation /// represents the concept of a particular topological representation of a @@ -11425,10 +11425,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTopologyRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTopologyRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional v2_RepresentationIdentifier, optional v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList > v4_Items); + IfcTopologyRepresentation (IfcRepresentationContext* v1_ContextOfItems, optional< IfcLabel > v2_RepresentationIdentifier, optional< IfcLabel > v3_RepresentationType, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationItem > > v4_Items); typedef IfcTopologyRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTopologyRepresentation > > list; + typedef IfcTemplatedEntityList< IfcTopologyRepresentation >::it it; }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. /// @@ -11438,8 +11438,8 @@ public: class IfcUnitAssignment : public IfcBaseEntity { public: /// Units to be included within a unit assignment. - SHARED_PTR< IfcTemplatedEntityList > Units(); - void setUnits(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Units(); + void setUnits(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Units"; } throw IfcException("argument out of range"); } @@ -11450,8 +11450,8 @@ public: IfcUnitAssignment (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcUnitAssignment (IfcEntities v1_Units); typedef IfcUnitAssignment* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcUnitAssignment > > list; + typedef IfcTemplatedEntityList< IfcUnitAssignment >::it it; }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. /// @@ -11474,15 +11474,15 @@ public: static Type::Enum Class(); IfcVertex (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcVertex* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVertex > > list; + typedef IfcTemplatedEntityList< IfcVertex >::it it; }; class IfcVertexBasedTextureMap : public IfcBaseEntity { public: - SHARED_PTR< IfcTemplatedEntityList > TextureVertices(); - void setTextureVertices(SHARED_PTR< IfcTemplatedEntityList > v); - SHARED_PTR< IfcTemplatedEntityList > TexturePoints(); - void setTexturePoints(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > TextureVertices(); + void setTextureVertices(SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > TexturePoints(); + void setTexturePoints(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; case 1: return Argument_ENTITY_LIST; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "TextureVertices"; case 1: return "TexturePoints"; } throw IfcException("argument out of range"); } @@ -11491,10 +11491,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcVertexBasedTextureMap (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcVertexBasedTextureMap (SHARED_PTR< IfcTemplatedEntityList > v1_TextureVertices, SHARED_PTR< IfcTemplatedEntityList > v2_TexturePoints); + IfcVertexBasedTextureMap (SHARED_PTR< IfcTemplatedEntityList< IfcTextureVertex > > v1_TextureVertices, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_TexturePoints); typedef IfcVertexBasedTextureMap* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVertexBasedTextureMap > > list; + typedef IfcTemplatedEntityList< IfcVertexBasedTextureMap >::it it; }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. /// @@ -11520,8 +11520,8 @@ public: IfcVertexPoint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcVertexPoint (IfcPoint* v1_VertexGeometry); typedef IfcVertexPoint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVertexPoint > > list; + typedef IfcTemplatedEntityList< IfcVertexPoint >::it it; }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. /// @@ -11585,11 +11585,11 @@ public: class IfcVirtualGridIntersection : public IfcBaseEntity { public: /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. - SHARED_PTR< IfcTemplatedEntityList > IntersectingAxes(); - void setIntersectingAxes(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > IntersectingAxes(); + void setIntersectingAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v); /// Offset distances to the grid axes. If given, it defines virtual offset curves to the grid axes. The intersection of the offset curves specify the virtual grid intersection. - std::vector /*[2:3]*/ OffsetDistances(); - void setOffsetDistances(std::vector /*[2:3]*/ v); + std::vector< IfcLengthMeasure > /*[2:3]*/ OffsetDistances(); + void setOffsetDistances(std::vector< IfcLengthMeasure > /*[2:3]*/ v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; case 1: return Argument_VECTOR_DOUBLE; } throw IfcException("argument out of range"); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "IntersectingAxes"; case 1: return "OffsetDistances"; } throw IfcException("argument out of range"); } @@ -11598,10 +11598,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcVirtualGridIntersection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcVirtualGridIntersection (SHARED_PTR< IfcTemplatedEntityList > v1_IntersectingAxes, std::vector /*[2:3]*/ v2_OffsetDistances); + IfcVirtualGridIntersection (SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v1_IntersectingAxes, std::vector< IfcLengthMeasure > /*[2:3]*/ v2_OffsetDistances); typedef IfcVirtualGridIntersection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVirtualGridIntersection > > list; + typedef IfcTemplatedEntityList< IfcVirtualGridIntersection >::it it; }; class IfcWaterProperties : public IfcMaterialProperties { public: @@ -11641,10 +11641,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWaterProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWaterProperties (IfcMaterial* v1_Material, optional v2_IsPotable, optional v3_Hardness, optional v4_AlkalinityConcentration, optional v5_AcidityConcentration, optional v6_ImpuritiesContent, optional v7_PHLevel, optional v8_DissolvedSolidsContent); + IfcWaterProperties (IfcMaterial* v1_Material, optional< bool > v2_IsPotable, optional< IfcIonConcentrationMeasure > v3_Hardness, optional< IfcIonConcentrationMeasure > v4_AlkalinityConcentration, optional< IfcIonConcentrationMeasure > v5_AcidityConcentration, optional< IfcNormalisedRatioMeasure > v6_ImpuritiesContent, optional< IfcPHMeasure > v7_PHLevel, optional< IfcNormalisedRatioMeasure > v8_DissolvedSolidsContent); typedef IfcWaterProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWaterProperties > > list; + typedef IfcTemplatedEntityList< IfcWaterProperties >::it it; }; class IfcAnnotationOccurrence : public IfcStyledItem { public: @@ -11656,10 +11656,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcAnnotationOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcAnnotationOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationOccurrence >::it it; }; class IfcAnnotationSurfaceOccurrence : public IfcAnnotationOccurrence { public: @@ -11671,10 +11671,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationSurfaceOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationSurfaceOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcAnnotationSurfaceOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcAnnotationSurfaceOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationSurfaceOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationSurfaceOccurrence >::it it; }; class IfcAnnotationSymbolOccurrence : public IfcAnnotationOccurrence { public: @@ -11686,10 +11686,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationSymbolOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationSymbolOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcAnnotationSymbolOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcAnnotationSymbolOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationSymbolOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationSymbolOccurrence >::it it; }; class IfcAnnotationTextOccurrence : public IfcAnnotationOccurrence { public: @@ -11701,10 +11701,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationTextOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationTextOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcAnnotationTextOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcAnnotationTextOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationTextOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationTextOccurrence >::it it; }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. /// @@ -11737,10 +11737,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcArbitraryClosedProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcArbitraryClosedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcCurve* v3_OuterCurve); + IfcArbitraryClosedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcCurve* v3_OuterCurve); typedef IfcArbitraryClosedProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcArbitraryClosedProfileDef > > list; + typedef IfcTemplatedEntityList< IfcArbitraryClosedProfileDef >::it it; }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. /// @@ -11770,10 +11770,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcArbitraryOpenProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcArbitraryOpenProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcBoundedCurve* v3_Curve); + IfcArbitraryOpenProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcBoundedCurve* v3_Curve); typedef IfcArbitraryOpenProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcArbitraryOpenProfileDef > > list; + typedef IfcTemplatedEntityList< IfcArbitraryOpenProfileDef >::it it; }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. /// @@ -11797,8 +11797,8 @@ public: class IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. - SHARED_PTR< IfcTemplatedEntityList > InnerCurves(); - void setInnerCurves(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > InnerCurves(); + void setInnerCurves(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v); virtual unsigned int getArgumentCount() const { return 4; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 3: return Argument_ENTITY_LIST; } return IfcArbitraryClosedProfileDef::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 3: return "InnerCurves"; } return IfcArbitraryClosedProfileDef::getArgumentName(i); } @@ -11807,10 +11807,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcArbitraryProfileDefWithVoids (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcArbitraryProfileDefWithVoids (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcCurve* v3_OuterCurve, SHARED_PTR< IfcTemplatedEntityList > v4_InnerCurves); + IfcArbitraryProfileDefWithVoids (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcCurve* v3_OuterCurve, SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v4_InnerCurves); typedef IfcArbitraryProfileDefWithVoids* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcArbitraryProfileDefWithVoids > > list; + typedef IfcTemplatedEntityList< IfcArbitraryProfileDefWithVoids >::it it; }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. /// @@ -11839,8 +11839,8 @@ public: IfcBlobTexture (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBlobTexture (bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcIdentifier v5_RasterFormat, bool v6_RasterCode); typedef IfcBlobTexture* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBlobTexture > > list; + typedef IfcTemplatedEntityList< IfcBlobTexture >::it it; }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. /// @@ -11884,10 +11884,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCenterLineProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCenterLineProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcBoundedCurve* v3_Curve, IfcPositiveLengthMeasure v4_Thickness); + IfcCenterLineProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcBoundedCurve* v3_Curve, IfcPositiveLengthMeasure v4_Thickness); typedef IfcCenterLineProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCenterLineProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCenterLineProfileDef >::it it; }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). /// @@ -11925,10 +11925,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcClassificationReference (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcClassificationReference (optional v1_Location, optional v2_ItemReference, optional v3_Name, IfcClassification* v4_ReferencedSource); + IfcClassificationReference (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name, IfcClassification* v4_ReferencedSource); typedef IfcClassificationReference* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClassificationReference > > list; + typedef IfcTemplatedEntityList< IfcClassificationReference >::it it; }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. /// @@ -11963,10 +11963,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcColourRgb (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcColourRgb (optional v1_Name, IfcNormalisedRatioMeasure v2_Red, IfcNormalisedRatioMeasure v3_Green, IfcNormalisedRatioMeasure v4_Blue); + IfcColourRgb (optional< IfcLabel > v1_Name, IfcNormalisedRatioMeasure v2_Red, IfcNormalisedRatioMeasure v3_Green, IfcNormalisedRatioMeasure v4_Blue); typedef IfcColourRgb* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcColourRgb > > list; + typedef IfcTemplatedEntityList< IfcColourRgb >::it it; }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. /// @@ -11980,8 +11980,8 @@ public: IfcIdentifier UsageName(); void setUsageName(IfcIdentifier v); /// Set of properties that can be used within this complex property (may include other complex properties). - SHARED_PTR< IfcTemplatedEntityList > HasProperties(); - void setHasProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > HasProperties(); + void setHasProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); virtual unsigned int getArgumentCount() const { return 4; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 2: return Argument_STRING; case 3: return Argument_ENTITY_LIST; } return IfcProperty::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 2: return "UsageName"; case 3: return "HasProperties"; } return IfcProperty::getArgumentName(i); } @@ -11990,10 +11990,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcComplexProperty (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcComplexProperty (IfcIdentifier v1_Name, optional v2_Description, IfcIdentifier v3_UsageName, SHARED_PTR< IfcTemplatedEntityList > v4_HasProperties); + IfcComplexProperty (IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcIdentifier v3_UsageName, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v4_HasProperties); typedef IfcComplexProperty* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcComplexProperty > > list; + typedef IfcTemplatedEntityList< IfcComplexProperty >::it it; }; /// The IfcCompositeProfileDef /// defines the profile by composition of other profiles. The composition @@ -12034,8 +12034,8 @@ public: class IfcCompositeProfileDef : public IfcProfileDef { public: /// The profiles which are used to define the composite profile. - SHARED_PTR< IfcTemplatedEntityList > Profiles(); - void setProfiles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > Profiles(); + void setProfiles(SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v); /// Whether the optional attribute Label is defined for this IfcCompositeProfileDef bool hasLabel(); /// The name by which the composition may be referred to. The actual meaning of the name has to be defined in the context of applications. @@ -12049,10 +12049,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCompositeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCompositeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, SHARED_PTR< IfcTemplatedEntityList > v3_Profiles, optional v4_Label); + IfcCompositeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v3_Profiles, optional< IfcLabel > v4_Label); typedef IfcCompositeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCompositeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCompositeProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. /// @@ -12066,8 +12066,8 @@ public: class IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: /// The set of faces arcwise connected along common edges or vertices. - SHARED_PTR< IfcTemplatedEntityList > CfsFaces(); - void setCfsFaces(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcFace > > CfsFaces(); + void setCfsFaces(SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcTopologicalRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "CfsFaces"; } return IfcTopologicalRepresentationItem::getArgumentName(i); } @@ -12076,10 +12076,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectedFaceSet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectedFaceSet (SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces); + IfcConnectedFaceSet (SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces); typedef IfcConnectedFaceSet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > list; + typedef IfcTemplatedEntityList< IfcConnectedFaceSet >::it it; }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. /// @@ -12112,10 +12112,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectionCurveGeometry (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectionCurveGeometry (IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, optional v2_CurveOnRelatedElement); + IfcConnectionCurveGeometry (IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, optional< IfcCurveOrEdgeCurve > v2_CurveOnRelatedElement); typedef IfcConnectionCurveGeometry* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionCurveGeometry > > list; + typedef IfcTemplatedEntityList< IfcConnectionCurveGeometry >::it it; }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: /// @@ -12161,10 +12161,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConnectionPointEccentricity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConnectionPointEccentricity (IfcPointOrVertexPoint v1_PointOnRelatingElement, optional v2_PointOnRelatedElement, optional v3_EccentricityInX, optional v4_EccentricityInY, optional v5_EccentricityInZ); + IfcConnectionPointEccentricity (IfcPointOrVertexPoint v1_PointOnRelatingElement, optional< IfcPointOrVertexPoint > v2_PointOnRelatedElement, optional< IfcLengthMeasure > v3_EccentricityInX, optional< IfcLengthMeasure > v4_EccentricityInY, optional< IfcLengthMeasure > v5_EccentricityInZ); typedef IfcConnectionPointEccentricity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConnectionPointEccentricity > > list; + typedef IfcTemplatedEntityList< IfcConnectionPointEccentricity >::it it; }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. /// @@ -12188,8 +12188,8 @@ public: IfcContextDependentUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcContextDependentUnit (IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, IfcLabel v3_Name); typedef IfcContextDependentUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcContextDependentUnit > > list; + typedef IfcTemplatedEntityList< IfcContextDependentUnit >::it it; }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. /// @@ -12256,8 +12256,8 @@ public: IfcConversionBasedUnit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcConversionBasedUnit (IfcDimensionalExponents* v1_Dimensions, IfcUnitEnum::IfcUnitEnum v2_UnitType, IfcLabel v3_Name, IfcMeasureWithUnit* v4_ConversionFactor); typedef IfcConversionBasedUnit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConversionBasedUnit > > list; + typedef IfcTemplatedEntityList< IfcConversionBasedUnit >::it it; }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. /// @@ -12301,10 +12301,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurveStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurveStyle (optional v1_Name, optional v2_CurveFont, optional v3_CurveWidth, optional v4_CurveColour); + IfcCurveStyle (optional< IfcLabel > v1_Name, optional< IfcCurveFontOrScaledCurveFontSelect > v2_CurveFont, optional< IfcSizeSelect > v3_CurveWidth, optional< IfcColour > v4_CurveColour); typedef IfcCurveStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurveStyle > > list; + typedef IfcTemplatedEntityList< IfcCurveStyle >::it it; }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. /// @@ -12411,10 +12411,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDerivedProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDerivedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcProfileDef* v3_ParentProfile, IfcCartesianTransformationOperator2D* v4_Operator, optional v5_Label); + IfcDerivedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcProfileDef* v3_ParentProfile, IfcCartesianTransformationOperator2D* v4_Operator, optional< IfcLabel > v5_Label); typedef IfcDerivedProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDerivedProfileDef > > list; + typedef IfcTemplatedEntityList< IfcDerivedProfileDef >::it it; }; class IfcDimensionCalloutRelationship : public IfcDraughtingCalloutRelationship { public: @@ -12426,10 +12426,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDimensionCalloutRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDimensionCalloutRelationship (optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); + IfcDimensionCalloutRelationship (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); typedef IfcDimensionCalloutRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionCalloutRelationship > > list; + typedef IfcTemplatedEntityList< IfcDimensionCalloutRelationship >::it it; }; class IfcDimensionPair : public IfcDraughtingCalloutRelationship { public: @@ -12441,10 +12441,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDimensionPair (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDimensionPair (optional v1_Name, optional v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); + IfcDimensionPair (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, IfcDraughtingCallout* v3_RelatingDraughtingCallout, IfcDraughtingCallout* v4_RelatedDraughtingCallout); typedef IfcDimensionPair* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionPair > > list; + typedef IfcTemplatedEntityList< IfcDimensionPair >::it it; }; /// An IfcDocumentReference is a reference /// to the location of a document. The reference is given by a system @@ -12463,15 +12463,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcExternalReference::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcExternalReference::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ReferenceToDocument(); // INVERSE IfcDocumentInformation::DocumentReferences + SHARED_PTR< IfcTemplatedEntityList< IfcDocumentInformation > > ReferenceToDocument(); // INVERSE IfcDocumentInformation::DocumentReferences bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDocumentReference (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDocumentReference (optional v1_Location, optional v2_ItemReference, optional v3_Name); + IfcDocumentReference (optional< IfcLabel > v1_Location, optional< IfcIdentifier > v2_ItemReference, optional< IfcLabel > v3_Name); typedef IfcDocumentReference* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDocumentReference > > list; + typedef IfcTemplatedEntityList< IfcDocumentReference >::it it; }; /// The draughting pre defined text font is a pre defined text font for the purpose to identify a font by name. Allowable names are: /// @@ -12495,8 +12495,8 @@ public: IfcDraughtingPreDefinedTextFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDraughtingPreDefinedTextFont (IfcLabel v1_Name); typedef IfcDraughtingPreDefinedTextFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingPreDefinedTextFont > > list; + typedef IfcTemplatedEntityList< IfcDraughtingPreDefinedTextFont >::it it; }; /// Definition from ISO/CD 10303-42:1992: An edge is the /// topological construct corresponding to the connection of two @@ -12565,8 +12565,8 @@ public: IfcEdge (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcEdge (IfcVertex* v1_EdgeStart, IfcVertex* v2_EdgeEnd); typedef IfcEdge* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEdge > > list; + typedef IfcTemplatedEntityList< IfcEdge >::it it; }; /// Definition from ISO/CD 10303-42:1992: An edge curve is /// a special subtype of edge which has its geometry fully defined. @@ -12619,8 +12619,8 @@ public: IfcEdgeCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcEdgeCurve (IfcVertex* v1_EdgeStart, IfcVertex* v2_EdgeEnd, IfcCurve* v3_EdgeGeometry, bool v4_SameSense); typedef IfcEdgeCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEdgeCurve > > list; + typedef IfcTemplatedEntityList< IfcEdgeCurve >::it it; }; /// The IfcExtendedMaterialProperties assign a set of /// defined material properties to associated material definitions. @@ -12659,8 +12659,8 @@ public: /// General Energy Calculation Properties class IfcExtendedMaterialProperties : public IfcMaterialProperties { public: - SHARED_PTR< IfcTemplatedEntityList > ExtendedProperties(); - void setExtendedProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > ExtendedProperties(); + void setExtendedProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); /// Whether the optional attribute Description is defined for this IfcExtendedMaterialProperties bool hasDescription(); IfcText Description(); @@ -12675,10 +12675,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcExtendedMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcExtendedMaterialProperties (IfcMaterial* v1_Material, SHARED_PTR< IfcTemplatedEntityList > v2_ExtendedProperties, optional v3_Description, IfcLabel v4_Name); + IfcExtendedMaterialProperties (IfcMaterial* v1_Material, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v2_ExtendedProperties, optional< IfcText > v3_Description, IfcLabel v4_Name); typedef IfcExtendedMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExtendedMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcExtendedMaterialProperties >::it it; }; /// Definition from ISO/CD 10303-42:1992: A face is a topological /// entity of dimensionality 2 corresponding to the intuitive notion of a piece of @@ -12727,8 +12727,8 @@ public: class IfcFace : public IfcTopologicalRepresentationItem { public: /// Boundaries of the face. - SHARED_PTR< IfcTemplatedEntityList > Bounds(); - void setBounds(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > Bounds(); + void setBounds(SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcTopologicalRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Bounds"; } return IfcTopologicalRepresentationItem::getArgumentName(i); } @@ -12737,10 +12737,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFace (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFace (SHARED_PTR< IfcTemplatedEntityList > v1_Bounds); + IfcFace (SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v1_Bounds); typedef IfcFace* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFace > > list; + typedef IfcTemplatedEntityList< IfcFace >::it it; }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. /// @@ -12765,8 +12765,8 @@ public: IfcFaceBound (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFaceBound (IfcLoop* v1_Bound, bool v2_Orientation); typedef IfcFaceBound* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > list; + typedef IfcTemplatedEntityList< IfcFaceBound >::it it; }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. /// @@ -12785,8 +12785,8 @@ public: IfcFaceOuterBound (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFaceOuterBound (IfcLoop* v1_Bound, bool v2_Orientation); typedef IfcFaceOuterBound* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFaceOuterBound > > list; + typedef IfcTemplatedEntityList< IfcFaceOuterBound >::it it; }; /// Definition from ISO/CD 10303-42:1992: A face surface /// (IfcFaceSurface) is a subtype of face in which the geometry is defined by an @@ -12840,10 +12840,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFaceSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFaceSurface (SHARED_PTR< IfcTemplatedEntityList > v1_Bounds, IfcSurface* v2_FaceSurface, bool v3_SameSense); + IfcFaceSurface (SHARED_PTR< IfcTemplatedEntityList< IfcFaceBound > > v1_Bounds, IfcSurface* v2_FaceSurface, bool v3_SameSense); typedef IfcFaceSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFaceSurface > > list; + typedef IfcTemplatedEntityList< IfcFaceSurface >::it it; }; /// Definition from IAI: Defines forces at which a support or connection fails. /// @@ -12892,10 +12892,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFailureConnectionCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFailureConnectionCondition (optional v1_Name, optional v2_TensionFailureX, optional v3_TensionFailureY, optional v4_TensionFailureZ, optional v5_CompressionFailureX, optional v6_CompressionFailureY, optional v7_CompressionFailureZ); + IfcFailureConnectionCondition (optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_TensionFailureX, optional< IfcForceMeasure > v3_TensionFailureY, optional< IfcForceMeasure > v4_TensionFailureZ, optional< IfcForceMeasure > v5_CompressionFailureX, optional< IfcForceMeasure > v6_CompressionFailureY, optional< IfcForceMeasure > v7_CompressionFailureZ); typedef IfcFailureConnectionCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFailureConnectionCondition > > list; + typedef IfcTemplatedEntityList< IfcFailureConnectionCondition >::it it; }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. /// @@ -12934,8 +12934,8 @@ public: class IfcFillAreaStyle : public IfcPresentationStyle { public: /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. - SHARED_PTR< IfcTemplatedEntityList > FillStyles(); - void setFillStyles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > FillStyles(); + void setFillStyles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 1: return Argument_ENTITY_LIST; } return IfcPresentationStyle::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 1: return "FillStyles"; } return IfcPresentationStyle::getArgumentName(i); } @@ -12944,10 +12944,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFillAreaStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFillAreaStyle (optional v1_Name, IfcEntities v2_FillStyles); + IfcFillAreaStyle (optional< IfcLabel > v1_Name, IfcEntities v2_FillStyles); typedef IfcFillAreaStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFillAreaStyle > > list; + typedef IfcTemplatedEntityList< IfcFillAreaStyle >::it it; }; class IfcFuelProperties : public IfcMaterialProperties { public: @@ -12975,10 +12975,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFuelProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFuelProperties (IfcMaterial* v1_Material, optional v2_CombustionTemperature, optional v3_CarbonContent, optional v4_LowerHeatingValue, optional v5_HigherHeatingValue); + IfcFuelProperties (IfcMaterial* v1_Material, optional< IfcThermodynamicTemperatureMeasure > v2_CombustionTemperature, optional< IfcPositiveRatioMeasure > v3_CarbonContent, optional< IfcHeatingValueMeasure > v4_LowerHeatingValue, optional< IfcHeatingValueMeasure > v5_HigherHeatingValue); typedef IfcFuelProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFuelProperties > > list; + typedef IfcTemplatedEntityList< IfcFuelProperties >::it it; }; class IfcGeneralMaterialProperties : public IfcMaterialProperties { public: @@ -13002,10 +13002,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcGeneralMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGeneralMaterialProperties (IfcMaterial* v1_Material, optional v2_MolecularWeight, optional v3_Porosity, optional v4_MassDensity); + IfcGeneralMaterialProperties (IfcMaterial* v1_Material, optional< IfcMolecularWeightMeasure > v2_MolecularWeight, optional< IfcNormalisedRatioMeasure > v3_Porosity, optional< IfcMassDensityMeasure > v4_MassDensity); typedef IfcGeneralMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeneralMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcGeneralMaterialProperties >::it it; }; class IfcGeneralProfileProperties : public IfcProfileProperties { public: @@ -13037,10 +13037,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcGeneralProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGeneralProfileProperties (optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea); + IfcGeneralProfileProperties (optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea); typedef IfcGeneralProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeneralProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcGeneralProfileProperties >::it it; }; /// Definition from ISO/CD 10303-42:1992: A geometric /// representation context is a representation context in which the @@ -13113,15 +13113,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 2: return Argument_INT; case 3: return Argument_DOUBLE; case 4: return Argument_ENTITY; case 5: return Argument_ENTITY; } return IfcRepresentationContext::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 2: return "CoordinateSpaceDimension"; case 3: return "Precision"; case 4: return "WorldCoordinateSystem"; case 5: return "TrueNorth"; } return IfcRepresentationContext::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasSubContexts(); // INVERSE IfcGeometricRepresentationSubContext::ParentContext + SHARED_PTR< IfcTemplatedEntityList< IfcGeometricRepresentationSubContext > > HasSubContexts(); // INVERSE IfcGeometricRepresentationSubContext::ParentContext bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcGeometricRepresentationContext (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGeometricRepresentationContext (optional v1_ContextIdentifier, optional v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth); + IfcGeometricRepresentationContext (optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional< double > v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth); typedef IfcGeometricRepresentationContext* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeometricRepresentationContext > > list; + typedef IfcTemplatedEntityList< IfcGeometricRepresentationContext >::it it; }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: /// @@ -13153,8 +13153,8 @@ public: static Type::Enum Class(); IfcGeometricRepresentationItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcGeometricRepresentationItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeometricRepresentationItem > > list; + typedef IfcTemplatedEntityList< IfcGeometricRepresentationItem >::it it; }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. /// @@ -13205,10 +13205,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcGeometricRepresentationSubContext (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGeometricRepresentationSubContext (optional v1_ContextIdentifier, optional v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth, IfcGeometricRepresentationContext* v7_ParentContext, optional v8_TargetScale, IfcGeometricProjectionEnum::IfcGeometricProjectionEnum v9_TargetView, optional v10_UserDefinedTargetView); + IfcGeometricRepresentationSubContext (optional< IfcLabel > v1_ContextIdentifier, optional< IfcLabel > v2_ContextType, IfcDimensionCount v3_CoordinateSpaceDimension, optional< double > v4_Precision, IfcAxis2Placement v5_WorldCoordinateSystem, IfcDirection* v6_TrueNorth, IfcGeometricRepresentationContext* v7_ParentContext, optional< IfcPositiveRatioMeasure > v8_TargetScale, IfcGeometricProjectionEnum::IfcGeometricProjectionEnum v9_TargetView, optional< IfcLabel > v10_UserDefinedTargetView); typedef IfcGeometricRepresentationSubContext* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeometricRepresentationSubContext > > list; + typedef IfcTemplatedEntityList< IfcGeometricRepresentationSubContext >::it it; }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. /// @@ -13220,8 +13220,8 @@ public: class IfcGeometricSet : public IfcGeometricRepresentationItem { public: /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. - SHARED_PTR< IfcTemplatedEntityList > Elements(); - void setElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Elements(); + void setElements(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Elements"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -13232,8 +13232,8 @@ public: IfcGeometricSet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcGeometricSet (IfcEntities v1_Elements); typedef IfcGeometricSet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeometricSet > > list; + typedef IfcTemplatedEntityList< IfcGeometricSet >::it it; }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which /// the placement and axis direction of the object coordinate system is defined by a reference to the design grid as defined in IfcGrid. @@ -13302,8 +13302,8 @@ public: IfcGridPlacement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcGridPlacement (IfcVirtualGridIntersection* v1_PlacementLocation, IfcVirtualGridIntersection* v2_PlacementRefDirection); typedef IfcGridPlacement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGridPlacement > > list; + typedef IfcTemplatedEntityList< IfcGridPlacement >::it it; }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. /// @@ -13338,8 +13338,8 @@ public: IfcHalfSpaceSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcHalfSpaceSolid (IfcSurface* v1_BaseSurface, bool v2_AgreementFlag); typedef IfcHalfSpaceSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcHalfSpaceSolid > > list; + typedef IfcTemplatedEntityList< IfcHalfSpaceSolid >::it it; }; class IfcHygroscopicMaterialProperties : public IfcMaterialProperties { public: @@ -13371,10 +13371,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcHygroscopicMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcHygroscopicMaterialProperties (IfcMaterial* v1_Material, optional v2_UpperVaporResistanceFactor, optional v3_LowerVaporResistanceFactor, optional v4_IsothermalMoistureCapacity, optional v5_VaporPermeability, optional v6_MoistureDiffusivity); + IfcHygroscopicMaterialProperties (IfcMaterial* v1_Material, optional< IfcPositiveRatioMeasure > v2_UpperVaporResistanceFactor, optional< IfcPositiveRatioMeasure > v3_LowerVaporResistanceFactor, optional< IfcIsothermalMoistureCapacityMeasure > v4_IsothermalMoistureCapacity, optional< IfcVaporPermeabilityMeasure > v5_VaporPermeability, optional< IfcMoistureDiffusivityMeasure > v6_MoistureDiffusivity); typedef IfcHygroscopicMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcHygroscopicMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcHygroscopicMaterialProperties >::it it; }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. /// @@ -13425,8 +13425,8 @@ public: IfcImageTexture (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcImageTexture (bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcIdentifier v5_UrlReference); typedef IfcImageTexture* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcImageTexture > > list; + typedef IfcTemplatedEntityList< IfcImageTexture >::it it; }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. /// @@ -13436,8 +13436,8 @@ public: class IfcIrregularTimeSeries : public IfcTimeSeries { public: /// The collection of time series values. - SHARED_PTR< IfcTemplatedEntityList > Values(); - void setValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > Values(); + void setValues(SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > v); virtual unsigned int getArgumentCount() const { return 9; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 8: return Argument_ENTITY_LIST; } return IfcTimeSeries::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 8: return "Values"; } return IfcTimeSeries::getArgumentName(i); } @@ -13446,10 +13446,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcIrregularTimeSeries (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcIrregularTimeSeries (IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit, SHARED_PTR< IfcTemplatedEntityList > v9_Values); + IfcIrregularTimeSeries (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit, SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeriesValue > > v9_Values); typedef IfcIrregularTimeSeries* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcIrregularTimeSeries > > list; + typedef IfcTemplatedEntityList< IfcIrregularTimeSeries >::it it; }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. /// @@ -13487,10 +13487,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSource (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity); + IfcLightSource (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity); typedef IfcLightSource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSource > > list; + typedef IfcTemplatedEntityList< IfcLightSource >::it it; }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. /// @@ -13509,10 +13509,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSourceAmbient (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSourceAmbient (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity); + IfcLightSourceAmbient (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity); typedef IfcLightSourceAmbient* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSourceAmbient > > list; + typedef IfcTemplatedEntityList< IfcLightSourceAmbient >::it it; }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. /// @@ -13537,10 +13537,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSourceDirectional (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSourceDirectional (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcDirection* v5_Orientation); + IfcLightSourceDirectional (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcDirection* v5_Orientation); typedef IfcLightSourceDirectional* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSourceDirectional > > list; + typedef IfcTemplatedEntityList< IfcLightSourceDirectional >::it it; }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. /// @@ -13579,10 +13579,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSourceGoniometric (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSourceGoniometric (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcAxis2Placement3D* v5_Position, IfcColourRgb* v6_ColourAppearance, IfcThermodynamicTemperatureMeasure v7_ColourTemperature, IfcLuminousFluxMeasure v8_LuminousFlux, IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum v9_LightEmissionSource, IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); + IfcLightSourceGoniometric (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcAxis2Placement3D* v5_Position, IfcColourRgb* v6_ColourAppearance, IfcThermodynamicTemperatureMeasure v7_ColourTemperature, IfcLuminousFluxMeasure v8_LuminousFlux, IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum v9_LightEmissionSource, IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); typedef IfcLightSourceGoniometric* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSourceGoniometric > > list; + typedef IfcTemplatedEntityList< IfcLightSourceGoniometric >::it it; }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. /// @@ -13626,10 +13626,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSourcePositional (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSourcePositional (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation); + IfcLightSourcePositional (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation); typedef IfcLightSourcePositional* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSourcePositional > > list; + typedef IfcTemplatedEntityList< IfcLightSourcePositional >::it it; }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. /// @@ -13673,10 +13673,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightSourceSpot (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightSourceSpot (optional v1_Name, IfcColourRgb* v2_LightColour, optional v3_AmbientIntensity, optional v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation, IfcDirection* v10_Orientation, optional v11_ConcentrationExponent, IfcPositivePlaneAngleMeasure v12_SpreadAngle, IfcPositivePlaneAngleMeasure v13_BeamWidthAngle); + IfcLightSourceSpot (optional< IfcLabel > v1_Name, IfcColourRgb* v2_LightColour, optional< IfcNormalisedRatioMeasure > v3_AmbientIntensity, optional< IfcNormalisedRatioMeasure > v4_Intensity, IfcCartesianPoint* v5_Position, IfcPositiveLengthMeasure v6_Radius, IfcReal v7_ConstantAttenuation, IfcReal v8_DistanceAttenuation, IfcReal v9_QuadricAttenuation, IfcDirection* v10_Orientation, optional< IfcReal > v11_ConcentrationExponent, IfcPositivePlaneAngleMeasure v12_SpreadAngle, IfcPositivePlaneAngleMeasure v13_BeamWidthAngle); typedef IfcLightSourceSpot* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightSourceSpot > > list; + typedef IfcTemplatedEntityList< IfcLightSourceSpot >::it it; }; /// IfcLocalPlacement defines the relative placement of a product in relation to the /// placement of another product or the absolute placement of a product within the geometric representation context of the project. @@ -13750,8 +13750,8 @@ public: IfcLocalPlacement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcLocalPlacement (IfcObjectPlacement* v1_PlacementRelTo, IfcAxis2Placement v2_RelativePlacement); typedef IfcLocalPlacement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLocalPlacement > > list; + typedef IfcTemplatedEntityList< IfcLocalPlacement >::it it; }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological /// entity constructed from a single vertex, or by stringing together connected @@ -13790,8 +13790,8 @@ public: static Type::Enum Class(); IfcLoop (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcLoop* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLoop > > list; + typedef IfcTemplatedEntityList< IfcLoop >::it it; }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. /// @@ -13830,8 +13830,8 @@ public: IfcMappedItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcMappedItem (IfcRepresentationMap* v1_MappingSource, IfcCartesianTransformationOperator* v2_MappingTarget); typedef IfcMappedItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMappedItem > > list; + typedef IfcTemplatedEntityList< IfcMappedItem >::it it; }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. /// @@ -13876,10 +13876,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMaterialDefinitionRepresentation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMaterialDefinitionRepresentation (optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations, IfcMaterial* v4_RepresentedMaterial); + IfcMaterialDefinitionRepresentation (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations, IfcMaterial* v4_RepresentedMaterial); typedef IfcMaterialDefinitionRepresentation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMaterialDefinitionRepresentation > > list; + typedef IfcTemplatedEntityList< IfcMaterialDefinitionRepresentation >::it it; }; class IfcMechanicalConcreteMaterialProperties : public IfcMechanicalMaterialProperties { public: @@ -13915,10 +13915,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMechanicalConcreteMaterialProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMechanicalConcreteMaterialProperties (IfcMaterial* v1_Material, optional v2_DynamicViscosity, optional v3_YoungModulus, optional v4_ShearModulus, optional v5_PoissonRatio, optional v6_ThermalExpansionCoefficient, optional v7_CompressiveStrength, optional v8_MaxAggregateSize, optional v9_AdmixturesDescription, optional v10_Workability, optional v11_ProtectivePoreRatio, optional v12_WaterImpermeability); + IfcMechanicalConcreteMaterialProperties (IfcMaterial* v1_Material, optional< IfcDynamicViscosityMeasure > v2_DynamicViscosity, optional< IfcModulusOfElasticityMeasure > v3_YoungModulus, optional< IfcModulusOfElasticityMeasure > v4_ShearModulus, optional< IfcPositiveRatioMeasure > v5_PoissonRatio, optional< IfcThermalExpansionCoefficientMeasure > v6_ThermalExpansionCoefficient, optional< IfcPressureMeasure > v7_CompressiveStrength, optional< IfcPositiveLengthMeasure > v8_MaxAggregateSize, optional< IfcText > v9_AdmixturesDescription, optional< IfcText > v10_Workability, optional< IfcNormalisedRatioMeasure > v11_ProtectivePoreRatio, optional< IfcText > v12_WaterImpermeability); typedef IfcMechanicalConcreteMaterialProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMechanicalConcreteMaterialProperties > > list; + typedef IfcTemplatedEntityList< IfcMechanicalConcreteMaterialProperties >::it it; }; /// An IfcObjectDefinition is the generalization of any /// semantically treated thing or process, either being a type or an @@ -13976,18 +13976,18 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcRoot::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcRoot::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasAssignments(); // INVERSE IfcRelAssigns::RelatedObjects - SHARED_PTR< IfcTemplatedEntityList > IsDecomposedBy(); // INVERSE IfcRelDecomposes::RelatingObject - SHARED_PTR< IfcTemplatedEntityList > Decomposes(); // INVERSE IfcRelDecomposes::RelatedObjects - SHARED_PTR< IfcTemplatedEntityList > HasAssociations(); // INVERSE IfcRelAssociates::RelatedObjects + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssigns > > HasAssignments(); // INVERSE IfcRelAssigns::RelatedObjects + SHARED_PTR< IfcTemplatedEntityList< IfcRelDecomposes > > IsDecomposedBy(); // INVERSE IfcRelDecomposes::RelatingObject + SHARED_PTR< IfcTemplatedEntityList< IfcRelDecomposes > > Decomposes(); // INVERSE IfcRelDecomposes::RelatedObjects + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociates > > HasAssociations(); // INVERSE IfcRelAssociates::RelatedObjects bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcObjectDefinition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcObjectDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcObjectDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcObjectDefinition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > list; + typedef IfcTemplatedEntityList< IfcObjectDefinition >::it it; }; /// Definition from ISO/CD 10303-46:1992: A one time repeat factor is a vector used in the fill area style hatching and fill area style tiles entities for determining the origin of the repeated hatch line relative to the origin of the previous hatch line, Given the initial position of any hatch line, the one direction repeat factor determines two new positions according to the equation: /// @@ -14011,8 +14011,8 @@ public: IfcOneDirectionRepeatFactor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcOneDirectionRepeatFactor (IfcVector* v1_RepeatFactor); typedef IfcOneDirectionRepeatFactor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOneDirectionRepeatFactor > > list; + typedef IfcTemplatedEntityList< IfcOneDirectionRepeatFactor >::it it; }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of /// the dimensionality 2. Its domain, if present, is a finite, connected, oriented, @@ -14083,10 +14083,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOpenShell (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOpenShell (SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces); + IfcOpenShell (SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces); typedef IfcOpenShell* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOpenShell > > list; + typedef IfcTemplatedEntityList< IfcOpenShell >::it it; }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. /// @@ -14113,8 +14113,8 @@ public: IfcOrientedEdge (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcOrientedEdge (IfcVertex* v1_EdgeStart, IfcVertex* v2_EdgeEnd, IfcEdge* v3_EdgeElement, bool v4_Orientation); typedef IfcOrientedEdge* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > list; + typedef IfcTemplatedEntityList< IfcOrientedEdge >::it it; }; /// The parameterized profile definition /// defines a 2D position coordinate system to which the parameters of the @@ -14171,10 +14171,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcParameterizedProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcParameterizedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position); + IfcParameterizedProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position); typedef IfcParameterizedProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcParameterizedProfileDef > > list; + typedef IfcTemplatedEntityList< IfcParameterizedProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). /// @@ -14193,8 +14193,8 @@ public: class IfcPath : public IfcTopologicalRepresentationItem { public: /// The list of oriented edges which are concatenated together to form this path. - SHARED_PTR< IfcTemplatedEntityList > EdgeList(); - void setEdgeList(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > EdgeList(); + void setEdgeList(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcTopologicalRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "EdgeList"; } return IfcTopologicalRepresentationItem::getArgumentName(i); } @@ -14203,10 +14203,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPath (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPath (SHARED_PTR< IfcTemplatedEntityList > v1_EdgeList); + IfcPath (SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v1_EdgeList); typedef IfcPath* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPath > > list; + typedef IfcTemplatedEntityList< IfcPath >::it it; }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. /// @@ -14220,8 +14220,8 @@ public: class IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. - SHARED_PTR< IfcTemplatedEntityList > HasQuantities(); - void setHasQuantities(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > HasQuantities(); + void setHasQuantities(SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v); /// Identification of the discrimination by which this physical complex property is distinguished. Examples of discriminations are 'layer', 'steel bar diameter', etc. IfcLabel Discrimination(); void setDiscrimination(IfcLabel v); @@ -14243,10 +14243,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPhysicalComplexQuantity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPhysicalComplexQuantity (IfcLabel v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_HasQuantities, IfcLabel v4_Discrimination, optional v5_Quality, optional v6_Usage); + IfcPhysicalComplexQuantity (IfcLabel v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v3_HasQuantities, IfcLabel v4_Discrimination, optional< IfcLabel > v5_Quality, optional< IfcLabel > v6_Usage); typedef IfcPhysicalComplexQuantity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalComplexQuantity > > list; + typedef IfcTemplatedEntityList< IfcPhysicalComplexQuantity >::it it; }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color /// (and opacity) directly, instead of referencing to an URL. @@ -14280,8 +14280,8 @@ public: /// Flat list of hexadecimal values, each describing one pixel by 1, 2, 3, or 4 components. /// /// IFC2x Edition 3 CHANGE  The data type has been changed from STRING to BINARY. - std::vector /*[1:?]*/ Pixel(); - void setPixel(std::vector /*[1:?]*/ v); + std::vector< char[32] > /*[1:?]*/ Pixel(); + void setPixel(std::vector< char[32] > /*[1:?]*/ v); virtual unsigned int getArgumentCount() const { return 8; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_INT; case 5: return Argument_INT; case 6: return Argument_INT; case 7: return Argument_UNKNOWN; } return IfcSurfaceTexture::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "Width"; case 5: return "Height"; case 6: return "ColourComponents"; case 7: return "Pixel"; } return IfcSurfaceTexture::getArgumentName(i); } @@ -14290,10 +14290,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPixelTexture (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPixelTexture (bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcInteger v5_Width, IfcInteger v6_Height, IfcInteger v7_ColourComponents, std::vector /*[1:?]*/ v8_Pixel); + IfcPixelTexture (bool v1_RepeatS, bool v2_RepeatT, IfcSurfaceTextureEnum::IfcSurfaceTextureEnum v3_TextureType, IfcCartesianTransformationOperator2D* v4_TextureTransform, IfcInteger v5_Width, IfcInteger v6_Height, IfcInteger v7_ColourComponents, std::vector< char[32] > /*[1:?]*/ v8_Pixel); typedef IfcPixelTexture* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPixelTexture > > list; + typedef IfcTemplatedEntityList< IfcPixelTexture >::it it; }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. /// @@ -14319,8 +14319,8 @@ public: IfcPlacement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPlacement (IfcCartesianPoint* v1_Location); typedef IfcPlacement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlacement > > list; + typedef IfcTemplatedEntityList< IfcPlacement >::it it; }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. /// @@ -14345,8 +14345,8 @@ public: IfcPlanarExtent (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPlanarExtent (IfcLengthMeasure v1_SizeInX, IfcLengthMeasure v2_SizeInY); typedef IfcPlanarExtent* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlanarExtent > > list; + typedef IfcTemplatedEntityList< IfcPlanarExtent >::it it; }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. /// @@ -14364,8 +14364,8 @@ public: static Type::Enum Class(); IfcPoint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcPoint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPoint > > list; + typedef IfcTemplatedEntityList< IfcPoint >::it it; }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. /// @@ -14394,8 +14394,8 @@ public: IfcPointOnCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPointOnCurve (IfcCurve* v1_BasisCurve, IfcParameterValue v2_PointParameter); typedef IfcPointOnCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPointOnCurve > > list; + typedef IfcTemplatedEntityList< IfcPointOnCurve >::it it; }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. /// @@ -14427,8 +14427,8 @@ public: IfcPointOnSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPointOnSurface (IfcSurface* v1_BasisSurface, IfcParameterValue v2_PointParameterU, IfcParameterValue v3_PointParameterV); typedef IfcPointOnSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPointOnSurface > > list; + typedef IfcTemplatedEntityList< IfcPointOnSurface >::it it; }; /// Definition from ISO/CD 10303-42:1992: A /// poly loop is a loop with straight edges bounding a planar region in @@ -14472,8 +14472,8 @@ public: class IfcPolyLoop : public IfcLoop { public: /// List of points defining the loop. There are no repeated points in the list. - SHARED_PTR< IfcTemplatedEntityList > Polygon(); - void setPolygon(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > Polygon(); + void setPolygon(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcLoop::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Polygon"; } return IfcLoop::getArgumentName(i); } @@ -14482,10 +14482,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPolyLoop (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPolyLoop (SHARED_PTR< IfcTemplatedEntityList > v1_Polygon); + IfcPolyLoop (SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v1_Polygon); typedef IfcPolyLoop* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPolyLoop > > list; + typedef IfcTemplatedEntityList< IfcPolyLoop >::it it; }; /// The polygonal bounded /// half space is a special subtype of a half space solid, where the @@ -14563,8 +14563,8 @@ public: IfcPolygonalBoundedHalfSpace (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPolygonalBoundedHalfSpace (IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, IfcAxis2Placement3D* v3_Position, IfcBoundedCurve* v4_PolygonalBoundary); typedef IfcPolygonalBoundedHalfSpace* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPolygonalBoundedHalfSpace > > list; + typedef IfcTemplatedEntityList< IfcPolygonalBoundedHalfSpace >::it it; }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). /// @@ -14583,8 +14583,8 @@ public: IfcPreDefinedColour (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedColour (IfcLabel v1_Name); typedef IfcPreDefinedColour* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedColour > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedColour >::it it; }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. /// @@ -14605,8 +14605,8 @@ public: IfcPreDefinedCurveFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedCurveFont (IfcLabel v1_Name); typedef IfcPreDefinedCurveFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedCurveFont > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedCurveFont >::it it; }; class IfcPreDefinedDimensionSymbol : public IfcPreDefinedSymbol { public: @@ -14620,8 +14620,8 @@ public: IfcPreDefinedDimensionSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedDimensionSymbol (IfcLabel v1_Name); typedef IfcPreDefinedDimensionSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedDimensionSymbol > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedDimensionSymbol >::it it; }; class IfcPreDefinedPointMarkerSymbol : public IfcPreDefinedSymbol { public: @@ -14635,8 +14635,8 @@ public: IfcPreDefinedPointMarkerSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPreDefinedPointMarkerSymbol (IfcLabel v1_Name); typedef IfcPreDefinedPointMarkerSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPreDefinedPointMarkerSymbol > > list; + typedef IfcTemplatedEntityList< IfcPreDefinedPointMarkerSymbol >::it it; }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: /// @@ -14656,16 +14656,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcProductRepresentation::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcProductRepresentation::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ShapeOfProduct(); // INVERSE IfcProduct::Representation - SHARED_PTR< IfcTemplatedEntityList > HasShapeAspects(); // INVERSE IfcShapeAspect::PartOfProductDefinitionShape + SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > ShapeOfProduct(); // INVERSE IfcProduct::Representation + SHARED_PTR< IfcTemplatedEntityList< IfcShapeAspect > > HasShapeAspects(); // INVERSE IfcShapeAspect::PartOfProductDefinitionShape bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcProductDefinitionShape (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProductDefinitionShape (optional v1_Name, optional v2_Description, SHARED_PTR< IfcTemplatedEntityList > v3_Representations); + IfcProductDefinitionShape (optional< IfcLabel > v1_Name, optional< IfcText > v2_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentation > > v3_Representations); typedef IfcProductDefinitionShape* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProductDefinitionShape > > list; + typedef IfcTemplatedEntityList< IfcProductDefinitionShape >::it it; }; /// A property with a bounded /// value, IfcPropertyBoundedValue, defines a property @@ -14796,10 +14796,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyBoundedValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyBoundedValue (IfcIdentifier v1_Name, optional v2_Description, optional v3_UpperBoundValue, optional v4_LowerBoundValue, optional v5_Unit); + IfcPropertyBoundedValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcValue > v3_UpperBoundValue, optional< IfcValue > v4_LowerBoundValue, optional< IfcUnit > v5_Unit); typedef IfcPropertyBoundedValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyBoundedValue > > list; + typedef IfcTemplatedEntityList< IfcPropertyBoundedValue >::it it; }; /// IfcPropertyDefinition defines the generalization of /// all characteristics (i.e. a grouping of individual properties), @@ -14857,15 +14857,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcRoot::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcRoot::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasAssociations(); // INVERSE IfcRelAssociates::RelatedObjects + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociates > > HasAssociations(); // INVERSE IfcRelAssociates::RelatedObjects bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcPropertyDefinition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcPropertyDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcPropertyDefinition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyDefinition > > list; + typedef IfcTemplatedEntityList< IfcPropertyDefinition >::it it; }; /// A property with an enumerated /// value, IfcPropertyEnumeratedValue, defines a property @@ -14949,8 +14949,8 @@ public: /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// /// IFC2x4 CHANGE  The attribute has been made optional with upward compatibility for file based exchange. - SHARED_PTR< IfcTemplatedEntityList > EnumerationValues(); - void setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > EnumerationValues(); + void setEnumerationValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute EnumerationReference is defined for this IfcPropertyEnumeratedValue bool hasEnumerationReference(); /// Enumeration from which a enumeration value has been selected. The referenced enumeration also establishes the unit of the enumeration value. @@ -14964,10 +14964,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyEnumeratedValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyEnumeratedValue (IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_EnumerationValues, IfcPropertyEnumeration* v4_EnumerationReference); + IfcPropertyEnumeratedValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_EnumerationValues, IfcPropertyEnumeration* v4_EnumerationReference); typedef IfcPropertyEnumeratedValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyEnumeratedValue > > list; + typedef IfcTemplatedEntityList< IfcPropertyEnumeratedValue >::it it; }; /// An IfcPropertyListValue /// defines a property that has several (numeric or @@ -15039,8 +15039,8 @@ public: /// List of property values. /// /// IFC2x4 CHANGE  The attribute has been made optional with upward compatibility for file based exchange. - SHARED_PTR< IfcTemplatedEntityList > ListValues(); - void setListValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > ListValues(); + void setListValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute Unit is defined for this IfcPropertyListValue bool hasUnit(); /// Unit for the list values, if not given, the default value for the measure type (given by the TYPE of nominal value) is used as defined by the global unit assignment at IfcProject. @@ -15054,10 +15054,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyListValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyListValue (IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_ListValues, optional v4_Unit); + IfcPropertyListValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_ListValues, optional< IfcUnit > v4_Unit); typedef IfcPropertyListValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyListValue > > list; + typedef IfcTemplatedEntityList< IfcPropertyListValue >::it it; }; /// IfcPropertyReferenceValue allows a property value to /// be given by referencing other entities within the resource @@ -15094,10 +15094,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyReferenceValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyReferenceValue (IfcIdentifier v1_Name, optional v2_Description, optional v3_UsageName, IfcObjectReferenceSelect v4_PropertyReference); + IfcPropertyReferenceValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcLabel > v3_UsageName, IfcObjectReferenceSelect v4_PropertyReference); typedef IfcPropertyReferenceValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyReferenceValue > > list; + typedef IfcTemplatedEntityList< IfcPropertyReferenceValue >::it it; }; /// IfcPropertySetDefinition is a generalization of all /// individual property sets that can be assigned to an object or type @@ -15147,16 +15147,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcPropertyDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcPropertyDefinition::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > PropertyDefinitionOf(); // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - SHARED_PTR< IfcTemplatedEntityList > DefinesType(); // INVERSE IfcTypeObject::HasPropertySets + SHARED_PTR< IfcTemplatedEntityList< IfcRelDefinesByProperties > > PropertyDefinitionOf(); // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition + SHARED_PTR< IfcTemplatedEntityList< IfcTypeObject > > DefinesType(); // INVERSE IfcTypeObject::HasPropertySets bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcPropertySetDefinition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertySetDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcPropertySetDefinition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcPropertySetDefinition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > list; + typedef IfcTemplatedEntityList< IfcPropertySetDefinition >::it it; }; /// The property with a single value /// IfcPropertySingleValue defines a property object which has @@ -15226,10 +15226,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertySingleValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertySingleValue (IfcIdentifier v1_Name, optional v2_Description, optional v3_NominalValue, optional v4_Unit); + IfcPropertySingleValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, optional< IfcValue > v3_NominalValue, optional< IfcUnit > v4_Unit); typedef IfcPropertySingleValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertySingleValue > > list; + typedef IfcTemplatedEntityList< IfcPropertySingleValue >::it it; }; /// A property with a range value /// (IfcPropertyTableValue) defines a property object @@ -15382,13 +15382,13 @@ public: /// List of defining values, which determine the defined values. This list shall have unique values only. /// /// IFC2x4 CHANGE  The attribute has been made optional with upward compatibility for file based exchange. - SHARED_PTR< IfcTemplatedEntityList > DefiningValues(); - void setDefiningValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > DefiningValues(); + void setDefiningValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Defined values which are applicable for the scope as defined by the defining values. /// /// IFC2x4 CHANGE  The attribute has been made optional with upward compatibility for file based exchange. - SHARED_PTR< IfcTemplatedEntityList > DefinedValues(); - void setDefinedValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > DefinedValues(); + void setDefinedValues(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute Expression is defined for this IfcPropertyTableValue bool hasExpression(); /// Expression for the derivation of defined values from the defining values, the expression is given for information only, i.e. no automatic processing can be expected from the expression. @@ -15412,10 +15412,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertyTableValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertyTableValue (IfcIdentifier v1_Name, optional v2_Description, IfcEntities v3_DefiningValues, IfcEntities v4_DefinedValues, optional v5_Expression, optional v6_DefiningUnit, optional v7_DefinedUnit); + IfcPropertyTableValue (IfcIdentifier v1_Name, optional< IfcText > v2_Description, IfcEntities v3_DefiningValues, IfcEntities v4_DefinedValues, optional< IfcText > v5_Expression, optional< IfcUnit > v6_DefiningUnit, optional< IfcUnit > v7_DefinedUnit); typedef IfcPropertyTableValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertyTableValue > > list; + typedef IfcTemplatedEntityList< IfcPropertyTableValue >::it it; }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. /// @@ -15467,10 +15467,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRectangleProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRectangleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim); + IfcRectangleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim); typedef IfcRectangleProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRectangleProfileDef > > list; + typedef IfcTemplatedEntityList< IfcRectangleProfileDef >::it it; }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. /// @@ -15483,8 +15483,8 @@ public: IfcTimeMeasure TimeStep(); void setTimeStep(IfcTimeMeasure v); /// The collection of time series values. - SHARED_PTR< IfcTemplatedEntityList > Values(); - void setValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > Values(); + void setValues(SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > v); virtual unsigned int getArgumentCount() const { return 10; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 8: return Argument_DOUBLE; case 9: return Argument_ENTITY_LIST; } return IfcTimeSeries::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 8: return "TimeStep"; case 9: return "Values"; } return IfcTimeSeries::getArgumentName(i); } @@ -15493,10 +15493,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRegularTimeSeries (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRegularTimeSeries (IfcLabel v1_Name, optional v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional v7_UserDefinedDataOrigin, optional v8_Unit, IfcTimeMeasure v9_TimeStep, SHARED_PTR< IfcTemplatedEntityList > v10_Values); + IfcRegularTimeSeries (IfcLabel v1_Name, optional< IfcText > v2_Description, IfcDateTimeSelect v3_StartTime, IfcDateTimeSelect v4_EndTime, IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum v5_TimeSeriesDataType, IfcDataOriginEnum::IfcDataOriginEnum v6_DataOrigin, optional< IfcLabel > v7_UserDefinedDataOrigin, optional< IfcUnit > v8_Unit, IfcTimeMeasure v9_TimeStep, SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesValue > > v10_Values); typedef IfcRegularTimeSeries* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRegularTimeSeries > > list; + typedef IfcTemplatedEntityList< IfcRegularTimeSeries >::it it; }; /// Definition from IAI: An /// IfcReinforcementDefinitionProperties defines the cross section @@ -15532,8 +15532,8 @@ public: IfcLabel DefinitionType(); void setDefinitionType(IfcLabel v); /// The list of section reinforcement properties attached to the reinforcement definition properties. - SHARED_PTR< IfcTemplatedEntityList > ReinforcementSectionDefinitions(); - void setReinforcementSectionDefinitions(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > ReinforcementSectionDefinitions(); + void setReinforcementSectionDefinitions(SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_STRING; case 5: return Argument_ENTITY_LIST; } return IfcPropertySetDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "DefinitionType"; case 5: return "ReinforcementSectionDefinitions"; } return IfcPropertySetDefinition::getArgumentName(i); } @@ -15542,10 +15542,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReinforcementDefinitionProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReinforcementDefinitionProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_DefinitionType, SHARED_PTR< IfcTemplatedEntityList > v6_ReinforcementSectionDefinitions); + IfcReinforcementDefinitionProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_DefinitionType, SHARED_PTR< IfcTemplatedEntityList< IfcSectionReinforcementProperties > > v6_ReinforcementSectionDefinitions); typedef IfcReinforcementDefinitionProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReinforcementDefinitionProperties > > list; + typedef IfcTemplatedEntityList< IfcReinforcementDefinitionProperties >::it it; }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. /// @@ -15565,10 +15565,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelationship (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelationship (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcRelationship (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcRelationship* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelationship > > list; + typedef IfcTemplatedEntityList< IfcRelationship >::it it; }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. /// @@ -15620,10 +15620,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRoundedRectangleProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRoundedRectangleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_RoundingRadius); + IfcRoundedRectangleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_RoundingRadius); typedef IfcRoundedRectangleProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRoundedRectangleProfileDef > > list; + typedef IfcTemplatedEntityList< IfcRoundedRectangleProfileDef >::it it; }; /// Definition from ISO 10303-42:1999: A sectioned /// spine is a representation of the shape of a three dimensional @@ -15684,11 +15684,11 @@ public: IfcCompositeCurve* SpineCurve(); void setSpineCurve(IfcCompositeCurve* v); /// A list of at least two cross sections, each defined within the xy plane of the position coordinate system of the cross section. The position coordinate system is given by the corresponding list CrossSectionPositions. - SHARED_PTR< IfcTemplatedEntityList > CrossSections(); - void setCrossSections(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > CrossSections(); + void setCrossSections(SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v); /// Position coordinate systems for the cross sections that form the sectioned spine. The profiles defining the cross sections are positioned within the xy plane of the corresponding position coordinate system. - SHARED_PTR< IfcTemplatedEntityList > CrossSectionPositions(); - void setCrossSectionPositions(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > CrossSectionPositions(); + void setCrossSectionPositions(SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; case 2: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "SpineCurve"; case 1: return "CrossSections"; case 2: return "CrossSectionPositions"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -15697,10 +15697,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSectionedSpine (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSectionedSpine (IfcCompositeCurve* v1_SpineCurve, SHARED_PTR< IfcTemplatedEntityList > v2_CrossSections, SHARED_PTR< IfcTemplatedEntityList > v3_CrossSectionPositions); + IfcSectionedSpine (IfcCompositeCurve* v1_SpineCurve, SHARED_PTR< IfcTemplatedEntityList< IfcProfileDef > > v2_CrossSections, SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > v3_CrossSectionPositions); typedef IfcSectionedSpine* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSectionedSpine > > list; + typedef IfcTemplatedEntityList< IfcSectionedSpine >::it it; }; class IfcServiceLifeFactor : public IfcPropertySetDefinition { public: @@ -15724,10 +15724,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcServiceLifeFactor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcServiceLifeFactor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum v5_PredefinedType, optional v6_UpperValue, IfcMeasureValue v7_MostUsedValue, optional v8_LowerValue); + IfcServiceLifeFactor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum v5_PredefinedType, optional< IfcMeasureValue > v6_UpperValue, IfcMeasureValue v7_MostUsedValue, optional< IfcMeasureValue > v8_LowerValue); typedef IfcServiceLifeFactor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcServiceLifeFactor > > list; + typedef IfcTemplatedEntityList< IfcServiceLifeFactor >::it it; }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. /// @@ -15743,8 +15743,8 @@ public: /// The shells shall not overlap or intersect except at common faces, edges or vertices. class IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: - SHARED_PTR< IfcTemplatedEntityList > SbsmBoundary(); - void setSbsmBoundary(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > SbsmBoundary(); + void setSbsmBoundary(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "SbsmBoundary"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -15755,8 +15755,8 @@ public: IfcShellBasedSurfaceModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcShellBasedSurfaceModel (IfcEntities v1_SbsmBoundary); typedef IfcShellBasedSurfaceModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcShellBasedSurfaceModel > > list; + typedef IfcTemplatedEntityList< IfcShellBasedSurfaceModel >::it it; }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. /// @@ -15792,10 +15792,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSlippageConnectionCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSlippageConnectionCondition (optional v1_Name, optional v2_SlippageX, optional v3_SlippageY, optional v4_SlippageZ); + IfcSlippageConnectionCondition (optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_SlippageX, optional< IfcLengthMeasure > v3_SlippageY, optional< IfcLengthMeasure > v4_SlippageZ); typedef IfcSlippageConnectionCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSlippageConnectionCondition > > list; + typedef IfcTemplatedEntityList< IfcSlippageConnectionCondition >::it it; }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. /// @@ -15813,8 +15813,8 @@ public: static Type::Enum Class(); IfcSolidModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcSolidModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSolidModel > > list; + typedef IfcTemplatedEntityList< IfcSolidModel >::it it; }; class IfcSoundProperties : public IfcPropertySetDefinition { public: @@ -15824,8 +15824,8 @@ public: bool hasSoundScale(); IfcSoundScaleEnum::IfcSoundScaleEnum SoundScale(); void setSoundScale(IfcSoundScaleEnum::IfcSoundScaleEnum v); - SHARED_PTR< IfcTemplatedEntityList > SoundValues(); - void setSoundValues(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > SoundValues(); + void setSoundValues(SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > v); virtual unsigned int getArgumentCount() const { return 7; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_BOOL; case 5: return Argument_ENUMERATION; case 6: return Argument_ENTITY_LIST; } return IfcPropertySetDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "IsAttenuating"; case 5: return "SoundScale"; case 6: return "SoundValues"; } return IfcPropertySetDefinition::getArgumentName(i); } @@ -15834,10 +15834,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSoundProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSoundProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcBoolean v5_IsAttenuating, optional v6_SoundScale, SHARED_PTR< IfcTemplatedEntityList > v7_SoundValues); + IfcSoundProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcBoolean v5_IsAttenuating, optional< IfcSoundScaleEnum::IfcSoundScaleEnum > v6_SoundScale, SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > v7_SoundValues); typedef IfcSoundProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSoundProperties > > list; + typedef IfcTemplatedEntityList< IfcSoundProperties >::it it; }; class IfcSoundValue : public IfcPropertySetDefinition { public: @@ -15859,10 +15859,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSoundValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSoundValue (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcTimeSeries* v5_SoundLevelTimeSeries, IfcFrequencyMeasure v6_Frequency, optional v7_SoundLevelSingleValue); + IfcSoundValue (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcTimeSeries* v5_SoundLevelTimeSeries, IfcFrequencyMeasure v6_Frequency, optional< IfcDerivedMeasureValue > v7_SoundLevelSingleValue); typedef IfcSoundValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSoundValue > > list; + typedef IfcTemplatedEntityList< IfcSoundValue >::it it; }; class IfcSpaceThermalLoadProperties : public IfcPropertySetDefinition { public: @@ -15906,10 +15906,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSpaceThermalLoadProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpaceThermalLoadProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableValueRatio, IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum v6_ThermalLoadSource, IfcPropertySourceEnum::IfcPropertySourceEnum v7_PropertySource, optional v8_SourceDescription, IfcPowerMeasure v9_MaximumValue, optional v10_MinimumValue, IfcTimeSeries* v11_ThermalLoadTimeSeriesValues, optional v12_UserDefinedThermalLoadSource, optional v13_UserDefinedPropertySource, IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum v14_ThermalLoadType); + IfcSpaceThermalLoadProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveRatioMeasure > v5_ApplicableValueRatio, IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum v6_ThermalLoadSource, IfcPropertySourceEnum::IfcPropertySourceEnum v7_PropertySource, optional< IfcText > v8_SourceDescription, IfcPowerMeasure v9_MaximumValue, optional< IfcPowerMeasure > v10_MinimumValue, IfcTimeSeries* v11_ThermalLoadTimeSeriesValues, optional< IfcLabel > v12_UserDefinedThermalLoadSource, optional< IfcLabel > v13_UserDefinedPropertySource, IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum v14_ThermalLoadType); typedef IfcSpaceThermalLoadProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpaceThermalLoadProperties > > list; + typedef IfcTemplatedEntityList< IfcSpaceThermalLoadProperties >::it it; }; /// Definition from IAI: An instance of the entity /// IfcStructuralLoadLinearForce shall be used to define actions on curves. @@ -15956,10 +15956,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadLinearForce (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadLinearForce (optional v1_Name, optional v2_LinearForceX, optional v3_LinearForceY, optional v4_LinearForceZ, optional v5_LinearMomentX, optional v6_LinearMomentY, optional v7_LinearMomentZ); + IfcStructuralLoadLinearForce (optional< IfcLabel > v1_Name, optional< IfcLinearForceMeasure > v2_LinearForceX, optional< IfcLinearForceMeasure > v3_LinearForceY, optional< IfcLinearForceMeasure > v4_LinearForceZ, optional< IfcLinearMomentMeasure > v5_LinearMomentX, optional< IfcLinearMomentMeasure > v6_LinearMomentY, optional< IfcLinearMomentMeasure > v7_LinearMomentZ); typedef IfcStructuralLoadLinearForce* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadLinearForce > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadLinearForce >::it it; }; /// Definition from IAI: An instance of the entity /// IfcStructuralLoadPlanarForce shall be used to define actions on faces. @@ -15991,10 +15991,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadPlanarForce (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadPlanarForce (optional v1_Name, optional v2_PlanarForceX, optional v3_PlanarForceY, optional v4_PlanarForceZ); + IfcStructuralLoadPlanarForce (optional< IfcLabel > v1_Name, optional< IfcPlanarForceMeasure > v2_PlanarForceX, optional< IfcPlanarForceMeasure > v3_PlanarForceY, optional< IfcPlanarForceMeasure > v4_PlanarForceZ); typedef IfcStructuralLoadPlanarForce* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadPlanarForce > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadPlanarForce >::it it; }; /// Definition from IAI: Instances of the entity /// IfcStructuralLoadSingleDisplacement shall be used to define displacements. @@ -16041,10 +16041,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadSingleDisplacement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadSingleDisplacement (optional v1_Name, optional v2_DisplacementX, optional v3_DisplacementY, optional v4_DisplacementZ, optional v5_RotationalDisplacementRX, optional v6_RotationalDisplacementRY, optional v7_RotationalDisplacementRZ); + IfcStructuralLoadSingleDisplacement (optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_DisplacementX, optional< IfcLengthMeasure > v3_DisplacementY, optional< IfcLengthMeasure > v4_DisplacementZ, optional< IfcPlaneAngleMeasure > v5_RotationalDisplacementRX, optional< IfcPlaneAngleMeasure > v6_RotationalDisplacementRY, optional< IfcPlaneAngleMeasure > v7_RotationalDisplacementRZ); typedef IfcStructuralLoadSingleDisplacement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadSingleDisplacement > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadSingleDisplacement >::it it; }; /// Definition from IAI: Defines a displacement with warping. /// @@ -16064,10 +16064,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadSingleDisplacementDistortion (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadSingleDisplacementDistortion (optional v1_Name, optional v2_DisplacementX, optional v3_DisplacementY, optional v4_DisplacementZ, optional v5_RotationalDisplacementRX, optional v6_RotationalDisplacementRY, optional v7_RotationalDisplacementRZ, optional v8_Distortion); + IfcStructuralLoadSingleDisplacementDistortion (optional< IfcLabel > v1_Name, optional< IfcLengthMeasure > v2_DisplacementX, optional< IfcLengthMeasure > v3_DisplacementY, optional< IfcLengthMeasure > v4_DisplacementZ, optional< IfcPlaneAngleMeasure > v5_RotationalDisplacementRX, optional< IfcPlaneAngleMeasure > v6_RotationalDisplacementRY, optional< IfcPlaneAngleMeasure > v7_RotationalDisplacementRZ, optional< IfcCurvatureMeasure > v8_Distortion); typedef IfcStructuralLoadSingleDisplacementDistortion* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadSingleDisplacementDistortion > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadSingleDisplacementDistortion >::it it; }; /// Definition from IAI: Instances of the entity /// IfcStructuralLoadSingleForce shall be used to define the forces and @@ -16115,10 +16115,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadSingleForce (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadSingleForce (optional v1_Name, optional v2_ForceX, optional v3_ForceY, optional v4_ForceZ, optional v5_MomentX, optional v6_MomentY, optional v7_MomentZ); + IfcStructuralLoadSingleForce (optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_ForceX, optional< IfcForceMeasure > v3_ForceY, optional< IfcForceMeasure > v4_ForceZ, optional< IfcTorqueMeasure > v5_MomentX, optional< IfcTorqueMeasure > v6_MomentY, optional< IfcTorqueMeasure > v7_MomentZ); typedef IfcStructuralLoadSingleForce* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadSingleForce > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadSingleForce >::it it; }; /// Definition from IAI: Instances of the entity /// IfcStructuralLoadSingleForceWarping, as a subtype of @@ -16143,10 +16143,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadSingleForceWarping (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadSingleForceWarping (optional v1_Name, optional v2_ForceX, optional v3_ForceY, optional v4_ForceZ, optional v5_MomentX, optional v6_MomentY, optional v7_MomentZ, optional v8_WarpingMoment); + IfcStructuralLoadSingleForceWarping (optional< IfcLabel > v1_Name, optional< IfcForceMeasure > v2_ForceX, optional< IfcForceMeasure > v3_ForceY, optional< IfcForceMeasure > v4_ForceZ, optional< IfcTorqueMeasure > v5_MomentX, optional< IfcTorqueMeasure > v6_MomentY, optional< IfcTorqueMeasure > v7_MomentZ, optional< IfcWarpingMomentMeasure > v8_WarpingMoment); typedef IfcStructuralLoadSingleForceWarping* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadSingleForceWarping > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadSingleForceWarping >::it it; }; class IfcStructuralProfileProperties : public IfcGeneralProfileProperties { public: @@ -16222,10 +16222,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralProfileProperties (optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea, optional v8_TorsionalConstantX, optional v9_MomentOfInertiaYZ, optional v10_MomentOfInertiaY, optional v11_MomentOfInertiaZ, optional v12_WarpingConstant, optional v13_ShearCentreZ, optional v14_ShearCentreY, optional v15_ShearDeformationAreaZ, optional v16_ShearDeformationAreaY, optional v17_MaximumSectionModulusY, optional v18_MinimumSectionModulusY, optional v19_MaximumSectionModulusZ, optional v20_MinimumSectionModulusZ, optional v21_TorsionalSectionModulus, optional v22_CentreOfGravityInX, optional v23_CentreOfGravityInY); + IfcStructuralProfileProperties (optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea, optional< IfcMomentOfInertiaMeasure > v8_TorsionalConstantX, optional< IfcMomentOfInertiaMeasure > v9_MomentOfInertiaYZ, optional< IfcMomentOfInertiaMeasure > v10_MomentOfInertiaY, optional< IfcMomentOfInertiaMeasure > v11_MomentOfInertiaZ, optional< IfcWarpingConstantMeasure > v12_WarpingConstant, optional< IfcLengthMeasure > v13_ShearCentreZ, optional< IfcLengthMeasure > v14_ShearCentreY, optional< IfcAreaMeasure > v15_ShearDeformationAreaZ, optional< IfcAreaMeasure > v16_ShearDeformationAreaY, optional< IfcSectionModulusMeasure > v17_MaximumSectionModulusY, optional< IfcSectionModulusMeasure > v18_MinimumSectionModulusY, optional< IfcSectionModulusMeasure > v19_MaximumSectionModulusZ, optional< IfcSectionModulusMeasure > v20_MinimumSectionModulusZ, optional< IfcSectionModulusMeasure > v21_TorsionalSectionModulus, optional< IfcLengthMeasure > v22_CentreOfGravityInX, optional< IfcLengthMeasure > v23_CentreOfGravityInY); typedef IfcStructuralProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcStructuralProfileProperties >::it it; }; class IfcStructuralSteelProfileProperties : public IfcStructuralProfileProperties { public: @@ -16253,10 +16253,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralSteelProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralSteelProfileProperties (optional v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional v3_PhysicalWeight, optional v4_Perimeter, optional v5_MinimumPlateThickness, optional v6_MaximumPlateThickness, optional v7_CrossSectionArea, optional v8_TorsionalConstantX, optional v9_MomentOfInertiaYZ, optional v10_MomentOfInertiaY, optional v11_MomentOfInertiaZ, optional v12_WarpingConstant, optional v13_ShearCentreZ, optional v14_ShearCentreY, optional v15_ShearDeformationAreaZ, optional v16_ShearDeformationAreaY, optional v17_MaximumSectionModulusY, optional v18_MinimumSectionModulusY, optional v19_MaximumSectionModulusZ, optional v20_MinimumSectionModulusZ, optional v21_TorsionalSectionModulus, optional v22_CentreOfGravityInX, optional v23_CentreOfGravityInY, optional v24_ShearAreaZ, optional v25_ShearAreaY, optional v26_PlasticShapeFactorY, optional v27_PlasticShapeFactorZ); + IfcStructuralSteelProfileProperties (optional< IfcLabel > v1_ProfileName, IfcProfileDef* v2_ProfileDefinition, optional< IfcMassPerLengthMeasure > v3_PhysicalWeight, optional< IfcPositiveLengthMeasure > v4_Perimeter, optional< IfcPositiveLengthMeasure > v5_MinimumPlateThickness, optional< IfcPositiveLengthMeasure > v6_MaximumPlateThickness, optional< IfcAreaMeasure > v7_CrossSectionArea, optional< IfcMomentOfInertiaMeasure > v8_TorsionalConstantX, optional< IfcMomentOfInertiaMeasure > v9_MomentOfInertiaYZ, optional< IfcMomentOfInertiaMeasure > v10_MomentOfInertiaY, optional< IfcMomentOfInertiaMeasure > v11_MomentOfInertiaZ, optional< IfcWarpingConstantMeasure > v12_WarpingConstant, optional< IfcLengthMeasure > v13_ShearCentreZ, optional< IfcLengthMeasure > v14_ShearCentreY, optional< IfcAreaMeasure > v15_ShearDeformationAreaZ, optional< IfcAreaMeasure > v16_ShearDeformationAreaY, optional< IfcSectionModulusMeasure > v17_MaximumSectionModulusY, optional< IfcSectionModulusMeasure > v18_MinimumSectionModulusY, optional< IfcSectionModulusMeasure > v19_MaximumSectionModulusZ, optional< IfcSectionModulusMeasure > v20_MinimumSectionModulusZ, optional< IfcSectionModulusMeasure > v21_TorsionalSectionModulus, optional< IfcLengthMeasure > v22_CentreOfGravityInX, optional< IfcLengthMeasure > v23_CentreOfGravityInY, optional< IfcAreaMeasure > v24_ShearAreaZ, optional< IfcAreaMeasure > v25_ShearAreaY, optional< IfcPositiveRatioMeasure > v26_PlasticShapeFactorY, optional< IfcPositiveRatioMeasure > v27_PlasticShapeFactorZ); typedef IfcStructuralSteelProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralSteelProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcStructuralSteelProfileProperties >::it it; }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. /// @@ -16283,8 +16283,8 @@ public: IfcSubedge (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSubedge (IfcVertex* v1_EdgeStart, IfcVertex* v2_EdgeEnd, IfcEdge* v3_ParentEdge); typedef IfcSubedge* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSubedge > > list; + typedef IfcTemplatedEntityList< IfcSubedge >::it it; }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. /// @@ -16307,8 +16307,8 @@ public: static Type::Enum Class(); IfcSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurface > > list; + typedef IfcTemplatedEntityList< IfcSurface >::it it; }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. /// @@ -16414,10 +16414,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSurfaceStyleRendering (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSurfaceStyleRendering (IfcColourRgb* v1_SurfaceColour, optional v2_Transparency, optional v3_DiffuseColour, optional v4_TransmissionColour, optional v5_DiffuseTransmissionColour, optional v6_ReflectionColour, optional v7_SpecularColour, optional v8_SpecularHighlight, IfcReflectanceMethodEnum::IfcReflectanceMethodEnum v9_ReflectanceMethod); + IfcSurfaceStyleRendering (IfcColourRgb* v1_SurfaceColour, optional< IfcNormalisedRatioMeasure > v2_Transparency, optional< IfcColourOrFactor > v3_DiffuseColour, optional< IfcColourOrFactor > v4_TransmissionColour, optional< IfcColourOrFactor > v5_DiffuseTransmissionColour, optional< IfcColourOrFactor > v6_ReflectionColour, optional< IfcColourOrFactor > v7_SpecularColour, optional< IfcSpecularHighlightSelect > v8_SpecularHighlight, IfcReflectanceMethodEnum::IfcReflectanceMethodEnum v9_ReflectanceMethod); typedef IfcSurfaceStyleRendering* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceStyleRendering > > list; + typedef IfcTemplatedEntityList< IfcSurfaceStyleRendering >::it it; }; /// Definition from ISO/CD 10303-42:1992: The swept area /// solid entity collects the entities which are defined @@ -16455,8 +16455,8 @@ public: IfcSweptAreaSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSweptAreaSolid (IfcProfileDef* v1_SweptArea, IfcAxis2Placement3D* v2_Position); typedef IfcSweptAreaSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSweptAreaSolid > > list; + typedef IfcTemplatedEntityList< IfcSweptAreaSolid >::it it; }; /// Definition from ISO 10303-42:2002: A swept /// disk solid is the solid produced by sweeping a circular disk @@ -16542,10 +16542,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSweptDiskSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSweptDiskSolid (IfcCurve* v1_Directrix, IfcPositiveLengthMeasure v2_Radius, optional v3_InnerRadius, IfcParameterValue v4_StartParam, IfcParameterValue v5_EndParam); + IfcSweptDiskSolid (IfcCurve* v1_Directrix, IfcPositiveLengthMeasure v2_Radius, optional< IfcPositiveLengthMeasure > v3_InnerRadius, IfcParameterValue v4_StartParam, IfcParameterValue v5_EndParam); typedef IfcSweptDiskSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSweptDiskSolid > > list; + typedef IfcTemplatedEntityList< IfcSweptDiskSolid >::it it; }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. /// @@ -16570,8 +16570,8 @@ public: IfcSweptSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSweptSurface (IfcProfileDef* v1_SweptCurve, IfcAxis2Placement3D* v2_Position); typedef IfcSweptSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSweptSurface > > list; + typedef IfcTemplatedEntityList< IfcSweptSurface >::it it; }; /// IfcTShapeProfileDef defines /// a section profile that provides the defining parameters of a T-shaped @@ -16652,10 +16652,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_FlangeEdgeRadius, optional v10_WebEdgeRadius, optional v11_WebSlope, optional v12_FlangeSlope, optional v13_CentreOfGravityInY); + IfcTShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_FlangeEdgeRadius, optional< IfcPositiveLengthMeasure > v10_WebEdgeRadius, optional< IfcPlaneAngleMeasure > v11_WebSlope, optional< IfcPlaneAngleMeasure > v12_FlangeSlope, optional< IfcPositiveLengthMeasure > v13_CentreOfGravityInY); typedef IfcTShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcTShapeProfileDef >::it it; }; class IfcTerminatorSymbol : public IfcAnnotationSymbolOccurrence { public: @@ -16669,10 +16669,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTerminatorSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTerminatorSymbol (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve); + IfcTerminatorSymbol (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve); typedef IfcTerminatorSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTerminatorSymbol > > list; + typedef IfcTemplatedEntityList< IfcTerminatorSymbol >::it it; }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. /// @@ -16706,8 +16706,8 @@ public: IfcTextLiteral (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTextLiteral (IfcPresentableText v1_Literal, IfcAxis2Placement v2_Placement, IfcTextPath::IfcTextPath v3_Path); typedef IfcTextLiteral* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextLiteral > > list; + typedef IfcTemplatedEntityList< IfcTextLiteral >::it it; }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. /// @@ -16736,8 +16736,8 @@ public: IfcTextLiteralWithExtent (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTextLiteralWithExtent (IfcPresentableText v1_Literal, IfcAxis2Placement v2_Placement, IfcTextPath::IfcTextPath v3_Path, IfcPlanarExtent* v4_Extent, IfcBoxAlignment v5_BoxAlignment); typedef IfcTextLiteralWithExtent* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTextLiteralWithExtent > > list; + typedef IfcTemplatedEntityList< IfcTextLiteralWithExtent >::it it; }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. /// @@ -16799,10 +16799,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTrapeziumProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTrapeziumProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_BottomXDim, IfcPositiveLengthMeasure v5_TopXDim, IfcPositiveLengthMeasure v6_YDim, IfcLengthMeasure v7_TopXOffset); + IfcTrapeziumProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_BottomXDim, IfcPositiveLengthMeasure v5_TopXDim, IfcPositiveLengthMeasure v6_YDim, IfcLengthMeasure v7_TopXOffset); typedef IfcTrapeziumProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTrapeziumProfileDef > > list; + typedef IfcTemplatedEntityList< IfcTrapeziumProfileDef >::it it; }; /// Definition from ISO/CD 10303-46:1992: A two direction repeat factor combines two vectors which are used in the fill area style tiles entity for determining the shape and relative location of tiles. Given the initial position of any tile, the two direction repeat factor determines eight new positions according to the equation: /// @@ -16827,8 +16827,8 @@ public: IfcTwoDirectionRepeatFactor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTwoDirectionRepeatFactor (IfcVector* v1_RepeatFactor, IfcVector* v2_SecondRepeatFactor); typedef IfcTwoDirectionRepeatFactor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTwoDirectionRepeatFactor > > list; + typedef IfcTemplatedEntityList< IfcTwoDirectionRepeatFactor >::it it; }; /// The object type defines the /// specific information about a type, being common to all @@ -16879,21 +16879,21 @@ public: /// Set list of unique property sets, that are associated with the object type and are common to all object occurrences referring to this object type. /// /// IFC2x3 CHANGE  The attribute aggregate type has been changed from LIST to SET. - SHARED_PTR< IfcTemplatedEntityList > HasPropertySets(); - void setHasPropertySets(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > HasPropertySets(); + void setHasPropertySets(SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_STRING; case 5: return Argument_ENTITY_LIST; } return IfcObjectDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "ApplicableOccurrence"; case 5: return "HasPropertySets"; } return IfcObjectDefinition::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ObjectTypeOf(); // INVERSE IfcRelDefinesByType::RelatingType + SHARED_PTR< IfcTemplatedEntityList< IfcRelDefinesByType > > ObjectTypeOf(); // INVERSE IfcRelDefinesByType::RelatingType bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcTypeObject (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTypeObject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets); + IfcTypeObject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets); typedef IfcTypeObject* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTypeObject > > list; + typedef IfcTemplatedEntityList< IfcTypeObject >::it it; }; /// IfcTypeProduct defines a type /// definition of a product without being already inserted into a @@ -16966,8 +16966,8 @@ public: /// Whether the optional attribute RepresentationMaps is defined for this IfcTypeProduct bool hasRepresentationMaps(); /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. - SHARED_PTR< IfcTemplatedEntityList > RepresentationMaps(); - void setRepresentationMaps(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > RepresentationMaps(); + void setRepresentationMaps(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > v); /// Whether the optional attribute Tag is defined for this IfcTypeProduct bool hasTag(); /// The tag (or label) identifier at the particular type of a product, e.g. the article number (like the EAN). It is the identifier at the specific level. @@ -16981,10 +16981,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTypeProduct (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTypeProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag); + IfcTypeProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag); typedef IfcTypeProduct* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTypeProduct > > list; + typedef IfcTemplatedEntityList< IfcTypeProduct >::it it; }; /// IfcUShapeProfileDef defines /// a section profile that provides the defining parameters of a U-shape @@ -17055,10 +17055,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcUShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcUShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_EdgeRadius, optional v10_FlangeSlope, optional v11_CentreOfGravityInX); + IfcUShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_EdgeRadius, optional< IfcPlaneAngleMeasure > v10_FlangeSlope, optional< IfcPositiveLengthMeasure > v11_CentreOfGravityInX); typedef IfcUShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcUShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcUShapeProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. /// @@ -17085,8 +17085,8 @@ public: IfcVector (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcVector (IfcDirection* v1_Orientation, IfcLengthMeasure v2_Magnitude); typedef IfcVector* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVector > > list; + typedef IfcTemplatedEntityList< IfcVector >::it it; }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of /// zero genus consisting of a single vertex. A vertex can exist independently of a @@ -17115,8 +17115,8 @@ public: IfcVertexLoop (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcVertexLoop (IfcVertex* v1_LoopVertex); typedef IfcVertexLoop* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVertexLoop > > list; + typedef IfcTemplatedEntityList< IfcVertexLoop >::it it; }; /// The window lining is the outer /// frame which enables the window to be fixed in position. The @@ -17273,10 +17273,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWindowLiningProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWindowLiningProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_LiningDepth, optional v6_LiningThickness, optional v7_TransomThickness, optional v8_MullionThickness, optional v9_FirstTransomOffset, optional v10_SecondTransomOffset, optional v11_FirstMullionOffset, optional v12_SecondMullionOffset, IfcShapeAspect* v13_ShapeAspectStyle); + IfcWindowLiningProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_LiningDepth, optional< IfcPositiveLengthMeasure > v6_LiningThickness, optional< IfcPositiveLengthMeasure > v7_TransomThickness, optional< IfcPositiveLengthMeasure > v8_MullionThickness, optional< IfcNormalisedRatioMeasure > v9_FirstTransomOffset, optional< IfcNormalisedRatioMeasure > v10_SecondTransomOffset, optional< IfcNormalisedRatioMeasure > v11_FirstMullionOffset, optional< IfcNormalisedRatioMeasure > v12_SecondMullionOffset, IfcShapeAspect* v13_ShapeAspectStyle); typedef IfcWindowLiningProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWindowLiningProperties > > list; + typedef IfcTemplatedEntityList< IfcWindowLiningProperties >::it it; }; /// A window panel is a casement, that is, a component, fixed or opening, /// consisting essentially of a frame and the infilling. The @@ -17356,10 +17356,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWindowPanelProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWindowPanelProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional v7_FrameDepth, optional v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle); + IfcWindowPanelProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional< IfcPositiveLengthMeasure > v7_FrameDepth, optional< IfcPositiveLengthMeasure > v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle); typedef IfcWindowPanelProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWindowPanelProperties > > list; + typedef IfcTemplatedEntityList< IfcWindowPanelProperties >::it it; }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. /// @@ -17401,10 +17401,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWindowStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWindowStyle (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum v9_ConstructionType, IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); + IfcWindowStyle (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum v9_ConstructionType, IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); typedef IfcWindowStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWindowStyle > > list; + typedef IfcTemplatedEntityList< IfcWindowStyle >::it it; }; /// IfcZShapeProfileDef defines /// a section profile that provides the defining parameters of a Z-shape @@ -17463,10 +17463,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcZShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcZShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, optional v9_EdgeRadius); + IfcZShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_FlangeWidth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, optional< IfcPositiveLengthMeasure > v9_EdgeRadius); typedef IfcZShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcZShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcZShapeProfileDef >::it it; }; class IfcAnnotationCurveOccurrence : public IfcAnnotationOccurrence { public: @@ -17478,10 +17478,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationCurveOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationCurveOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcAnnotationCurveOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcAnnotationCurveOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationCurveOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationCurveOccurrence >::it it; }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. /// @@ -17515,8 +17515,8 @@ public: /// A set of inner curves that define the inner boundaries of the fill area. The areas defined by the inner boundaries are excluded from applying the fill area style. /// /// IFC2x Edition 3 CHANGE  The two new attributes OuterBoundary and InnerBoundaries replace the old single attribute Boundaries. - SHARED_PTR< IfcTemplatedEntityList > InnerBoundaries(); - void setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > InnerBoundaries(); + void setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "OuterBoundary"; case 1: return "InnerBoundaries"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -17525,10 +17525,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationFillArea (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationFillArea (IfcCurve* v1_OuterBoundary, optional >> v2_InnerBoundaries); + IfcAnnotationFillArea (IfcCurve* v1_OuterBoundary, optional< SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > > v2_InnerBoundaries); typedef IfcAnnotationFillArea* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationFillArea > > list; + typedef IfcTemplatedEntityList< IfcAnnotationFillArea >::it it; }; class IfcAnnotationFillAreaOccurrence : public IfcAnnotationOccurrence { public: @@ -17548,10 +17548,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAnnotationFillAreaOccurrence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotationFillAreaOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcPoint* v4_FillStyleTarget, optional v5_GlobalOrLocal); + IfcAnnotationFillAreaOccurrence (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcPoint* v4_FillStyleTarget, optional< IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum > v5_GlobalOrLocal); typedef IfcAnnotationFillAreaOccurrence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationFillAreaOccurrence > > list; + typedef IfcTemplatedEntityList< IfcAnnotationFillAreaOccurrence >::it it; }; class IfcAnnotationSurface : public IfcGeometricRepresentationItem { public: @@ -17571,8 +17571,8 @@ public: IfcAnnotationSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcAnnotationSurface (IfcGeometricRepresentationItem* v1_Item, IfcTextureCoordinate* v2_TextureCoordinates); typedef IfcAnnotationSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotationSurface > > list; + typedef IfcTemplatedEntityList< IfcAnnotationSurface >::it it; }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). /// @@ -17600,8 +17600,8 @@ public: IfcAxis1Placement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcAxis1Placement (IfcCartesianPoint* v1_Location, IfcDirection* v2_Axis); typedef IfcAxis1Placement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAxis1Placement > > list; + typedef IfcTemplatedEntityList< IfcAxis1Placement >::it it; }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. /// @@ -17631,8 +17631,8 @@ public: IfcAxis2Placement2D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcAxis2Placement2D (IfcCartesianPoint* v1_Location, IfcDirection* v2_RefDirection); typedef IfcAxis2Placement2D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement2D > > list; + typedef IfcTemplatedEntityList< IfcAxis2Placement2D >::it it; }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. /// @@ -17669,8 +17669,8 @@ public: IfcAxis2Placement3D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcAxis2Placement3D (IfcCartesianPoint* v1_Location, IfcDirection* v2_Axis, IfcDirection* v3_RefDirection); typedef IfcAxis2Placement3D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAxis2Placement3D > > list; + typedef IfcTemplatedEntityList< IfcAxis2Placement3D >::it it; }; /// Definition from ISO/CD 10303-42:1992: A Boolean result /// is the result of a regularized operation on two solids to create @@ -17719,8 +17719,8 @@ public: IfcBooleanResult (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBooleanResult (IfcBooleanOperator::IfcBooleanOperator v1_Operator, IfcBooleanOperand v2_FirstOperand, IfcBooleanOperand v3_SecondOperand); typedef IfcBooleanResult* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBooleanResult > > list; + typedef IfcTemplatedEntityList< IfcBooleanResult >::it it; }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. /// @@ -17745,8 +17745,8 @@ public: static Type::Enum Class(); IfcBoundedSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcBoundedSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundedSurface > > list; + typedef IfcTemplatedEntityList< IfcBoundedSurface >::it it; }; /// Definition from ISO/CD 10303-42:1992: A box domain /// is an orthogonal box parallel to the axes of the geometric @@ -17794,8 +17794,8 @@ public: IfcBoundingBox (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBoundingBox (IfcCartesianPoint* v1_Corner, IfcPositiveLengthMeasure v2_XDim, IfcPositiveLengthMeasure v3_YDim, IfcPositiveLengthMeasure v4_ZDim); typedef IfcBoundingBox* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundingBox > > list; + typedef IfcTemplatedEntityList< IfcBoundingBox >::it it; }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. /// @@ -17842,8 +17842,8 @@ public: IfcBoxedHalfSpace (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBoxedHalfSpace (IfcSurface* v1_BaseSurface, bool v2_AgreementFlag, IfcBoundingBox* v3_Enclosure); typedef IfcBoxedHalfSpace* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoxedHalfSpace > > list; + typedef IfcTemplatedEntityList< IfcBoxedHalfSpace >::it it; }; /// IfcCShapeProfileDef defines /// a section profile that provides the defining parameters of a C-shaped @@ -17898,10 +17898,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_Width, IfcPositiveLengthMeasure v6_WallThickness, IfcPositiveLengthMeasure v7_Girth, optional v8_InternalFilletRadius, optional v9_CentreOfGravityInX); + IfcCShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, IfcPositiveLengthMeasure v5_Width, IfcPositiveLengthMeasure v6_WallThickness, IfcPositiveLengthMeasure v7_Girth, optional< IfcPositiveLengthMeasure > v8_InternalFilletRadius, optional< IfcPositiveLengthMeasure > v9_CentreOfGravityInX); typedef IfcCShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCShapeProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. /// @@ -17913,8 +17913,8 @@ public: class IfcCartesianPoint : public IfcPoint { public: /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. - std::vector /*[1:3]*/ Coordinates(); - void setCoordinates(std::vector /*[1:3]*/ v); + std::vector< IfcLengthMeasure > /*[1:3]*/ Coordinates(); + void setCoordinates(std::vector< IfcLengthMeasure > /*[1:3]*/ v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_VECTOR_DOUBLE; } return IfcPoint::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Coordinates"; } return IfcPoint::getArgumentName(i); } @@ -17923,10 +17923,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianPoint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianPoint (std::vector /*[1:3]*/ v1_Coordinates); + IfcCartesianPoint (std::vector< IfcLengthMeasure > /*[1:3]*/ v1_Coordinates); typedef IfcCartesianPoint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > list; + typedef IfcTemplatedEntityList< IfcCartesianPoint >::it it; }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. /// @@ -17986,10 +17986,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianTransformationOperator (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianTransformationOperator (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale); + IfcCartesianTransformationOperator (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale); typedef IfcCartesianTransformationOperator* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianTransformationOperator > > list; + typedef IfcTemplatedEntityList< IfcCartesianTransformationOperator >::it it; }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. /// @@ -18006,10 +18006,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianTransformationOperator2D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianTransformationOperator2D (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale); + IfcCartesianTransformationOperator2D (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale); typedef IfcCartesianTransformationOperator2D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianTransformationOperator2D > > list; + typedef IfcTemplatedEntityList< IfcCartesianTransformationOperator2D >::it it; }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: /// @@ -18036,10 +18036,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianTransformationOperator2DnonUniform (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianTransformationOperator2DnonUniform (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, optional v5_Scale2); + IfcCartesianTransformationOperator2DnonUniform (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, optional< double > v5_Scale2); typedef IfcCartesianTransformationOperator2DnonUniform* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianTransformationOperator2DnonUniform > > list; + typedef IfcTemplatedEntityList< IfcCartesianTransformationOperator2DnonUniform >::it it; }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. /// @@ -18061,10 +18061,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianTransformationOperator3D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianTransformationOperator3D (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, IfcDirection* v5_Axis3); + IfcCartesianTransformationOperator3D (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, IfcDirection* v5_Axis3); typedef IfcCartesianTransformationOperator3D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianTransformationOperator3D > > list; + typedef IfcTemplatedEntityList< IfcCartesianTransformationOperator3D >::it it; }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: /// @@ -18097,10 +18097,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCartesianTransformationOperator3DnonUniform (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCartesianTransformationOperator3DnonUniform (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional v4_Scale, IfcDirection* v5_Axis3, optional v6_Scale2, optional v7_Scale3); + IfcCartesianTransformationOperator3DnonUniform (IfcDirection* v1_Axis1, IfcDirection* v2_Axis2, IfcCartesianPoint* v3_LocalOrigin, optional< double > v4_Scale, IfcDirection* v5_Axis3, optional< double > v6_Scale2, optional< double > v7_Scale3); typedef IfcCartesianTransformationOperator3DnonUniform* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCartesianTransformationOperator3DnonUniform > > list; + typedef IfcTemplatedEntityList< IfcCartesianTransformationOperator3DnonUniform >::it it; }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. /// @@ -18127,10 +18127,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCircleProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCircleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius); + IfcCircleProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius); typedef IfcCircleProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCircleProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCircleProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell /// of the dimensionality 2 which typically serves as a bound for a region in R3. A @@ -18191,10 +18191,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcClosedShell (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcClosedShell (SHARED_PTR< IfcTemplatedEntityList > v1_CfsFaces); + IfcClosedShell (SHARED_PTR< IfcTemplatedEntityList< IfcFace > > v1_CfsFaces); typedef IfcClosedShell* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > list; + typedef IfcTemplatedEntityList< IfcClosedShell >::it it; }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). /// @@ -18220,15 +18220,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENUMERATION; case 1: return Argument_BOOL; case 2: return Argument_ENTITY; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Transition"; case 1: return "SameSense"; case 2: return "ParentCurve"; } return IfcGeometricRepresentationItem::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > UsingCurves(); // INVERSE IfcCompositeCurve::Segments + SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurve > > UsingCurves(); // INVERSE IfcCompositeCurve::Segments bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcCompositeCurveSegment (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCompositeCurveSegment (IfcTransitionCode::IfcTransitionCode v1_Transition, bool v2_SameSense, IfcCurve* v3_ParentCurve); typedef IfcCompositeCurveSegment* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > list; + typedef IfcTemplatedEntityList< IfcCompositeCurveSegment >::it it; }; class IfcCraneRailAShapeProfileDef : public IfcParameterizedProfileDef { public: @@ -18268,10 +18268,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCraneRailAShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCraneRailAShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_BaseWidth2, optional v6_Radius, IfcPositiveLengthMeasure v7_HeadWidth, IfcPositiveLengthMeasure v8_HeadDepth2, IfcPositiveLengthMeasure v9_HeadDepth3, IfcPositiveLengthMeasure v10_WebThickness, IfcPositiveLengthMeasure v11_BaseWidth4, IfcPositiveLengthMeasure v12_BaseDepth1, IfcPositiveLengthMeasure v13_BaseDepth2, IfcPositiveLengthMeasure v14_BaseDepth3, optional v15_CentreOfGravityInY); + IfcCraneRailAShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_BaseWidth2, optional< IfcPositiveLengthMeasure > v6_Radius, IfcPositiveLengthMeasure v7_HeadWidth, IfcPositiveLengthMeasure v8_HeadDepth2, IfcPositiveLengthMeasure v9_HeadDepth3, IfcPositiveLengthMeasure v10_WebThickness, IfcPositiveLengthMeasure v11_BaseWidth4, IfcPositiveLengthMeasure v12_BaseDepth1, IfcPositiveLengthMeasure v13_BaseDepth2, IfcPositiveLengthMeasure v14_BaseDepth3, optional< IfcPositiveLengthMeasure > v15_CentreOfGravityInY); typedef IfcCraneRailAShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCraneRailAShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCraneRailAShapeProfileDef >::it it; }; class IfcCraneRailFShapeProfileDef : public IfcParameterizedProfileDef { public: @@ -18305,10 +18305,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCraneRailFShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCraneRailFShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_HeadWidth, optional v6_Radius, IfcPositiveLengthMeasure v7_HeadDepth2, IfcPositiveLengthMeasure v8_HeadDepth3, IfcPositiveLengthMeasure v9_WebThickness, IfcPositiveLengthMeasure v10_BaseDepth1, IfcPositiveLengthMeasure v11_BaseDepth2, optional v12_CentreOfGravityInY); + IfcCraneRailFShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallHeight, IfcPositiveLengthMeasure v5_HeadWidth, optional< IfcPositiveLengthMeasure > v6_Radius, IfcPositiveLengthMeasure v7_HeadDepth2, IfcPositiveLengthMeasure v8_HeadDepth3, IfcPositiveLengthMeasure v9_WebThickness, IfcPositiveLengthMeasure v10_BaseDepth1, IfcPositiveLengthMeasure v11_BaseDepth2, optional< IfcPositiveLengthMeasure > v12_CentreOfGravityInY); typedef IfcCraneRailFShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCraneRailFShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCraneRailFShapeProfileDef >::it it; }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. /// @@ -18330,8 +18330,8 @@ public: IfcCsgPrimitive3D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCsgPrimitive3D (IfcAxis2Placement3D* v1_Position); typedef IfcCsgPrimitive3D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCsgPrimitive3D > > list; + typedef IfcTemplatedEntityList< IfcCsgPrimitive3D >::it it; }; /// Definition from ISO/CD 10303-42:1992: A solid /// represented as a CSG model is defined by a collection of @@ -18389,8 +18389,8 @@ public: IfcCsgSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCsgSolid (IfcCsgSelect v1_TreeRootExpression); typedef IfcCsgSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCsgSolid > > list; + typedef IfcTemplatedEntityList< IfcCsgSolid >::it it; }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. /// @@ -18413,8 +18413,8 @@ public: static Type::Enum Class(); IfcCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > list; + typedef IfcTemplatedEntityList< IfcCurve >::it it; }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. /// @@ -18438,8 +18438,8 @@ public: IfcCurve* OuterBoundary(); void setOuterBoundary(IfcCurve* v); /// An optional set of inner boundaries. They shall not intersect each other or the outer boundary. - SHARED_PTR< IfcTemplatedEntityList > InnerBoundaries(); - void setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > InnerBoundaries(); + void setInnerBoundaries(SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v); virtual unsigned int getArgumentCount() const { return 3; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY; case 1: return Argument_ENTITY; case 2: return Argument_ENTITY_LIST; } return IfcBoundedSurface::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "BasisSurface"; case 1: return "OuterBoundary"; case 2: return "InnerBoundaries"; } return IfcBoundedSurface::getArgumentName(i); } @@ -18448,10 +18448,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurveBoundedPlane (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurveBoundedPlane (IfcPlane* v1_BasisSurface, IfcCurve* v2_OuterBoundary, SHARED_PTR< IfcTemplatedEntityList > v3_InnerBoundaries); + IfcCurveBoundedPlane (IfcPlane* v1_BasisSurface, IfcCurve* v2_OuterBoundary, SHARED_PTR< IfcTemplatedEntityList< IfcCurve > > v3_InnerBoundaries); typedef IfcCurveBoundedPlane* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurveBoundedPlane > > list; + typedef IfcTemplatedEntityList< IfcCurveBoundedPlane >::it it; }; /// A defined symbol is a symbolic representation that gets its shape information by an established convention, either through a predefined symbol, or an externally defined symbol. /// @@ -18478,8 +18478,8 @@ public: IfcDefinedSymbol (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDefinedSymbol (IfcDefinedSymbolSelect v1_Definition, IfcCartesianTransformationOperator2D* v2_Target); typedef IfcDefinedSymbol* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDefinedSymbol > > list; + typedef IfcTemplatedEntityList< IfcDefinedSymbol >::it it; }; class IfcDimensionCurve : public IfcAnnotationCurveOccurrence { public: @@ -18487,15 +18487,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcAnnotationCurveOccurrence::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcAnnotationCurveOccurrence::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > AnnotatedBySymbols(); // INVERSE IfcTerminatorSymbol::AnnotatedCurve + SHARED_PTR< IfcTemplatedEntityList< IfcTerminatorSymbol > > AnnotatedBySymbols(); // INVERSE IfcTerminatorSymbol::AnnotatedCurve bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDimensionCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDimensionCurve (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcDimensionCurve (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcDimensionCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionCurve > > list; + typedef IfcTemplatedEntityList< IfcDimensionCurve >::it it; }; class IfcDimensionCurveTerminator : public IfcTerminatorSymbol { public: @@ -18509,10 +18509,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDimensionCurveTerminator (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDimensionCurveTerminator (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve, IfcDimensionExtentUsage::IfcDimensionExtentUsage v5_Role); + IfcDimensionCurveTerminator (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name, IfcAnnotationCurveOccurrence* v4_AnnotatedCurve, IfcDimensionExtentUsage::IfcDimensionExtentUsage v5_Role); typedef IfcDimensionCurveTerminator* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionCurveTerminator > > list; + typedef IfcTemplatedEntityList< IfcDimensionCurveTerminator >::it it; }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. /// @@ -18524,8 +18524,8 @@ public: class IfcDirection : public IfcGeometricRepresentationItem { public: /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) - std::vector /*[2:3]*/ DirectionRatios(); - void setDirectionRatios(std::vector /*[2:3]*/ v); + std::vector< double > /*[2:3]*/ DirectionRatios(); + void setDirectionRatios(std::vector< double > /*[2:3]*/ v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_VECTOR_DOUBLE; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "DirectionRatios"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -18534,10 +18534,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDirection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDirection (std::vector /*[2:3]*/ v1_DirectionRatios); + IfcDirection (std::vector< double > /*[2:3]*/ v1_DirectionRatios); typedef IfcDirection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDirection > > list; + typedef IfcTemplatedEntityList< IfcDirection >::it it; }; /// The door lining is the frame which /// enables the door leaf to be fixed in position. The door lining is @@ -18701,10 +18701,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDoorLiningProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDoorLiningProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_LiningDepth, optional v6_LiningThickness, optional v7_ThresholdDepth, optional v8_ThresholdThickness, optional v9_TransomThickness, optional v10_TransomOffset, optional v11_LiningOffset, optional v12_ThresholdOffset, optional v13_CasingThickness, optional v14_CasingDepth, IfcShapeAspect* v15_ShapeAspectStyle); + IfcDoorLiningProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_LiningDepth, optional< IfcPositiveLengthMeasure > v6_LiningThickness, optional< IfcPositiveLengthMeasure > v7_ThresholdDepth, optional< IfcPositiveLengthMeasure > v8_ThresholdThickness, optional< IfcPositiveLengthMeasure > v9_TransomThickness, optional< IfcLengthMeasure > v10_TransomOffset, optional< IfcLengthMeasure > v11_LiningOffset, optional< IfcLengthMeasure > v12_ThresholdOffset, optional< IfcPositiveLengthMeasure > v13_CasingThickness, optional< IfcPositiveLengthMeasure > v14_CasingDepth, IfcShapeAspect* v15_ShapeAspectStyle); typedef IfcDoorLiningProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDoorLiningProperties > > list; + typedef IfcTemplatedEntityList< IfcDoorLiningProperties >::it it; }; /// A door panel is normally a door leaf that opens to allow people or /// goods to pass. The parameters of the door panel define the @@ -18784,10 +18784,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDoorPanelProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDoorPanelProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_PanelDepth, IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum v6_PanelOperation, optional v7_PanelWidth, IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum v8_PanelPosition, IfcShapeAspect* v9_ShapeAspectStyle); + IfcDoorPanelProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcPositiveLengthMeasure > v5_PanelDepth, IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum v6_PanelOperation, optional< IfcNormalisedRatioMeasure > v7_PanelWidth, IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum v8_PanelPosition, IfcShapeAspect* v9_ShapeAspectStyle); typedef IfcDoorPanelProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDoorPanelProperties > > list; + typedef IfcTemplatedEntityList< IfcDoorPanelProperties >::it it; }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. /// @@ -18837,29 +18837,29 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDoorStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDoorStyle (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum v9_OperationType, IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); + IfcDoorStyle (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum v9_OperationType, IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); typedef IfcDoorStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDoorStyle > > list; + typedef IfcTemplatedEntityList< IfcDoorStyle >::it it; }; class IfcDraughtingCallout : public IfcGeometricRepresentationItem { public: - SHARED_PTR< IfcTemplatedEntityList > Contents(); - void setContents(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Contents(); + void setContents(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Contents"; } return IfcGeometricRepresentationItem::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsRelatedFromCallout(); // INVERSE IfcDraughtingCalloutRelationship::RelatedDraughtingCallout - SHARED_PTR< IfcTemplatedEntityList > IsRelatedToCallout(); // INVERSE IfcDraughtingCalloutRelationship::RelatingDraughtingCallout + SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingCalloutRelationship > > IsRelatedFromCallout(); // INVERSE IfcDraughtingCalloutRelationship::RelatedDraughtingCallout + SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingCalloutRelationship > > IsRelatedToCallout(); // INVERSE IfcDraughtingCalloutRelationship::RelatingDraughtingCallout bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDraughtingCallout (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDraughtingCallout (IfcEntities v1_Contents); typedef IfcDraughtingCallout* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingCallout > > list; + typedef IfcTemplatedEntityList< IfcDraughtingCallout >::it it; }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: /// @@ -18945,8 +18945,8 @@ public: IfcDraughtingPreDefinedColour (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDraughtingPreDefinedColour (IfcLabel v1_Name); typedef IfcDraughtingPreDefinedColour* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingPreDefinedColour > > list; + typedef IfcTemplatedEntityList< IfcDraughtingPreDefinedColour >::it it; }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. /// @@ -18973,8 +18973,8 @@ public: IfcDraughtingPreDefinedCurveFont (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDraughtingPreDefinedCurveFont (IfcLabel v1_Name); typedef IfcDraughtingPreDefinedCurveFont* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDraughtingPreDefinedCurveFont > > list; + typedef IfcTemplatedEntityList< IfcDraughtingPreDefinedCurveFont >::it it; }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. /// @@ -18990,8 +18990,8 @@ public: class IfcEdgeLoop : public IfcLoop { public: /// A list of oriented edge entities which are concatenated together to form this path. - SHARED_PTR< IfcTemplatedEntityList > EdgeList(); - void setEdgeList(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > EdgeList(); + void setEdgeList(SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcLoop::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "EdgeList"; } return IfcLoop::getArgumentName(i); } @@ -19000,10 +19000,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEdgeLoop (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEdgeLoop (SHARED_PTR< IfcTemplatedEntityList > v1_EdgeList); + IfcEdgeLoop (SHARED_PTR< IfcTemplatedEntityList< IfcOrientedEdge > > v1_EdgeList); typedef IfcEdgeLoop* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEdgeLoop > > list; + typedef IfcTemplatedEntityList< IfcEdgeLoop >::it it; }; /// Definition from IAI: An IfcElementQuantity /// defines a set of derived measures of an element's physical @@ -19092,8 +19092,8 @@ public: IfcLabel MethodOfMeasurement(); void setMethodOfMeasurement(IfcLabel v); /// The individual quantities for the element, can be a set of length, area, volume, weight or count based quantities. - SHARED_PTR< IfcTemplatedEntityList > Quantities(); - void setQuantities(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > Quantities(); + void setQuantities(SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_STRING; case 5: return Argument_ENTITY_LIST; } return IfcPropertySetDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "MethodOfMeasurement"; case 5: return "Quantities"; } return IfcPropertySetDefinition::getArgumentName(i); } @@ -19102,10 +19102,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElementQuantity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElementQuantity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_MethodOfMeasurement, SHARED_PTR< IfcTemplatedEntityList > v6_Quantities); + IfcElementQuantity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_MethodOfMeasurement, SHARED_PTR< IfcTemplatedEntityList< IfcPhysicalQuantity > > v6_Quantities); typedef IfcElementQuantity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementQuantity > > list; + typedef IfcTemplatedEntityList< IfcElementQuantity >::it it; }; /// Definition from IAI: The IfcElementType /// defines a list of commonly shared property set definitions @@ -19144,10 +19144,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementType > > list; + typedef IfcTemplatedEntityList< IfcElementType >::it it; }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. /// @@ -19169,8 +19169,8 @@ public: IfcElementarySurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcElementarySurface (IfcAxis2Placement3D* v1_Position); typedef IfcElementarySurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementarySurface > > list; + typedef IfcTemplatedEntityList< IfcElementarySurface >::it it; }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry /// or the swept area solid. It is given by its semi axis attributes and placed within the 2D position coordinate system, established by the Position attribute. @@ -19204,10 +19204,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEllipseProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEllipseProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_SemiAxis1, IfcPositiveLengthMeasure v5_SemiAxis2); + IfcEllipseProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_SemiAxis1, IfcPositiveLengthMeasure v5_SemiAxis2); typedef IfcEllipseProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEllipseProfileDef > > list; + typedef IfcTemplatedEntityList< IfcEllipseProfileDef >::it it; }; class IfcEnergyProperties : public IfcPropertySetDefinition { public: @@ -19227,10 +19227,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEnergyProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEnergyProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_EnergySequence, optional v6_UserDefinedEnergySequence); + IfcEnergyProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcEnergySequenceEnum::IfcEnergySequenceEnum > v5_EnergySequence, optional< IfcLabel > v6_UserDefinedEnergySequence); typedef IfcEnergyProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEnergyProperties > > list; + typedef IfcTemplatedEntityList< IfcEnergyProperties >::it it; }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross /// section provided by a profile definition. The direction of the @@ -19319,8 +19319,8 @@ public: IfcExtrudedAreaSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcExtrudedAreaSolid (IfcProfileDef* v1_SweptArea, IfcAxis2Placement3D* v2_Position, IfcDirection* v3_ExtrudedDirection, IfcPositiveLengthMeasure v4_Depth); typedef IfcExtrudedAreaSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcExtrudedAreaSolid > > list; + typedef IfcTemplatedEntityList< IfcExtrudedAreaSolid >::it it; }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. /// @@ -19337,8 +19337,8 @@ public: class IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: /// The set of connected face sets comprising the face based surface model. - SHARED_PTR< IfcTemplatedEntityList > FbsmFaces(); - void setFbsmFaces(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > FbsmFaces(); + void setFbsmFaces(SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcGeometricRepresentationItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "FbsmFaces"; } return IfcGeometricRepresentationItem::getArgumentName(i); } @@ -19347,10 +19347,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFaceBasedSurfaceModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFaceBasedSurfaceModel (SHARED_PTR< IfcTemplatedEntityList > v1_FbsmFaces); + IfcFaceBasedSurfaceModel (SHARED_PTR< IfcTemplatedEntityList< IfcConnectedFaceSet > > v1_FbsmFaces); typedef IfcFaceBasedSurfaceModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFaceBasedSurfaceModel > > list; + typedef IfcTemplatedEntityList< IfcFaceBasedSurfaceModel >::it it; }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. /// @@ -19438,8 +19438,8 @@ public: IfcFillAreaStyleHatching (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFillAreaStyleHatching (IfcCurveStyle* v1_HatchLineAppearance, IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, IfcCartesianPoint* v3_PointOfReferenceHatchLine, IfcCartesianPoint* v4_PatternStart, IfcPlaneAngleMeasure v5_HatchLineAngle); typedef IfcFillAreaStyleHatching* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFillAreaStyleHatching > > list; + typedef IfcTemplatedEntityList< IfcFillAreaStyleHatching >::it it; }; /// The fill area style tile symbol with style is a symbol that is used as a tile within an annotated tiling. /// @@ -19467,8 +19467,8 @@ public: IfcFillAreaStyleTileSymbolWithStyle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFillAreaStyleTileSymbolWithStyle (IfcAnnotationSymbolOccurrence* v1_Symbol); typedef IfcFillAreaStyleTileSymbolWithStyle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFillAreaStyleTileSymbolWithStyle > > list; + typedef IfcTemplatedEntityList< IfcFillAreaStyleTileSymbolWithStyle >::it it; }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. /// @@ -19481,8 +19481,8 @@ public: IfcOneDirectionRepeatFactor* TilingPattern(); void setTilingPattern(IfcOneDirectionRepeatFactor* v); /// A set of constituents of the tile. - SHARED_PTR< IfcTemplatedEntityList > Tiles(); - void setTiles(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Tiles(); + void setTiles(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// The scale factor applied to each tile as it is placed in the annotation fill area. IfcPositiveRatioMeasure TilingScale(); void setTilingScale(IfcPositiveRatioMeasure v); @@ -19496,8 +19496,8 @@ public: IfcFillAreaStyleTiles (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFillAreaStyleTiles (IfcOneDirectionRepeatFactor* v1_TilingPattern, IfcEntities v2_Tiles, IfcPositiveRatioMeasure v3_TilingScale); typedef IfcFillAreaStyleTiles* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFillAreaStyleTiles > > list; + typedef IfcTemplatedEntityList< IfcFillAreaStyleTiles >::it it; }; class IfcFluidFlowProperties : public IfcPropertySetDefinition { public: @@ -19565,10 +19565,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFluidFlowProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFluidFlowProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPropertySourceEnum::IfcPropertySourceEnum v5_PropertySource, IfcTimeSeries* v6_FlowConditionTimeSeries, IfcTimeSeries* v7_VelocityTimeSeries, IfcTimeSeries* v8_FlowrateTimeSeries, IfcMaterial* v9_Fluid, IfcTimeSeries* v10_PressureTimeSeries, optional v11_UserDefinedPropertySource, optional v12_TemperatureSingleValue, optional v13_WetBulbTemperatureSingleValue, IfcTimeSeries* v14_WetBulbTemperatureTimeSeries, IfcTimeSeries* v15_TemperatureTimeSeries, optional v16_FlowrateSingleValue, optional v17_FlowConditionSingleValue, optional v18_VelocitySingleValue, optional v19_PressureSingleValue); + IfcFluidFlowProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPropertySourceEnum::IfcPropertySourceEnum v5_PropertySource, IfcTimeSeries* v6_FlowConditionTimeSeries, IfcTimeSeries* v7_VelocityTimeSeries, IfcTimeSeries* v8_FlowrateTimeSeries, IfcMaterial* v9_Fluid, IfcTimeSeries* v10_PressureTimeSeries, optional< IfcLabel > v11_UserDefinedPropertySource, optional< IfcThermodynamicTemperatureMeasure > v12_TemperatureSingleValue, optional< IfcThermodynamicTemperatureMeasure > v13_WetBulbTemperatureSingleValue, IfcTimeSeries* v14_WetBulbTemperatureTimeSeries, IfcTimeSeries* v15_TemperatureTimeSeries, optional< IfcDerivedMeasureValue > v16_FlowrateSingleValue, optional< IfcPositiveRatioMeasure > v17_FlowConditionSingleValue, optional< IfcLinearVelocityMeasure > v18_VelocitySingleValue, optional< IfcPressureMeasure > v19_PressureSingleValue); typedef IfcFluidFlowProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFluidFlowProperties > > list; + typedef IfcTemplatedEntityList< IfcFluidFlowProperties >::it it; }; /// Definition from IAI: The /// IfcFurnishingElementType defines a list of commonly shared @@ -19608,10 +19608,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFurnishingElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFurnishingElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFurnishingElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFurnishingElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFurnishingElementType > > list; + typedef IfcTemplatedEntityList< IfcFurnishingElementType >::it it; }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: /// @@ -19663,10 +19663,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFurnitureType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFurnitureType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum v10_AssemblyPlace); + IfcFurnitureType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum v10_AssemblyPlace); typedef IfcFurnitureType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFurnitureType > > list; + typedef IfcTemplatedEntityList< IfcFurnitureType >::it it; }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. /// @@ -19687,8 +19687,8 @@ public: IfcGeometricCurveSet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcGeometricCurveSet (IfcEntities v1_Elements); typedef IfcGeometricCurveSet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGeometricCurveSet > > list; + typedef IfcTemplatedEntityList< IfcGeometricCurveSet >::it it; }; /// IfcIShapeProfileDef /// defines a section profile that provides the defining parameters of a @@ -19780,10 +19780,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcIShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcIShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius); + IfcIShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius); typedef IfcIShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcIShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcIShapeProfileDef >::it it; }; /// IfcLShapeProfileDef /// defines a section profile that provides the defining parameters of an @@ -19880,10 +19880,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, optional v5_Width, IfcPositiveLengthMeasure v6_Thickness, optional v7_FilletRadius, optional v8_EdgeRadius, optional v9_LegSlope, optional v10_CentreOfGravityInX, optional v11_CentreOfGravityInY); + IfcLShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Depth, optional< IfcPositiveLengthMeasure > v5_Width, IfcPositiveLengthMeasure v6_Thickness, optional< IfcPositiveLengthMeasure > v7_FilletRadius, optional< IfcPositiveLengthMeasure > v8_EdgeRadius, optional< IfcPlaneAngleMeasure > v9_LegSlope, optional< IfcPositiveLengthMeasure > v10_CentreOfGravityInX, optional< IfcPositiveLengthMeasure > v11_CentreOfGravityInY); typedef IfcLShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcLShapeProfileDef >::it it; }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: /// @@ -19916,8 +19916,8 @@ public: IfcLine (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcLine (IfcCartesianPoint* v1_Pnt, IfcVector* v2_Dir); typedef IfcLine* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLine > > list; + typedef IfcTemplatedEntityList< IfcLine >::it it; }; /// Definition from ISO/CD 10303-42:1992: A manifold solid /// B-rep is a finite, arcwise connected volume bounded by one or @@ -19997,8 +19997,8 @@ public: IfcManifoldSolidBrep (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcManifoldSolidBrep (IfcClosedShell* v1_Outer); typedef IfcManifoldSolidBrep* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcManifoldSolidBrep > > list; + typedef IfcTemplatedEntityList< IfcManifoldSolidBrep >::it it; }; /// An IfcObject is the /// generalization of any semantically treated thing or process. @@ -20093,15 +20093,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_STRING; } return IfcObjectDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "ObjectType"; } return IfcObjectDefinition::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsDefinedBy(); // INVERSE IfcRelDefines::RelatedObjects + SHARED_PTR< IfcTemplatedEntityList< IfcRelDefines > > IsDefinedBy(); // INVERSE IfcRelDefines::RelatedObjects bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcObject (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcObject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcObject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcObject* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcObject > > list; + typedef IfcTemplatedEntityList< IfcObject >::it it; }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. /// @@ -20135,8 +20135,8 @@ public: IfcOffsetCurve2D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcOffsetCurve2D (IfcCurve* v1_BasisCurve, IfcLengthMeasure v2_Distance, bool v3_SelfIntersect); typedef IfcOffsetCurve2D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOffsetCurve2D > > list; + typedef IfcTemplatedEntityList< IfcOffsetCurve2D >::it it; }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. /// @@ -20177,8 +20177,8 @@ public: IfcOffsetCurve3D (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcOffsetCurve3D (IfcCurve* v1_BasisCurve, IfcLengthMeasure v2_Distance, bool v3_SelfIntersect, IfcDirection* v4_RefDirection); typedef IfcOffsetCurve3D* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOffsetCurve3D > > list; + typedef IfcTemplatedEntityList< IfcOffsetCurve3D >::it it; }; /// This entity is a description of a panel within a /// door or window (as fillers for opening) which allows for air @@ -20242,10 +20242,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPermeableCoveringProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPermeableCoveringProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional v7_FrameDepth, optional v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle); + IfcPermeableCoveringProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum v5_OperationType, IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum v6_PanelPosition, optional< IfcPositiveLengthMeasure > v7_FrameDepth, optional< IfcPositiveLengthMeasure > v8_FrameThickness, IfcShapeAspect* v9_ShapeAspectStyle); typedef IfcPermeableCoveringProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPermeableCoveringProperties > > list; + typedef IfcTemplatedEntityList< IfcPermeableCoveringProperties >::it it; }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. /// @@ -20269,8 +20269,8 @@ public: IfcPlanarBox (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPlanarBox (IfcLengthMeasure v1_SizeInX, IfcLengthMeasure v2_SizeInY, IfcAxis2Placement v3_Placement); typedef IfcPlanarBox* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlanarBox > > list; + typedef IfcTemplatedEntityList< IfcPlanarBox >::it it; }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: /// @@ -20320,8 +20320,8 @@ public: IfcPlane (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcPlane (IfcAxis2Placement3D* v1_Position); typedef IfcPlane* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlane > > list; + typedef IfcTemplatedEntityList< IfcPlane >::it it; }; /// Definition from ISO9000: A process is a set of /// activities that are interrelated or that interact with one @@ -20369,17 +20369,17 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > OperatesOn(); // INVERSE IfcRelAssignsToProcess::RelatingProcess - SHARED_PTR< IfcTemplatedEntityList > IsSuccessorFrom(); // INVERSE IfcRelSequence::RelatedProcess - SHARED_PTR< IfcTemplatedEntityList > IsPredecessorTo(); // INVERSE IfcRelSequence::RelatingProcess + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProcess > > OperatesOn(); // INVERSE IfcRelAssignsToProcess::RelatingProcess + SHARED_PTR< IfcTemplatedEntityList< IfcRelSequence > > IsSuccessorFrom(); // INVERSE IfcRelSequence::RelatedProcess + SHARED_PTR< IfcTemplatedEntityList< IfcRelSequence > > IsPredecessorTo(); // INVERSE IfcRelSequence::RelatingProcess bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcProcess (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProcess (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcProcess (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcProcess* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProcess > > list; + typedef IfcTemplatedEntityList< IfcProcess >::it it; }; /// Any object that relates to a /// geometric or spatial context. Subtypes of IfcProduct @@ -20488,15 +20488,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENTITY; case 6: return Argument_ENTITY; } return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "ObjectPlacement"; case 6: return "Representation"; } return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ReferencedBy(); // INVERSE IfcRelAssignsToProduct::RelatingProduct + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProduct > > ReferencedBy(); // INVERSE IfcRelAssignsToProduct::RelatingProduct bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcProduct (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); + IfcProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); typedef IfcProduct* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > list; + typedef IfcTemplatedEntityList< IfcProduct >::it it; }; /// IfcProject indicates the undertaking of some design, engineering, construction, or /// maintenance activities leading towards a product. The project establishes the context for information to be exchanged or shared, and it may represent a construction project but does not have to. The IfcProject's main purpose in an exchange structure is to provide the root instance and the context for all other information items included. @@ -20552,8 +20552,8 @@ public: bool hasPhase(); IfcLabel Phase(); void setPhase(IfcLabel v); - SHARED_PTR< IfcTemplatedEntityList > RepresentationContexts(); - void setRepresentationContexts(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > RepresentationContexts(); + void setRepresentationContexts(SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > v); IfcUnitAssignment* UnitsInContext(); void setUnitsInContext(IfcUnitAssignment* v); virtual unsigned int getArgumentCount() const { return 9; } @@ -20564,10 +20564,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProject (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_LongName, optional v7_Phase, SHARED_PTR< IfcTemplatedEntityList > v8_RepresentationContexts, IfcUnitAssignment* v9_UnitsInContext); + IfcProject (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcLabel > v6_LongName, optional< IfcLabel > v7_Phase, SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationContext > > v8_RepresentationContexts, IfcUnitAssignment* v9_UnitsInContext); typedef IfcProject* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProject > > list; + typedef IfcTemplatedEntityList< IfcProject >::it it; }; class IfcProjectionCurve : public IfcAnnotationCurveOccurrence { public: @@ -20579,10 +20579,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProjectionCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProjectionCurve (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList > v2_Styles, optional v3_Name); + IfcProjectionCurve (IfcRepresentationItem* v1_Item, SHARED_PTR< IfcTemplatedEntityList< IfcPresentationStyleAssignment > > v2_Styles, optional< IfcLabel > v3_Name); typedef IfcProjectionCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProjectionCurve > > list; + typedef IfcTemplatedEntityList< IfcProjectionCurve >::it it; }; /// IfcPropertySet defines all dynamically extensible /// properties. The property set is a container class that holds @@ -20640,8 +20640,8 @@ public: class IfcPropertySet : public IfcPropertySetDefinition { public: /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. - SHARED_PTR< IfcTemplatedEntityList > HasProperties(); - void setHasProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > HasProperties(); + void setHasProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); virtual unsigned int getArgumentCount() const { return 5; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY_LIST; } return IfcPropertySetDefinition::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "HasProperties"; } return IfcPropertySetDefinition::getArgumentName(i); } @@ -20650,10 +20650,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPropertySet (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPropertySet (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_HasProperties); + IfcPropertySet (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v5_HasProperties); typedef IfcPropertySet* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPropertySet > > list; + typedef IfcTemplatedEntityList< IfcPropertySet >::it it; }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. /// @@ -20689,10 +20689,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProxy (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProxy (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcObjectTypeEnum::IfcObjectTypeEnum v8_ProxyType, optional v9_Tag); + IfcProxy (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcObjectTypeEnum::IfcObjectTypeEnum v8_ProxyType, optional< IfcLabel > v9_Tag); typedef IfcProxy* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProxy > > list; + typedef IfcTemplatedEntityList< IfcProxy >::it it; }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. /// @@ -20737,10 +20737,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRectangleHollowProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRectangleHollowProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_WallThickness, optional v7_InnerFilletRadius, optional v8_OuterFilletRadius); + IfcRectangleHollowProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_XDim, IfcPositiveLengthMeasure v5_YDim, IfcPositiveLengthMeasure v6_WallThickness, optional< IfcPositiveLengthMeasure > v7_InnerFilletRadius, optional< IfcPositiveLengthMeasure > v8_OuterFilletRadius); typedef IfcRectangleHollowProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRectangleHollowProfileDef > > list; + typedef IfcTemplatedEntityList< IfcRectangleHollowProfileDef >::it it; }; /// The IfcRectangularPyramid is a Construction Solid /// Geometry (CSG) 3D primitive. It is a solid with a rectangular base and @@ -20851,8 +20851,8 @@ public: IfcRectangularPyramid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRectangularPyramid (IfcAxis2Placement3D* v1_Position, IfcPositiveLengthMeasure v2_XLength, IfcPositiveLengthMeasure v3_YLength, IfcPositiveLengthMeasure v4_Height); typedef IfcRectangularPyramid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRectangularPyramid > > list; + typedef IfcTemplatedEntityList< IfcRectangularPyramid >::it it; }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. /// @@ -20902,8 +20902,8 @@ public: IfcRectangularTrimmedSurface (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRectangularTrimmedSurface (IfcSurface* v1_BasisSurface, IfcParameterValue v2_U1, IfcParameterValue v3_V1, IfcParameterValue v4_U2, IfcParameterValue v5_V2, bool v6_Usense, bool v7_Vsense); typedef IfcRectangularTrimmedSurface* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRectangularTrimmedSurface > > list; + typedef IfcTemplatedEntityList< IfcRectangularTrimmedSurface >::it it; }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. /// @@ -20919,8 +20919,8 @@ public: class IfcRelAssigns : public IfcRelationship { public: /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. - SHARED_PTR< IfcTemplatedEntityList > RelatedObjects(); - void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > RelatedObjects(); + void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v); /// Whether the optional attribute RelatedObjectsType is defined for this IfcRelAssigns bool hasRelatedObjectsType(); /// Particular type of the assignment relationship. It can constrain the applicable object types, used within the role of RelatedObjects. @@ -20935,10 +20935,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssigns (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssigns (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType); + IfcRelAssigns (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType); typedef IfcRelAssigns* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssigns > > list; + typedef IfcTemplatedEntityList< IfcRelAssigns >::it it; }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). /// @@ -20967,10 +20967,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToActor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToActor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole); + IfcRelAssignsToActor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole); typedef IfcRelAssignsToActor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToActor > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToActor >::it it; }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). /// @@ -20990,10 +20990,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToControl (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl); + IfcRelAssignsToControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl); typedef IfcRelAssignsToControl* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToControl > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToControl >::it it; }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). /// @@ -21021,10 +21021,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToGroup (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcGroup* v7_RelatingGroup); + IfcRelAssignsToGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcGroup* v7_RelatingGroup); typedef IfcRelAssignsToGroup* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToGroup > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToGroup >::it it; }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. /// @@ -21068,10 +21068,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToProcess (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToProcess (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcProcess* v7_RelatingProcess, IfcMeasureWithUnit* v8_QuantityInProcess); + IfcRelAssignsToProcess (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcProcess* v7_RelatingProcess, IfcMeasureWithUnit* v8_QuantityInProcess); typedef IfcRelAssignsToProcess* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProcess > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToProcess >::it it; }; /// The objectified relationshipÿIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: /// @@ -21096,10 +21096,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToProduct (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcProduct* v7_RelatingProduct); + IfcRelAssignsToProduct (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcProduct* v7_RelatingProduct); typedef IfcRelAssignsToProduct* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProduct > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToProduct >::it it; }; class IfcRelAssignsToProjectOrder : public IfcRelAssignsToControl { public: @@ -21111,10 +21111,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToProjectOrder (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToProjectOrder (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl); + IfcRelAssignsToProjectOrder (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl); typedef IfcRelAssignsToProjectOrder* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToProjectOrder >::it it; }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects /// (as subtypes of IfcObject), acting as a resource usage or consumption, to a resource (as subtypes of IfcResource). @@ -21137,10 +21137,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsToResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsToResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcResource* v7_RelatingResource); + IfcRelAssignsToResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcResource* v7_RelatingResource); typedef IfcRelAssignsToResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToResource > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsToResource >::it it; }; /// The association relationship /// IfcRelAssociates refers to external sources of @@ -21188,8 +21188,8 @@ public: /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// /// IFC2x4 CHANGE  The attribute datatype has been changed from IfcRoot to IfcDefinitionSelect. - SHARED_PTR< IfcTemplatedEntityList > RelatedObjects(); - void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > RelatedObjects(); + void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v); virtual unsigned int getArgumentCount() const { return 5; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY_LIST; } return IfcRelationship::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatedObjects"; } return IfcRelationship::getArgumentName(i); } @@ -21198,10 +21198,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociates (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociates (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects); + IfcRelAssociates (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects); typedef IfcRelAssociates* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociates > > list; + typedef IfcTemplatedEntityList< IfcRelAssociates >::it it; }; class IfcRelAssociatesAppliedValue : public IfcRelAssociates { public: @@ -21215,10 +21215,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesAppliedValue (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesAppliedValue (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcAppliedValue* v6_RelatingAppliedValue); + IfcRelAssociatesAppliedValue (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcAppliedValue* v6_RelatingAppliedValue); typedef IfcRelAssociatesAppliedValue* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesAppliedValue > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesAppliedValue >::it it; }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. /// @@ -21236,10 +21236,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesApproval (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesApproval (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcApproval* v6_RelatingApproval); + IfcRelAssociatesApproval (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcApproval* v6_RelatingApproval); typedef IfcRelAssociatesApproval* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesApproval > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesApproval >::it it; }; /// The objectified relationship /// IfcRelAssociatesClassification handles the assignment of a @@ -21284,10 +21284,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesClassification (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesClassification (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcClassificationNotationSelect v6_RelatingClassification); + IfcRelAssociatesClassification (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcClassificationNotationSelect v6_RelatingClassification); typedef IfcRelAssociatesClassification* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesClassification > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesClassification >::it it; }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. /// @@ -21308,10 +21308,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesConstraint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesConstraint (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcLabel v6_Intent, IfcConstraint* v7_RelatingConstraint); + IfcRelAssociatesConstraint (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcLabel v6_Intent, IfcConstraint* v7_RelatingConstraint); typedef IfcRelAssociatesConstraint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesConstraint > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesConstraint >::it it; }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). /// @@ -21333,10 +21333,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesDocument (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesDocument (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcDocumentSelect v6_RelatingDocument); + IfcRelAssociatesDocument (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcDocumentSelect v6_RelatingDocument); typedef IfcRelAssociatesDocument* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesDocument > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesDocument >::it it; }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. /// @@ -21358,10 +21358,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesLibrary (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesLibrary (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcLibrarySelect v6_RelatingLibrary); + IfcRelAssociatesLibrary (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcLibrarySelect v6_RelatingLibrary); typedef IfcRelAssociatesLibrary* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesLibrary > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesLibrary >::it it; }; /// Definition from IAI: Objectified relationship between a /// material definition and elements or element types to which this @@ -21470,10 +21470,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesMaterial (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesMaterial (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcMaterialSelect v6_RelatingMaterial); + IfcRelAssociatesMaterial (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcMaterialSelect v6_RelatingMaterial); typedef IfcRelAssociatesMaterial* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesMaterial > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesMaterial >::it it; }; class IfcRelAssociatesProfileProperties : public IfcRelAssociates { public: @@ -21495,10 +21495,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssociatesProfileProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssociatesProfileProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcProfileProperties* v6_RelatingProfileProperties, IfcShapeAspect* v7_ProfileSectionLocation, optional v8_ProfileOrientation); + IfcRelAssociatesProfileProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcRoot > > v5_RelatedObjects, IfcProfileProperties* v6_RelatingProfileProperties, IfcShapeAspect* v7_ProfileSectionLocation, optional< IfcOrientationSelect > v8_ProfileOrientation); typedef IfcRelAssociatesProfileProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssociatesProfileProperties > > list; + typedef IfcTemplatedEntityList< IfcRelAssociatesProfileProperties >::it it; }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. /// @@ -21513,10 +21513,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnects (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnects (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description); + IfcRelConnects (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description); typedef IfcRelConnects* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnects > > list; + typedef IfcTemplatedEntityList< IfcRelConnects >::it it; }; /// Definition from IAI: The /// IfcRelConnectsElements objectified relationship @@ -21561,10 +21561,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsElements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement); + IfcRelConnectsElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement); typedef IfcRelConnectsElements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsElements > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsElements >::it it; }; /// The /// IfcRelConnectsPathElements relationship provides the connectivity information between two elements, which have path information. @@ -21601,11 +21601,11 @@ public: class IfcRelConnectsPathElements : public IfcRelConnectsElements { public: /// Priorities for connection. It refers to the layers of the RelatingObject. - std::vector /*[0:?]*/ RelatingPriorities(); - void setRelatingPriorities(std::vector /*[0:?]*/ v); + std::vector< int > /*[0:?]*/ RelatingPriorities(); + void setRelatingPriorities(std::vector< int > /*[0:?]*/ v); /// Priorities for connection. It refers to the layers of the RelatedObject. - std::vector /*[0:?]*/ RelatedPriorities(); - void setRelatedPriorities(std::vector /*[0:?]*/ v); + std::vector< int > /*[0:?]*/ RelatedPriorities(); + void setRelatedPriorities(std::vector< int > /*[0:?]*/ v); /// Indication of the connection type in relation to the path of the RelatingObject. IfcConnectionTypeEnum::IfcConnectionTypeEnum RelatedConnectionType(); void setRelatedConnectionType(IfcConnectionTypeEnum::IfcConnectionTypeEnum v); @@ -21620,10 +21620,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsPathElements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsPathElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, std::vector /*[0:?]*/ v8_RelatingPriorities, std::vector /*[0:?]*/ v9_RelatedPriorities, IfcConnectionTypeEnum::IfcConnectionTypeEnum v10_RelatedConnectionType, IfcConnectionTypeEnum::IfcConnectionTypeEnum v11_RelatingConnectionType); + IfcRelConnectsPathElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, IfcConnectionTypeEnum::IfcConnectionTypeEnum v10_RelatedConnectionType, IfcConnectionTypeEnum::IfcConnectionTypeEnum v11_RelatingConnectionType); typedef IfcRelConnectsPathElements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPathElements > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsPathElements >::it it; }; /// The objectified relationship /// IfcRelConnectsPortToElement defines the relationship that @@ -21668,10 +21668,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsPortToElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsPortToElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPort* v5_RelatingPort, IfcElement* v6_RelatedElement); + IfcRelConnectsPortToElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPort* v5_RelatingPort, IfcElement* v6_RelatedElement); typedef IfcRelConnectsPortToElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPortToElement > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsPortToElement >::it it; }; /// Definition from IAI: An IfcRelConnectsPorts /// defines the relationship that is made between two ports at @@ -21707,10 +21707,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsPorts (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsPorts (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcPort* v5_RelatingPort, IfcPort* v6_RelatedPort, IfcElement* v7_RealizingElement); + IfcRelConnectsPorts (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcPort* v5_RelatingPort, IfcPort* v6_RelatedPort, IfcElement* v7_RealizingElement); typedef IfcRelConnectsPorts* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPorts > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsPorts >::it it; }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. /// @@ -21731,10 +21731,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsStructuralActivity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsStructuralActivity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralActivityAssignmentSelect v5_RelatingElement, IfcStructuralActivity* v6_RelatedStructuralActivity); + IfcRelConnectsStructuralActivity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralActivityAssignmentSelect v5_RelatingElement, IfcStructuralActivity* v6_RelatedStructuralActivity); typedef IfcRelConnectsStructuralActivity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralActivity > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsStructuralActivity >::it it; }; class IfcRelConnectsStructuralElement : public IfcRelConnects { public: @@ -21750,10 +21750,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsStructuralElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsStructuralElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingElement, IfcStructuralMember* v6_RelatedStructuralMember); + IfcRelConnectsStructuralElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingElement, IfcStructuralMember* v6_RelatedStructuralMember); typedef IfcRelConnectsStructuralElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralElement > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsStructuralElement >::it it; }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). /// @@ -21815,10 +21815,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsStructuralMember (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsStructuralMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem); + IfcRelConnectsStructuralMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional< IfcLengthMeasure > v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem); typedef IfcRelConnectsStructuralMember* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralMember > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsStructuralMember >::it it; }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). /// @@ -21850,10 +21850,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsWithEccentricity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsWithEccentricity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem, IfcConnectionGeometry* v11_ConnectionConstraint); + IfcRelConnectsWithEccentricity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcStructuralMember* v5_RelatingStructuralMember, IfcStructuralConnection* v6_RelatedStructuralConnection, IfcBoundaryCondition* v7_AppliedCondition, IfcStructuralConnectionCondition* v8_AdditionalConditions, optional< IfcLengthMeasure > v9_SupportedLength, IfcAxis2Placement3D* v10_ConditionCoordinateSystem, IfcConnectionGeometry* v11_ConnectionConstraint); typedef IfcRelConnectsWithEccentricity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsWithEccentricity > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsWithEccentricity >::it it; }; /// Definition from IAI: /// IfcRelConnectsWithRealizingElements defines a @@ -21881,8 +21881,8 @@ public: class IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: /// Defines the elements that realize a connection relationship. - SHARED_PTR< IfcTemplatedEntityList > RealizingElements(); - void setRealizingElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcElement > > RealizingElements(); + void setRealizingElements(SHARED_PTR< IfcTemplatedEntityList< IfcElement > > v); /// Whether the optional attribute ConnectionType is defined for this IfcRelConnectsWithRealizingElements bool hasConnectionType(); /// The type of the connection given for informal purposes, it may include labels, like 'joint', 'rigid joint', 'flexible joint', etc. @@ -21896,10 +21896,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelConnectsWithRealizingElements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelConnectsWithRealizingElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, SHARED_PTR< IfcTemplatedEntityList > v8_RealizingElements, optional v9_ConnectionType); + IfcRelConnectsWithRealizingElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcConnectionGeometry* v5_ConnectionGeometry, IfcElement* v6_RelatingElement, IfcElement* v7_RelatedElement, SHARED_PTR< IfcTemplatedEntityList< IfcElement > > v8_RealizingElements, optional< IfcLabel > v9_ConnectionType); typedef IfcRelConnectsWithRealizingElements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsWithRealizingElements > > list; + typedef IfcTemplatedEntityList< IfcRelConnectsWithRealizingElements >::it it; }; /// This objectified relationship, /// IfcRelContainedInSpatialStructure, is used to assign @@ -21968,8 +21968,8 @@ public: /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// /// IFC2x PLATFORM CHANGE  The data type has been changed from IfcElement to IfcProduct with upward compatibility - SHARED_PTR< IfcTemplatedEntityList > RelatedElements(); - void setRelatedElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > RelatedElements(); + void setRelatedElements(SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v); /// Spatial structure element, within which the element is contained. Any element can only be contained within one element of the project spatial structure. IfcSpatialStructureElement* RelatingStructure(); void setRelatingStructure(IfcSpatialStructureElement* v); @@ -21981,10 +21981,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelContainedInSpatialStructure (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelContainedInSpatialStructure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure); + IfcRelContainedInSpatialStructure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure); typedef IfcRelContainedInSpatialStructure* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelContainedInSpatialStructure > > list; + typedef IfcTemplatedEntityList< IfcRelContainedInSpatialStructure >::it it; }; /// Definition from IAI: The /// IfcRelCoversBldgElements is an objectified relationship @@ -22010,8 +22010,8 @@ public: IfcElement* RelatingBuildingElement(); void setRelatingBuildingElement(IfcElement* v); /// Relationship to the set of coverings at this element. - SHARED_PTR< IfcTemplatedEntityList > RelatedCoverings(); - void setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > RelatedCoverings(); + void setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY; case 5: return Argument_ENTITY_LIST; } return IfcRelConnects::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatingBuildingElement"; case 5: return "RelatedCoverings"; } return IfcRelConnects::getArgumentName(i); } @@ -22020,10 +22020,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelCoversBldgElements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelCoversBldgElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingBuildingElement, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedCoverings); + IfcRelCoversBldgElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingBuildingElement, SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v6_RelatedCoverings); typedef IfcRelCoversBldgElements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversBldgElements > > list; + typedef IfcTemplatedEntityList< IfcRelCoversBldgElements >::it it; }; /// Definition from IAI: The objectified relationship, /// IfcRelCoversSpace, relatesÿa space object to one or @@ -22056,8 +22056,8 @@ public: IfcSpace* RelatedSpace(); void setRelatedSpace(IfcSpace* v); /// Relationship to the set of coverings covering this space. - SHARED_PTR< IfcTemplatedEntityList > RelatedCoverings(); - void setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > RelatedCoverings(); + void setRelatedCoverings(SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY; case 5: return Argument_ENTITY_LIST; } return IfcRelConnects::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatedSpace"; case 5: return "RelatedCoverings"; } return IfcRelConnects::getArgumentName(i); } @@ -22066,10 +22066,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelCoversSpaces (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelCoversSpaces (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSpace* v5_RelatedSpace, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedCoverings); + IfcRelCoversSpaces (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSpace* v5_RelatedSpace, SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > v6_RelatedCoverings); typedef IfcRelCoversSpaces* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversSpaces > > list; + typedef IfcTemplatedEntityList< IfcRelCoversSpaces >::it it; }; /// The decomposition relationship, /// IfcRelDecomposes, defines the general concept of elements @@ -22105,8 +22105,8 @@ class IfcRelDecomposes : public IfcRelationship { public: IfcObjectDefinition* RelatingObject(); void setRelatingObject(IfcObjectDefinition* v); - SHARED_PTR< IfcTemplatedEntityList > RelatedObjects(); - void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > RelatedObjects(); + void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY; case 5: return Argument_ENTITY_LIST; } return IfcRelationship::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatingObject"; case 5: return "RelatedObjects"; } return IfcRelationship::getArgumentName(i); } @@ -22115,10 +22115,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelDecomposes (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelDecomposes (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects); + IfcRelDecomposes (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects); typedef IfcRelDecomposes* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelDecomposes > > list; + typedef IfcTemplatedEntityList< IfcRelDecomposes >::it it; }; /// A generic and abstract relationship which subtypes are used to: /// @@ -22149,8 +22149,8 @@ public: /// IfcRelDefinesByType. class IfcRelDefines : public IfcRelationship { public: - SHARED_PTR< IfcTemplatedEntityList > RelatedObjects(); - void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcObject > > RelatedObjects(); + void setRelatedObjects(SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v); virtual unsigned int getArgumentCount() const { return 5; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY_LIST; } return IfcRelationship::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatedObjects"; } return IfcRelationship::getArgumentName(i); } @@ -22159,10 +22159,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelDefines (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelDefines (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects); + IfcRelDefines (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects); typedef IfcRelDefines* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelDefines > > list; + typedef IfcTemplatedEntityList< IfcRelDefines >::it it; }; /// The objectified relationship /// IfcRelDefinesByProperties defines the relationships @@ -22192,10 +22192,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelDefinesByProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelDefinesByProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition); + IfcRelDefinesByProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition); typedef IfcRelDefinesByProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelDefinesByProperties > > list; + typedef IfcTemplatedEntityList< IfcRelDefinesByProperties >::it it; }; /// The objectified relationship /// IfcRelDefinesByType defines the relationship between an @@ -22281,10 +22281,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelDefinesByType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelDefinesByType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcTypeObject* v6_RelatingType); + IfcRelDefinesByType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcTypeObject* v6_RelatingType); typedef IfcRelDefinesByType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelDefinesByType > > list; + typedef IfcTemplatedEntityList< IfcRelDefinesByType >::it it; }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. /// @@ -22313,10 +22313,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelFillsElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelFillsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcOpeningElement* v5_RelatingOpeningElement, IfcElement* v6_RelatedBuildingElement); + IfcRelFillsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcOpeningElement* v5_RelatingOpeningElement, IfcElement* v6_RelatedBuildingElement); typedef IfcRelFillsElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelFillsElement > > list; + typedef IfcTemplatedEntityList< IfcRelFillsElement >::it it; }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. /// @@ -22328,8 +22328,8 @@ public: class IfcRelFlowControlElements : public IfcRelConnects { public: /// References control elements which may be used to impart control on the Distribution Element. - SHARED_PTR< IfcTemplatedEntityList > RelatedControlElements(); - void setRelatedControlElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > RelatedControlElements(); + void setRelatedControlElements(SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > v); /// Relationship to a distribution flow element IfcDistributionFlowElement* RelatingFlowElement(); void setRelatingFlowElement(IfcDistributionFlowElement* v); @@ -22341,10 +22341,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelFlowControlElements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelFlowControlElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedControlElements, IfcDistributionFlowElement* v6_RelatingFlowElement); + IfcRelFlowControlElements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > v5_RelatedControlElements, IfcDistributionFlowElement* v6_RelatingFlowElement); typedef IfcRelFlowControlElements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelFlowControlElements > > list; + typedef IfcTemplatedEntityList< IfcRelFlowControlElements >::it it; }; class IfcRelInteractionRequirements : public IfcRelConnects { public: @@ -22372,10 +22372,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelInteractionRequirements (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelInteractionRequirements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_DailyInteraction, optional v6_ImportanceRating, IfcSpatialStructureElement* v7_LocationOfInteraction, IfcSpaceProgram* v8_RelatedSpaceProgram, IfcSpaceProgram* v9_RelatingSpaceProgram); + IfcRelInteractionRequirements (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcCountMeasure > v5_DailyInteraction, optional< IfcNormalisedRatioMeasure > v6_ImportanceRating, IfcSpatialStructureElement* v7_LocationOfInteraction, IfcSpaceProgram* v8_RelatedSpaceProgram, IfcSpaceProgram* v9_RelatingSpaceProgram); typedef IfcRelInteractionRequirements* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelInteractionRequirements > > list; + typedef IfcTemplatedEntityList< IfcRelInteractionRequirements >::it it; }; /// The nesting relationship /// IfcRelNests is a special type of the general @@ -22412,10 +22412,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelNests (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelNests (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects); + IfcRelNests (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects); typedef IfcRelNests* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelNests > > list; + typedef IfcTemplatedEntityList< IfcRelNests >::it it; }; class IfcRelOccupiesSpaces : public IfcRelAssignsToActor { public: @@ -22427,15 +22427,15 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelOccupiesSpaces (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelOccupiesSpaces (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole); + IfcRelOccupiesSpaces (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcActor* v7_RelatingActor, IfcActorRole* v8_ActingRole); typedef IfcRelOccupiesSpaces* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelOccupiesSpaces > > list; + typedef IfcTemplatedEntityList< IfcRelOccupiesSpaces >::it it; }; class IfcRelOverridesProperties : public IfcRelDefinesByProperties { public: - SHARED_PTR< IfcTemplatedEntityList > OverridingProperties(); - void setOverridingProperties(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > OverridingProperties(); + void setOverridingProperties(SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v); virtual unsigned int getArgumentCount() const { return 7; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 6: return Argument_ENTITY_LIST; } return IfcRelDefinesByProperties::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 6: return "OverridingProperties"; } return IfcRelDefinesByProperties::getArgumentName(i); } @@ -22444,10 +22444,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelOverridesProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelOverridesProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition, SHARED_PTR< IfcTemplatedEntityList > v7_OverridingProperties); + IfcRelOverridesProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObject > > v5_RelatedObjects, IfcPropertySetDefinition* v6_RelatingPropertyDefinition, SHARED_PTR< IfcTemplatedEntityList< IfcProperty > > v7_OverridingProperties); typedef IfcRelOverridesProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelOverridesProperties > > list; + typedef IfcTemplatedEntityList< IfcRelOverridesProperties >::it it; }; /// The IfcRelProjectsElement is an objectified relationship /// between an element and one projection element that creates a @@ -22497,10 +22497,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelProjectsElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelProjectsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingElement, IfcFeatureElementAddition* v6_RelatedFeatureElement); + IfcRelProjectsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingElement, IfcFeatureElementAddition* v6_RelatedFeatureElement); typedef IfcRelProjectsElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelProjectsElement > > list; + typedef IfcTemplatedEntityList< IfcRelProjectsElement >::it it; }; /// The objectified relationship, /// IfcRelReferencedInSpatialStructure is used to @@ -22555,8 +22555,8 @@ class IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. - SHARED_PTR< IfcTemplatedEntityList > RelatedElements(); - void setRelatedElements(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > RelatedElements(); + void setRelatedElements(SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v); /// Spatial structure element, within which the element is referenced. Any element can be contained within zero, one or many elements of the project spatial and zoning structure. /// /// IFC2x Edition 4 CHANGE  The attribute relatingStructure as been promoted to the new supertype IfcSpatialElement with upward compatibility for file based exchange. @@ -22570,10 +22570,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelReferencedInSpatialStructure (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelReferencedInSpatialStructure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure); + IfcRelReferencedInSpatialStructure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcProduct > > v5_RelatedElements, IfcSpatialStructureElement* v6_RelatingStructure); typedef IfcRelReferencedInSpatialStructure* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelReferencedInSpatialStructure > > list; + typedef IfcTemplatedEntityList< IfcRelReferencedInSpatialStructure >::it it; }; class IfcRelSchedulesCostItems : public IfcRelAssignsToControl { public: @@ -22585,10 +22585,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelSchedulesCostItems (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelSchedulesCostItems (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl); + IfcRelSchedulesCostItems (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl); typedef IfcRelSchedulesCostItems* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelSchedulesCostItems > > list; + typedef IfcTemplatedEntityList< IfcRelSchedulesCostItems >::it it; }; /// IfcRelSequence is a /// sequential relationship between processes where one process @@ -22668,10 +22668,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelSequence (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelSequence (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcProcess* v5_RelatingProcess, IfcProcess* v6_RelatedProcess, IfcTimeMeasure v7_TimeLag, IfcSequenceEnum::IfcSequenceEnum v8_SequenceType); + IfcRelSequence (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcProcess* v5_RelatingProcess, IfcProcess* v6_RelatedProcess, IfcTimeMeasure v7_TimeLag, IfcSequenceEnum::IfcSequenceEnum v8_SequenceType); typedef IfcRelSequence* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelSequence > > list; + typedef IfcTemplatedEntityList< IfcRelSequence >::it it; }; /// Definition from IAI: An objectified relationship /// that defines the relationship between a system and the @@ -22704,8 +22704,8 @@ public: /// IFC2x PLATFORM CHANGE  The data type has been changed from IfcBuilding to IfcSpatialStructureElement with upward compatibility for file based exchange. /// /// IFC2x Edition 4 CHANGE  The data type has been changed from IfcSpatialStructureElement to IfcSpatialElement with upward compatibility for file based exchange. - SHARED_PTR< IfcTemplatedEntityList > RelatedBuildings(); - void setRelatedBuildings(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > RelatedBuildings(); + void setRelatedBuildings(SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 4: return Argument_ENTITY; case 5: return Argument_ENTITY_LIST; } return IfcRelConnects::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 4: return "RelatingSystem"; case 5: return "RelatedBuildings"; } return IfcRelConnects::getArgumentName(i); } @@ -22714,10 +22714,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelServicesBuildings (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelServicesBuildings (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSystem* v5_RelatingSystem, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedBuildings); + IfcRelServicesBuildings (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSystem* v5_RelatingSystem, SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > v6_RelatedBuildings); typedef IfcRelServicesBuildings* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelServicesBuildings > > list; + typedef IfcTemplatedEntityList< IfcRelServicesBuildings >::it it; }; /// The space boundary defines the /// physical or virtual delimiter of a space by the relationship @@ -22916,10 +22916,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelSpaceBoundary (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelSpaceBoundary (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcSpace* v5_RelatingSpace, IfcElement* v6_RelatedBuildingElement, IfcConnectionGeometry* v7_ConnectionGeometry, IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum v8_PhysicalOrVirtualBoundary, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v9_InternalOrExternalBoundary); + IfcRelSpaceBoundary (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcSpace* v5_RelatingSpace, IfcElement* v6_RelatedBuildingElement, IfcConnectionGeometry* v7_ConnectionGeometry, IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum v8_PhysicalOrVirtualBoundary, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v9_InternalOrExternalBoundary); typedef IfcRelSpaceBoundary* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelSpaceBoundary > > list; + typedef IfcTemplatedEntityList< IfcRelSpaceBoundary >::it it; }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. /// @@ -22942,10 +22942,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelVoidsElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelVoidsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcElement* v5_RelatingBuildingElement, IfcFeatureElementSubtraction* v6_RelatedOpeningElement); + IfcRelVoidsElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcElement* v5_RelatingBuildingElement, IfcFeatureElementSubtraction* v6_RelatedOpeningElement); typedef IfcRelVoidsElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelVoidsElement > > list; + typedef IfcTemplatedEntityList< IfcRelVoidsElement >::it it; }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). /// @@ -22966,15 +22966,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ResourceOf(); // INVERSE IfcRelAssignsToResource::RelatingResource + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToResource > > ResourceOf(); // INVERSE IfcRelAssignsToResource::RelatingResource bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcResource > > list; + typedef IfcTemplatedEntityList< IfcResource >::it it; }; /// An IfcRevolvedAreaSolid is a solid created by revolving /// a cross section provided by a profile definition about an axis. The @@ -23070,8 +23070,8 @@ public: IfcRevolvedAreaSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRevolvedAreaSolid (IfcProfileDef* v1_SweptArea, IfcAxis2Placement3D* v2_Position, IfcAxis1Placement* v3_Axis, IfcPlaneAngleMeasure v4_Angle); typedef IfcRevolvedAreaSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRevolvedAreaSolid > > list; + typedef IfcTemplatedEntityList< IfcRevolvedAreaSolid >::it it; }; /// The IfcRightCircularCone is a Construction Solid /// Geometry (CSG) 3D primitive. It is a solid with a circular base and @@ -23156,8 +23156,8 @@ public: IfcRightCircularCone (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRightCircularCone (IfcAxis2Placement3D* v1_Position, IfcPositiveLengthMeasure v2_Height, IfcPositiveLengthMeasure v3_BottomRadius); typedef IfcRightCircularCone* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRightCircularCone > > list; + typedef IfcTemplatedEntityList< IfcRightCircularCone >::it it; }; /// The IfcRightCircularCylinder is a Construction Solid /// Geometry (CSG) 3D primitive. It is a solid with a circular base and @@ -23258,8 +23258,8 @@ public: IfcRightCircularCylinder (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRightCircularCylinder (IfcAxis2Placement3D* v1_Position, IfcPositiveLengthMeasure v2_Height, IfcPositiveLengthMeasure v3_Radius); typedef IfcRightCircularCylinder* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRightCircularCylinder > > list; + typedef IfcTemplatedEntityList< IfcRightCircularCylinder >::it it; }; /// A spatial structure element /// (IfcSpatialStructureElement) is the generalization of all @@ -23351,17 +23351,17 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 7: return Argument_STRING; case 8: return Argument_ENUMERATION; } return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 7: return "LongName"; case 8: return "CompositionType"; } return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ReferencesElements(); // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - SHARED_PTR< IfcTemplatedEntityList > ServicedBySystems(); // INVERSE IfcRelServicesBuildings::RelatedBuildings - SHARED_PTR< IfcTemplatedEntityList > ContainsElements(); // INVERSE IfcRelContainedInSpatialStructure::RelatingStructure + SHARED_PTR< IfcTemplatedEntityList< IfcRelReferencedInSpatialStructure > > ReferencesElements(); // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure + SHARED_PTR< IfcTemplatedEntityList< IfcRelServicesBuildings > > ServicedBySystems(); // INVERSE IfcRelServicesBuildings::RelatedBuildings + SHARED_PTR< IfcTemplatedEntityList< IfcRelContainedInSpatialStructure > > ContainsElements(); // INVERSE IfcRelContainedInSpatialStructure::RelatingStructure bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcSpatialStructureElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpatialStructureElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType); + IfcSpatialStructureElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType); typedef IfcSpatialStructureElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElement > > list; + typedef IfcTemplatedEntityList< IfcSpatialStructureElement >::it it; }; /// Definition from IAI: The element type /// (IfcSpatialStructureElementType) defines a list of @@ -23407,10 +23407,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSpatialStructureElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpatialStructureElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcSpatialStructureElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcSpatialStructureElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpatialStructureElementType > > list; + typedef IfcTemplatedEntityList< IfcSpatialStructureElementType >::it it; }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D /// primitive. It is a solid where all points at the surface have the @@ -23477,8 +23477,8 @@ public: IfcSphere (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSphere (IfcAxis2Placement3D* v1_Position, IfcPositiveLengthMeasure v2_Radius); typedef IfcSphere* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSphere > > list; + typedef IfcTemplatedEntityList< IfcSphere >::it it; }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. /// @@ -23603,15 +23603,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 7: return Argument_ENTITY; case 8: return Argument_ENUMERATION; } return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 7: return "AppliedLoad"; case 8: return "GlobalOrLocal"; } return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > AssignedToStructuralItem(); // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralActivity > > AssignedToStructuralItem(); // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralActivity (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralActivity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); + IfcStructuralActivity (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); typedef IfcStructuralActivity* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralActivity > > list; + typedef IfcTemplatedEntityList< IfcStructuralActivity >::it it; }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). /// @@ -23706,15 +23706,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > AssignedStructuralActivity(); // INVERSE IfcRelConnectsStructuralActivity::RelatingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralActivity > > AssignedStructuralActivity(); // INVERSE IfcRelConnectsStructuralActivity::RelatingElement bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralItem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); + IfcStructuralItem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); typedef IfcStructuralItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralItem > > list; + typedef IfcTemplatedEntityList< IfcStructuralItem >::it it; }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. /// @@ -23726,16 +23726,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcStructuralItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcStructuralItem::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ReferencesElement(); // INVERSE IfcRelConnectsStructuralElement::RelatedStructuralMember - SHARED_PTR< IfcTemplatedEntityList > ConnectedBy(); // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralElement > > ReferencesElement(); // INVERSE IfcRelConnectsStructuralElement::RelatedStructuralMember + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralMember > > ConnectedBy(); // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralMember (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); + IfcStructuralMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); typedef IfcStructuralMember* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralMember > > list; + typedef IfcTemplatedEntityList< IfcStructuralMember >::it it; }; /// Definition from IAI: A structural reaction is a structural activity that results from a /// structural action imposed to a structural item or building element. Examples are support reactions, @@ -23763,15 +23763,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcStructuralActivity::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcStructuralActivity::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > Causes(); // INVERSE IfcStructuralAction::CausedBy + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralAction > > Causes(); // INVERSE IfcStructuralAction::CausedBy bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralReaction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralReaction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); + IfcStructuralReaction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); typedef IfcStructuralReaction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralReaction > > list; + typedef IfcTemplatedEntityList< IfcStructuralReaction >::it it; }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. /// @@ -23811,10 +23811,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralSurfaceMember (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralSurfaceMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional v9_Thickness); + IfcStructuralSurfaceMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional< IfcPositiveLengthMeasure > v9_Thickness); typedef IfcStructuralSurfaceMember* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralSurfaceMember > > list; + typedef IfcTemplatedEntityList< IfcStructuralSurfaceMember >::it it; }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. /// @@ -23836,8 +23836,8 @@ public: /// In case of aggregation, instances of IfcStructuralSurfaceMemberVarying may have a topology representation which contains a single IfcConnectedFaceSet, based upon the faces of the parts. Otherwise, definitions at IfcStructuralSurfaceMember apply. class IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: - std::vector /*[2:?]*/ SubsequentThickness(); - void setSubsequentThickness(std::vector /*[2:?]*/ v); + std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ SubsequentThickness(); + void setSubsequentThickness(std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ v); IfcShapeAspect* VaryingThicknessLocation(); void setVaryingThicknessLocation(IfcShapeAspect* v); virtual unsigned int getArgumentCount() const { return 11; } @@ -23848,10 +23848,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralSurfaceMemberVarying (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralSurfaceMemberVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional v9_Thickness, std::vector /*[2:?]*/ v10_SubsequentThickness, IfcShapeAspect* v11_VaryingThicknessLocation); + IfcStructuralSurfaceMemberVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum v8_PredefinedType, optional< IfcPositiveLengthMeasure > v9_Thickness, std::vector< IfcPositiveLengthMeasure > /*[2:?]*/ v10_SubsequentThickness, IfcShapeAspect* v11_VaryingThicknessLocation); typedef IfcStructuralSurfaceMemberVarying* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralSurfaceMemberVarying > > list; + typedef IfcTemplatedEntityList< IfcStructuralSurfaceMemberVarying >::it it; }; class IfcStructuredDimensionCallout : public IfcDraughtingCallout { public: @@ -23865,8 +23865,8 @@ public: IfcStructuredDimensionCallout (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcStructuredDimensionCallout (IfcEntities v1_Contents); typedef IfcStructuredDimensionCallout* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuredDimensionCallout > > list; + typedef IfcTemplatedEntityList< IfcStructuredDimensionCallout >::it it; }; /// The IfcSurfaceCurveSweptAreaSolid is the result of /// sweeping an area along a directrix that lies on a reference @@ -23958,8 +23958,8 @@ public: IfcSurfaceCurveSweptAreaSolid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceCurveSweptAreaSolid (IfcProfileDef* v1_SweptArea, IfcAxis2Placement3D* v2_Position, IfcCurve* v3_Directrix, IfcParameterValue v4_StartParam, IfcParameterValue v5_EndParam, IfcSurface* v6_ReferenceSurface); typedef IfcSurfaceCurveSweptAreaSolid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceCurveSweptAreaSolid > > list; + typedef IfcTemplatedEntityList< IfcSurfaceCurveSweptAreaSolid >::it it; }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): /// @@ -23992,8 +23992,8 @@ public: IfcSurfaceOfLinearExtrusion (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceOfLinearExtrusion (IfcProfileDef* v1_SweptCurve, IfcAxis2Placement3D* v2_Position, IfcDirection* v3_ExtrudedDirection, IfcLengthMeasure v4_Depth); typedef IfcSurfaceOfLinearExtrusion* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceOfLinearExtrusion > > list; + typedef IfcTemplatedEntityList< IfcSurfaceOfLinearExtrusion >::it it; }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. /// @@ -24027,8 +24027,8 @@ public: IfcSurfaceOfRevolution (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcSurfaceOfRevolution (IfcProfileDef* v1_SweptCurve, IfcAxis2Placement3D* v2_Position, IfcAxis1Placement* v3_AxisPosition); typedef IfcSurfaceOfRevolution* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSurfaceOfRevolution > > list; + typedef IfcTemplatedEntityList< IfcSurfaceOfRevolution >::it it; }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: /// @@ -24070,10 +24070,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSystemFurnitureElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSystemFurnitureElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcSystemFurnitureElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcSystemFurnitureElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSystemFurnitureElementType > > list; + typedef IfcTemplatedEntityList< IfcSystemFurnitureElementType >::it it; }; /// An IfcTask is an identifiable unit of work to be /// carried out in a construction project. @@ -24366,10 +24366,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTask (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTask (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority); + IfcTask (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority); typedef IfcTask* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTask > > list; + typedef IfcTemplatedEntityList< IfcTask >::it it; }; /// Definition from IAI: The element type /// IfcTransportElementType defines commonly shared @@ -24447,10 +24447,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTransportElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTransportElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTransportElementTypeEnum::IfcTransportElementTypeEnum v10_PredefinedType); + IfcTransportElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTransportElementTypeEnum::IfcTransportElementTypeEnum v10_PredefinedType); typedef IfcTransportElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTransportElementType > > list; + typedef IfcTemplatedEntityList< IfcTransportElementType >::it it; }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. /// @@ -24476,15 +24476,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENTITY; } return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "TheActor"; } return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsActingUpon(); // INVERSE IfcRelAssignsToActor::RelatingActor + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToActor > > IsActingUpon(); // INVERSE IfcRelAssignsToActor::RelatingActor bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcActor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcActor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcActorSelect v6_TheActor); + IfcActor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcActorSelect v6_TheActor); typedef IfcActor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcActor > > list; + typedef IfcTemplatedEntityList< IfcActor >::it it; }; /// Definition from IAI: An annotation is a graphical /// representation within the geometric (and spatial) context @@ -24665,15 +24665,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelContainedInSpatialStructure > > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcAnnotation (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAnnotation (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); + IfcAnnotation (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); typedef IfcAnnotation* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAnnotation > > list; + typedef IfcTemplatedEntityList< IfcAnnotation >::it it; }; /// IfcAsymmetricIShapeProfileDef /// defines a section profile that provides the defining parameters of a @@ -24739,10 +24739,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAsymmetricIShapeProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAsymmetricIShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional v8_FilletRadius, IfcPositiveLengthMeasure v9_TopFlangeWidth, optional v10_TopFlangeThickness, optional v11_TopFlangeFilletRadius, optional v12_CentreOfGravityInY); + IfcAsymmetricIShapeProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_OverallWidth, IfcPositiveLengthMeasure v5_OverallDepth, IfcPositiveLengthMeasure v6_WebThickness, IfcPositiveLengthMeasure v7_FlangeThickness, optional< IfcPositiveLengthMeasure > v8_FilletRadius, IfcPositiveLengthMeasure v9_TopFlangeWidth, optional< IfcPositiveLengthMeasure > v10_TopFlangeThickness, optional< IfcPositiveLengthMeasure > v11_TopFlangeFilletRadius, optional< IfcPositiveLengthMeasure > v12_CentreOfGravityInY); typedef IfcAsymmetricIShapeProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAsymmetricIShapeProfileDef > > list; + typedef IfcTemplatedEntityList< IfcAsymmetricIShapeProfileDef >::it it; }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D /// primitive. It is defined by a position and a positve distance along @@ -24862,8 +24862,8 @@ public: IfcBlock (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBlock (IfcAxis2Placement3D* v1_Position, IfcPositiveLengthMeasure v2_XLength, IfcPositiveLengthMeasure v3_YLength, IfcPositiveLengthMeasure v4_ZLength); typedef IfcBlock* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBlock > > list; + typedef IfcTemplatedEntityList< IfcBlock >::it it; }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. /// @@ -24884,8 +24884,8 @@ public: IfcBooleanClippingResult (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcBooleanClippingResult (IfcBooleanOperator::IfcBooleanOperator v1_Operator, IfcBooleanOperand v2_FirstOperand, IfcBooleanOperand v3_SecondOperand); typedef IfcBooleanClippingResult* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBooleanClippingResult > > list; + typedef IfcTemplatedEntityList< IfcBooleanClippingResult >::it it; }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. /// @@ -24908,8 +24908,8 @@ public: static Type::Enum Class(); IfcBoundedCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); typedef IfcBoundedCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoundedCurve > > list; + typedef IfcTemplatedEntityList< IfcBoundedCurve >::it it; }; /// Definition from ISO 6707-1:1989: Construction work that /// has the provision of shelter for its occupants or contents as one @@ -25111,10 +25111,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuilding (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuilding (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_ElevationOfRefHeight, optional v11_ElevationOfTerrain, IfcPostalAddress* v12_BuildingAddress); + IfcBuilding (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcLengthMeasure > v10_ElevationOfRefHeight, optional< IfcLengthMeasure > v11_ElevationOfTerrain, IfcPostalAddress* v12_BuildingAddress); typedef IfcBuilding* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuilding > > list; + typedef IfcTemplatedEntityList< IfcBuilding >::it it; }; /// Definition from IAI: The element type /// (IfcBuildingElementType) defines a list of commonly @@ -25155,10 +25155,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcBuildingElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcBuildingElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElementType > > list; + typedef IfcTemplatedEntityList< IfcBuildingElementType >::it it; }; /// The building storey has an /// elevation and typically represents a (nearly) horizontal @@ -25352,10 +25352,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingStorey (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingStorey (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_Elevation); + IfcBuildingStorey (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcLengthMeasure > v10_Elevation); typedef IfcBuildingStorey* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingStorey > > list; + typedef IfcTemplatedEntityList< IfcBuildingStorey >::it it; }; /// IfcCircleHollowProfileDef /// defines a section profile that provides the defining parameters of a @@ -25388,10 +25388,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCircleHollowProfileDef (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCircleHollowProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius, IfcPositiveLengthMeasure v5_WallThickness); + IfcCircleHollowProfileDef (IfcProfileTypeEnum::IfcProfileTypeEnum v1_ProfileType, optional< IfcLabel > v2_ProfileName, IfcAxis2Placement2D* v3_Position, IfcPositiveLengthMeasure v4_Radius, IfcPositiveLengthMeasure v5_WallThickness); typedef IfcCircleHollowProfileDef* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCircleHollowProfileDef > > list; + typedef IfcTemplatedEntityList< IfcCircleHollowProfileDef >::it it; }; /// Definition from IAI: The element type /// IfcColumnType defines commonly shared information for @@ -25504,10 +25504,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcColumnType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcColumnType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcColumnTypeEnum::IfcColumnTypeEnum v10_PredefinedType); + IfcColumnType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcColumnTypeEnum::IfcColumnTypeEnum v10_PredefinedType); typedef IfcColumnType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcColumnType > > list; + typedef IfcTemplatedEntityList< IfcColumnType >::it it; }; /// Definition from ISO/CD 10303-42:1992: A composite /// curve is a collection of curves joined end-to-end. The @@ -25578,8 +25578,8 @@ public: class IfcCompositeCurve : public IfcBoundedCurve { public: /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. - SHARED_PTR< IfcTemplatedEntityList > Segments(); - void setSegments(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > Segments(); + void setSegments(SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v); /// Indication of whether the curve intersects itself or not; this is for information only. bool SelfIntersect(); void setSelfIntersect(bool v); @@ -25591,10 +25591,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCompositeCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCompositeCurve (SHARED_PTR< IfcTemplatedEntityList > v1_Segments, bool v2_SelfIntersect); + IfcCompositeCurve (SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v1_Segments, bool v2_SelfIntersect); typedef IfcCompositeCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurve > > list; + typedef IfcTemplatedEntityList< IfcCompositeCurve >::it it; }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. /// @@ -25616,8 +25616,8 @@ public: IfcConic (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcConic (IfcAxis2Placement v1_Position); typedef IfcConic* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConic > > list; + typedef IfcTemplatedEntityList< IfcConic >::it it; }; /// IfcConstructionResource is an abstract generalization of the different resources used in /// construction projects, mainly labor, material, equipment and product resources, plus subcontracted resources and aggregations such as a crew resource. @@ -25718,10 +25718,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstructionResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstructionResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); + IfcConstructionResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); typedef IfcConstructionResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstructionResource > > list; + typedef IfcTemplatedEntityList< IfcConstructionResource >::it it; }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. /// @@ -25739,15 +25739,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > Controls(); // INVERSE IfcRelAssignsToControl::RelatingControl + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToControl > > Controls(); // INVERSE IfcRelAssignsToControl::RelatingControl bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcControl (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcControl* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcControl > > list; + typedef IfcTemplatedEntityList< IfcControl >::it it; }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. /// @@ -25795,10 +25795,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCostItem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCostItem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcCostItem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcCostItem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCostItem > > list; + typedef IfcTemplatedEntityList< IfcCostItem >::it it; }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. /// @@ -25853,8 +25853,8 @@ public: void setStatus(IfcLabel v); /// Whether the optional attribute TargetUsers is defined for this IfcCostSchedule bool hasTargetUsers(); - SHARED_PTR< IfcTemplatedEntityList > TargetUsers(); - void setTargetUsers(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > TargetUsers(); + void setTargetUsers(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute UpdateDate is defined for this IfcCostSchedule bool hasUpdateDate(); /// The date and time that this cost schedule is updated; this allows tracking the schedule history. @@ -25877,10 +25877,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCostSchedule (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCostSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_SubmittedBy, optional v7_PreparedBy, optional v8_SubmittedOn, optional v9_Status, optional v10_TargetUsers, optional v11_UpdateDate, IfcIdentifier v12_ID, IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum v13_PredefinedType); + IfcCostSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcActorSelect > v6_SubmittedBy, optional< IfcActorSelect > v7_PreparedBy, optional< IfcDateTimeSelect > v8_SubmittedOn, optional< IfcLabel > v9_Status, optional< IfcEntities > v10_TargetUsers, optional< IfcDateTimeSelect > v11_UpdateDate, IfcIdentifier v12_ID, IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum v13_PredefinedType); typedef IfcCostSchedule* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCostSchedule > > list; + typedef IfcTemplatedEntityList< IfcCostSchedule >::it it; }; /// Definition from IAI: The element type /// IfcCoveringType defines commonly shared information for @@ -25974,10 +25974,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCoveringType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCoveringType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoveringTypeEnum::IfcCoveringTypeEnum v10_PredefinedType); + IfcCoveringType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoveringTypeEnum::IfcCoveringTypeEnum v10_PredefinedType); typedef IfcCoveringType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCoveringType > > list; + typedef IfcTemplatedEntityList< IfcCoveringType >::it it; }; /// IfcCrewResource represents a collection of internal resources used in construction processes. /// @@ -25999,10 +25999,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCrewResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCrewResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); + IfcCrewResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); typedef IfcCrewResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCrewResource > > list; + typedef IfcTemplatedEntityList< IfcCrewResource >::it it; }; /// Definition from IAI: The element type (IfcCurtainWallType) /// defines a list of commonly shared property set definitions of a curtain @@ -26038,10 +26038,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurtainWallType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurtainWallType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum v10_PredefinedType); + IfcCurtainWallType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum v10_PredefinedType); typedef IfcCurtainWallType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurtainWallType > > list; + typedef IfcTemplatedEntityList< IfcCurtainWallType >::it it; }; class IfcDimensionCurveDirectedCallout : public IfcDraughtingCallout { public: @@ -26055,8 +26055,8 @@ public: IfcDimensionCurveDirectedCallout (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDimensionCurveDirectedCallout (IfcEntities v1_Contents); typedef IfcDimensionCurveDirectedCallout* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDimensionCurveDirectedCallout > > list; + typedef IfcTemplatedEntityList< IfcDimensionCurveDirectedCallout >::it it; }; /// Definition from IAI: The /// IfcDistributionElementType defines a list of commonly @@ -26096,10 +26096,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcDistributionElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcDistributionElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionElementType > > list; + typedef IfcTemplatedEntityList< IfcDistributionElementType >::it it; }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). /// @@ -26176,10 +26176,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionFlowElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionFlowElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcDistributionFlowElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcDistributionFlowElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionFlowElementType > > list; + typedef IfcTemplatedEntityList< IfcDistributionFlowElementType >::it it; }; class IfcElectricalBaseProperties : public IfcEnergyProperties { public: @@ -26217,10 +26217,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricalBaseProperties (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricalBaseProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_EnergySequence, optional v6_UserDefinedEnergySequence, optional v7_ElectricCurrentType, IfcElectricVoltageMeasure v8_InputVoltage, IfcFrequencyMeasure v9_InputFrequency, optional v10_FullLoadCurrent, optional v11_MinimumCircuitCurrent, optional v12_MaximumPowerInput, optional v13_RatedPowerInput, int v14_InputPhase); + IfcElectricalBaseProperties (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcEnergySequenceEnum::IfcEnergySequenceEnum > v5_EnergySequence, optional< IfcLabel > v6_UserDefinedEnergySequence, optional< IfcElectricCurrentEnum::IfcElectricCurrentEnum > v7_ElectricCurrentType, IfcElectricVoltageMeasure v8_InputVoltage, IfcFrequencyMeasure v9_InputFrequency, optional< IfcElectricCurrentMeasure > v10_FullLoadCurrent, optional< IfcElectricCurrentMeasure > v11_MinimumCircuitCurrent, optional< IfcPowerMeasure > v12_MaximumPowerInput, optional< IfcPowerMeasure > v13_RatedPowerInput, int v14_InputPhase); typedef IfcElectricalBaseProperties* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricalBaseProperties > > list; + typedef IfcTemplatedEntityList< IfcElectricalBaseProperties >::it it; }; /// Definition from IAI: Generalization of all components /// that make up an AEC product. Those elements can be logically @@ -26286,26 +26286,26 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 7: return Argument_STRING; } return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 7: return "Tag"; } return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasStructuralMember(); // INVERSE IfcRelConnectsStructuralElement::RelatingElement - SHARED_PTR< IfcTemplatedEntityList > FillsVoids(); // INVERSE IfcRelFillsElement::RelatedBuildingElement - SHARED_PTR< IfcTemplatedEntityList > ConnectedTo(); // INVERSE IfcRelConnectsElements::RelatingElement - SHARED_PTR< IfcTemplatedEntityList > HasCoverings(); // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - SHARED_PTR< IfcTemplatedEntityList > HasProjections(); // INVERSE IfcRelProjectsElement::RelatingElement - SHARED_PTR< IfcTemplatedEntityList > ReferencedInStructures(); // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - SHARED_PTR< IfcTemplatedEntityList > HasPorts(); // INVERSE IfcRelConnectsPortToElement::RelatedElement - SHARED_PTR< IfcTemplatedEntityList > HasOpenings(); // INVERSE IfcRelVoidsElement::RelatingBuildingElement - SHARED_PTR< IfcTemplatedEntityList > IsConnectionRealization(); // INVERSE IfcRelConnectsWithRealizingElements::RealizingElements - SHARED_PTR< IfcTemplatedEntityList > ProvidesBoundaries(); // INVERSE IfcRelSpaceBoundary::RelatedBuildingElement - SHARED_PTR< IfcTemplatedEntityList > ConnectedFrom(); // INVERSE IfcRelConnectsElements::RelatedElement - SHARED_PTR< IfcTemplatedEntityList > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralElement > > HasStructuralMember(); // INVERSE IfcRelConnectsStructuralElement::RelatingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelFillsElement > > FillsVoids(); // INVERSE IfcRelFillsElement::RelatedBuildingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsElements > > ConnectedTo(); // INVERSE IfcRelConnectsElements::RelatingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversBldgElements > > HasCoverings(); // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelProjectsElement > > HasProjections(); // INVERSE IfcRelProjectsElement::RelatingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelReferencedInSpatialStructure > > ReferencedInStructures(); // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPortToElement > > HasPorts(); // INVERSE IfcRelConnectsPortToElement::RelatedElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelVoidsElement > > HasOpenings(); // INVERSE IfcRelVoidsElement::RelatingBuildingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsWithRealizingElements > > IsConnectionRealization(); // INVERSE IfcRelConnectsWithRealizingElements::RealizingElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelSpaceBoundary > > ProvidesBoundaries(); // INVERSE IfcRelSpaceBoundary::RelatedBuildingElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsElements > > ConnectedFrom(); // INVERSE IfcRelConnectsElements::RelatedElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelContainedInSpatialStructure > > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElement > > list; + typedef IfcTemplatedEntityList< IfcElement >::it it; }; /// The IfcElementAssembly /// represents complex element assemblies aggregated from several @@ -26421,10 +26421,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElementAssembly (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElementAssembly (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_AssemblyPlace, IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum v10_PredefinedType); + IfcElementAssembly (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum > v9_AssemblyPlace, IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum v10_PredefinedType); typedef IfcElementAssembly* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementAssembly > > list; + typedef IfcTemplatedEntityList< IfcElementAssembly >::it it; }; /// An element component is a representation for minor items included in, added to or connecting to or between /// elements, which usually are not of interest from the overall building structure viewpoint. @@ -26513,10 +26513,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElementComponent (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElementComponent (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcElementComponent (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcElementComponent* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementComponent > > list; + typedef IfcTemplatedEntityList< IfcElementComponent >::it it; }; /// Definition from IAI: /// The element type (IfcElementComponentType) represents the supertype for element @@ -26537,10 +26537,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElementComponentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElementComponentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcElementComponentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcElementComponentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElementComponentType > > list; + typedef IfcTemplatedEntityList< IfcElementComponentType >::it it; }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: /// @@ -26587,8 +26587,8 @@ public: IfcEllipse (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcEllipse (IfcAxis2Placement v1_Position, IfcPositiveLengthMeasure v2_SemiAxis1, IfcPositiveLengthMeasure v3_SemiAxis2); typedef IfcEllipse* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEllipse > > list; + typedef IfcTemplatedEntityList< IfcEllipse >::it it; }; /// The element type IfcEnergyConversionType defines a list of commonly shared property /// set definitions of an energy conversion device and an optional set of product representations. @@ -26623,10 +26623,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEnergyConversionDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEnergyConversionDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcEnergyConversionDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcEnergyConversionDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEnergyConversionDeviceType > > list; + typedef IfcTemplatedEntityList< IfcEnergyConversionDeviceType >::it it; }; class IfcEquipmentElement : public IfcElement { public: @@ -26638,10 +26638,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEquipmentElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEquipmentElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcEquipmentElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcEquipmentElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEquipmentElement > > list; + typedef IfcTemplatedEntityList< IfcEquipmentElement >::it it; }; class IfcEquipmentStandard : public IfcControl { public: @@ -26653,10 +26653,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEquipmentStandard (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEquipmentStandard (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcEquipmentStandard (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcEquipmentStandard* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEquipmentStandard > > list; + typedef IfcTemplatedEntityList< IfcEquipmentStandard >::it it; }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: /// @@ -26697,10 +26697,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEvaporativeCoolerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEvaporativeCoolerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum v10_PredefinedType); + IfcEvaporativeCoolerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum v10_PredefinedType); typedef IfcEvaporativeCoolerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEvaporativeCoolerType > > list; + typedef IfcTemplatedEntityList< IfcEvaporativeCoolerType >::it it; }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: /// @@ -26741,10 +26741,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEvaporatorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEvaporatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum v10_PredefinedType); + IfcEvaporatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum v10_PredefinedType); typedef IfcEvaporatorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEvaporatorType > > list; + typedef IfcTemplatedEntityList< IfcEvaporatorType >::it it; }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep /// is a simple form of boundary representation model in which all @@ -26782,8 +26782,8 @@ public: IfcFacetedBrep (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcFacetedBrep (IfcClosedShell* v1_Outer); typedef IfcFacetedBrep* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFacetedBrep > > list; + typedef IfcTemplatedEntityList< IfcFacetedBrep >::it it; }; /// The IfcFacetedBrepWithVoids /// is a specialization of a faceted B-rep which contains one or more @@ -26812,8 +26812,8 @@ public: class IfcFacetedBrepWithVoids : public IfcManifoldSolidBrep { public: /// Set of closed shells defining voids within the solid. - SHARED_PTR< IfcTemplatedEntityList > Voids(); - void setVoids(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > Voids(); + void setVoids(SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > v); virtual unsigned int getArgumentCount() const { return 2; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 1: return Argument_ENTITY_LIST; } return IfcManifoldSolidBrep::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 1: return "Voids"; } return IfcManifoldSolidBrep::getArgumentName(i); } @@ -26822,10 +26822,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFacetedBrepWithVoids (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFacetedBrepWithVoids (IfcClosedShell* v1_Outer, SHARED_PTR< IfcTemplatedEntityList > v2_Voids); + IfcFacetedBrepWithVoids (IfcClosedShell* v1_Outer, SHARED_PTR< IfcTemplatedEntityList< IfcClosedShell > > v2_Voids); typedef IfcFacetedBrepWithVoids* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFacetedBrepWithVoids > > list; + typedef IfcTemplatedEntityList< IfcFacetedBrepWithVoids >::it it; }; /// Definition from IAI: /// Representations of fixing parts which are used as fasteners to connect or join elements with @@ -26845,10 +26845,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFastener (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFastener (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFastener (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFastener* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFastener > > list; + typedef IfcTemplatedEntityList< IfcFastener >::it it; }; /// Definition from IAI: /// The element type (IfcFastenerType) defines a list of commonly shared @@ -26883,10 +26883,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFastenerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFastenerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFastenerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFastenerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFastenerType > > list; + typedef IfcTemplatedEntityList< IfcFastenerType >::it it; }; /// Definition from IAI: Generalization of all existence /// dependent elements which modify the shape and appearance of the @@ -26992,10 +26992,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFeatureElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFeatureElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFeatureElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFeatureElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFeatureElement > > list; + typedef IfcTemplatedEntityList< IfcFeatureElement >::it it; }; /// Definition from IAI: A specialization of the general /// feature element, that represents an existence dependent @@ -27058,15 +27058,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcFeatureElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcFeatureElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ProjectsElements(); // INVERSE IfcRelProjectsElement::RelatedFeatureElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelProjectsElement > > ProjectsElements(); // INVERSE IfcRelProjectsElement::RelatedFeatureElement bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcFeatureElementAddition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFeatureElementAddition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFeatureElementAddition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFeatureElementAddition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFeatureElementAddition > > list; + typedef IfcTemplatedEntityList< IfcFeatureElementAddition >::it it; }; /// The IfcFeatureElementSubtraction is specialization of /// the general feature element, that represents an existence dependent @@ -27124,15 +27124,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcFeatureElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcFeatureElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > VoidsElements(); // INVERSE IfcRelVoidsElement::RelatedOpeningElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelVoidsElement > > VoidsElements(); // INVERSE IfcRelVoidsElement::RelatedOpeningElement bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcFeatureElementSubtraction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFeatureElementSubtraction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFeatureElementSubtraction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFeatureElementSubtraction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFeatureElementSubtraction > > list; + typedef IfcTemplatedEntityList< IfcFeatureElementSubtraction >::it it; }; /// The element type IfcFlowControllerType defines a list of commonly shared property /// set definitions of a flow controller and an optional set of product representations. @@ -27166,10 +27166,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowControllerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowControllerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowControllerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowControllerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowControllerType > > list; + typedef IfcTemplatedEntityList< IfcFlowControllerType >::it it; }; /// The element type IfcFlowFittingType defines a list of commonly shared property /// set definitions of a flow fitting and an optional set of product representations. @@ -27204,10 +27204,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowFittingType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowFittingType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowFittingType > > list; + typedef IfcTemplatedEntityList< IfcFlowFittingType >::it it; }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: /// @@ -27254,10 +27254,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowMeterType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowMeterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum v10_PredefinedType); + IfcFlowMeterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum v10_PredefinedType); typedef IfcFlowMeterType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowMeterType > > list; + typedef IfcTemplatedEntityList< IfcFlowMeterType >::it it; }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property /// set definitions of a flow moving device and an optional set of product representations. @@ -27291,10 +27291,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowMovingDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowMovingDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowMovingDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowMovingDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowMovingDeviceType > > list; + typedef IfcTemplatedEntityList< IfcFlowMovingDeviceType >::it it; }; /// The element type IfcFlowSegmentType defines a list of commonly shared property /// set definitions of a flow segment and an optional set of product representations. @@ -27337,10 +27337,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowSegmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowSegmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowSegmentType > > list; + typedef IfcTemplatedEntityList< IfcFlowSegmentType >::it it; }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). /// @@ -27359,10 +27359,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowStorageDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowStorageDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowStorageDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowStorageDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowStorageDeviceType > > list; + typedef IfcTemplatedEntityList< IfcFlowStorageDeviceType >::it it; }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). /// @@ -27381,10 +27381,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowTerminalType > > list; + typedef IfcTemplatedEntityList< IfcFlowTerminalType >::it it; }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). /// @@ -27404,10 +27404,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowTreatmentDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowTreatmentDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcFlowTreatmentDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcFlowTreatmentDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowTreatmentDeviceType > > list; + typedef IfcTemplatedEntityList< IfcFlowTreatmentDeviceType >::it it; }; /// Definition from IAI: Generalization of all furniture /// related objects. Furnishing objects are characterized as @@ -27523,10 +27523,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFurnishingElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFurnishingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFurnishingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFurnishingElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFurnishingElement > > list; + typedef IfcTemplatedEntityList< IfcFurnishingElement >::it it; }; class IfcFurnitureStandard : public IfcControl { public: @@ -27538,10 +27538,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFurnitureStandard (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFurnitureStandard (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcFurnitureStandard (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcFurnitureStandard* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFurnitureStandard > > list; + typedef IfcTemplatedEntityList< IfcFurnitureStandard >::it it; }; class IfcGasTerminalType : public IfcFlowTerminalType { public: @@ -27555,10 +27555,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcGasTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGasTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum v10_PredefinedType); + IfcGasTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum v10_PredefinedType); typedef IfcGasTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGasTerminalType > > list; + typedef IfcTemplatedEntityList< IfcGasTerminalType >::it it; }; /// IfcGrid ia a planar design /// grid defined in 3D space used as an aid in locating structural and @@ -27659,29 +27659,29 @@ public: class IfcGrid : public IfcProduct { public: /// List of grid axes defining the first row of grid lines. - SHARED_PTR< IfcTemplatedEntityList > UAxes(); - void setUAxes(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > UAxes(); + void setUAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v); /// List of grid axes defining the second row of grid lines. - SHARED_PTR< IfcTemplatedEntityList > VAxes(); - void setVAxes(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > VAxes(); + void setVAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v); /// Whether the optional attribute WAxes is defined for this IfcGrid bool hasWAxes(); /// List of grid axes defining the third row of grid lines. It may be given in the case of a triangular grid. - SHARED_PTR< IfcTemplatedEntityList > WAxes(); - void setWAxes(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > WAxes(); + void setWAxes(SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v); virtual unsigned int getArgumentCount() const { return 10; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 7: return Argument_ENTITY_LIST; case 8: return Argument_ENTITY_LIST; case 9: return Argument_ENTITY_LIST; } return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 7: return "UAxes"; case 8: return "VAxes"; case 9: return "WAxes"; } return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelContainedInSpatialStructure > > ContainedInStructure(); // INVERSE IfcRelContainedInSpatialStructure::RelatedElements bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcGrid (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGrid (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, SHARED_PTR< IfcTemplatedEntityList > v8_UAxes, SHARED_PTR< IfcTemplatedEntityList > v9_VAxes, optional >> v10_WAxes); + IfcGrid (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v8_UAxes, SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > v9_VAxes, optional< SHARED_PTR< IfcTemplatedEntityList< IfcGridAxis > > > v10_WAxes); typedef IfcGrid* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGrid > > list; + typedef IfcTemplatedEntityList< IfcGrid >::it it; }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. /// @@ -27719,15 +27719,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcObject::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcObject::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > IsGroupedBy(); // INVERSE IfcRelAssignsToGroup::RelatingGroup + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToGroup > > IsGroupedBy(); // INVERSE IfcRelAssignsToGroup::RelatingGroup bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcGroup (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcGroup* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcGroup > > list; + typedef IfcTemplatedEntityList< IfcGroup >::it it; }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: /// @@ -27771,10 +27771,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcHeatExchangerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcHeatExchangerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum v10_PredefinedType); + IfcHeatExchangerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum v10_PredefinedType); typedef IfcHeatExchangerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcHeatExchangerType > > list; + typedef IfcTemplatedEntityList< IfcHeatExchangerType >::it it; }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: /// @@ -27815,10 +27815,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcHumidifierType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcHumidifierType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcHumidifierTypeEnum::IfcHumidifierTypeEnum v10_PredefinedType); + IfcHumidifierType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcHumidifierTypeEnum::IfcHumidifierTypeEnum v10_PredefinedType); typedef IfcHumidifierType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcHumidifierType > > list; + typedef IfcTemplatedEntityList< IfcHumidifierType >::it it; }; /// An inventory is a list of items within an enterprise. /// @@ -27839,8 +27839,8 @@ public: IfcActorSelect Jurisdiction(); void setJurisdiction(IfcActorSelect v); /// Persons who are responsible for the inventory. - SHARED_PTR< IfcTemplatedEntityList > ResponsiblePersons(); - void setResponsiblePersons(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > ResponsiblePersons(); + void setResponsiblePersons(SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v); /// The date on which the last update of the inventory was carried out. /// /// IFC2x4 CHANGE Type changed from IfcDateTimeSelect. @@ -27864,10 +27864,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcInventory (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcInventory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcInventoryTypeEnum::IfcInventoryTypeEnum v6_InventoryType, IfcActorSelect v7_Jurisdiction, SHARED_PTR< IfcTemplatedEntityList > v8_ResponsiblePersons, IfcCalendarDate* v9_LastUpdateDate, IfcCostValue* v10_CurrentValue, IfcCostValue* v11_OriginalValue); + IfcInventory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcInventoryTypeEnum::IfcInventoryTypeEnum v6_InventoryType, IfcActorSelect v7_Jurisdiction, SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v8_ResponsiblePersons, IfcCalendarDate* v9_LastUpdateDate, IfcCostValue* v10_CurrentValue, IfcCostValue* v11_OriginalValue); typedef IfcInventory* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcInventory > > list; + typedef IfcTemplatedEntityList< IfcInventory >::it it; }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: /// @@ -27909,10 +27909,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcJunctionBoxType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcJunctionBoxType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum v10_PredefinedType); + IfcJunctionBoxType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum v10_PredefinedType); typedef IfcJunctionBoxType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcJunctionBoxType > > list; + typedef IfcTemplatedEntityList< IfcJunctionBoxType >::it it; }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. /// @@ -27952,10 +27952,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLaborResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLaborResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_SkillSet); + IfcLaborResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcText > v10_SkillSet); typedef IfcLaborResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLaborResource > > list; + typedef IfcTemplatedEntityList< IfcLaborResource >::it it; }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: /// @@ -27999,10 +27999,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLampType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLampType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcLampTypeEnum::IfcLampTypeEnum v10_PredefinedType); + IfcLampType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcLampTypeEnum::IfcLampTypeEnum v10_PredefinedType); typedef IfcLampType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLampType > > list; + typedef IfcTemplatedEntityList< IfcLampType >::it it; }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: /// @@ -28048,10 +28048,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcLightFixtureType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcLightFixtureType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum v10_PredefinedType); + IfcLightFixtureType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum v10_PredefinedType); typedef IfcLightFixtureType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLightFixtureType > > list; + typedef IfcTemplatedEntityList< IfcLightFixtureType >::it it; }; class IfcLinearDimension : public IfcDimensionCurveDirectedCallout { public: @@ -28065,8 +28065,8 @@ public: IfcLinearDimension (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcLinearDimension (IfcEntities v1_Contents); typedef IfcLinearDimension* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcLinearDimension > > list; + typedef IfcTemplatedEntityList< IfcLinearDimension >::it it; }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. /// @@ -28115,10 +28115,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMechanicalFastener (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMechanicalFastener (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_NominalDiameter, optional v10_NominalLength); + IfcMechanicalFastener (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_NominalDiameter, optional< IfcPositiveLengthMeasure > v10_NominalLength); typedef IfcMechanicalFastener* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMechanicalFastener > > list; + typedef IfcTemplatedEntityList< IfcMechanicalFastener >::it it; }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). /// @@ -28165,10 +28165,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMechanicalFastenerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMechanicalFastenerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcMechanicalFastenerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcMechanicalFastenerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMechanicalFastenerType > > list; + typedef IfcTemplatedEntityList< IfcMechanicalFastenerType >::it it; }; /// Definition from IAI: The element type /// IfcMemberType defines commonly shared information for @@ -28284,10 +28284,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMemberType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMemberType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcMemberTypeEnum::IfcMemberTypeEnum v10_PredefinedType); + IfcMemberType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcMemberTypeEnum::IfcMemberTypeEnum v10_PredefinedType); typedef IfcMemberType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMemberType > > list; + typedef IfcTemplatedEntityList< IfcMemberType >::it it; }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: /// @@ -28329,10 +28329,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMotorConnectionType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMotorConnectionType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum v10_PredefinedType); + IfcMotorConnectionType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum v10_PredefinedType); typedef IfcMotorConnectionType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMotorConnectionType > > list; + typedef IfcTemplatedEntityList< IfcMotorConnectionType >::it it; }; class IfcMove : public IfcTask { public: @@ -28342,8 +28342,8 @@ public: void setMoveTo(IfcSpatialStructureElement* v); /// Whether the optional attribute PunchList is defined for this IfcMove bool hasPunchList(); - std::vector /*[1:?]*/ PunchList(); - void setPunchList(std::vector /*[1:?]*/ v); + std::vector< IfcText > /*[1:?]*/ PunchList(); + void setPunchList(std::vector< IfcText > /*[1:?]*/ v); virtual unsigned int getArgumentCount() const { return 13; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 10: return Argument_ENTITY; case 11: return Argument_ENTITY; case 12: return Argument_VECTOR_STRING; } return IfcTask::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 10: return "MoveFrom"; case 11: return "MoveTo"; case 12: return "PunchList"; } return IfcTask::getArgumentName(i); } @@ -28352,10 +28352,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMove (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMove (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority, IfcSpatialStructureElement* v11_MoveFrom, IfcSpatialStructureElement* v12_MoveTo, optional /*[1:?]*/> v13_PunchList); + IfcMove (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority, IfcSpatialStructureElement* v11_MoveFrom, IfcSpatialStructureElement* v12_MoveTo, optional< std::vector< IfcText > /*[1:?]*/ > v13_PunchList); typedef IfcMove* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMove > > list; + typedef IfcTemplatedEntityList< IfcMove >::it it; }; /// An occupant is a type of actor that defines the form of occupancy of a property. /// @@ -28379,10 +28379,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOccupant (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOccupant (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcActorSelect v6_TheActor, IfcOccupantTypeEnum::IfcOccupantTypeEnum v7_PredefinedType); + IfcOccupant (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcActorSelect v6_TheActor, IfcOccupantTypeEnum::IfcOccupantTypeEnum v7_PredefinedType); typedef IfcOccupant* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOccupant > > list; + typedef IfcTemplatedEntityList< IfcOccupant >::it it; }; /// The opening element stands for /// opening, recess or chase, all reflecting voids. It represents a @@ -28592,15 +28592,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcFeatureElementSubtraction::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcFeatureElementSubtraction::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasFillings(); // INVERSE IfcRelFillsElement::RelatingOpeningElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelFillsElement > > HasFillings(); // INVERSE IfcRelFillsElement::RelatingOpeningElement bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcOpeningElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOpeningElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcOpeningElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcOpeningElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOpeningElement > > list; + typedef IfcTemplatedEntityList< IfcOpeningElement >::it it; }; class IfcOrderAction : public IfcTask { public: @@ -28614,10 +28614,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOrderAction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOrderAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_TaskId, optional v7_Status, optional v8_WorkMethod, bool v9_IsMilestone, optional v10_Priority, IfcIdentifier v11_ActionID); + IfcOrderAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_TaskId, optional< IfcLabel > v7_Status, optional< IfcLabel > v8_WorkMethod, bool v9_IsMilestone, optional< int > v10_Priority, IfcIdentifier v11_ActionID); typedef IfcOrderAction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOrderAction > > list; + typedef IfcTemplatedEntityList< IfcOrderAction >::it it; }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: /// @@ -28661,10 +28661,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcOutletType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcOutletType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcOutletTypeEnum::IfcOutletTypeEnum v10_PredefinedType); + IfcOutletType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcOutletTypeEnum::IfcOutletTypeEnum v10_PredefinedType); typedef IfcOutletType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcOutletType > > list; + typedef IfcTemplatedEntityList< IfcOutletType >::it it; }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. /// @@ -28684,10 +28684,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPerformanceHistory (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPerformanceHistory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcLabel v6_LifeCyclePhase); + IfcPerformanceHistory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcLabel v6_LifeCyclePhase); typedef IfcPerformanceHistory* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPerformanceHistory > > list; + typedef IfcTemplatedEntityList< IfcPerformanceHistory >::it it; }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. /// @@ -28738,10 +28738,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPermit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPermit (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_PermitID); + IfcPermit (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_PermitID); typedef IfcPermit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPermit > > list; + typedef IfcTemplatedEntityList< IfcPermit >::it it; }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: /// @@ -28785,10 +28785,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPipeFittingType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPipeFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum v10_PredefinedType); + IfcPipeFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum v10_PredefinedType); typedef IfcPipeFittingType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPipeFittingType > > list; + typedef IfcTemplatedEntityList< IfcPipeFittingType >::it it; }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: /// @@ -28836,10 +28836,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPipeSegmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPipeSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum v10_PredefinedType); + IfcPipeSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum v10_PredefinedType); typedef IfcPipeSegmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPipeSegmentType > > list; + typedef IfcTemplatedEntityList< IfcPipeSegmentType >::it it; }; /// The element type IfcPlateType defines commonly shared /// information for occurrences of plates. The set of shared @@ -28931,10 +28931,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPlateType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPlateType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPlateTypeEnum::IfcPlateTypeEnum v10_PredefinedType); + IfcPlateType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPlateTypeEnum::IfcPlateTypeEnum v10_PredefinedType); typedef IfcPlateType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlateType > > list; + typedef IfcTemplatedEntityList< IfcPlateType >::it it; }; /// Definition from ISO/CD 10303-42:1992: A polyline /// is a bounded curve of n - 1 linear segments, defined by a @@ -28953,8 +28953,8 @@ public: class IfcPolyline : public IfcBoundedCurve { public: /// The points defining the polyline. - SHARED_PTR< IfcTemplatedEntityList > Points(); - void setPoints(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > Points(); + void setPoints(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v); virtual unsigned int getArgumentCount() const { return 1; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 0: return Argument_ENTITY_LIST; } return IfcBoundedCurve::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 0: return "Points"; } return IfcBoundedCurve::getArgumentName(i); } @@ -28963,10 +28963,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPolyline (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPolyline (SHARED_PTR< IfcTemplatedEntityList > v1_Points); + IfcPolyline (SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v1_Points); typedef IfcPolyline* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPolyline > > list; + typedef IfcTemplatedEntityList< IfcPolyline >::it it; }; /// Definition from IAI: An IfcPort provides the /// means for an element to connect to other elements. @@ -29027,17 +29027,17 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcProduct::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcProduct::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ContainedIn(); // INVERSE IfcRelConnectsPortToElement::RelatingPort - SHARED_PTR< IfcTemplatedEntityList > ConnectedFrom(); // INVERSE IfcRelConnectsPorts::RelatedPort - SHARED_PTR< IfcTemplatedEntityList > ConnectedTo(); // INVERSE IfcRelConnectsPorts::RelatingPort + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPortToElement > > ContainedIn(); // INVERSE IfcRelConnectsPortToElement::RelatingPort + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPorts > > ConnectedFrom(); // INVERSE IfcRelConnectsPorts::RelatedPort + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsPorts > > ConnectedTo(); // INVERSE IfcRelConnectsPorts::RelatingPort bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcPort (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPort (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); + IfcPort (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation); typedef IfcPort* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPort > > list; + typedef IfcTemplatedEntityList< IfcPort >::it it; }; /// An IfcProcedure is a /// logical set of actions to be taken in response to an event @@ -29161,10 +29161,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProcedure (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProcedure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_ProcedureID, IfcProcedureTypeEnum::IfcProcedureTypeEnum v7_ProcedureType, optional v8_UserDefinedProcedureType); + IfcProcedure (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_ProcedureID, IfcProcedureTypeEnum::IfcProcedureTypeEnum v7_ProcedureType, optional< IfcLabel > v8_UserDefinedProcedureType); typedef IfcProcedure* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProcedure > > list; + typedef IfcTemplatedEntityList< IfcProcedure >::it it; }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. /// @@ -29239,15 +29239,15 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProjectOrder (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProjectOrder (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_ID, IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum v7_PredefinedType, optional v8_Status); + IfcProjectOrder (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_ID, IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum v7_PredefinedType, optional< IfcLabel > v8_Status); typedef IfcProjectOrder* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProjectOrder > > list; + typedef IfcTemplatedEntityList< IfcProjectOrder >::it it; }; class IfcProjectOrderRecord : public IfcControl { public: - SHARED_PTR< IfcTemplatedEntityList > Records(); - void setRecords(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > Records(); + void setRecords(SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > v); IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum PredefinedType(); void setPredefinedType(IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v); virtual unsigned int getArgumentCount() const { return 7; } @@ -29258,10 +29258,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProjectOrderRecord (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProjectOrderRecord (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, SHARED_PTR< IfcTemplatedEntityList > v6_Records, IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v7_PredefinedType); + IfcProjectOrderRecord (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsToProjectOrder > > v6_Records, IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum v7_PredefinedType); typedef IfcProjectOrderRecord* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProjectOrderRecord > > list; + typedef IfcTemplatedEntityList< IfcProjectOrderRecord >::it it; }; /// The projection element is a /// specialization of the general feature element to represent @@ -29380,10 +29380,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProjectionElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProjectionElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcProjectionElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcProjectionElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProjectionElement > > list; + typedef IfcTemplatedEntityList< IfcProjectionElement >::it it; }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: /// @@ -29433,10 +29433,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcProtectiveDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcProtectiveDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum v10_PredefinedType); + IfcProtectiveDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum v10_PredefinedType); typedef IfcProtectiveDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcProtectiveDeviceType > > list; + typedef IfcTemplatedEntityList< IfcProtectiveDeviceType >::it it; }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: /// @@ -29479,10 +29479,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPumpType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPumpType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcPumpTypeEnum::IfcPumpTypeEnum v10_PredefinedType); + IfcPumpType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcPumpTypeEnum::IfcPumpTypeEnum v10_PredefinedType); typedef IfcPumpType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPumpType > > list; + typedef IfcTemplatedEntityList< IfcPumpType >::it it; }; class IfcRadiusDimension : public IfcDimensionCurveDirectedCallout { public: @@ -29496,8 +29496,8 @@ public: IfcRadiusDimension (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcRadiusDimension (IfcEntities v1_Contents); typedef IfcRadiusDimension* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRadiusDimension > > list; + typedef IfcTemplatedEntityList< IfcRadiusDimension >::it it; }; /// Definition from IAI: The element type (IfcRailingType) /// defines a list of commonly shared property set definitions of a railing element @@ -29532,10 +29532,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRailingType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRailingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcRailingTypeEnum::IfcRailingTypeEnum v10_PredefinedType); + IfcRailingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcRailingTypeEnum::IfcRailingTypeEnum v10_PredefinedType); typedef IfcRailingType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRailingType > > list; + typedef IfcTemplatedEntityList< IfcRailingType >::it it; }; /// Definition from IAI: The element type (IfcRampFlightType) /// defines a list of commonly shared property set definitions of a ramp flight and @@ -29570,10 +29570,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRampFlightType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRampFlightType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcRampFlightTypeEnum::IfcRampFlightTypeEnum v10_PredefinedType); + IfcRampFlightType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcRampFlightTypeEnum::IfcRampFlightTypeEnum v10_PredefinedType); typedef IfcRampFlightType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRampFlightType > > list; + typedef IfcTemplatedEntityList< IfcRampFlightType >::it it; }; /// The aggregation relationship /// IfcRelAggregates is a special type of the general @@ -29607,10 +29607,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAggregates (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAggregates (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList > v6_RelatedObjects); + IfcRelAggregates (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, IfcObjectDefinition* v5_RelatingObject, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v6_RelatedObjects); typedef IfcRelAggregates* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAggregates > > list; + typedef IfcTemplatedEntityList< IfcRelAggregates >::it it; }; class IfcRelAssignsTasks : public IfcRelAssignsToControl { public: @@ -29626,10 +29626,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRelAssignsTasks (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRelAssignsTasks (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, SHARED_PTR< IfcTemplatedEntityList > v5_RelatedObjects, optional v6_RelatedObjectsType, IfcControl* v7_RelatingControl, IfcScheduleTimeControl* v8_TimeForTask); + IfcRelAssignsTasks (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, SHARED_PTR< IfcTemplatedEntityList< IfcObjectDefinition > > v5_RelatedObjects, optional< IfcObjectTypeEnum::IfcObjectTypeEnum > v6_RelatedObjectsType, IfcControl* v7_RelatingControl, IfcScheduleTimeControl* v8_TimeForTask); typedef IfcRelAssignsTasks* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsTasks > > list; + typedef IfcTemplatedEntityList< IfcRelAssignsTasks >::it it; }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: /// @@ -29681,10 +29681,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSanitaryTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSanitaryTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum v10_PredefinedType); + IfcSanitaryTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum v10_PredefinedType); typedef IfcSanitaryTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSanitaryTerminalType > > list; + typedef IfcTemplatedEntityList< IfcSanitaryTerminalType >::it it; }; class IfcScheduleTimeControl : public IfcControl { public: @@ -29764,15 +29764,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENTITY; case 6: return Argument_ENTITY; case 7: return Argument_ENTITY; case 8: return Argument_ENTITY; case 9: return Argument_ENTITY; case 10: return Argument_ENTITY; case 11: return Argument_ENTITY; case 12: return Argument_ENTITY; case 13: return Argument_DOUBLE; case 14: return Argument_DOUBLE; case 15: return Argument_DOUBLE; case 16: return Argument_DOUBLE; case 17: return Argument_DOUBLE; case 18: return Argument_BOOL; case 19: return Argument_ENTITY; case 20: return Argument_DOUBLE; case 21: return Argument_DOUBLE; case 22: return Argument_DOUBLE; } return IfcControl::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "ActualStart"; case 6: return "EarlyStart"; case 7: return "LateStart"; case 8: return "ScheduleStart"; case 9: return "ActualFinish"; case 10: return "EarlyFinish"; case 11: return "LateFinish"; case 12: return "ScheduleFinish"; case 13: return "ScheduleDuration"; case 14: return "ActualDuration"; case 15: return "RemainingTime"; case 16: return "FreeFloat"; case 17: return "TotalFloat"; case 18: return "IsCritical"; case 19: return "StatusTime"; case 20: return "StartFloat"; case 21: return "FinishFloat"; case 22: return "Completion"; } return IfcControl::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ScheduleTimeControlAssigned(); // INVERSE IfcRelAssignsTasks::TimeForTask + SHARED_PTR< IfcTemplatedEntityList< IfcRelAssignsTasks > > ScheduleTimeControlAssigned(); // INVERSE IfcRelAssignsTasks::TimeForTask bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcScheduleTimeControl (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcScheduleTimeControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ActualStart, optional v7_EarlyStart, optional v8_LateStart, optional v9_ScheduleStart, optional v10_ActualFinish, optional v11_EarlyFinish, optional v12_LateFinish, optional v13_ScheduleFinish, optional v14_ScheduleDuration, optional v15_ActualDuration, optional v16_RemainingTime, optional v17_FreeFloat, optional v18_TotalFloat, optional v19_IsCritical, optional v20_StatusTime, optional v21_StartFloat, optional v22_FinishFloat, optional v23_Completion); + IfcScheduleTimeControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcDateTimeSelect > v6_ActualStart, optional< IfcDateTimeSelect > v7_EarlyStart, optional< IfcDateTimeSelect > v8_LateStart, optional< IfcDateTimeSelect > v9_ScheduleStart, optional< IfcDateTimeSelect > v10_ActualFinish, optional< IfcDateTimeSelect > v11_EarlyFinish, optional< IfcDateTimeSelect > v12_LateFinish, optional< IfcDateTimeSelect > v13_ScheduleFinish, optional< IfcTimeMeasure > v14_ScheduleDuration, optional< IfcTimeMeasure > v15_ActualDuration, optional< IfcTimeMeasure > v16_RemainingTime, optional< IfcTimeMeasure > v17_FreeFloat, optional< IfcTimeMeasure > v18_TotalFloat, optional< bool > v19_IsCritical, optional< IfcDateTimeSelect > v20_StatusTime, optional< IfcTimeMeasure > v21_StartFloat, optional< IfcTimeMeasure > v22_FinishFloat, optional< IfcPositiveRatioMeasure > v23_Completion); typedef IfcScheduleTimeControl* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcScheduleTimeControl > > list; + typedef IfcTemplatedEntityList< IfcScheduleTimeControl >::it it; }; class IfcServiceLife : public IfcControl { public: @@ -29788,10 +29788,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcServiceLife (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcServiceLife (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum v6_ServiceLifeType, IfcTimeMeasure v7_ServiceLifeDuration); + IfcServiceLife (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum v6_ServiceLifeType, IfcTimeMeasure v7_ServiceLifeDuration); typedef IfcServiceLife* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcServiceLife > > list; + typedef IfcTemplatedEntityList< IfcServiceLife >::it it; }; /// Definition from ISO 6707-1:1989: Area where construction /// works are undertaken. @@ -30020,10 +30020,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSite (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSite (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional v10_RefLatitude, optional v11_RefLongitude, optional v12_RefElevation, optional v13_LandTitleNumber, IfcPostalAddress* v14_SiteAddress); + IfcSite (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, optional< IfcCompoundPlaneAngleMeasure > v10_RefLatitude, optional< IfcCompoundPlaneAngleMeasure > v11_RefLongitude, optional< IfcLengthMeasure > v12_RefElevation, optional< IfcLabel > v13_LandTitleNumber, IfcPostalAddress* v14_SiteAddress); typedef IfcSite* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSite > > list; + typedef IfcTemplatedEntityList< IfcSite >::it it; }; /// The element type IfcSlabType defines commonly shared /// information for occurrences of slabs. The set of shared information @@ -30115,10 +30115,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSlabType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSlabType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSlabTypeEnum::IfcSlabTypeEnum v10_PredefinedType); + IfcSlabType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSlabTypeEnum::IfcSlabTypeEnum v10_PredefinedType); typedef IfcSlabType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSlabType > > list; + typedef IfcTemplatedEntityList< IfcSlabType >::it it; }; /// A space represents an area or volume /// bounded actually or theoretically. Spaces are areas or volumes that @@ -30383,16 +30383,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 9: return Argument_ENUMERATION; case 10: return Argument_DOUBLE; } return IfcSpatialStructureElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 9: return "InteriorOrExteriorSpace"; case 10: return "ElevationWithFlooring"; } return IfcSpatialStructureElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasCoverings(); // INVERSE IfcRelCoversSpaces::RelatedSpace - SHARED_PTR< IfcTemplatedEntityList > BoundedBy(); // INVERSE IfcRelSpaceBoundary::RelatingSpace + SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversSpaces > > HasCoverings(); // INVERSE IfcRelCoversSpaces::RelatedSpace + SHARED_PTR< IfcTemplatedEntityList< IfcRelSpaceBoundary > > BoundedBy(); // INVERSE IfcRelSpaceBoundary::RelatingSpace bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcSpace (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpace (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v10_InteriorOrExteriorSpace, optional v11_ElevationWithFlooring); + IfcSpace (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcLabel > v8_LongName, IfcElementCompositionEnum::IfcElementCompositionEnum v9_CompositionType, IfcInternalOrExternalEnum::IfcInternalOrExternalEnum v10_InteriorOrExteriorSpace, optional< IfcLengthMeasure > v11_ElevationWithFlooring); typedef IfcSpace* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpace > > list; + typedef IfcTemplatedEntityList< IfcSpace >::it it; }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: /// @@ -30437,10 +30437,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSpaceHeaterType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpaceHeaterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum v10_PredefinedType); + IfcSpaceHeaterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum v10_PredefinedType); typedef IfcSpaceHeaterType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpaceHeaterType > > list; + typedef IfcTemplatedEntityList< IfcSpaceHeaterType >::it it; }; class IfcSpaceProgram : public IfcControl { public: @@ -30464,16 +30464,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_STRING; case 6: return Argument_DOUBLE; case 7: return Argument_DOUBLE; case 8: return Argument_ENTITY; case 9: return Argument_DOUBLE; } return IfcControl::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "SpaceProgramIdentifier"; case 6: return "MaxRequiredArea"; case 7: return "MinRequiredArea"; case 8: return "RequestedLocation"; case 9: return "StandardRequiredArea"; } return IfcControl::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasInteractionReqsFrom(); // INVERSE IfcRelInteractionRequirements::RelatedSpaceProgram - SHARED_PTR< IfcTemplatedEntityList > HasInteractionReqsTo(); // INVERSE IfcRelInteractionRequirements::RelatingSpaceProgram + SHARED_PTR< IfcTemplatedEntityList< IfcRelInteractionRequirements > > HasInteractionReqsFrom(); // INVERSE IfcRelInteractionRequirements::RelatedSpaceProgram + SHARED_PTR< IfcTemplatedEntityList< IfcRelInteractionRequirements > > HasInteractionReqsTo(); // INVERSE IfcRelInteractionRequirements::RelatingSpaceProgram bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcSpaceProgram (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpaceProgram (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_SpaceProgramIdentifier, optional v7_MaxRequiredArea, optional v8_MinRequiredArea, IfcSpatialStructureElement* v9_RequestedLocation, IfcAreaMeasure v10_StandardRequiredArea); + IfcSpaceProgram (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_SpaceProgramIdentifier, optional< IfcAreaMeasure > v7_MaxRequiredArea, optional< IfcAreaMeasure > v8_MinRequiredArea, IfcSpatialStructureElement* v9_RequestedLocation, IfcAreaMeasure v10_StandardRequiredArea); typedef IfcSpaceProgram* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpaceProgram > > list; + typedef IfcTemplatedEntityList< IfcSpaceProgram >::it it; }; /// Definition from IAI: A space represents an area or /// volume bounded actually or theoretically. Spaces are areas or @@ -30569,10 +30569,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSpaceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSpaceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSpaceTypeEnum::IfcSpaceTypeEnum v10_PredefinedType); + IfcSpaceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSpaceTypeEnum::IfcSpaceTypeEnum v10_PredefinedType); typedef IfcSpaceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSpaceType > > list; + typedef IfcTemplatedEntityList< IfcSpaceType >::it it; }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: /// @@ -30613,10 +30613,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStackTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStackTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum v10_PredefinedType); + IfcStackTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum v10_PredefinedType); typedef IfcStackTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStackTerminalType > > list; + typedef IfcTemplatedEntityList< IfcStackTerminalType >::it it; }; /// Definition from IAI: The element type (IfcStairFlightType) /// defines a list of commonly shared property set definitions of a stair flight @@ -30651,10 +30651,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStairFlightType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStairFlightType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcStairFlightTypeEnum::IfcStairFlightTypeEnum v10_PredefinedType); + IfcStairFlightType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcStairFlightTypeEnum::IfcStairFlightTypeEnum v10_PredefinedType); typedef IfcStairFlightType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStairFlightType > > list; + typedef IfcTemplatedEntityList< IfcStairFlightType >::it it; }; /// Definition from IAI: A structural action is a structural activity that acts upon /// a structural item or building element. @@ -30692,10 +30692,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralAction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy); + IfcStructuralAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy); typedef IfcStructuralAction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralAction > > list; + typedef IfcTemplatedEntityList< IfcStructuralAction >::it it; }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. /// @@ -30711,15 +30711,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 7: return Argument_ENTITY; } return IfcStructuralItem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 7: return "AppliedCondition"; } return IfcStructuralItem::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ConnectsStructuralMembers(); // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection + SHARED_PTR< IfcTemplatedEntityList< IfcRelConnectsStructuralMember > > ConnectsStructuralMembers(); // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralConnection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); + IfcStructuralConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); typedef IfcStructuralConnection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralConnection > > list; + typedef IfcTemplatedEntityList< IfcStructuralConnection >::it it; }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. /// @@ -30748,10 +30748,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralCurveConnection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralCurveConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); + IfcStructuralCurveConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); typedef IfcStructuralCurveConnection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralCurveConnection > > list; + typedef IfcTemplatedEntityList< IfcStructuralCurveConnection >::it it; }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. /// @@ -30803,10 +30803,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralCurveMember (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralCurveMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType); + IfcStructuralCurveMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType); typedef IfcStructuralCurveMember* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralCurveMember > > list; + typedef IfcTemplatedEntityList< IfcStructuralCurveMember >::it it; }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. /// @@ -30838,10 +30838,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralCurveMemberVarying (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralCurveMemberVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType); + IfcStructuralCurveMemberVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum v8_PredefinedType); typedef IfcStructuralCurveMemberVarying* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralCurveMemberVarying > > list; + typedef IfcTemplatedEntityList< IfcStructuralCurveMemberVarying >::it it; }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. /// @@ -30862,17 +30862,17 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLinearAction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLinearAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue); + IfcStructuralLinearAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue); typedef IfcStructuralLinearAction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLinearAction > > list; + typedef IfcTemplatedEntityList< IfcStructuralLinearAction >::it it; }; class IfcStructuralLinearActionVarying : public IfcStructuralLinearAction { public: IfcShapeAspect* VaryingAppliedLoadLocation(); void setVaryingAppliedLoadLocation(IfcShapeAspect* v); - SHARED_PTR< IfcTemplatedEntityList > SubsequentAppliedLoads(); - void setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > SubsequentAppliedLoads(); + void setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v); virtual unsigned int getArgumentCount() const { return 14; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 12: return Argument_ENTITY; case 13: return Argument_ENTITY_LIST; } return IfcStructuralLinearAction::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 12: return "VaryingAppliedLoadLocation"; case 13: return "SubsequentAppliedLoads"; } return IfcStructuralLinearAction::getArgumentName(i); } @@ -30881,10 +30881,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralLinearActionVarying (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLinearActionVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList > v14_SubsequentAppliedLoads); + IfcStructuralLinearActionVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v14_SubsequentAppliedLoads); typedef IfcStructuralLinearActionVarying* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLinearActionVarying > > list; + typedef IfcTemplatedEntityList< IfcStructuralLinearActionVarying >::it it; }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the /// physical impacts. By using the grouping features inherited from IfcGroup, instances of @@ -30944,16 +30944,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENUMERATION; case 6: return Argument_ENUMERATION; case 7: return Argument_ENUMERATION; case 8: return Argument_DOUBLE; case 9: return Argument_STRING; } return IfcGroup::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "PredefinedType"; case 6: return "ActionType"; case 7: return "ActionSource"; case 8: return "Coefficient"; case 9: return "Purpose"; } return IfcGroup::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > SourceOfResultGroup(); // INVERSE IfcStructuralResultGroup::ResultForLoadGroup - SHARED_PTR< IfcTemplatedEntityList > LoadGroupFor(); // INVERSE IfcStructuralAnalysisModel::LoadedBy + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > SourceOfResultGroup(); // INVERSE IfcStructuralResultGroup::ResultForLoadGroup + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralAnalysisModel > > LoadGroupFor(); // INVERSE IfcStructuralAnalysisModel::LoadedBy bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralLoadGroup (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralLoadGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum v6_PredefinedType, IfcActionTypeEnum::IfcActionTypeEnum v7_ActionType, IfcActionSourceTypeEnum::IfcActionSourceTypeEnum v8_ActionSource, optional v9_Coefficient, optional v10_Purpose); + IfcStructuralLoadGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum v6_PredefinedType, IfcActionTypeEnum::IfcActionTypeEnum v7_ActionType, IfcActionSourceTypeEnum::IfcActionSourceTypeEnum v8_ActionSource, optional< IfcRatioMeasure > v9_Coefficient, optional< IfcLabel > v10_Purpose); typedef IfcStructuralLoadGroup* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > list; + typedef IfcTemplatedEntityList< IfcStructuralLoadGroup >::it it; }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. /// @@ -30974,17 +30974,17 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralPlanarAction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralPlanarAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue); + IfcStructuralPlanarAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue); typedef IfcStructuralPlanarAction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralPlanarAction > > list; + typedef IfcTemplatedEntityList< IfcStructuralPlanarAction >::it it; }; class IfcStructuralPlanarActionVarying : public IfcStructuralPlanarAction { public: IfcShapeAspect* VaryingAppliedLoadLocation(); void setVaryingAppliedLoadLocation(IfcShapeAspect* v); - SHARED_PTR< IfcTemplatedEntityList > SubsequentAppliedLoads(); - void setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > SubsequentAppliedLoads(); + void setSubsequentAppliedLoads(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v); virtual unsigned int getArgumentCount() const { return 14; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 12: return Argument_ENTITY; case 13: return Argument_ENTITY_LIST; } return IfcStructuralPlanarAction::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 12: return "VaryingAppliedLoadLocation"; case 13: return "SubsequentAppliedLoads"; } return IfcStructuralPlanarAction::getArgumentName(i); } @@ -30993,10 +30993,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralPlanarActionVarying (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralPlanarActionVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList > v14_SubsequentAppliedLoads); + IfcStructuralPlanarActionVarying (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy, IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum v12_ProjectedOrTrue, IfcShapeAspect* v13_VaryingAppliedLoadLocation, SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoad > > v14_SubsequentAppliedLoads); typedef IfcStructuralPlanarActionVarying* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralPlanarActionVarying > > list; + typedef IfcTemplatedEntityList< IfcStructuralPlanarActionVarying >::it it; }; /// Definition from IAI: Defines an action which acts on a point. /// A point action is typically connected with a point connection. @@ -31053,10 +31053,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralPointAction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralPointAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy); + IfcStructuralPointAction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal, bool v10_DestabilizingLoad, IfcStructuralReaction* v11_CausedBy); typedef IfcStructuralPointAction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralPointAction > > list; + typedef IfcTemplatedEntityList< IfcStructuralPointAction >::it it; }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. /// @@ -31081,10 +31081,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralPointConnection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralPointConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); + IfcStructuralPointConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); typedef IfcStructuralPointConnection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralPointConnection > > list; + typedef IfcTemplatedEntityList< IfcStructuralPointConnection >::it it; }; /// Definition from IAI: Defines a reaction which occurs at a point. /// A point reaction is typically connected with a point connection. @@ -31139,10 +31139,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralPointReaction (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralPointReaction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); + IfcStructuralPointReaction (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcStructuralLoad* v8_AppliedLoad, IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum v9_GlobalOrLocal); typedef IfcStructuralPointReaction* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralPointReaction > > list; + typedef IfcTemplatedEntityList< IfcStructuralPointReaction >::it it; }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. /// @@ -31165,15 +31165,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENUMERATION; case 6: return Argument_ENTITY; case 7: return Argument_BOOL; } return IfcGroup::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "TheoryType"; case 6: return "ResultForLoadGroup"; case 7: return "IsLinear"; } return IfcGroup::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ResultGroupFor(); // INVERSE IfcStructuralAnalysisModel::HasResults + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralAnalysisModel > > ResultGroupFor(); // INVERSE IfcStructuralAnalysisModel::HasResults bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcStructuralResultGroup (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralResultGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum v6_TheoryType, IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear); + IfcStructuralResultGroup (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum v6_TheoryType, IfcStructuralLoadGroup* v7_ResultForLoadGroup, bool v8_IsLinear); typedef IfcStructuralResultGroup* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > list; + typedef IfcTemplatedEntityList< IfcStructuralResultGroup >::it it; }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. /// @@ -31197,10 +31197,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralSurfaceConnection (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralSurfaceConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); + IfcStructuralSurfaceConnection (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, IfcBoundaryCondition* v8_AppliedCondition); typedef IfcStructuralSurfaceConnection* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralSurfaceConnection > > list; + typedef IfcTemplatedEntityList< IfcStructuralSurfaceConnection >::it it; }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. /// @@ -31244,10 +31244,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSubContractResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSubContractResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_SubContractor, optional v11_JobDescription); + IfcSubContractResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcActorSelect > v10_SubContractor, optional< IfcText > v11_JobDescription); typedef IfcSubContractResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSubContractResource > > list; + typedef IfcTemplatedEntityList< IfcSubContractResource >::it it; }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: /// @@ -31302,10 +31302,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSwitchingDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSwitchingDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum v10_PredefinedType); + IfcSwitchingDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum v10_PredefinedType); typedef IfcSwitchingDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSwitchingDeviceType > > list; + typedef IfcTemplatedEntityList< IfcSwitchingDeviceType >::it it; }; /// Definition from IAI: Organized combination of /// related parts within an AEC product, composed for a common @@ -31330,15 +31330,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcGroup::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcGroup::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > ServicesBuildings(); // INVERSE IfcRelServicesBuildings::RelatingSystem + SHARED_PTR< IfcTemplatedEntityList< IfcRelServicesBuildings > > ServicesBuildings(); // INVERSE IfcRelServicesBuildings::RelatingSystem bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcSystem (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSystem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcSystem (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcSystem* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSystem > > list; + typedef IfcTemplatedEntityList< IfcSystem >::it it; }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: /// @@ -31385,17 +31385,17 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTankType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTankType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTankTypeEnum::IfcTankTypeEnum v10_PredefinedType); + IfcTankType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTankTypeEnum::IfcTankTypeEnum v10_PredefinedType); typedef IfcTankType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTankType > > list; + typedef IfcTemplatedEntityList< IfcTankType >::it it; }; class IfcTimeSeriesSchedule : public IfcControl { public: /// Whether the optional attribute ApplicableDates is defined for this IfcTimeSeriesSchedule bool hasApplicableDates(); - SHARED_PTR< IfcTemplatedEntityList > ApplicableDates(); - void setApplicableDates(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > ApplicableDates(); + void setApplicableDates(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum TimeSeriesScheduleType(); void setTimeSeriesScheduleType(IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v); IfcTimeSeries* TimeSeries(); @@ -31408,10 +31408,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTimeSeriesSchedule (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTimeSeriesSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ApplicableDates, IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v7_TimeSeriesScheduleType, IfcTimeSeries* v8_TimeSeries); + IfcTimeSeriesSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcEntities > v6_ApplicableDates, IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum v7_TimeSeriesScheduleType, IfcTimeSeries* v8_TimeSeries); typedef IfcTimeSeriesSchedule* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTimeSeriesSchedule > > list; + typedef IfcTemplatedEntityList< IfcTimeSeriesSchedule >::it it; }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: /// @@ -31453,10 +31453,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTransformerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTransformerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTransformerTypeEnum::IfcTransformerTypeEnum v10_PredefinedType); + IfcTransformerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTransformerTypeEnum::IfcTransformerTypeEnum v10_PredefinedType); typedef IfcTransformerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTransformerType > > list; + typedef IfcTemplatedEntityList< IfcTransformerType >::it it; }; /// Definition from IAI: Generalization of all transport /// related objects that move people, animals or goods within a @@ -31598,10 +31598,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTransportElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTransportElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OperationType, optional v10_CapacityByWeight, optional v11_CapacityByNumber); + IfcTransportElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcTransportElementTypeEnum::IfcTransportElementTypeEnum > v9_OperationType, optional< IfcMassMeasure > v10_CapacityByWeight, optional< IfcCountMeasure > v11_CapacityByNumber); typedef IfcTransportElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTransportElement > > list; + typedef IfcTemplatedEntityList< IfcTransportElement >::it it; }; /// Definition from ISO/CD 10303-42:1992: /// A trimmed curve is a bounded curve which is created by taking a selected @@ -31687,11 +31687,11 @@ public: IfcCurve* BasisCurve(); void setBasisCurve(IfcCurve* v); /// The first trimming point which may be specified as a Cartesian point, as a real parameter or both. - SHARED_PTR< IfcTemplatedEntityList > Trim1(); - void setTrim1(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Trim1(); + void setTrim1(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// The second trimming point which may be specified as a Cartesian point, as a real parameter or both. - SHARED_PTR< IfcTemplatedEntityList > Trim2(); - void setTrim2(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Trim2(); + void setTrim2(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Flag to indicate whether the direction of the trimmed curve agrees with or is opposed to the direction of the basis curve. bool SenseAgreement(); void setSenseAgreement(bool v); @@ -31708,8 +31708,8 @@ public: IfcTrimmedCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcTrimmedCurve (IfcCurve* v1_BasisCurve, IfcEntities v2_Trim1, IfcEntities v3_Trim2, bool v4_SenseAgreement, IfcTrimmingPreference::IfcTrimmingPreference v5_MasterRepresentation); typedef IfcTrimmedCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTrimmedCurve > > list; + typedef IfcTemplatedEntityList< IfcTrimmedCurve >::it it; }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: /// @@ -31753,10 +31753,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTubeBundleType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTubeBundleType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum v10_PredefinedType); + IfcTubeBundleType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum v10_PredefinedType); typedef IfcTubeBundleType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTubeBundleType > > list; + typedef IfcTemplatedEntityList< IfcTubeBundleType >::it it; }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: /// @@ -31799,10 +31799,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcUnitaryEquipmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcUnitaryEquipmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum v10_PredefinedType); + IfcUnitaryEquipmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum v10_PredefinedType); typedef IfcUnitaryEquipmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcUnitaryEquipmentType > > list; + typedef IfcTemplatedEntityList< IfcUnitaryEquipmentType >::it it; }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: /// @@ -31855,10 +31855,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcValveType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcValveType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcValveTypeEnum::IfcValveTypeEnum v10_PredefinedType); + IfcValveType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcValveTypeEnum::IfcValveTypeEnum v10_PredefinedType); typedef IfcValveType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcValveType > > list; + typedef IfcTemplatedEntityList< IfcValveType >::it it; }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. /// @@ -31956,10 +31956,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcVirtualElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcVirtualElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcVirtualElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcVirtualElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVirtualElement > > list; + typedef IfcTemplatedEntityList< IfcVirtualElement >::it it; }; /// Definition from IAI: The element type /// IfcWallType defines commonly shared information for @@ -32058,10 +32058,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWallType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWallType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcWallTypeEnum::IfcWallTypeEnum v10_PredefinedType); + IfcWallType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcWallTypeEnum::IfcWallTypeEnum v10_PredefinedType); typedef IfcWallType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWallType > > list; + typedef IfcTemplatedEntityList< IfcWallType >::it it; }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: /// @@ -32112,10 +32112,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWasteTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWasteTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum v10_PredefinedType); + IfcWasteTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum v10_PredefinedType); typedef IfcWasteTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWasteTerminalType > > list; + typedef IfcTemplatedEntityList< IfcWasteTerminalType >::it it; }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. /// @@ -32171,8 +32171,8 @@ public: /// Whether the optional attribute Creators is defined for this IfcWorkControl bool hasCreators(); /// The authors of the work plan. - SHARED_PTR< IfcTemplatedEntityList > Creators(); - void setCreators(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > Creators(); + void setCreators(SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > v); /// Whether the optional attribute Purpose is defined for this IfcWorkControl bool hasPurpose(); /// A description of the purpose of the work schedule. @@ -32212,10 +32212,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWorkControl (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWorkControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType); + IfcWorkControl (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType); typedef IfcWorkControl* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWorkControl > > list; + typedef IfcTemplatedEntityList< IfcWorkControl >::it it; }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. /// @@ -32252,10 +32252,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWorkPlan (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWorkPlan (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType); + IfcWorkPlan (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType); typedef IfcWorkPlan* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWorkPlan > > list; + typedef IfcTemplatedEntityList< IfcWorkPlan >::it it; }; /// An IfcWorkSchedule /// represents a task schedule of a work plan, which in turn @@ -32307,10 +32307,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWorkSchedule (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWorkSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional >> v8_Creators, optional v9_Purpose, optional v10_Duration, optional v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional v13_FinishTime, optional v14_WorkControlType, optional v15_UserDefinedControlType); + IfcWorkSchedule (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_Identifier, IfcDateTimeSelect v7_CreationDate, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPerson > > > v8_Creators, optional< IfcLabel > v9_Purpose, optional< IfcTimeMeasure > v10_Duration, optional< IfcTimeMeasure > v11_TotalFloat, IfcDateTimeSelect v12_StartTime, optional< IfcDateTimeSelect > v13_FinishTime, optional< IfcWorkControlTypeEnum::IfcWorkControlTypeEnum > v14_WorkControlType, optional< IfcLabel > v15_UserDefinedControlType); typedef IfcWorkSchedule* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWorkSchedule > > list; + typedef IfcTemplatedEntityList< IfcWorkSchedule >::it it; }; /// Definition from IAI: A zone isÿa group of spaces, /// partial spaces or other zones. Zone structures may not be @@ -32407,10 +32407,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcZone (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcZone (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcZone (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcZone* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcZone > > list; + typedef IfcTemplatedEntityList< IfcZone >::it it; }; class Ifc2DCompositeCurve : public IfcCompositeCurve { public: @@ -32422,10 +32422,10 @@ public: Type::Enum type() const; static Type::Enum Class(); Ifc2DCompositeCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - Ifc2DCompositeCurve (SHARED_PTR< IfcTemplatedEntityList > v1_Segments, bool v2_SelfIntersect); + Ifc2DCompositeCurve (SHARED_PTR< IfcTemplatedEntityList< IfcCompositeCurveSegment > > v1_Segments, bool v2_SelfIntersect); typedef Ifc2DCompositeCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< Ifc2DCompositeCurve > > list; + typedef IfcTemplatedEntityList< Ifc2DCompositeCurve >::it it; }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. /// @@ -32477,10 +32477,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcActionRequest (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcActionRequest (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_RequestID); + IfcActionRequest (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_RequestID); typedef IfcActionRequest* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcActionRequest > > list; + typedef IfcTemplatedEntityList< IfcActionRequest >::it it; }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: /// @@ -32521,10 +32521,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAirTerminalBoxType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAirTerminalBoxType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum v10_PredefinedType); + IfcAirTerminalBoxType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum v10_PredefinedType); typedef IfcAirTerminalBoxType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAirTerminalBoxType > > list; + typedef IfcTemplatedEntityList< IfcAirTerminalBoxType >::it it; }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: /// @@ -32564,10 +32564,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAirTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAirTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum v10_PredefinedType); + IfcAirTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum v10_PredefinedType); typedef IfcAirTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAirTerminalType > > list; + typedef IfcTemplatedEntityList< IfcAirTerminalType >::it it; }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: /// @@ -32608,10 +32608,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAirToAirHeatRecoveryType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAirToAirHeatRecoveryType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum v10_PredefinedType); + IfcAirToAirHeatRecoveryType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum v10_PredefinedType); typedef IfcAirToAirHeatRecoveryType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAirToAirHeatRecoveryType > > list; + typedef IfcTemplatedEntityList< IfcAirToAirHeatRecoveryType >::it it; }; class IfcAngularDimension : public IfcDimensionCurveDirectedCallout { public: @@ -32625,8 +32625,8 @@ public: IfcAngularDimension (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcAngularDimension (IfcEntities v1_Contents); typedef IfcAngularDimension* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAngularDimension > > list; + typedef IfcTemplatedEntityList< IfcAngularDimension >::it it; }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. /// @@ -32692,10 +32692,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAsset (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAsset (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcIdentifier v6_AssetID, IfcCostValue* v7_OriginalValue, IfcCostValue* v8_CurrentValue, IfcCostValue* v9_TotalReplacementCost, IfcActorSelect v10_Owner, IfcActorSelect v11_User, IfcPerson* v12_ResponsiblePerson, IfcCalendarDate* v13_IncorporationDate, IfcCostValue* v14_DepreciatedValue); + IfcAsset (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcIdentifier v6_AssetID, IfcCostValue* v7_OriginalValue, IfcCostValue* v8_CurrentValue, IfcCostValue* v9_TotalReplacementCost, IfcActorSelect v10_Owner, IfcActorSelect v11_User, IfcPerson* v12_ResponsiblePerson, IfcCalendarDate* v13_IncorporationDate, IfcCostValue* v14_DepreciatedValue); typedef IfcAsset* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAsset > > list; + typedef IfcTemplatedEntityList< IfcAsset >::it it; }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. /// @@ -32752,8 +32752,8 @@ public: int Degree(); void setDegree(int v); /// The list of control points for the curve. - SHARED_PTR< IfcTemplatedEntityList > ControlPointsList(); - void setControlPointsList(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > ControlPointsList(); + void setControlPointsList(SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v); /// Used to identify particular types of curve; it is for information only. IfcBSplineCurveForm::IfcBSplineCurveForm CurveForm(); void setCurveForm(IfcBSplineCurveForm::IfcBSplineCurveForm v); @@ -32771,10 +32771,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBSplineCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBSplineCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect); + IfcBSplineCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect); typedef IfcBSplineCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBSplineCurve > > list; + typedef IfcTemplatedEntityList< IfcBSplineCurve >::it it; }; /// Definition from IAI: The element type /// IfcBeamType defines commonly shared information for @@ -32887,10 +32887,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBeamType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBeamType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBeamTypeEnum::IfcBeamTypeEnum v10_PredefinedType); + IfcBeamType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBeamTypeEnum::IfcBeamTypeEnum v10_PredefinedType); typedef IfcBeamType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBeamType > > list; + typedef IfcTemplatedEntityList< IfcBeamType >::it it; }; class IfcBezierCurve : public IfcBSplineCurve { public: @@ -32902,10 +32902,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBezierCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBezierCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect); + IfcBezierCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect); typedef IfcBezierCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBezierCurve > > list; + typedef IfcTemplatedEntityList< IfcBezierCurve >::it it; }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: /// @@ -32949,10 +32949,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBoilerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBoilerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBoilerTypeEnum::IfcBoilerTypeEnum v10_PredefinedType); + IfcBoilerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBoilerTypeEnum::IfcBoilerTypeEnum v10_PredefinedType); typedef IfcBoilerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBoilerType > > list; + typedef IfcTemplatedEntityList< IfcBoilerType >::it it; }; /// Definition from ISO 6707-1:1989: Major functional part /// of a building, examples are foundation, floor, roof, wall. @@ -33327,10 +33327,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcBuildingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcBuildingElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElement > > list; + typedef IfcTemplatedEntityList< IfcBuildingElement >::it it; }; class IfcBuildingElementComponent : public IfcBuildingElement { public: @@ -33342,10 +33342,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElementComponent (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElementComponent (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcBuildingElementComponent (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcBuildingElementComponent* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElementComponent > > list; + typedef IfcTemplatedEntityList< IfcBuildingElementComponent >::it it; }; /// Definition from IAI: Layers or major components as subordinate /// parts of a building element. Typical usage examples include precast concrete @@ -33374,10 +33374,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElementPart (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElementPart (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcBuildingElementPart (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcBuildingElementPart* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElementPart > > list; + typedef IfcTemplatedEntityList< IfcBuildingElementPart >::it it; }; /// Definition from IAI: The IfcBuildingElementProxy /// is a proxy definition that provides the same functionality as an @@ -33583,10 +33583,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElementProxy (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElementProxy (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_CompositionType); + IfcBuildingElementProxy (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcElementCompositionEnum::IfcElementCompositionEnum > v9_CompositionType); typedef IfcBuildingElementProxy* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElementProxy > > list; + typedef IfcTemplatedEntityList< IfcBuildingElementProxy >::it it; }; /// Definition from IAI: /// TheÿIfcBuildingElementProxyType defines a list of @@ -33635,10 +33635,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBuildingElementProxyType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBuildingElementProxyType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum v10_PredefinedType); + IfcBuildingElementProxyType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum v10_PredefinedType); typedef IfcBuildingElementProxyType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBuildingElementProxyType > > list; + typedef IfcTemplatedEntityList< IfcBuildingElementProxyType >::it it; }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: /// @@ -33679,10 +33679,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCableCarrierFittingType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCableCarrierFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum v10_PredefinedType); + IfcCableCarrierFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum v10_PredefinedType); typedef IfcCableCarrierFittingType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCableCarrierFittingType > > list; + typedef IfcTemplatedEntityList< IfcCableCarrierFittingType >::it it; }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: /// @@ -33729,10 +33729,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCableCarrierSegmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCableCarrierSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum v10_PredefinedType); + IfcCableCarrierSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum v10_PredefinedType); typedef IfcCableCarrierSegmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCableCarrierSegmentType > > list; + typedef IfcTemplatedEntityList< IfcCableCarrierSegmentType >::it it; }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: /// @@ -33788,10 +33788,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCableSegmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCableSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum v10_PredefinedType); + IfcCableSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum v10_PredefinedType); typedef IfcCableSegmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCableSegmentType > > list; + typedef IfcTemplatedEntityList< IfcCableSegmentType >::it it; }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: /// @@ -33838,10 +33838,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcChillerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcChillerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcChillerTypeEnum::IfcChillerTypeEnum v10_PredefinedType); + IfcChillerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcChillerTypeEnum::IfcChillerTypeEnum v10_PredefinedType); typedef IfcChillerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcChillerType > > list; + typedef IfcTemplatedEntityList< IfcChillerType >::it it; }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: /// @@ -33885,8 +33885,8 @@ public: IfcCircle (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcCircle (IfcAxis2Placement v1_Position, IfcPositiveLengthMeasure v2_Radius); typedef IfcCircle* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCircle > > list; + typedef IfcTemplatedEntityList< IfcCircle >::it it; }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: /// @@ -33928,10 +33928,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCoilType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCoilType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoilTypeEnum::IfcCoilTypeEnum v10_PredefinedType); + IfcCoilType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoilTypeEnum::IfcCoilTypeEnum v10_PredefinedType); typedef IfcCoilType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCoilType > > list; + typedef IfcTemplatedEntityList< IfcCoilType >::it it; }; /// Definition from ISO 6707-1:1989: Structural member of /// slender form, usually vertical, that transmits to its base the @@ -34214,10 +34214,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcColumn (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcColumn (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcColumn (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcColumn* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcColumn > > list; + typedef IfcTemplatedEntityList< IfcColumn >::it it; }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: /// @@ -34259,10 +34259,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCompressorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCompressorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCompressorTypeEnum::IfcCompressorTypeEnum v10_PredefinedType); + IfcCompressorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCompressorTypeEnum::IfcCompressorTypeEnum v10_PredefinedType); typedef IfcCompressorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCompressorType > > list; + typedef IfcTemplatedEntityList< IfcCompressorType >::it it; }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: /// @@ -34304,10 +34304,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCondenserType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCondenserType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCondenserTypeEnum::IfcCondenserTypeEnum v10_PredefinedType); + IfcCondenserType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCondenserTypeEnum::IfcCondenserTypeEnum v10_PredefinedType); typedef IfcCondenserType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCondenserType > > list; + typedef IfcTemplatedEntityList< IfcCondenserType >::it it; }; class IfcCondition : public IfcGroup { public: @@ -34319,10 +34319,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCondition (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCondition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcCondition (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcCondition* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCondition > > list; + typedef IfcTemplatedEntityList< IfcCondition >::it it; }; class IfcConditionCriterion : public IfcControl { public: @@ -34338,10 +34338,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConditionCriterion (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConditionCriterion (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcConditionCriterionSelect v6_Criterion, IfcDateTimeSelect v7_CriterionDateTime); + IfcConditionCriterion (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcConditionCriterionSelect v6_Criterion, IfcDateTimeSelect v7_CriterionDateTime); typedef IfcConditionCriterion* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConditionCriterion > > list; + typedef IfcTemplatedEntityList< IfcConditionCriterion >::it it; }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. /// @@ -34375,10 +34375,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstructionEquipmentResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstructionEquipmentResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); + IfcConstructionEquipmentResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); typedef IfcConstructionEquipmentResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstructionEquipmentResource > > list; + typedef IfcTemplatedEntityList< IfcConstructionEquipmentResource >::it it; }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. /// @@ -34410,8 +34410,8 @@ class IfcConstructionMaterialResource : public IfcConstructionResource { public: /// Whether the optional attribute Suppliers is defined for this IfcConstructionMaterialResource bool hasSuppliers(); - SHARED_PTR< IfcTemplatedEntityList > Suppliers(); - void setSuppliers(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > Suppliers(); + void setSuppliers(SHARED_PTR< IfcTemplatedEntityList< IfcAbstractSelect > > v); /// Whether the optional attribute UsageRatio is defined for this IfcConstructionMaterialResource bool hasUsageRatio(); IfcRatioMeasure UsageRatio(); @@ -34424,10 +34424,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstructionMaterialResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstructionMaterialResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional v10_Suppliers, optional v11_UsageRatio); + IfcConstructionMaterialResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity, optional< IfcEntities > v10_Suppliers, optional< IfcRatioMeasure > v11_UsageRatio); typedef IfcConstructionMaterialResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstructionMaterialResource > > list; + typedef IfcTemplatedEntityList< IfcConstructionMaterialResource >::it it; }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. /// @@ -34454,10 +34454,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcConstructionProductResource (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcConstructionProductResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, optional v6_ResourceIdentifier, optional v7_ResourceGroup, optional v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); + IfcConstructionProductResource (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, optional< IfcIdentifier > v6_ResourceIdentifier, optional< IfcLabel > v7_ResourceGroup, optional< IfcResourceConsumptionEnum::IfcResourceConsumptionEnum > v8_ResourceConsumption, IfcMeasureWithUnit* v9_BaseQuantity); typedef IfcConstructionProductResource* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcConstructionProductResource > > list; + typedef IfcTemplatedEntityList< IfcConstructionProductResource >::it it; }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: /// @@ -34501,10 +34501,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCooledBeamType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCooledBeamType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum v10_PredefinedType); + IfcCooledBeamType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum v10_PredefinedType); typedef IfcCooledBeamType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCooledBeamType > > list; + typedef IfcTemplatedEntityList< IfcCooledBeamType >::it it; }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: /// @@ -34552,10 +34552,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCoolingTowerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCoolingTowerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum v10_PredefinedType); + IfcCoolingTowerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum v10_PredefinedType); typedef IfcCoolingTowerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCoolingTowerType > > list; + typedef IfcTemplatedEntityList< IfcCoolingTowerType >::it it; }; /// Definition from ISO 6707-1:1989: term used: Finishing - /// final coverings and treatments of surfaces and their @@ -34792,16 +34792,16 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 8: return Argument_ENUMERATION; } return IfcBuildingElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 8: return "PredefinedType"; } return IfcBuildingElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > CoversSpaces(); // INVERSE IfcRelCoversSpaces::RelatedCoverings - SHARED_PTR< IfcTemplatedEntityList > Covers(); // INVERSE IfcRelCoversBldgElements::RelatedCoverings + SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversSpaces > > CoversSpaces(); // INVERSE IfcRelCoversSpaces::RelatedCoverings + SHARED_PTR< IfcTemplatedEntityList< IfcRelCoversBldgElements > > Covers(); // INVERSE IfcRelCoversBldgElements::RelatedCoverings bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcCovering (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCovering (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType); + IfcCovering (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcCoveringTypeEnum::IfcCoveringTypeEnum > v9_PredefinedType); typedef IfcCovering* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCovering > > list; + typedef IfcTemplatedEntityList< IfcCovering >::it it; }; /// Definition from ISO 6707-1:1989: Non load bearing wall /// positioned on the outside of a building and enclosing it. @@ -34951,10 +34951,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcCurtainWall (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcCurtainWall (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcCurtainWall (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcCurtainWall* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcCurtainWall > > list; + typedef IfcTemplatedEntityList< IfcCurtainWall >::it it; }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: /// @@ -35003,10 +35003,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDamperType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDamperType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDamperTypeEnum::IfcDamperTypeEnum v10_PredefinedType); + IfcDamperType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDamperTypeEnum::IfcDamperTypeEnum v10_PredefinedType); typedef IfcDamperType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDamperType > > list; + typedef IfcTemplatedEntityList< IfcDamperType >::it it; }; class IfcDiameterDimension : public IfcDimensionCurveDirectedCallout { public: @@ -35020,8 +35020,8 @@ public: IfcDiameterDimension (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); IfcDiameterDimension (IfcEntities v1_Contents); typedef IfcDiameterDimension* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDiameterDimension > > list; + typedef IfcTemplatedEntityList< IfcDiameterDimension >::it it; }; /// Definition from IAI: Representation of different kinds of /// accessories included in or added to elements. @@ -35206,10 +35206,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDiscreteAccessory (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDiscreteAccessory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcDiscreteAccessory (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcDiscreteAccessory* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDiscreteAccessory > > list; + typedef IfcTemplatedEntityList< IfcDiscreteAccessory >::it it; }; /// Definition from IAI: The element type /// (IfcDiscreteAccessoryType) defines a list of commonly shared property @@ -35409,10 +35409,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDiscreteAccessoryType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDiscreteAccessoryType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcDiscreteAccessoryType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcDiscreteAccessoryType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDiscreteAccessoryType > > list; + typedef IfcTemplatedEntityList< IfcDiscreteAccessoryType >::it it; }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: /// @@ -35464,10 +35464,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionChamberElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionChamberElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum v10_PredefinedType); + IfcDistributionChamberElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum v10_PredefinedType); typedef IfcDistributionChamberElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionChamberElementType > > list; + typedef IfcTemplatedEntityList< IfcDistributionChamberElementType >::it it; }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). /// @@ -35533,10 +35533,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionControlElementType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionControlElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType); + IfcDistributionControlElementType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType); typedef IfcDistributionControlElementType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElementType > > list; + typedef IfcTemplatedEntityList< IfcDistributionControlElementType >::it it; }; /// Definition from IAI: Generalization of all elements /// that participate in a distribution system. Typical examples of @@ -35710,10 +35710,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcDistributionElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcDistributionElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionElement > > list; + typedef IfcTemplatedEntityList< IfcDistributionElement >::it it; }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. /// @@ -35789,15 +35789,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { return IfcDistributionElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { return IfcDistributionElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > HasControlElements(); // INVERSE IfcRelFlowControlElements::RelatingFlowElement + SHARED_PTR< IfcTemplatedEntityList< IfcRelFlowControlElements > > HasControlElements(); // INVERSE IfcRelFlowControlElements::RelatingFlowElement bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDistributionFlowElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionFlowElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcDistributionFlowElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcDistributionFlowElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionFlowElement > > list; + typedef IfcTemplatedEntityList< IfcDistributionFlowElement >::it it; }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. /// @@ -35896,10 +35896,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionPort (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionPort (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_FlowDirection); + IfcDistributionPort (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcFlowDirectionEnum::IfcFlowDirectionEnum > v8_FlowDirection); typedef IfcDistributionPort* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionPort > > list; + typedef IfcTemplatedEntityList< IfcDistributionPort >::it it; }; /// Definition from ISO 6707-1:1989: Construction for /// closing an opening, intended primarily for access with hinged, @@ -36281,10 +36281,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDoor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDoor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OverallHeight, optional v10_OverallWidth); + IfcDoor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_OverallHeight, optional< IfcPositiveLengthMeasure > v10_OverallWidth); typedef IfcDoor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDoor > > list; + typedef IfcTemplatedEntityList< IfcDoor >::it it; }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: /// @@ -36328,10 +36328,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDuctFittingType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDuctFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum v10_PredefinedType); + IfcDuctFittingType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum v10_PredefinedType); typedef IfcDuctFittingType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDuctFittingType > > list; + typedef IfcTemplatedEntityList< IfcDuctFittingType >::it it; }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: /// @@ -36375,10 +36375,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDuctSegmentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDuctSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum v10_PredefinedType); + IfcDuctSegmentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum v10_PredefinedType); typedef IfcDuctSegmentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDuctSegmentType > > list; + typedef IfcTemplatedEntityList< IfcDuctSegmentType >::it it; }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: /// @@ -36419,10 +36419,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDuctSilencerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDuctSilencerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum v10_PredefinedType); + IfcDuctSilencerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum v10_PredefinedType); typedef IfcDuctSilencerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDuctSilencerType > > list; + typedef IfcTemplatedEntityList< IfcDuctSilencerType >::it it; }; class IfcEdgeFeature : public IfcFeatureElementSubtraction { public: @@ -36438,10 +36438,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEdgeFeature (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength); + IfcEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength); typedef IfcEdgeFeature* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEdgeFeature > > list; + typedef IfcTemplatedEntityList< IfcEdgeFeature >::it it; }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: /// @@ -36485,10 +36485,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricApplianceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricApplianceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum v10_PredefinedType); + IfcElectricApplianceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum v10_PredefinedType); typedef IfcElectricApplianceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricApplianceType > > list; + typedef IfcTemplatedEntityList< IfcElectricApplianceType >::it it; }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: /// @@ -36530,10 +36530,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricFlowStorageDeviceType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricFlowStorageDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum v10_PredefinedType); + IfcElectricFlowStorageDeviceType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum v10_PredefinedType); typedef IfcElectricFlowStorageDeviceType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricFlowStorageDeviceType > > list; + typedef IfcTemplatedEntityList< IfcElectricFlowStorageDeviceType >::it it; }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: /// @@ -36580,10 +36580,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricGeneratorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricGeneratorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum v10_PredefinedType); + IfcElectricGeneratorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum v10_PredefinedType); typedef IfcElectricGeneratorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricGeneratorType > > list; + typedef IfcTemplatedEntityList< IfcElectricGeneratorType >::it it; }; class IfcElectricHeaterType : public IfcFlowTerminalType { public: @@ -36597,10 +36597,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricHeaterType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricHeaterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum v10_PredefinedType); + IfcElectricHeaterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum v10_PredefinedType); typedef IfcElectricHeaterType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricHeaterType > > list; + typedef IfcTemplatedEntityList< IfcElectricHeaterType >::it it; }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: /// @@ -36642,10 +36642,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricMotorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricMotorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum v10_PredefinedType); + IfcElectricMotorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum v10_PredefinedType); typedef IfcElectricMotorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricMotorType > > list; + typedef IfcTemplatedEntityList< IfcElectricMotorType >::it it; }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: /// @@ -36687,10 +36687,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricTimeControlType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricTimeControlType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum v10_PredefinedType); + IfcElectricTimeControlType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum v10_PredefinedType); typedef IfcElectricTimeControlType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricTimeControlType > > list; + typedef IfcTemplatedEntityList< IfcElectricTimeControlType >::it it; }; class IfcElectricalCircuit : public IfcSystem { public: @@ -36702,10 +36702,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricalCircuit (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricalCircuit (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType); + IfcElectricalCircuit (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType); typedef IfcElectricalCircuit* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricalCircuit > > list; + typedef IfcTemplatedEntityList< IfcElectricalCircuit >::it it; }; class IfcElectricalElement : public IfcElement { public: @@ -36717,10 +36717,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricalElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricalElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcElectricalElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcElectricalElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricalElement > > list; + typedef IfcTemplatedEntityList< IfcElectricalElement >::it it; }; /// The distribution flow element IfcEnergyConversionDevice defines /// the occurrence of a device used to perform @@ -36741,10 +36741,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcEnergyConversionDevice (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcEnergyConversionDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcEnergyConversionDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcEnergyConversionDevice* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcEnergyConversionDevice > > list; + typedef IfcTemplatedEntityList< IfcEnergyConversionDevice >::it it; }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: /// @@ -36787,10 +36787,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFanType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFanType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFanTypeEnum::IfcFanTypeEnum v10_PredefinedType); + IfcFanType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFanTypeEnum::IfcFanTypeEnum v10_PredefinedType); typedef IfcFanType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFanType > > list; + typedef IfcTemplatedEntityList< IfcFanType >::it it; }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: /// @@ -36834,10 +36834,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFilterType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFilterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFilterTypeEnum::IfcFilterTypeEnum v10_PredefinedType); + IfcFilterType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFilterTypeEnum::IfcFilterTypeEnum v10_PredefinedType); typedef IfcFilterType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFilterType > > list; + typedef IfcTemplatedEntityList< IfcFilterType >::it it; }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: /// @@ -36885,10 +36885,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFireSuppressionTerminalType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFireSuppressionTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum v10_PredefinedType); + IfcFireSuppressionTerminalType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum v10_PredefinedType); typedef IfcFireSuppressionTerminalType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFireSuppressionTerminalType > > list; + typedef IfcTemplatedEntityList< IfcFireSuppressionTerminalType >::it it; }; /// The distribution flow element IfcFlowController defines /// the occurrence of elements of a distribution system that @@ -36909,10 +36909,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowController (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowController (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowController (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowController* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowController > > list; + typedef IfcTemplatedEntityList< IfcFlowController >::it it; }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. /// @@ -36929,10 +36929,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowFitting (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowFitting (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowFitting (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowFitting* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowFitting > > list; + typedef IfcTemplatedEntityList< IfcFlowFitting >::it it; }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: /// @@ -36977,10 +36977,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowInstrumentType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowInstrumentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum v10_PredefinedType); + IfcFlowInstrumentType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum v10_PredefinedType); typedef IfcFlowInstrumentType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowInstrumentType > > list; + typedef IfcTemplatedEntityList< IfcFlowInstrumentType >::it it; }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. /// @@ -36997,10 +36997,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowMovingDevice (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowMovingDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowMovingDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowMovingDevice* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowMovingDevice > > list; + typedef IfcTemplatedEntityList< IfcFlowMovingDevice >::it it; }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. /// @@ -37035,10 +37035,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowSegment (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowSegment (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowSegment (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowSegment* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowSegment > > list; + typedef IfcTemplatedEntityList< IfcFlowSegment >::it it; }; /// The distribution flow element IfcFlowStorageDevice defines /// the occurrence of a device that participates in a distribution @@ -37059,10 +37059,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowStorageDevice (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowStorageDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowStorageDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowStorageDevice* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowStorageDevice > > list; + typedef IfcTemplatedEntityList< IfcFlowStorageDevice >::it it; }; /// The distribution flow element IfcFlowTerminal defines the /// occurrence of a permanently attached element that acts as a terminus or @@ -37085,10 +37085,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowTerminal (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowTerminal (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowTerminal (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowTerminal* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowTerminal > > list; + typedef IfcTemplatedEntityList< IfcFlowTerminal >::it it; }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. /// @@ -37105,10 +37105,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFlowTreatmentDevice (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFlowTreatmentDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcFlowTreatmentDevice (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcFlowTreatmentDevice* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFlowTreatmentDevice > > list; + typedef IfcTemplatedEntityList< IfcFlowTreatmentDevice >::it it; }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. /// @@ -37147,10 +37147,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcFooting (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcFooting (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcFootingTypeEnum::IfcFootingTypeEnum v9_PredefinedType); + IfcFooting (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcFootingTypeEnum::IfcFootingTypeEnum v9_PredefinedType); typedef IfcFooting* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcFooting > > list; + typedef IfcTemplatedEntityList< IfcFooting >::it it; }; /// An IfcMember is a /// structural member designed to carry loads between or beyond @@ -37412,10 +37412,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcMember (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcMember (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcMember* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcMember > > list; + typedef IfcTemplatedEntityList< IfcMember >::it it; }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. /// @@ -37457,10 +37457,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPile (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPile (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcPileTypeEnum::IfcPileTypeEnum v9_PredefinedType, optional v10_ConstructionType); + IfcPile (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcPileTypeEnum::IfcPileTypeEnum v9_PredefinedType, optional< IfcPileConstructionEnum::IfcPileConstructionEnum > v10_ConstructionType); typedef IfcPile* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPile > > list; + typedef IfcTemplatedEntityList< IfcPile >::it it; }; /// Definition from IAI: An IfcPlate is a planar and /// often flat part with constant thickness. A plate can be a @@ -37700,10 +37700,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcPlate (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcPlate (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcPlate (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcPlate* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcPlate > > list; + typedef IfcTemplatedEntityList< IfcPlate >::it it; }; /// Definition of IAI: The railing is a frame assembly /// adjacent to human circulation spaces and at some space boundaries @@ -37854,10 +37854,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRailing (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRailing (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType); + IfcRailing (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcRailingTypeEnum::IfcRailingTypeEnum > v9_PredefinedType); typedef IfcRailing* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRailing > > list; + typedef IfcTemplatedEntityList< IfcRailing >::it it; }; /// Definition from ISO 6707-1:1989: Inclined way or floor /// joining two surfaces at different levels. @@ -38004,10 +38004,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRamp (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRamp (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcRampTypeEnum::IfcRampTypeEnum v9_ShapeType); + IfcRamp (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcRampTypeEnum::IfcRampTypeEnum v9_ShapeType); typedef IfcRamp* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRamp > > list; + typedef IfcTemplatedEntityList< IfcRamp >::it it; }; /// A ramp is an inclined slab segment, normally /// providing a human circulation link between two landings, floors or @@ -38207,15 +38207,15 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRampFlight (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRampFlight (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcRampFlight (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcRampFlight* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRampFlight > > list; + typedef IfcTemplatedEntityList< IfcRampFlight >::it it; }; class IfcRationalBezierCurve : public IfcBezierCurve { public: - std::vector /*[2:?]*/ WeightsData(); - void setWeightsData(std::vector /*[2:?]*/ v); + std::vector< double > /*[2:?]*/ WeightsData(); + void setWeightsData(std::vector< double > /*[2:?]*/ v); virtual unsigned int getArgumentCount() const { return 6; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_VECTOR_DOUBLE; } return IfcBezierCurve::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "WeightsData"; } return IfcBezierCurve::getArgumentName(i); } @@ -38224,10 +38224,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRationalBezierCurve (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRationalBezierCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect, std::vector /*[2:?]*/ v6_WeightsData); + IfcRationalBezierCurve (int v1_Degree, SHARED_PTR< IfcTemplatedEntityList< IfcCartesianPoint > > v2_ControlPointsList, IfcBSplineCurveForm::IfcBSplineCurveForm v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect, std::vector< double > /*[2:?]*/ v6_WeightsData); typedef IfcRationalBezierCurve* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRationalBezierCurve > > list; + typedef IfcTemplatedEntityList< IfcRationalBezierCurve >::it it; }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. /// @@ -38251,10 +38251,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReinforcingElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReinforcingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade); + IfcReinforcingElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade); typedef IfcReinforcingElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReinforcingElement > > list; + typedef IfcTemplatedEntityList< IfcReinforcingElement >::it it; }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. /// @@ -38310,10 +38310,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReinforcingMesh (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReinforcingMesh (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, optional v10_MeshLength, optional v11_MeshWidth, IfcPositiveLengthMeasure v12_LongitudinalBarNominalDiameter, IfcPositiveLengthMeasure v13_TransverseBarNominalDiameter, IfcAreaMeasure v14_LongitudinalBarCrossSectionArea, IfcAreaMeasure v15_TransverseBarCrossSectionArea, IfcPositiveLengthMeasure v16_LongitudinalBarSpacing, IfcPositiveLengthMeasure v17_TransverseBarSpacing); + IfcReinforcingMesh (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, optional< IfcPositiveLengthMeasure > v10_MeshLength, optional< IfcPositiveLengthMeasure > v11_MeshWidth, IfcPositiveLengthMeasure v12_LongitudinalBarNominalDiameter, IfcPositiveLengthMeasure v13_TransverseBarNominalDiameter, IfcAreaMeasure v14_LongitudinalBarCrossSectionArea, IfcAreaMeasure v15_TransverseBarCrossSectionArea, IfcPositiveLengthMeasure v16_LongitudinalBarSpacing, IfcPositiveLengthMeasure v17_TransverseBarSpacing); typedef IfcReinforcingMesh* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReinforcingMesh > > list; + typedef IfcTemplatedEntityList< IfcReinforcingMesh >::it it; }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. /// The IfcRoof is a description of the total roof. It acts as a container entity, that aggregates all components of the roof, it represents. The aggregation is handled via the IfcRelAggregates relationship, relating an IfcRoof with the related roof elements, like slabs (represented by IfcSlab), rafters and purlins (represented by IfcBeam), or other included roofs, such as dormers (represented by IfcRoof). @@ -38472,10 +38472,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRoof (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRoof (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcRoofTypeEnum::IfcRoofTypeEnum v9_ShapeType); + IfcRoof (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcRoofTypeEnum::IfcRoofTypeEnum v9_ShapeType); typedef IfcRoof* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRoof > > list; + typedef IfcTemplatedEntityList< IfcRoof >::it it; }; class IfcRoundedEdgeFeature : public IfcEdgeFeature { public: @@ -38491,10 +38491,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcRoundedEdgeFeature (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcRoundedEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength, optional v10_Radius); + IfcRoundedEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength, optional< IfcPositiveLengthMeasure > v10_Radius); typedef IfcRoundedEdgeFeature* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcRoundedEdgeFeature > > list; + typedef IfcTemplatedEntityList< IfcRoundedEdgeFeature >::it it; }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: /// @@ -38557,10 +38557,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSensorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSensorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcSensorTypeEnum::IfcSensorTypeEnum v10_PredefinedType); + IfcSensorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcSensorTypeEnum::IfcSensorTypeEnum v10_PredefinedType); typedef IfcSensorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSensorType > > list; + typedef IfcTemplatedEntityList< IfcSensorType >::it it; }; /// A slab is a component of the /// construction that normally encloses a space vertically. The slab @@ -38840,10 +38840,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcSlab (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcSlab (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_PredefinedType); + IfcSlab (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcSlabTypeEnum::IfcSlabTypeEnum > v9_PredefinedType); typedef IfcSlab* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcSlab > > list; + typedef IfcTemplatedEntityList< IfcSlab >::it it; }; /// Definition from ISO 6707-1:1989: Construction comprising /// a succession of horizontal stages (steps or landings) that make it @@ -39022,10 +39022,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStair (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStair (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcStairTypeEnum::IfcStairTypeEnum v9_ShapeType); + IfcStair (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcStairTypeEnum::IfcStairTypeEnum v9_ShapeType); typedef IfcStair* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStair > > list; + typedef IfcTemplatedEntityList< IfcStair >::it it; }; /// A stair flight is an assembly of /// building components in a single "run" of stair steps (not @@ -39232,10 +39232,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStairFlight (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStairFlight (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_NumberOfRiser, optional v10_NumberOfTreads, optional v11_RiserHeight, optional v12_TreadLength); + IfcStairFlight (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< int > v9_NumberOfRiser, optional< int > v10_NumberOfTreads, optional< IfcPositiveLengthMeasure > v11_RiserHeight, optional< IfcPositiveLengthMeasure > v12_TreadLength); typedef IfcStairFlight* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStairFlight > > list; + typedef IfcTemplatedEntityList< IfcStairFlight >::it it; }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. /// @@ -39282,13 +39282,13 @@ public: /// Whether the optional attribute LoadedBy is defined for this IfcStructuralAnalysisModel bool hasLoadedBy(); /// References to all load groups to be analyzed. - SHARED_PTR< IfcTemplatedEntityList > LoadedBy(); - void setLoadedBy(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > LoadedBy(); + void setLoadedBy(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > v); /// Whether the optional attribute HasResults is defined for this IfcStructuralAnalysisModel bool hasHasResults(); /// References to all result groups available for this structural analysis model. - SHARED_PTR< IfcTemplatedEntityList > HasResults(); - void setHasResults(SHARED_PTR< IfcTemplatedEntityList > v); + SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > HasResults(); + void setHasResults(SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > v); virtual unsigned int getArgumentCount() const { return 9; } virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 5: return Argument_ENUMERATION; case 6: return Argument_ENTITY; case 7: return Argument_ENTITY_LIST; case 8: return Argument_ENTITY_LIST; } return IfcSystem::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 5: return "PredefinedType"; case 6: return "OrientationOf2DPlane"; case 7: return "LoadedBy"; case 8: return "HasResults"; } return IfcSystem::getArgumentName(i); } @@ -39297,10 +39297,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcStructuralAnalysisModel (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcStructuralAnalysisModel (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum v6_PredefinedType, IfcAxis2Placement3D* v7_OrientationOf2DPlane, optional >> v8_LoadedBy, optional >> v9_HasResults); + IfcStructuralAnalysisModel (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum v6_PredefinedType, IfcAxis2Placement3D* v7_OrientationOf2DPlane, optional< SHARED_PTR< IfcTemplatedEntityList< IfcStructuralLoadGroup > > > v8_LoadedBy, optional< SHARED_PTR< IfcTemplatedEntityList< IfcStructuralResultGroup > > > v9_HasResults); typedef IfcStructuralAnalysisModel* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcStructuralAnalysisModel > > list; + typedef IfcTemplatedEntityList< IfcStructuralAnalysisModel >::it it; }; class IfcTendon : public IfcReinforcingElement { public: @@ -39338,10 +39338,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTendon (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTendon (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, IfcTendonTypeEnum::IfcTendonTypeEnum v10_PredefinedType, IfcPositiveLengthMeasure v11_NominalDiameter, IfcAreaMeasure v12_CrossSectionArea, optional v13_TensionForce, optional v14_PreStress, optional v15_FrictionCoefficient, optional v16_AnchorageSlip, optional v17_MinCurvatureRadius); + IfcTendon (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, IfcTendonTypeEnum::IfcTendonTypeEnum v10_PredefinedType, IfcPositiveLengthMeasure v11_NominalDiameter, IfcAreaMeasure v12_CrossSectionArea, optional< IfcForceMeasure > v13_TensionForce, optional< IfcPressureMeasure > v14_PreStress, optional< IfcNormalisedRatioMeasure > v15_FrictionCoefficient, optional< IfcPositiveLengthMeasure > v16_AnchorageSlip, optional< IfcPositiveLengthMeasure > v17_MinCurvatureRadius); typedef IfcTendon* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTendon > > list; + typedef IfcTemplatedEntityList< IfcTendon >::it it; }; class IfcTendonAnchor : public IfcReinforcingElement { public: @@ -39353,10 +39353,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcTendonAnchor (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcTendonAnchor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade); + IfcTendonAnchor (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade); typedef IfcTendonAnchor* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcTendonAnchor > > list; + typedef IfcTemplatedEntityList< IfcTendonAnchor >::it it; }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: /// @@ -39393,10 +39393,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcVibrationIsolatorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcVibrationIsolatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum v10_PredefinedType); + IfcVibrationIsolatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum v10_PredefinedType); typedef IfcVibrationIsolatorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcVibrationIsolatorType > > list; + typedef IfcTemplatedEntityList< IfcVibrationIsolatorType >::it it; }; /// Definition from ISO 6707-1:1989: Vertical construction /// usually in masonry or in concrete which bounds or subdivides a @@ -39650,10 +39650,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWall (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWall (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcWall (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcWall* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWall > > list; + typedef IfcTemplatedEntityList< IfcWall >::it it; }; /// The IfcWallStandardCase defines a wall with certain /// constraints for the provision of parameters and with certain @@ -39867,10 +39867,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWallStandardCase (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWallStandardCase (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcWallStandardCase (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcWallStandardCase* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWallStandardCase > > list; + typedef IfcTemplatedEntityList< IfcWallStandardCase >::it it; }; /// Definition form ISO 6707-1:1989: Construction for /// closing a vertical or near vertical opening in a wall or pitched @@ -40254,10 +40254,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcWindow (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcWindow (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_OverallHeight, optional v10_OverallWidth); + IfcWindow (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_OverallHeight, optional< IfcPositiveLengthMeasure > v10_OverallWidth); typedef IfcWindow* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcWindow > > list; + typedef IfcTemplatedEntityList< IfcWindow >::it it; }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: /// @@ -40303,10 +40303,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcActuatorType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcActuatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcActuatorTypeEnum::IfcActuatorTypeEnum v10_PredefinedType); + IfcActuatorType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcActuatorTypeEnum::IfcActuatorTypeEnum v10_PredefinedType); typedef IfcActuatorType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcActuatorType > > list; + typedef IfcTemplatedEntityList< IfcActuatorType >::it it; }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: /// @@ -40347,10 +40347,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcAlarmType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcAlarmType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcAlarmTypeEnum::IfcAlarmTypeEnum v10_PredefinedType); + IfcAlarmType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcAlarmTypeEnum::IfcAlarmTypeEnum v10_PredefinedType); typedef IfcAlarmType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcAlarmType > > list; + typedef IfcTemplatedEntityList< IfcAlarmType >::it it; }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. /// @@ -40599,10 +40599,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcBeam (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcBeam (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcBeam (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcBeam* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcBeam > > list; + typedef IfcTemplatedEntityList< IfcBeam >::it it; }; class IfcChamferEdgeFeature : public IfcEdgeFeature { public: @@ -40622,10 +40622,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcChamferEdgeFeature (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcChamferEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_FeatureLength, optional v10_Width, optional v11_Height); + IfcChamferEdgeFeature (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcPositiveLengthMeasure > v9_FeatureLength, optional< IfcPositiveLengthMeasure > v10_Width, optional< IfcPositiveLengthMeasure > v11_Height); typedef IfcChamferEdgeFeature* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcChamferEdgeFeature > > list; + typedef IfcTemplatedEntityList< IfcChamferEdgeFeature >::it it; }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: /// @@ -40676,10 +40676,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcControllerType (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcControllerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ApplicableOccurrence, optional >> v6_HasPropertySets, optional >> v7_RepresentationMaps, optional v8_Tag, optional v9_ElementType, IfcControllerTypeEnum::IfcControllerTypeEnum v10_PredefinedType); + IfcControllerType (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ApplicableOccurrence, optional< SHARED_PTR< IfcTemplatedEntityList< IfcPropertySetDefinition > > > v6_HasPropertySets, optional< SHARED_PTR< IfcTemplatedEntityList< IfcRepresentationMap > > > v7_RepresentationMaps, optional< IfcLabel > v8_Tag, optional< IfcLabel > v9_ElementType, IfcControllerTypeEnum::IfcControllerTypeEnum v10_PredefinedType); typedef IfcControllerType* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcControllerType > > list; + typedef IfcTemplatedEntityList< IfcControllerType >::it it; }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. /// @@ -40722,10 +40722,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcDistributionChamberElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionChamberElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag); + IfcDistributionChamberElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag); typedef IfcDistributionChamberElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionChamberElement > > list; + typedef IfcTemplatedEntityList< IfcDistributionChamberElement >::it it; }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. /// @@ -40815,15 +40815,15 @@ public: virtual ArgumentType getArgumentType(unsigned int i) const { switch (i) {case 8: return Argument_STRING; } return IfcDistributionElement::getArgumentType(i); } virtual const char* getArgumentName(unsigned int i) const { switch (i) {case 8: return "ControlElementId"; } return IfcDistributionElement::getArgumentName(i); } virtual ArgumentPtr getArgument(unsigned int i) const { return entity->getArgument(i); } - SHARED_PTR< IfcTemplatedEntityList > AssignedToFlowElement(); // INVERSE IfcRelFlowControlElements::RelatedControlElements + SHARED_PTR< IfcTemplatedEntityList< IfcRelFlowControlElements > > AssignedToFlowElement(); // INVERSE IfcRelFlowControlElements::RelatedControlElements bool is(Type::Enum v) const; Type::Enum type() const; static Type::Enum Class(); IfcDistributionControlElement (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcDistributionControlElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_ControlElementId); + IfcDistributionControlElement (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcIdentifier > v9_ControlElementId); typedef IfcDistributionControlElement* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcDistributionControlElement > > list; + typedef IfcTemplatedEntityList< IfcDistributionControlElement >::it it; }; class IfcElectricDistributionPoint : public IfcFlowController { public: @@ -40841,10 +40841,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcElectricDistributionPoint (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcElectricDistributionPoint (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum v9_DistributionPointFunction, optional v10_UserDefinedFunction); + IfcElectricDistributionPoint (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum v9_DistributionPointFunction, optional< IfcLabel > v10_UserDefinedFunction); typedef IfcElectricDistributionPoint* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcElectricDistributionPoint > > list; + typedef IfcTemplatedEntityList< IfcElectricDistributionPoint >::it it; }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, /// used in concrete and masonry construction to provide additional strength. A single instance @@ -40898,10 +40898,10 @@ public: Type::Enum type() const; static Type::Enum Class(); IfcReinforcingBar (IfcAbstractEntityPtr e = IfcAbstractEntityPtr()); - IfcReinforcingBar (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional v3_Name, optional v4_Description, optional v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional v8_Tag, optional v9_SteelGrade, IfcPositiveLengthMeasure v10_NominalDiameter, IfcAreaMeasure v11_CrossSectionArea, optional v12_BarLength, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v13_BarRole, optional v14_BarSurface); + IfcReinforcingBar (IfcGloballyUniqueId v1_GlobalId, IfcOwnerHistory* v2_OwnerHistory, optional< IfcLabel > v3_Name, optional< IfcText > v4_Description, optional< IfcLabel > v5_ObjectType, IfcObjectPlacement* v6_ObjectPlacement, IfcProductRepresentation* v7_Representation, optional< IfcIdentifier > v8_Tag, optional< IfcLabel > v9_SteelGrade, IfcPositiveLengthMeasure v10_NominalDiameter, IfcAreaMeasure v11_CrossSectionArea, optional< IfcPositiveLengthMeasure > v12_BarLength, IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum v13_BarRole, optional< IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum > v14_BarSurface); typedef IfcReinforcingBar* ptr; - typedef SHARED_PTR< IfcTemplatedEntityList > list; - typedef IfcTemplatedEntityList::it it; + typedef SHARED_PTR< IfcTemplatedEntityList< IfcReinforcingBar > > list; + typedef IfcTemplatedEntityList< IfcReinforcingBar >::it it; }; void InitStringMap(); IfcSchemaEntity SchemaEntity(IfcAbstractEntityPtr e = 0); diff --git a/src/ifcparse/IfcUtil.cpp b/src/ifcparse/IfcUtil.cpp index 6493e4f1d3..04cc19fab3 100644 --- a/src/ifcparse/IfcUtil.cpp +++ b/src/ifcparse/IfcUtil.cpp @@ -93,4 +93,4 @@ std::ostream* Logger::log1 = 0; std::ostream* Logger::log2 = 0; std::stringstream Logger::log_stream; Logger::Severity Logger::verbosity = Logger::LOG_NOTICE; -char* Logger::severity_strings[] = { "Notice","Warning","Error" }; \ No newline at end of file +const char* Logger::severity_strings[] = { "Notice","Warning","Error" }; \ No newline at end of file diff --git a/src/ifcparse/IfcUtil.h b/src/ifcparse/IfcUtil.h index 9b4a418567..70b3785b4c 100644 --- a/src/ifcparse/IfcUtil.h +++ b/src/ifcparse/IfcUtil.h @@ -187,7 +187,7 @@ private: static std::ostream* log2; static std::stringstream log_stream; static Severity verbosity; - static char* severity_strings[]; + static const char* severity_strings[]; public: /// Determines to what stream respectively progress and errors are logged static void SetOutput(std::ostream* l1, std::ostream* l2); @@ -197,7 +197,7 @@ public: /// Log a message to the output stream static void Message(Severity type, const std::string& message, const IfcAbstractEntityPtr entity=0); static void Status(const std::string& message, bool new_line=true); - static std::string Logger::GetLog(); + static std::string GetLog(); }; #endif