mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
Use constant time parent enumeration lookup
This commit is contained in:
+8
-555
@@ -1810,561 +1810,14 @@ Type::Enum Type::FromString(const std::string& s) {
|
||||
else return it->second;
|
||||
}
|
||||
|
||||
Type::Enum Type::Parent(Enum v){
|
||||
if (v < 0 || v >= 980) return (Enum)-1;
|
||||
if(v==Ifc2DCompositeCurve ) { return IfcCompositeCurve; }
|
||||
if(v==IfcActionRequest ) { return IfcControl; }
|
||||
if(v==IfcActor ) { return IfcObject; }
|
||||
if(v==IfcActuatorType ) { return IfcDistributionControlElementType; }
|
||||
if(v==IfcAirTerminalBoxType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcAirTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcAirToAirHeatRecoveryType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcAlarmType ) { return IfcDistributionControlElementType; }
|
||||
if(v==IfcAngularDimension ) { return IfcDimensionCurveDirectedCallout; }
|
||||
if(v==IfcAnnotation ) { return IfcProduct; }
|
||||
if(v==IfcAnnotationCurveOccurrence ) { return IfcAnnotationOccurrence; }
|
||||
if(v==IfcAnnotationFillArea ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcAnnotationFillAreaOccurrence ) { return IfcAnnotationOccurrence; }
|
||||
if(v==IfcAnnotationOccurrence ) { return IfcStyledItem; }
|
||||
if(v==IfcAnnotationSurface ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcAnnotationSurfaceOccurrence ) { return IfcAnnotationOccurrence; }
|
||||
if(v==IfcAnnotationSymbolOccurrence ) { return IfcAnnotationOccurrence; }
|
||||
if(v==IfcAnnotationTextOccurrence ) { return IfcAnnotationOccurrence; }
|
||||
if(v==IfcArbitraryClosedProfileDef ) { return IfcProfileDef; }
|
||||
if(v==IfcArbitraryOpenProfileDef ) { return IfcProfileDef; }
|
||||
if(v==IfcArbitraryProfileDefWithVoids ) { return IfcArbitraryClosedProfileDef; }
|
||||
if(v==IfcAsset ) { return IfcGroup; }
|
||||
if(v==IfcAsymmetricIShapeProfileDef ) { return IfcIShapeProfileDef; }
|
||||
if(v==IfcAxis1Placement ) { return IfcPlacement; }
|
||||
if(v==IfcAxis2Placement2D ) { return IfcPlacement; }
|
||||
if(v==IfcAxis2Placement3D ) { return IfcPlacement; }
|
||||
if(v==IfcBSplineCurve ) { return IfcBoundedCurve; }
|
||||
if(v==IfcBeam ) { return IfcBuildingElement; }
|
||||
if(v==IfcBeamType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcBezierCurve ) { return IfcBSplineCurve; }
|
||||
if(v==IfcBlobTexture ) { return IfcSurfaceTexture; }
|
||||
if(v==IfcBlock ) { return IfcCsgPrimitive3D; }
|
||||
if(v==IfcBoilerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcBooleanClippingResult ) { return IfcBooleanResult; }
|
||||
if(v==IfcBooleanResult ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcBoundaryEdgeCondition ) { return IfcBoundaryCondition; }
|
||||
if(v==IfcBoundaryFaceCondition ) { return IfcBoundaryCondition; }
|
||||
if(v==IfcBoundaryNodeCondition ) { return IfcBoundaryCondition; }
|
||||
if(v==IfcBoundaryNodeConditionWarping ) { return IfcBoundaryNodeCondition; }
|
||||
if(v==IfcBoundedCurve ) { return IfcCurve; }
|
||||
if(v==IfcBoundedSurface ) { return IfcSurface; }
|
||||
if(v==IfcBoundingBox ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcBoxedHalfSpace ) { return IfcHalfSpaceSolid; }
|
||||
if(v==IfcBuilding ) { return IfcSpatialStructureElement; }
|
||||
if(v==IfcBuildingElement ) { return IfcElement; }
|
||||
if(v==IfcBuildingElementComponent ) { return IfcBuildingElement; }
|
||||
if(v==IfcBuildingElementPart ) { return IfcBuildingElementComponent; }
|
||||
if(v==IfcBuildingElementProxy ) { return IfcBuildingElement; }
|
||||
if(v==IfcBuildingElementProxyType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcBuildingElementType ) { return IfcElementType; }
|
||||
if(v==IfcBuildingStorey ) { return IfcSpatialStructureElement; }
|
||||
if(v==IfcCShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcCableCarrierFittingType ) { return IfcFlowFittingType; }
|
||||
if(v==IfcCableCarrierSegmentType ) { return IfcFlowSegmentType; }
|
||||
if(v==IfcCableSegmentType ) { return IfcFlowSegmentType; }
|
||||
if(v==IfcCartesianPoint ) { return IfcPoint; }
|
||||
if(v==IfcCartesianTransformationOperator ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcCartesianTransformationOperator2D ) { return IfcCartesianTransformationOperator; }
|
||||
if(v==IfcCartesianTransformationOperator2DnonUniform) { return IfcCartesianTransformationOperator2D; }
|
||||
if(v==IfcCartesianTransformationOperator3D ) { return IfcCartesianTransformationOperator; }
|
||||
if(v==IfcCartesianTransformationOperator3DnonUniform) { return IfcCartesianTransformationOperator3D; }
|
||||
if(v==IfcCenterLineProfileDef ) { return IfcArbitraryOpenProfileDef; }
|
||||
if(v==IfcChamferEdgeFeature ) { return IfcEdgeFeature; }
|
||||
if(v==IfcChillerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcCircle ) { return IfcConic; }
|
||||
if(v==IfcCircleHollowProfileDef ) { return IfcCircleProfileDef; }
|
||||
if(v==IfcCircleProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcClassificationReference ) { return IfcExternalReference; }
|
||||
if(v==IfcClosedShell ) { return IfcConnectedFaceSet; }
|
||||
if(v==IfcCoilType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcColourRgb ) { return IfcColourSpecification; }
|
||||
if(v==IfcColumn ) { return IfcBuildingElement; }
|
||||
if(v==IfcColumnType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcComplexProperty ) { return IfcProperty; }
|
||||
if(v==IfcCompositeCurve ) { return IfcBoundedCurve; }
|
||||
if(v==IfcCompositeCurveSegment ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcCompositeProfileDef ) { return IfcProfileDef; }
|
||||
if(v==IfcCompressorType ) { return IfcFlowMovingDeviceType; }
|
||||
if(v==IfcCondenserType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcCondition ) { return IfcGroup; }
|
||||
if(v==IfcConditionCriterion ) { return IfcControl; }
|
||||
if(v==IfcConic ) { return IfcCurve; }
|
||||
if(v==IfcConnectedFaceSet ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcConnectionCurveGeometry ) { return IfcConnectionGeometry; }
|
||||
if(v==IfcConnectionPointEccentricity ) { return IfcConnectionPointGeometry; }
|
||||
if(v==IfcConnectionPointGeometry ) { return IfcConnectionGeometry; }
|
||||
if(v==IfcConnectionPortGeometry ) { return IfcConnectionGeometry; }
|
||||
if(v==IfcConnectionSurfaceGeometry ) { return IfcConnectionGeometry; }
|
||||
if(v==IfcConstructionEquipmentResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcConstructionMaterialResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcConstructionProductResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcConstructionResource ) { return IfcResource; }
|
||||
if(v==IfcContextDependentUnit ) { return IfcNamedUnit; }
|
||||
if(v==IfcControl ) { return IfcObject; }
|
||||
if(v==IfcControllerType ) { return IfcDistributionControlElementType; }
|
||||
if(v==IfcConversionBasedUnit ) { return IfcNamedUnit; }
|
||||
if(v==IfcCooledBeamType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcCoolingTowerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcCostItem ) { return IfcControl; }
|
||||
if(v==IfcCostSchedule ) { return IfcControl; }
|
||||
if(v==IfcCostValue ) { return IfcAppliedValue; }
|
||||
if(v==IfcCovering ) { return IfcBuildingElement; }
|
||||
if(v==IfcCoveringType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcCraneRailAShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcCraneRailFShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcCrewResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcCsgPrimitive3D ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcCsgSolid ) { return IfcSolidModel; }
|
||||
if(v==IfcCurtainWall ) { return IfcBuildingElement; }
|
||||
if(v==IfcCurtainWallType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcCurve ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcCurveBoundedPlane ) { return IfcBoundedSurface; }
|
||||
if(v==IfcCurveStyle ) { return IfcPresentationStyle; }
|
||||
if(v==IfcDamperType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcDefinedSymbol ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcDerivedProfileDef ) { return IfcProfileDef; }
|
||||
if(v==IfcDiameterDimension ) { return IfcDimensionCurveDirectedCallout; }
|
||||
if(v==IfcDimensionCalloutRelationship ) { return IfcDraughtingCalloutRelationship; }
|
||||
if(v==IfcDimensionCurve ) { return IfcAnnotationCurveOccurrence; }
|
||||
if(v==IfcDimensionCurveDirectedCallout ) { return IfcDraughtingCallout; }
|
||||
if(v==IfcDimensionCurveTerminator ) { return IfcTerminatorSymbol; }
|
||||
if(v==IfcDimensionPair ) { return IfcDraughtingCalloutRelationship; }
|
||||
if(v==IfcDirection ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcDiscreteAccessory ) { return IfcElementComponent; }
|
||||
if(v==IfcDiscreteAccessoryType ) { return IfcElementComponentType; }
|
||||
if(v==IfcDistributionChamberElement ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcDistributionChamberElementType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcDistributionControlElement ) { return IfcDistributionElement; }
|
||||
if(v==IfcDistributionControlElementType ) { return IfcDistributionElementType; }
|
||||
if(v==IfcDistributionElement ) { return IfcElement; }
|
||||
if(v==IfcDistributionElementType ) { return IfcElementType; }
|
||||
if(v==IfcDistributionFlowElement ) { return IfcDistributionElement; }
|
||||
if(v==IfcDistributionFlowElementType ) { return IfcDistributionElementType; }
|
||||
if(v==IfcDistributionPort ) { return IfcPort; }
|
||||
if(v==IfcDocumentReference ) { return IfcExternalReference; }
|
||||
if(v==IfcDoor ) { return IfcBuildingElement; }
|
||||
if(v==IfcDoorLiningProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcDoorPanelProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcDoorStyle ) { return IfcTypeProduct; }
|
||||
if(v==IfcDraughtingCallout ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcDraughtingPreDefinedColour ) { return IfcPreDefinedColour; }
|
||||
if(v==IfcDraughtingPreDefinedCurveFont ) { return IfcPreDefinedCurveFont; }
|
||||
if(v==IfcDraughtingPreDefinedTextFont ) { return IfcPreDefinedTextFont; }
|
||||
if(v==IfcDuctFittingType ) { return IfcFlowFittingType; }
|
||||
if(v==IfcDuctSegmentType ) { return IfcFlowSegmentType; }
|
||||
if(v==IfcDuctSilencerType ) { return IfcFlowTreatmentDeviceType; }
|
||||
if(v==IfcEdge ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcEdgeCurve ) { return IfcEdge; }
|
||||
if(v==IfcEdgeFeature ) { return IfcFeatureElementSubtraction; }
|
||||
if(v==IfcEdgeLoop ) { return IfcLoop; }
|
||||
if(v==IfcElectricApplianceType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcElectricDistributionPoint ) { return IfcFlowController; }
|
||||
if(v==IfcElectricFlowStorageDeviceType ) { return IfcFlowStorageDeviceType; }
|
||||
if(v==IfcElectricGeneratorType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcElectricHeaterType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcElectricMotorType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcElectricTimeControlType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcElectricalBaseProperties ) { return IfcEnergyProperties; }
|
||||
if(v==IfcElectricalCircuit ) { return IfcSystem; }
|
||||
if(v==IfcElectricalElement ) { return IfcElement; }
|
||||
if(v==IfcElement ) { return IfcProduct; }
|
||||
if(v==IfcElementAssembly ) { return IfcElement; }
|
||||
if(v==IfcElementComponent ) { return IfcElement; }
|
||||
if(v==IfcElementComponentType ) { return IfcElementType; }
|
||||
if(v==IfcElementQuantity ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcElementType ) { return IfcTypeProduct; }
|
||||
if(v==IfcElementarySurface ) { return IfcSurface; }
|
||||
if(v==IfcEllipse ) { return IfcConic; }
|
||||
if(v==IfcEllipseProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcEnergyConversionDevice ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcEnergyConversionDeviceType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcEnergyProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcEnvironmentalImpactValue ) { return IfcAppliedValue; }
|
||||
if(v==IfcEquipmentElement ) { return IfcElement; }
|
||||
if(v==IfcEquipmentStandard ) { return IfcControl; }
|
||||
if(v==IfcEvaporativeCoolerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcEvaporatorType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcExtendedMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcExternallyDefinedHatchStyle ) { return IfcExternalReference; }
|
||||
if(v==IfcExternallyDefinedSurfaceStyle ) { return IfcExternalReference; }
|
||||
if(v==IfcExternallyDefinedSymbol ) { return IfcExternalReference; }
|
||||
if(v==IfcExternallyDefinedTextFont ) { return IfcExternalReference; }
|
||||
if(v==IfcExtrudedAreaSolid ) { return IfcSweptAreaSolid; }
|
||||
if(v==IfcFace ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcFaceBasedSurfaceModel ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcFaceBound ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcFaceOuterBound ) { return IfcFaceBound; }
|
||||
if(v==IfcFaceSurface ) { return IfcFace; }
|
||||
if(v==IfcFacetedBrep ) { return IfcManifoldSolidBrep; }
|
||||
if(v==IfcFacetedBrepWithVoids ) { return IfcManifoldSolidBrep; }
|
||||
if(v==IfcFailureConnectionCondition ) { return IfcStructuralConnectionCondition; }
|
||||
if(v==IfcFanType ) { return IfcFlowMovingDeviceType; }
|
||||
if(v==IfcFastener ) { return IfcElementComponent; }
|
||||
if(v==IfcFastenerType ) { return IfcElementComponentType; }
|
||||
if(v==IfcFeatureElement ) { return IfcElement; }
|
||||
if(v==IfcFeatureElementAddition ) { return IfcFeatureElement; }
|
||||
if(v==IfcFeatureElementSubtraction ) { return IfcFeatureElement; }
|
||||
if(v==IfcFillAreaStyle ) { return IfcPresentationStyle; }
|
||||
if(v==IfcFillAreaStyleHatching ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcFillAreaStyleTileSymbolWithStyle ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcFillAreaStyleTiles ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcFilterType ) { return IfcFlowTreatmentDeviceType; }
|
||||
if(v==IfcFireSuppressionTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcFlowController ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowControllerType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowFitting ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowFittingType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowInstrumentType ) { return IfcDistributionControlElementType; }
|
||||
if(v==IfcFlowMeterType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcFlowMovingDevice ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowMovingDeviceType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowSegment ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowSegmentType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowStorageDevice ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowStorageDeviceType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowTerminal ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowTerminalType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFlowTreatmentDevice ) { return IfcDistributionFlowElement; }
|
||||
if(v==IfcFlowTreatmentDeviceType ) { return IfcDistributionFlowElementType; }
|
||||
if(v==IfcFluidFlowProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcFooting ) { return IfcBuildingElement; }
|
||||
if(v==IfcFuelProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcFurnishingElement ) { return IfcElement; }
|
||||
if(v==IfcFurnishingElementType ) { return IfcElementType; }
|
||||
if(v==IfcFurnitureStandard ) { return IfcControl; }
|
||||
if(v==IfcFurnitureType ) { return IfcFurnishingElementType; }
|
||||
if(v==IfcGasTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcGeneralMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcGeneralProfileProperties ) { return IfcProfileProperties; }
|
||||
if(v==IfcGeometricCurveSet ) { return IfcGeometricSet; }
|
||||
if(v==IfcGeometricRepresentationContext ) { return IfcRepresentationContext; }
|
||||
if(v==IfcGeometricRepresentationItem ) { return IfcRepresentationItem; }
|
||||
if(v==IfcGeometricRepresentationSubContext ) { return IfcGeometricRepresentationContext; }
|
||||
if(v==IfcGeometricSet ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcGrid ) { return IfcProduct; }
|
||||
if(v==IfcGridPlacement ) { return IfcObjectPlacement; }
|
||||
if(v==IfcGroup ) { return IfcObject; }
|
||||
if(v==IfcHalfSpaceSolid ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcHeatExchangerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcHumidifierType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcHygroscopicMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcIShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcImageTexture ) { return IfcSurfaceTexture; }
|
||||
if(v==IfcInventory ) { return IfcGroup; }
|
||||
if(v==IfcIrregularTimeSeries ) { return IfcTimeSeries; }
|
||||
if(v==IfcJunctionBoxType ) { return IfcFlowFittingType; }
|
||||
if(v==IfcLShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcLaborResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcLampType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcLibraryReference ) { return IfcExternalReference; }
|
||||
if(v==IfcLightFixtureType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcLightSource ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcLightSourceAmbient ) { return IfcLightSource; }
|
||||
if(v==IfcLightSourceDirectional ) { return IfcLightSource; }
|
||||
if(v==IfcLightSourceGoniometric ) { return IfcLightSource; }
|
||||
if(v==IfcLightSourcePositional ) { return IfcLightSource; }
|
||||
if(v==IfcLightSourceSpot ) { return IfcLightSourcePositional; }
|
||||
if(v==IfcLine ) { return IfcCurve; }
|
||||
if(v==IfcLinearDimension ) { return IfcDimensionCurveDirectedCallout; }
|
||||
if(v==IfcLocalPlacement ) { return IfcObjectPlacement; }
|
||||
if(v==IfcLoop ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcManifoldSolidBrep ) { return IfcSolidModel; }
|
||||
if(v==IfcMappedItem ) { return IfcRepresentationItem; }
|
||||
if(v==IfcMaterialDefinitionRepresentation ) { return IfcProductRepresentation; }
|
||||
if(v==IfcMechanicalConcreteMaterialProperties ) { return IfcMechanicalMaterialProperties; }
|
||||
if(v==IfcMechanicalFastener ) { return IfcFastener; }
|
||||
if(v==IfcMechanicalFastenerType ) { return IfcFastenerType; }
|
||||
if(v==IfcMechanicalMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcMechanicalSteelMaterialProperties ) { return IfcMechanicalMaterialProperties; }
|
||||
if(v==IfcMember ) { return IfcBuildingElement; }
|
||||
if(v==IfcMemberType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcMetric ) { return IfcConstraint; }
|
||||
if(v==IfcMotorConnectionType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcMove ) { return IfcTask; }
|
||||
if(v==IfcObject ) { return IfcObjectDefinition; }
|
||||
if(v==IfcObjectDefinition ) { return IfcRoot; }
|
||||
if(v==IfcObjective ) { return IfcConstraint; }
|
||||
if(v==IfcOccupant ) { return IfcActor; }
|
||||
if(v==IfcOffsetCurve2D ) { return IfcCurve; }
|
||||
if(v==IfcOffsetCurve3D ) { return IfcCurve; }
|
||||
if(v==IfcOneDirectionRepeatFactor ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcOpenShell ) { return IfcConnectedFaceSet; }
|
||||
if(v==IfcOpeningElement ) { return IfcFeatureElementSubtraction; }
|
||||
if(v==IfcOpticalMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcOrderAction ) { return IfcTask; }
|
||||
if(v==IfcOrientedEdge ) { return IfcEdge; }
|
||||
if(v==IfcOutletType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcParameterizedProfileDef ) { return IfcProfileDef; }
|
||||
if(v==IfcPath ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcPerformanceHistory ) { return IfcControl; }
|
||||
if(v==IfcPermeableCoveringProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcPermit ) { return IfcControl; }
|
||||
if(v==IfcPhysicalComplexQuantity ) { return IfcPhysicalQuantity; }
|
||||
if(v==IfcPhysicalSimpleQuantity ) { return IfcPhysicalQuantity; }
|
||||
if(v==IfcPile ) { return IfcBuildingElement; }
|
||||
if(v==IfcPipeFittingType ) { return IfcFlowFittingType; }
|
||||
if(v==IfcPipeSegmentType ) { return IfcFlowSegmentType; }
|
||||
if(v==IfcPixelTexture ) { return IfcSurfaceTexture; }
|
||||
if(v==IfcPlacement ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcPlanarBox ) { return IfcPlanarExtent; }
|
||||
if(v==IfcPlanarExtent ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcPlane ) { return IfcElementarySurface; }
|
||||
if(v==IfcPlate ) { return IfcBuildingElement; }
|
||||
if(v==IfcPlateType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcPoint ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcPointOnCurve ) { return IfcPoint; }
|
||||
if(v==IfcPointOnSurface ) { return IfcPoint; }
|
||||
if(v==IfcPolyLoop ) { return IfcLoop; }
|
||||
if(v==IfcPolygonalBoundedHalfSpace ) { return IfcHalfSpaceSolid; }
|
||||
if(v==IfcPolyline ) { return IfcBoundedCurve; }
|
||||
if(v==IfcPort ) { return IfcProduct; }
|
||||
if(v==IfcPostalAddress ) { return IfcAddress; }
|
||||
if(v==IfcPreDefinedColour ) { return IfcPreDefinedItem; }
|
||||
if(v==IfcPreDefinedCurveFont ) { return IfcPreDefinedItem; }
|
||||
if(v==IfcPreDefinedDimensionSymbol ) { return IfcPreDefinedSymbol; }
|
||||
if(v==IfcPreDefinedPointMarkerSymbol ) { return IfcPreDefinedSymbol; }
|
||||
if(v==IfcPreDefinedSymbol ) { return IfcPreDefinedItem; }
|
||||
if(v==IfcPreDefinedTerminatorSymbol ) { return IfcPreDefinedSymbol; }
|
||||
if(v==IfcPreDefinedTextFont ) { return IfcPreDefinedItem; }
|
||||
if(v==IfcPresentationLayerWithStyle ) { return IfcPresentationLayerAssignment; }
|
||||
if(v==IfcProcedure ) { return IfcProcess; }
|
||||
if(v==IfcProcess ) { return IfcObject; }
|
||||
if(v==IfcProduct ) { return IfcObject; }
|
||||
if(v==IfcProductDefinitionShape ) { return IfcProductRepresentation; }
|
||||
if(v==IfcProductsOfCombustionProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcProject ) { return IfcObject; }
|
||||
if(v==IfcProjectOrder ) { return IfcControl; }
|
||||
if(v==IfcProjectOrderRecord ) { return IfcControl; }
|
||||
if(v==IfcProjectionCurve ) { return IfcAnnotationCurveOccurrence; }
|
||||
if(v==IfcProjectionElement ) { return IfcFeatureElementAddition; }
|
||||
if(v==IfcPropertyBoundedValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcPropertyDefinition ) { return IfcRoot; }
|
||||
if(v==IfcPropertyEnumeratedValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcPropertyListValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcPropertyReferenceValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcPropertySet ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcPropertySetDefinition ) { return IfcPropertyDefinition; }
|
||||
if(v==IfcPropertySingleValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcPropertyTableValue ) { return IfcSimpleProperty; }
|
||||
if(v==IfcProtectiveDeviceType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcProxy ) { return IfcProduct; }
|
||||
if(v==IfcPumpType ) { return IfcFlowMovingDeviceType; }
|
||||
if(v==IfcQuantityArea ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcQuantityCount ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcQuantityLength ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcQuantityTime ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcQuantityVolume ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcQuantityWeight ) { return IfcPhysicalSimpleQuantity; }
|
||||
if(v==IfcRadiusDimension ) { return IfcDimensionCurveDirectedCallout; }
|
||||
if(v==IfcRailing ) { return IfcBuildingElement; }
|
||||
if(v==IfcRailingType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcRamp ) { return IfcBuildingElement; }
|
||||
if(v==IfcRampFlight ) { return IfcBuildingElement; }
|
||||
if(v==IfcRampFlightType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcRationalBezierCurve ) { return IfcBezierCurve; }
|
||||
if(v==IfcRectangleHollowProfileDef ) { return IfcRectangleProfileDef; }
|
||||
if(v==IfcRectangleProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcRectangularPyramid ) { return IfcCsgPrimitive3D; }
|
||||
if(v==IfcRectangularTrimmedSurface ) { return IfcBoundedSurface; }
|
||||
if(v==IfcRegularTimeSeries ) { return IfcTimeSeries; }
|
||||
if(v==IfcReinforcementDefinitionProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcReinforcingBar ) { return IfcReinforcingElement; }
|
||||
if(v==IfcReinforcingElement ) { return IfcBuildingElementComponent; }
|
||||
if(v==IfcReinforcingMesh ) { return IfcReinforcingElement; }
|
||||
if(v==IfcRelAggregates ) { return IfcRelDecomposes; }
|
||||
if(v==IfcRelAssigns ) { return IfcRelationship; }
|
||||
if(v==IfcRelAssignsTasks ) { return IfcRelAssignsToControl; }
|
||||
if(v==IfcRelAssignsToActor ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssignsToControl ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssignsToGroup ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssignsToProcess ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssignsToProduct ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssignsToProjectOrder ) { return IfcRelAssignsToControl; }
|
||||
if(v==IfcRelAssignsToResource ) { return IfcRelAssigns; }
|
||||
if(v==IfcRelAssociates ) { return IfcRelationship; }
|
||||
if(v==IfcRelAssociatesAppliedValue ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesApproval ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesClassification ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesConstraint ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesDocument ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesLibrary ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesMaterial ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelAssociatesProfileProperties ) { return IfcRelAssociates; }
|
||||
if(v==IfcRelConnects ) { return IfcRelationship; }
|
||||
if(v==IfcRelConnectsElements ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsPathElements ) { return IfcRelConnectsElements; }
|
||||
if(v==IfcRelConnectsPortToElement ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsPorts ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsStructuralActivity ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsStructuralElement ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsStructuralMember ) { return IfcRelConnects; }
|
||||
if(v==IfcRelConnectsWithEccentricity ) { return IfcRelConnectsStructuralMember; }
|
||||
if(v==IfcRelConnectsWithRealizingElements ) { return IfcRelConnectsElements; }
|
||||
if(v==IfcRelContainedInSpatialStructure ) { return IfcRelConnects; }
|
||||
if(v==IfcRelCoversBldgElements ) { return IfcRelConnects; }
|
||||
if(v==IfcRelCoversSpaces ) { return IfcRelConnects; }
|
||||
if(v==IfcRelDecomposes ) { return IfcRelationship; }
|
||||
if(v==IfcRelDefines ) { return IfcRelationship; }
|
||||
if(v==IfcRelDefinesByProperties ) { return IfcRelDefines; }
|
||||
if(v==IfcRelDefinesByType ) { return IfcRelDefines; }
|
||||
if(v==IfcRelFillsElement ) { return IfcRelConnects; }
|
||||
if(v==IfcRelFlowControlElements ) { return IfcRelConnects; }
|
||||
if(v==IfcRelInteractionRequirements ) { return IfcRelConnects; }
|
||||
if(v==IfcRelNests ) { return IfcRelDecomposes; }
|
||||
if(v==IfcRelOccupiesSpaces ) { return IfcRelAssignsToActor; }
|
||||
if(v==IfcRelOverridesProperties ) { return IfcRelDefinesByProperties; }
|
||||
if(v==IfcRelProjectsElement ) { return IfcRelConnects; }
|
||||
if(v==IfcRelReferencedInSpatialStructure ) { return IfcRelConnects; }
|
||||
if(v==IfcRelSchedulesCostItems ) { return IfcRelAssignsToControl; }
|
||||
if(v==IfcRelSequence ) { return IfcRelConnects; }
|
||||
if(v==IfcRelServicesBuildings ) { return IfcRelConnects; }
|
||||
if(v==IfcRelSpaceBoundary ) { return IfcRelConnects; }
|
||||
if(v==IfcRelVoidsElement ) { return IfcRelConnects; }
|
||||
if(v==IfcRelationship ) { return IfcRoot; }
|
||||
if(v==IfcResource ) { return IfcObject; }
|
||||
if(v==IfcRevolvedAreaSolid ) { return IfcSweptAreaSolid; }
|
||||
if(v==IfcRibPlateProfileProperties ) { return IfcProfileProperties; }
|
||||
if(v==IfcRightCircularCone ) { return IfcCsgPrimitive3D; }
|
||||
if(v==IfcRightCircularCylinder ) { return IfcCsgPrimitive3D; }
|
||||
if(v==IfcRoof ) { return IfcBuildingElement; }
|
||||
if(v==IfcRoundedEdgeFeature ) { return IfcEdgeFeature; }
|
||||
if(v==IfcRoundedRectangleProfileDef ) { return IfcRectangleProfileDef; }
|
||||
if(v==IfcSIUnit ) { return IfcNamedUnit; }
|
||||
if(v==IfcSanitaryTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcScheduleTimeControl ) { return IfcControl; }
|
||||
if(v==IfcSectionedSpine ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcSensorType ) { return IfcDistributionControlElementType; }
|
||||
if(v==IfcServiceLife ) { return IfcControl; }
|
||||
if(v==IfcServiceLifeFactor ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcShapeModel ) { return IfcRepresentation; }
|
||||
if(v==IfcShapeRepresentation ) { return IfcShapeModel; }
|
||||
if(v==IfcShellBasedSurfaceModel ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcSimpleProperty ) { return IfcProperty; }
|
||||
if(v==IfcSite ) { return IfcSpatialStructureElement; }
|
||||
if(v==IfcSlab ) { return IfcBuildingElement; }
|
||||
if(v==IfcSlabType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcSlippageConnectionCondition ) { return IfcStructuralConnectionCondition; }
|
||||
if(v==IfcSolidModel ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcSoundProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcSoundValue ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcSpace ) { return IfcSpatialStructureElement; }
|
||||
if(v==IfcSpaceHeaterType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcSpaceProgram ) { return IfcControl; }
|
||||
if(v==IfcSpaceThermalLoadProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcSpaceType ) { return IfcSpatialStructureElementType; }
|
||||
if(v==IfcSpatialStructureElement ) { return IfcProduct; }
|
||||
if(v==IfcSpatialStructureElementType ) { return IfcElementType; }
|
||||
if(v==IfcSphere ) { return IfcCsgPrimitive3D; }
|
||||
if(v==IfcStackTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcStair ) { return IfcBuildingElement; }
|
||||
if(v==IfcStairFlight ) { return IfcBuildingElement; }
|
||||
if(v==IfcStairFlightType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcStructuralAction ) { return IfcStructuralActivity; }
|
||||
if(v==IfcStructuralActivity ) { return IfcProduct; }
|
||||
if(v==IfcStructuralAnalysisModel ) { return IfcSystem; }
|
||||
if(v==IfcStructuralConnection ) { return IfcStructuralItem; }
|
||||
if(v==IfcStructuralCurveConnection ) { return IfcStructuralConnection; }
|
||||
if(v==IfcStructuralCurveMember ) { return IfcStructuralMember; }
|
||||
if(v==IfcStructuralCurveMemberVarying ) { return IfcStructuralCurveMember; }
|
||||
if(v==IfcStructuralItem ) { return IfcProduct; }
|
||||
if(v==IfcStructuralLinearAction ) { return IfcStructuralAction; }
|
||||
if(v==IfcStructuralLinearActionVarying ) { return IfcStructuralLinearAction; }
|
||||
if(v==IfcStructuralLoadGroup ) { return IfcGroup; }
|
||||
if(v==IfcStructuralLoadLinearForce ) { return IfcStructuralLoadStatic; }
|
||||
if(v==IfcStructuralLoadPlanarForce ) { return IfcStructuralLoadStatic; }
|
||||
if(v==IfcStructuralLoadSingleDisplacement ) { return IfcStructuralLoadStatic; }
|
||||
if(v==IfcStructuralLoadSingleDisplacementDistortion ) { return IfcStructuralLoadSingleDisplacement; }
|
||||
if(v==IfcStructuralLoadSingleForce ) { return IfcStructuralLoadStatic; }
|
||||
if(v==IfcStructuralLoadSingleForceWarping ) { return IfcStructuralLoadSingleForce; }
|
||||
if(v==IfcStructuralLoadStatic ) { return IfcStructuralLoad; }
|
||||
if(v==IfcStructuralLoadTemperature ) { return IfcStructuralLoadStatic; }
|
||||
if(v==IfcStructuralMember ) { return IfcStructuralItem; }
|
||||
if(v==IfcStructuralPlanarAction ) { return IfcStructuralAction; }
|
||||
if(v==IfcStructuralPlanarActionVarying ) { return IfcStructuralPlanarAction; }
|
||||
if(v==IfcStructuralPointAction ) { return IfcStructuralAction; }
|
||||
if(v==IfcStructuralPointConnection ) { return IfcStructuralConnection; }
|
||||
if(v==IfcStructuralPointReaction ) { return IfcStructuralReaction; }
|
||||
if(v==IfcStructuralProfileProperties ) { return IfcGeneralProfileProperties; }
|
||||
if(v==IfcStructuralReaction ) { return IfcStructuralActivity; }
|
||||
if(v==IfcStructuralResultGroup ) { return IfcGroup; }
|
||||
if(v==IfcStructuralSteelProfileProperties ) { return IfcStructuralProfileProperties; }
|
||||
if(v==IfcStructuralSurfaceConnection ) { return IfcStructuralConnection; }
|
||||
if(v==IfcStructuralSurfaceMember ) { return IfcStructuralMember; }
|
||||
if(v==IfcStructuralSurfaceMemberVarying ) { return IfcStructuralSurfaceMember; }
|
||||
if(v==IfcStructuredDimensionCallout ) { return IfcDraughtingCallout; }
|
||||
if(v==IfcStyleModel ) { return IfcRepresentation; }
|
||||
if(v==IfcStyledItem ) { return IfcRepresentationItem; }
|
||||
if(v==IfcStyledRepresentation ) { return IfcStyleModel; }
|
||||
if(v==IfcSubContractResource ) { return IfcConstructionResource; }
|
||||
if(v==IfcSubedge ) { return IfcEdge; }
|
||||
if(v==IfcSurface ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcSurfaceCurveSweptAreaSolid ) { return IfcSweptAreaSolid; }
|
||||
if(v==IfcSurfaceOfLinearExtrusion ) { return IfcSweptSurface; }
|
||||
if(v==IfcSurfaceOfRevolution ) { return IfcSweptSurface; }
|
||||
if(v==IfcSurfaceStyle ) { return IfcPresentationStyle; }
|
||||
if(v==IfcSurfaceStyleRendering ) { return IfcSurfaceStyleShading; }
|
||||
if(v==IfcSweptAreaSolid ) { return IfcSolidModel; }
|
||||
if(v==IfcSweptDiskSolid ) { return IfcSolidModel; }
|
||||
if(v==IfcSweptSurface ) { return IfcSurface; }
|
||||
if(v==IfcSwitchingDeviceType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcSymbolStyle ) { return IfcPresentationStyle; }
|
||||
if(v==IfcSystem ) { return IfcGroup; }
|
||||
if(v==IfcSystemFurnitureElementType ) { return IfcFurnishingElementType; }
|
||||
if(v==IfcTShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcTankType ) { return IfcFlowStorageDeviceType; }
|
||||
if(v==IfcTask ) { return IfcProcess; }
|
||||
if(v==IfcTelecomAddress ) { return IfcAddress; }
|
||||
if(v==IfcTendon ) { return IfcReinforcingElement; }
|
||||
if(v==IfcTendonAnchor ) { return IfcReinforcingElement; }
|
||||
if(v==IfcTerminatorSymbol ) { return IfcAnnotationSymbolOccurrence; }
|
||||
if(v==IfcTextLiteral ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcTextLiteralWithExtent ) { return IfcTextLiteral; }
|
||||
if(v==IfcTextStyle ) { return IfcPresentationStyle; }
|
||||
if(v==IfcTextStyleFontModel ) { return IfcPreDefinedTextFont; }
|
||||
if(v==IfcTextureCoordinateGenerator ) { return IfcTextureCoordinate; }
|
||||
if(v==IfcTextureMap ) { return IfcTextureCoordinate; }
|
||||
if(v==IfcThermalMaterialProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcTimeSeriesSchedule ) { return IfcControl; }
|
||||
if(v==IfcTopologicalRepresentationItem ) { return IfcRepresentationItem; }
|
||||
if(v==IfcTopologyRepresentation ) { return IfcShapeModel; }
|
||||
if(v==IfcTransformerType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcTransportElement ) { return IfcElement; }
|
||||
if(v==IfcTransportElementType ) { return IfcElementType; }
|
||||
if(v==IfcTrapeziumProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcTrimmedCurve ) { return IfcBoundedCurve; }
|
||||
if(v==IfcTubeBundleType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcTwoDirectionRepeatFactor ) { return IfcOneDirectionRepeatFactor; }
|
||||
if(v==IfcTypeObject ) { return IfcObjectDefinition; }
|
||||
if(v==IfcTypeProduct ) { return IfcTypeObject; }
|
||||
if(v==IfcUShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcUnitaryEquipmentType ) { return IfcEnergyConversionDeviceType; }
|
||||
if(v==IfcValveType ) { return IfcFlowControllerType; }
|
||||
if(v==IfcVector ) { return IfcGeometricRepresentationItem; }
|
||||
if(v==IfcVertex ) { return IfcTopologicalRepresentationItem; }
|
||||
if(v==IfcVertexLoop ) { return IfcLoop; }
|
||||
if(v==IfcVertexPoint ) { return IfcVertex; }
|
||||
if(v==IfcVibrationIsolatorType ) { return IfcDiscreteAccessoryType; }
|
||||
if(v==IfcVirtualElement ) { return IfcElement; }
|
||||
if(v==IfcWall ) { return IfcBuildingElement; }
|
||||
if(v==IfcWallStandardCase ) { return IfcWall; }
|
||||
if(v==IfcWallType ) { return IfcBuildingElementType; }
|
||||
if(v==IfcWasteTerminalType ) { return IfcFlowTerminalType; }
|
||||
if(v==IfcWaterProperties ) { return IfcMaterialProperties; }
|
||||
if(v==IfcWindow ) { return IfcBuildingElement; }
|
||||
if(v==IfcWindowLiningProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcWindowPanelProperties ) { return IfcPropertySetDefinition; }
|
||||
if(v==IfcWindowStyle ) { return IfcTypeProduct; }
|
||||
if(v==IfcWorkControl ) { return IfcControl; }
|
||||
if(v==IfcWorkPlan ) { return IfcWorkControl; }
|
||||
if(v==IfcWorkSchedule ) { return IfcWorkControl; }
|
||||
if(v==IfcZShapeProfileDef ) { return IfcParameterizedProfileDef; }
|
||||
if(v==IfcZone ) { return IfcGroup; }
|
||||
return (Enum)-1;
|
||||
static int parent_map[] = {133,-1,-1,164,-1,-1,515,-1,-1,234,-1,-1,-1,-1,354,-1,369,-1,309,-1,234,-1,-1,-1,-1,221,-1,600,31,392,31,840,392,31,31,31,-1,-1,-1,-1,-1,-1,-1,-1,604,604,44,-1,-1,-1,401,412,560,-1,560,560,77,-1,83,89,-1,-1,56,857,184,309,-1,-1,71,-1,-1,392,-1,72,72,72,75,193,844,392,-1,402,786,297,83,84,83,89,-1,304,786,540,357,-1,365,-1,365,-1,-1,569,392,100,101,100,103,45,271,-1,-1,309,-1,144,113,540,-1,-1,-1,-1,-1,-1,322,145,309,-1,-1,-1,127,-1,83,89,-1,-1,615,77,392,604,-1,363,-1,309,-1,401,164,-1,193,916,147,-1,149,147,147,147,-1,-1,-1,-1,-1,-1,161,161,161,722,-1,511,515,234,-1,511,309,-1,309,-1,-1,164,164,-1,37,-1,83,89,-1,540,540,161,392,-1,773,-1,-1,83,89,-1,-1,392,78,-1,-1,593,-1,-1,-1,-1,354,-1,-1,-1,-1,-1,-1,392,-1,-1,604,-1,-1,-1,-1,221,258,-1,28,256,879,-1,258,-1,392,-1,300,301,237,238,-1,235,236,297,304,235,236,576,-1,-1,-1,-1,322,-1,-1,83,625,-1,-1,625,933,-1,-1,-1,392,-1,-1,582,583,589,357,-1,365,-1,371,-1,-1,916,269,342,464,369,-1,-1,-1,-1,-1,-1,353,-1,367,-1,309,-1,369,-1,309,-1,-1,354,-1,-1,311,866,297,600,297,-1,297,304,-1,625,933,844,144,540,237,238,-1,625,-1,-1,37,297,164,309,-1,309,-1,483,-1,322,322,322,322,859,916,392,916,330,328,470,470,806,363,-1,300,301,297,340,340,593,392,-1,392,392,-1,371,-1,369,-1,237,238,-1,237,238,234,-1,354,-1,237,238,237,238,237,238,237,238,237,238,625,-1,-1,-1,83,-1,-1,-1,483,297,304,164,382,369,-1,483,605,394,-1,719,720,391,392,-1,-1,-1,600,-1,517,515,392,-1,309,-1,-1,-1,-1,309,-1,483,540,-1,-1,857,-1,-1,-1,-1,401,-1,-1,909,-1,-1,357,-1,-1,540,-1,161,369,-1,-1,-1,-1,-1,322,-1,-1,-1,-1,-1,369,-1,-1,392,447,447,447,447,451,193,221,-1,-1,-1,-1,-1,517,-1,-1,-1,916,-1,-1,-1,-1,-1,773,720,-1,-1,-1,-1,-1,-1,602,-1,-1,-1,-1,-1,-1,-1,-1,490,338,339,483,490,83,89,-1,153,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,309,-1,873,-1,-1,-1,-1,516,732,-1,-1,-1,153,-1,6,-1,193,193,392,145,342,483,873,-1,-1,-1,269,369,-1,-1,-1,-1,604,916,164,-1,625,164,-1,-1,550,-1,-1,550,83,-1,-1,357,-1,365,-1,857,392,562,392,-1,305,-1,83,89,-1,392,569,569,-1,464,402,77,600,-1,-1,-1,11,-1,585,585,587,-1,587,585,587,585,-1,-1,591,-1,-1,-1,-1,599,-1,515,515,602,-1,483,-1,-1,-1,515,164,164,-1,-1,-1,28,341,-1,764,-1,732,-1,764,-1,764,764,625,618,764,-1,764,354,-1,600,363,-1,551,551,551,551,551,551,-1,221,83,89,-1,83,83,89,-1,-1,-1,62,-1,654,540,184,78,-1,-1,909,-1,625,665,-1,-1,84,665,699,716,671,668,668,668,668,668,671,668,716,677,677,677,677,677,677,677,677,716,686,687,686,686,686,686,686,693,687,686,686,686,716,716,700,700,686,686,686,699,670,701,686,686,671,686,686,686,686,732,-1,-1,-1,-1,-1,515,-1,859,-1,605,184,184,-1,83,-1,-1,-1,-1,-1,271,654,-1,511,-1,369,-1,164,-1,-1,-1,-1,-1,-1,392,234,-1,-1,164,625,-1,-1,-1,718,759,-1,-1,392,615,-1,786,-1,83,89,-1,806,-1,392,-1,-1,625,-1,625,786,309,-1,164,625,787,-1,600,304,-1,-1,-1,-1,184,369,-1,83,83,89,-1,-1,-1,802,600,-1,866,811,-1,805,824,808,-1,600,801,812,-1,401,822,822,822,818,822,820,814,822,811,801,825,801,805,831,388,802,401,830,805,824,835,-1,256,718,720,839,161,269,392,859,861,861,-1,-1,593,-1,-1,-1,855,-1,-1,-1,-1,773,773,844,354,-1,593,-1,401,382,540,-1,-1,367,-1,599,11,-1,665,665,-1,34,-1,-1,-1,-1,-1,392,885,-1,593,589,-1,-1,-1,-1,-1,-1,895,895,-1,-1,-1,-1,-1,-1,483,-1,-1,-1,-1,-1,-1,-1,164,-1,-1,-1,720,759,-1,309,-1,-1,297,304,-1,540,77,-1,-1,309,-1,526,516,932,540,-1,-1,-1,309,-1,-1,354,-1,-1,392,-1,916,-1,464,946,229,-1,297,-1,-1,-1,83,956,89,-1,-1,-1,369,-1,483,83,625,-1,-1,625,933,-1,-1,164,-1,973,973,-1,540,401};
|
||||
boost::optional<Type::Enum> Type::Parent(Enum v){
|
||||
const int p = parent_map[static_cast<int>(v)];
|
||||
if (p >= 0) {
|
||||
return static_cast<Type::Enum>(p);
|
||||
} else {
|
||||
return boost::none;
|
||||
}
|
||||
}
|
||||
|
||||
bool Type::IsSimple(Enum v) {
|
||||
|
||||
Reference in New Issue
Block a user