bf9c60a29610ce69ee6995d23da220b86a48163b
[occt.git] / src / StepAP214 / StepAP214_Protocol.cxx
1 // Copyright (c) 1999-2014 OPEN CASCADE SAS
2 //
3 // This file is part of Open CASCADE Technology software library.
4 //
5 // This library is free software; you can redistribute it and/or modify it under
6 // the terms of the GNU Lesser General Public License version 2.1 as published
7 // by the Free Software Foundation, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
10 //
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
13
14 //:n5 abv 15 Feb 99: S4132: added complex type bounded_curve + surface_curve
15 //:j4 gka 11 Mar 99 S4134 :  added new types for DIS
16 //    gka 09.04.99: S4136: new name of parameter write.step.schema 
17
18 #include <Interface_Protocol.hxx>
19 #include <Standard_Type.hxx>
20 #include <StepAP214_Protocol.hxx>
21
22 static Standard_CString schemaAP214CD  = "AUTOMOTIVE_DESIGN_CC2 { 1 2 10303 214 -1 1 5 4 }";
23 static Standard_CString schemaAP214DIS = "AUTOMOTIVE_DESIGN { 1 2 10303 214 0 1 1 1 }";
24 static Standard_CString schemaAP214IS  = "AUTOMOTIVE_DESIGN { 1 0 10303 214 1 1 1 1 }";
25 static Standard_CString schemaAP203    = "CONFIG_CONTROL_DESIGN";
26
27 #include <HeaderSection_Protocol.hxx>
28
29 #include <StepBasic_Address.hxx>
30 #include <StepShape_AdvancedBrepShapeRepresentation.hxx>
31 #include <StepShape_AdvancedFace.hxx>
32 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationCurveOccurrence.hxx>
33 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationFillArea.hxx>
34 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationFillAreaOccurrence.hxx>
35 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
36 #include <StepVisual_AnnotationOccurrence.hxx>
37 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationSubfigureOccurrence.hxx>
38 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationSymbol.hxx>
39 // Removed from CC1-Rev2 to Rev4 : <StepVisual_AnnotationSymbolOccurrence.hxx>
40 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
41 #include <StepVisual_AnnotationText.hxx>
42 #include <StepVisual_AnnotationTextOccurrence.hxx>
43
44 #include <StepBasic_ApplicationContext.hxx>
45 #include <StepBasic_ApplicationContextElement.hxx>
46 #include <StepBasic_ApplicationProtocolDefinition.hxx>
47 #include <StepBasic_Approval.hxx>
48 #include <StepBasic_ApprovalPersonOrganization.hxx>
49 #include <StepBasic_ApprovalRelationship.hxx>
50 #include <StepBasic_ApprovalRole.hxx>
51 #include <StepBasic_ApprovalStatus.hxx>
52 #include <StepVisual_AreaInSet.hxx>
53 #include <StepAP214_AutoDesignActualDateAndTimeAssignment.hxx>
54 #include <StepAP214_AutoDesignActualDateAssignment.hxx>
55 #include <StepAP214_AutoDesignApprovalAssignment.hxx>
56 #include <StepAP214_AutoDesignDateAndPersonAssignment.hxx>
57 #include <StepAP214_AutoDesignGroupAssignment.hxx>
58 #include <StepAP214_AutoDesignNominalDateAndTimeAssignment.hxx>
59 #include <StepAP214_AutoDesignNominalDateAssignment.hxx>
60 #include <StepAP214_AutoDesignOrganizationAssignment.hxx>
61 #include <StepAP214_AutoDesignPersonAndOrganizationAssignment.hxx>
62 #include <StepAP214_AutoDesignPresentedItem.hxx>
63 #include <StepAP214_AutoDesignSecurityClassificationAssignment.hxx>
64 // Removed from CC1-Rev2 to Rev4 : <StepAP214_AutoDesignViewArea.hxx>
65 #include <StepGeom_Axis1Placement.hxx>
66 #include <StepGeom_Axis2Placement2d.hxx>
67 #include <StepGeom_Axis2Placement3d.hxx>
68 #include <StepGeom_BSplineCurve.hxx>
69 #include <StepGeom_BSplineCurveWithKnots.hxx>
70 #include <StepGeom_BSplineSurface.hxx>
71 #include <StepGeom_BSplineSurfaceWithKnots.hxx>
72 #include <StepVisual_BackgroundColour.hxx>
73 #include <StepGeom_BezierCurve.hxx>
74 #include <StepGeom_BezierSurface.hxx>
75 #include <StepShape_Block.hxx>
76 #include <StepShape_BooleanResult.hxx>
77 #include <StepGeom_BoundaryCurve.hxx>
78 #include <StepGeom_BoundedCurve.hxx>
79 #include <StepGeom_BoundedSurface.hxx>
80 #include <StepShape_BoxDomain.hxx>
81 #include <StepShape_BoxedHalfSpace.hxx>
82 #include <StepShape_BrepWithVoids.hxx>
83 #include <StepBasic_CalendarDate.hxx>
84 #include <StepVisual_CameraImage.hxx>
85 #include <StepVisual_CameraModel.hxx>
86 #include <StepVisual_CameraModelD2.hxx>
87 #include <StepVisual_CameraModelD3.hxx>
88 #include <StepVisual_CameraUsage.hxx>
89 #include <StepGeom_CartesianPoint.hxx>
90 #include <StepGeom_CartesianTransformationOperator.hxx>
91 #include <StepGeom_CartesianTransformationOperator3d.hxx>
92 #include <StepGeom_Circle.hxx>
93 #include <StepShape_ClosedShell.hxx>
94 #include <StepVisual_Colour.hxx>
95 #include <StepVisual_ColourRgb.hxx>
96 #include <StepVisual_ColourSpecification.hxx>
97 #include <StepGeom_CompositeCurve.hxx>
98 #include <StepGeom_CompositeCurveOnSurface.hxx>
99 #include <StepGeom_CompositeCurveSegment.hxx>
100 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
101 #include <StepVisual_CompositeText.hxx>
102 // Removed from CC1-Rev2 to Rev4 : <StepVisual_CompositeTextWithAssociatedCurves.hxx>
103 // Removed from CC1-Rev2 to Rev4 : <StepVisual_CompositeTextWithBlankingBox.hxx>
104 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
105 #include <StepVisual_CompositeTextWithExtent.hxx>
106
107 #include <StepGeom_Conic.hxx>
108 #include <StepGeom_ConicalSurface.hxx>
109 #include <StepShape_ConnectedFaceSet.hxx>
110 #include <StepVisual_ContextDependentInvisibility.hxx>
111 #include <StepVisual_ContextDependentOverRidingStyledItem.hxx>
112 #include <StepBasic_ConversionBasedUnit.hxx>
113 #include <StepBasic_CoordinatedUniversalTimeOffset.hxx>
114 // Removed from CC1-Rev2 to Rev4 : <StepShape_CsgRepresentation.hxx>
115 #include <StepShape_CsgShapeRepresentation.hxx>
116 #include <StepShape_CsgSolid.hxx>
117 #include <StepGeom_Curve.hxx>
118 #include <StepGeom_CurveBoundedSurface.hxx>
119 #include <StepGeom_CurveReplica.hxx>
120 #include <StepVisual_CurveStyle.hxx>
121 #include <StepVisual_CurveStyleFont.hxx>
122 #include <StepVisual_CurveStyleFontPattern.hxx>
123 #include <StepGeom_CylindricalSurface.hxx>
124 #include <StepBasic_Date.hxx>
125 #include <StepBasic_DateAndTime.hxx>
126 #include <StepBasic_DateRole.hxx>
127 #include <StepBasic_DateTimeRole.hxx>
128 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DefinedSymbol.hxx>
129 #include <StepRepr_DefinitionalRepresentation.hxx>
130 #include <StepGeom_DegeneratePcurve.hxx>
131 #include <StepGeom_DegenerateToroidalSurface.hxx>
132 #include <StepRepr_DescriptiveRepresentationItem.hxx>
133 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DimensionCurve.hxx>
134 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DimensionCurveTerminator.hxx>
135 #include <StepBasic_DimensionalExponents.hxx>
136 #include <StepGeom_Direction.hxx>
137 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
138 #include <StepVisual_DraughtingAnnotationOccurrence.hxx>
139 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DraughtingCallout.hxx>
140 #include <StepVisual_DraughtingPreDefinedColour.hxx>
141 #include <StepVisual_DraughtingPreDefinedCurveFont.hxx>
142 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DraughtingSubfigureRepresentation.hxx>
143 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DraughtingSymbolRepresentation.hxx>
144 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DraughtingTextLiteralWithDelineation.hxx>
145 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DrawingDefinition.hxx>
146 // Removed from CC1-Rev2 to Rev4 : <StepVisual_DrawingRevision.hxx>
147 #include <StepShape_Edge.hxx>
148 #include <StepShape_EdgeCurve.hxx>
149 #include <StepShape_EdgeLoop.hxx>
150 #include <StepGeom_ElementarySurface.hxx>
151 #include <StepGeom_Ellipse.hxx>
152 #include <StepGeom_EvaluatedDegeneratePcurve.hxx>
153 #include <StepBasic_ExternalSource.hxx>
154 #include <StepVisual_ExternallyDefinedCurveFont.hxx>
155 // Removed from CC1-Rev2 to Rev4 : <StepVisual_ExternallyDefinedHatchStyle.hxx>
156 #include <StepBasic_ExternallyDefinedItem.hxx>
157 // Removed from CC1-Rev2 to Rev4 : <StepVisual_ExternallyDefinedSymbol.hxx>
158 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
159 #include <StepVisual_ExternallyDefinedTextFont.hxx>
160 // Removed from CC1-Rev2 to Rev4 : <StepVisual_ExternallyDefinedTileStyle.hxx>
161 #include <StepShape_ExtrudedAreaSolid.hxx>
162 #include <StepShape_Face.hxx>
163 // Removed from CC1-Rev2 to Rev4 : <StepShape_FaceBasedSurfaceModel.hxx>
164 #include <StepShape_FaceBound.hxx>
165 #include <StepShape_FaceOuterBound.hxx>
166 #include <StepShape_FaceSurface.hxx>
167 #include <StepShape_FacetedBrep.hxx>
168 #include <StepShape_FacetedBrepShapeRepresentation.hxx>
169 #include <StepVisual_FillAreaStyle.hxx>
170 #include <StepVisual_FillAreaStyleColour.hxx>
171 // Removed from CC1-Rev2 to Rev4 : <StepVisual_FillAreaStyleHatching.hxx>
172 // Removed from CC1-Rev2 to Rev4 : <StepVisual_FillAreaStyleTileSymbolWithStyle.hxx>
173 // Removed from CC1-Rev2 to Rev4 : <StepVisual_FillAreaStyleTiles.hxx>
174 #include <StepRepr_FunctionallyDefinedTransformation.hxx>
175 #include <StepShape_GeometricCurveSet.hxx>
176 #include <StepGeom_GeometricRepresentationContext.hxx>
177 #include <StepGeom_GeometricRepresentationItem.hxx>
178 #include <StepShape_GeometricSet.hxx>
179 #include <StepShape_GeometricallyBoundedSurfaceShapeRepresentation.hxx>
180 #include <StepShape_GeometricallyBoundedWireframeShapeRepresentation.hxx>
181 #include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
182 #include <StepRepr_GlobalUnitAssignedContext.hxx>
183 #include <StepBasic_Group.hxx>
184 #include <StepBasic_GroupRelationship.hxx>
185 #include <StepShape_HalfSpaceSolid.hxx>
186 #include <StepGeom_Hyperbola.hxx>
187 #include <StepGeom_IntersectionCurve.hxx>
188 #include <StepVisual_Invisibility.hxx>
189 #include <StepBasic_LengthMeasureWithUnit.hxx>
190 #include <StepBasic_LengthUnit.hxx>
191 #include <StepGeom_Line.hxx>
192 #include <StepBasic_LocalTime.hxx>
193 #include <StepShape_Loop.hxx>
194 #include <StepShape_ManifoldSolidBrep.hxx>
195 #include <StepShape_ManifoldSurfaceShapeRepresentation.hxx>
196 #include <StepRepr_MappedItem.hxx>
197 #include <StepBasic_MeasureWithUnit.hxx>
198 #include <StepVisual_MechanicalDesignGeometricPresentationArea.hxx>
199 #include <StepVisual_MechanicalDesignGeometricPresentationRepresentation.hxx>
200 // Removed from CC1-Rev2 to Rev4 : <StepVisual_MechanicalDesignPresentationArea.hxx>
201 #include <StepBasic_NamedUnit.hxx>
202 // Removed from CC1-Rev2 to Rev4 : <StepShape_NonManifoldSurfaceShapeRepresentation.hxx>
203 #include <StepGeom_OffsetCurve3d.hxx>
204 #include <StepGeom_OffsetSurface.hxx>
205 // Removed from CC1-Rev2 to Rev4 : <StepAP214_OneDirectionRepeatFactor.hxx>
206 #include <StepShape_OpenShell.hxx>
207 #include <StepBasic_OrdinalDate.hxx>
208 #include <StepBasic_Organization.hxx>
209 #include <StepBasic_OrganizationRole.hxx>
210 #include <StepBasic_OrganizationalAddress.hxx>
211 #include <StepShape_OrientedClosedShell.hxx>
212 #include <StepShape_OrientedEdge.hxx>
213 #include <StepShape_OrientedFace.hxx>
214 #include <StepShape_OrientedOpenShell.hxx>
215 #include <StepShape_OrientedPath.hxx>
216 #include <StepGeom_OuterBoundaryCurve.hxx>
217 #include <StepVisual_OverRidingStyledItem.hxx>
218 #include <StepGeom_Parabola.hxx>
219 #include <StepRepr_ParametricRepresentationContext.hxx>
220 #include <StepShape_Path.hxx>
221 #include <StepGeom_Pcurve.hxx>
222 #include <StepBasic_Person.hxx>
223 #include <StepBasic_PersonAndOrganization.hxx>
224 #include <StepBasic_PersonAndOrganizationRole.hxx>
225 #include <StepBasic_PersonalAddress.hxx>
226 #include <StepGeom_Placement.hxx>
227 #include <StepVisual_PlanarBox.hxx>
228 #include <StepVisual_PlanarExtent.hxx>
229 #include <StepGeom_Plane.hxx>
230 #include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
231 #include <StepBasic_PlaneAngleUnit.hxx>
232 #include <StepGeom_Point.hxx>
233 #include <StepGeom_PointOnCurve.hxx>
234 #include <StepGeom_PointOnSurface.hxx>
235 #include <StepGeom_PointReplica.hxx>
236 #include <StepVisual_PointStyle.hxx>
237 #include <StepShape_PolyLoop.hxx>
238 #include <StepGeom_Polyline.hxx>
239 #include <StepVisual_PreDefinedColour.hxx>
240 #include <StepVisual_PreDefinedCurveFont.hxx>
241 #include <StepVisual_PreDefinedItem.hxx>
242 // Removed from CC1-Rev2 to Rev4 : <StepVisual_PreDefinedSymbol.hxx>
243 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
244 #include <StepVisual_PreDefinedTextFont.hxx>
245
246 #include <StepVisual_PresentationArea.hxx>
247 #include <StepVisual_PresentationLayerAssignment.hxx>
248 #include <StepVisual_PresentationRepresentation.hxx>
249 #include <StepVisual_PresentationSet.hxx>
250 #include <StepVisual_PresentationSize.hxx>
251 #include <StepVisual_PresentationStyleAssignment.hxx>
252 #include <StepVisual_PresentationStyleByContext.hxx>
253 #include <StepVisual_PresentationView.hxx>
254 #include <StepBasic_Product.hxx>
255 #include <StepBasic_ProductCategory.hxx>
256 #include <StepBasic_ProductContext.hxx>
257 #include <StepBasic_MechanicalContext.hxx>
258 // Removed from CC1-Rev2 to Rev4 : <StepVisual_ProductDataRepresentationView.hxx>
259 #include <StepBasic_ProductDefinition.hxx>
260 #include <StepBasic_ProductDefinitionContext.hxx>
261 #include <StepBasic_ProductDefinitionFormation.hxx>
262 #include <StepBasic_ProductDefinitionFormationWithSpecifiedSource.hxx>
263 #include <StepRepr_ProductDefinitionShape.hxx>
264 #include <StepBasic_ProductRelatedProductCategory.hxx>
265 #include <StepBasic_ProductType.hxx>
266 #include <StepRepr_PropertyDefinition.hxx>
267 #include <StepRepr_PropertyDefinitionRepresentation.hxx>
268 #include <StepGeom_QuasiUniformCurve.hxx>
269 #include <StepGeom_QuasiUniformSurface.hxx>
270 #include <StepBasic_RatioMeasureWithUnit.hxx>
271 #include <StepGeom_RationalBSplineCurve.hxx>
272 #include <StepGeom_RationalBSplineSurface.hxx>
273 #include <StepGeom_RectangularCompositeSurface.hxx>
274 #include <StepGeom_RectangularTrimmedSurface.hxx>
275 #include <StepAP214_RepItemGroup.hxx>
276 #include <StepGeom_ReparametrisedCompositeCurveSegment.hxx>
277 #include <StepRepr_Representation.hxx>
278 #include <StepRepr_RepresentationContext.hxx>
279 #include <StepRepr_RepresentationItem.hxx>
280 #include <StepRepr_RepresentationMap.hxx>
281 #include <StepRepr_RepresentationRelationship.hxx>
282 #include <StepShape_RevolvedAreaSolid.hxx>
283 #include <StepShape_RightAngularWedge.hxx>
284 #include <StepShape_RightCircularCone.hxx>
285 #include <StepShape_RightCircularCylinder.hxx>
286 #include <StepGeom_SeamCurve.hxx>
287 #include <StepBasic_SecurityClassification.hxx>
288 #include <StepBasic_SecurityClassificationLevel.hxx>
289 #include <StepRepr_ShapeAspect.hxx>
290 #include <StepRepr_ShapeAspectRelationship.hxx>
291 #include <StepRepr_FeatureForDatumTargetRelationship.hxx>
292 #include <StepRepr_ShapeAspectTransition.hxx>
293 #include <StepShape_ShapeDefinitionRepresentation.hxx>
294 #include <StepShape_ShapeRepresentation.hxx>
295 #include <StepShape_ShellBasedSurfaceModel.hxx>
296 #include <StepBasic_SiUnit.hxx>
297 #include <StepBasic_SolidAngleMeasureWithUnit.hxx>
298 #include <StepShape_SolidModel.hxx>
299 #include <StepShape_SolidReplica.hxx>
300 #include <StepShape_Sphere.hxx>
301 #include <StepGeom_SphericalSurface.hxx>
302 #include <StepVisual_StyledItem.hxx>
303 #include <StepGeom_Surface.hxx>
304 #include <StepGeom_SurfaceCurve.hxx>
305 #include <StepGeom_SurfaceOfLinearExtrusion.hxx>
306 #include <StepGeom_SurfaceOfRevolution.hxx>
307 #include <StepGeom_SurfaceCurveAndBoundedCurve.hxx>
308 #include <StepGeom_SurfacePatch.hxx>
309 #include <StepGeom_SurfaceReplica.hxx>
310 #include <StepVisual_SurfaceSideStyle.hxx>
311 #include <StepVisual_SurfaceStyleBoundary.hxx>
312 #include <StepVisual_SurfaceStyleControlGrid.hxx>
313 #include <StepVisual_SurfaceStyleFillArea.hxx>
314 #include <StepVisual_SurfaceStyleParameterLine.hxx>
315 #include <StepVisual_SurfaceStyleSegmentationCurve.hxx>
316 #include <StepVisual_SurfaceStyleSilhouette.hxx>
317 #include <StepVisual_SurfaceStyleUsage.hxx>
318 #include <StepShape_SweptAreaSolid.hxx>
319 #include <StepGeom_SweptSurface.hxx>
320 // Removed from CC1-Rev2 to Rev4 : <StepVisual_SymbolColour.hxx>
321 // Removed from CC1-Rev2 to Rev4 : <StepVisual_SymbolRepresentation.hxx>
322 // Removed from CC1-Rev2 to Rev4 : <StepVisual_SymbolRepresentationMap.hxx>
323 // Removed from CC1-Rev2 to Rev4 : <StepVisual_SymbolStyle.hxx>
324 // Removed from CC1-Rev2 to Rev4 : <StepVisual_SymbolTarget.hxx>
325 #include <StepVisual_Template.hxx>
326 #include <StepVisual_TemplateInstance.hxx>
327 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TerminatorSymbol.hxx>
328 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
329 #include <StepVisual_TextLiteral.hxx>
330 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TextLiteralWithAssociatedCurves.hxx>
331 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TextLiteralWithBlankingBox.hxx>
332 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TextLiteralWithDelineation.hxx>
333 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TextLiteralWithExtent.hxx>
334 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
335 #include <StepVisual_TextStyle.hxx>
336 #include <StepVisual_TextStyleForDefinedFont.hxx>
337 #include <StepVisual_TextStyleWithBoxCharacteristics.hxx>
338 // Removed from CC1-Rev2 to Rev4 : <StepVisual_TextStyleWithMirror.hxx>
339 #include <StepShape_TopologicalRepresentationItem.hxx>
340 #include <StepGeom_ToroidalSurface.hxx>
341 #include <StepShape_Torus.hxx>
342 #include <StepShape_TransitionalShapeRepresentation.hxx>
343 #include <StepGeom_TrimmedCurve.hxx>
344 // Removed from CC1-Rev2 to Rev4 : <StepAP214_TwoDirectionRepeatFactor.hxx>
345 #include <StepBasic_UncertaintyMeasureWithUnit.hxx>
346 #include <StepGeom_UniformCurve.hxx>
347 #include <StepGeom_UniformSurface.hxx>
348 #include <StepGeom_Vector.hxx>
349 #include <StepShape_Vertex.hxx>
350 #include <StepShape_VertexLoop.hxx>
351 #include <StepShape_VertexPoint.hxx>
352 #include <StepVisual_ViewVolume.hxx>
353 #include <StepBasic_WeekOfYearAndDayDate.hxx>
354 #include <StepGeom_UniformCurveAndRationalBSplineCurve.hxx>
355 #include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
356 #include <StepGeom_QuasiUniformCurveAndRationalBSplineCurve.hxx>
357 #include <StepGeom_BezierCurveAndRationalBSplineCurve.hxx>
358 #include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
359 #include <StepGeom_UniformSurfaceAndRationalBSplineSurface.hxx>
360 #include <StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.hxx>
361 #include <StepGeom_BezierSurfaceAndRationalBSplineSurface.hxx>
362 #include <StepBasic_SiUnitAndLengthUnit.hxx>
363 #include <StepBasic_SiUnitAndPlaneAngleUnit.hxx>
364 #include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
365 #include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
366 #include <StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.hxx>
367 #include <StepShape_LoopAndPath.hxx>
368
369 // Added by FMA (for Rev4)
370 #include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
371 #include <StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.hxx>
372 #include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
373 #include <StepBasic_SolidAngleUnit.hxx>
374 #include <StepBasic_SiUnitAndSolidAngleUnit.hxx>
375 #include <StepShape_FacetedBrepAndBrepWithVoids.hxx>
376
377 // Added by CKY (OCT-1996 for CC1-Rev4)
378 #include <StepBasic_DesignContext.hxx>
379
380 // Added from CC1-Rev2 to Rev4 (MAR-1997)
381 #include <StepBasic_TimeMeasureWithUnit.hxx>
382 #include <StepBasic_RatioUnit.hxx>
383 #include <StepBasic_TimeUnit.hxx>
384 #include <StepBasic_SiUnitAndRatioUnit.hxx>
385 #include <StepBasic_SiUnitAndTimeUnit.hxx>
386 #include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
387 #include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
388 #include <StepBasic_ApprovalDateTime.hxx>
389 #include <StepVisual_CameraImage2dWithScale.hxx>
390 #include <StepVisual_CameraImage3dWithScale.hxx>
391 #include <StepGeom_CartesianTransformationOperator2d.hxx>
392 #include <StepBasic_DerivedUnit.hxx>
393 #include <StepBasic_DerivedUnitElement.hxx>
394 #include <StepRepr_ItemDefinedTransformation.hxx>
395 #include <StepVisual_PresentedItemRepresentation.hxx>
396 #include <StepVisual_PresentationLayerUsage.hxx>
397
398 //  Added by CKY (JUL-1998) for AP214 CC1 -> CC2
399
400 #include <StepAP214_AutoDesignDocumentReference.hxx>
401 #include <StepBasic_Document.hxx>
402 #include <StepBasic_DigitalDocument.hxx>
403 #include <StepBasic_DocumentRelationship.hxx>
404 #include <StepBasic_DocumentType.hxx>
405 #include <StepBasic_DocumentUsageConstraint.hxx>
406 #include <StepBasic_Effectivity.hxx>
407 #include <StepBasic_ProductDefinitionEffectivity.hxx>
408 #include <StepBasic_ProductDefinitionRelationship.hxx>
409
410 #include <StepBasic_ProductDefinitionWithAssociatedDocuments.hxx>
411 #include <StepBasic_PhysicallyModeledProductDefinition.hxx>
412
413
414 #include <StepRepr_ProductDefinitionUsage.hxx>
415 #include <StepRepr_MakeFromUsageOption.hxx>
416 #include <StepRepr_AssemblyComponentUsage.hxx>
417 #include <StepRepr_NextAssemblyUsageOccurrence.hxx>
418 #include <StepRepr_PromissoryUsageOccurrence.hxx>
419 #include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
420 #include <StepRepr_SpecifiedHigherUsageOccurrence.hxx>
421 #include <StepRepr_AssemblyComponentUsageSubstitute.hxx>
422 #include <StepRepr_SuppliedPartRelationship.hxx>
423 #include <StepRepr_ExternallyDefinedRepresentation.hxx>
424 #include <StepRepr_ShapeRepresentationRelationship.hxx>
425 #include <StepRepr_RepresentationRelationshipWithTransformation.hxx>
426 #include <StepRepr_ShapeRepresentationRelationshipWithTransformation.hxx>
427 #include <StepRepr_MaterialDesignation.hxx>
428
429 #include <StepShape_ContextDependentShapeRepresentation.hxx>
430
431 // Added by CKY (Resources)
432 #include <HeaderSection.hxx>
433
434
435 #include <Interface_DataMapOfTransientInteger.hxx>
436 // Added from CC2 to DIS March 1999 j4
437
438 #include <StepAP214_AppliedDateAndTimeAssignment.hxx>
439 #include <StepAP214_AppliedDateAssignment.hxx>
440 #include <StepAP214_AppliedApprovalAssignment.hxx>
441 #include <StepAP214_AppliedGroupAssignment.hxx>
442 #include <StepAP214_AppliedOrganizationAssignment.hxx>
443 #include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
444 #include <StepAP214_AppliedPresentedItem.hxx>
445 #include <StepAP214_AppliedSecurityClassificationAssignment.hxx> 
446 #include <StepAP214_AppliedDocumentReference.hxx>
447
448 // Added by ABV 08.09.99 for CAX TRJ 2 (validation properties)
449 #include <StepRepr_MeasureRepresentationItem.hxx>
450 #include <StepBasic_DocumentFile.hxx>
451 #include <StepShape_ExtrudedFaceSolid.hxx>
452 #include <StepShape_RevolvedFaceSolid.hxx>
453 #include <StepShape_SweptFaceSolid.hxx>
454 #include <Interface_Static.hxx>
455 #include <StepBasic_AreaUnit.hxx>
456 #include <StepBasic_VolumeUnit.hxx>
457 #include <StepBasic_SiUnitAndAreaUnit.hxx>
458 #include <StepBasic_SiUnitAndVolumeUnit.hxx>
459 #include <StepBasic_ConversionBasedUnitAndAreaUnit.hxx>
460 #include <StepBasic_ConversionBasedUnitAndVolumeUnit.hxx>
461
462 // Added by ABV 10.11.99 for AP203
463 #include <StepBasic_Action.hxx>
464 #include <StepBasic_ActionAssignment.hxx>
465 #include <StepBasic_ActionMethod.hxx>
466 #include <StepBasic_ActionRequestAssignment.hxx>
467 #include <StepAP203_CcDesignApproval.hxx>
468 #include <StepAP203_CcDesignCertification.hxx>
469 #include <StepAP203_CcDesignContract.hxx>
470 #include <StepAP203_CcDesignDateAndTimeAssignment.hxx>
471 #include <StepAP203_CcDesignPersonAndOrganizationAssignment.hxx>
472 #include <StepAP203_CcDesignSecurityClassification.hxx>
473 #include <StepAP203_CcDesignSpecificationReference.hxx>
474 #include <StepBasic_Certification.hxx>
475 #include <StepBasic_CertificationAssignment.hxx>
476 #include <StepBasic_CertificationType.hxx>
477 #include <StepAP203_Change.hxx>
478 #include <StepAP203_ChangeRequest.hxx>
479 #include <StepRepr_ConfigurationDesign.hxx>
480 #include <StepRepr_ConfigurationEffectivity.hxx>
481 #include <StepBasic_Contract.hxx>
482 #include <StepBasic_ContractAssignment.hxx>
483 #include <StepBasic_ContractType.hxx>
484 #include <StepRepr_ProductConcept.hxx>
485 #include <StepBasic_ProductConceptContext.hxx>
486 #include <StepAP203_StartRequest.hxx>
487 #include <StepAP203_StartWork.hxx>
488 #include <StepBasic_VersionedActionRequest.hxx>
489 #include <StepBasic_ProductCategoryRelationship.hxx>
490 #include <StepBasic_ActionRequestSolution.hxx>
491
492 // Added by ABV 13.01.00 for CAX-IF TRJ3
493 #include <StepVisual_DraughtingModel.hxx>
494
495 // Added by ABV 18.04.00 for CAX-IF TRJ4 (dimensions)
496 #include <StepShape_AngularLocation.hxx>
497 #include <StepShape_AngularSize.hxx>
498 #include <StepShape_DimensionalCharacteristicRepresentation.hxx>
499 #include <StepShape_DimensionalLocation.hxx>
500 #include <StepShape_DimensionalLocationWithPath.hxx>
501 #include <StepShape_DimensionalSize.hxx>
502 #include <StepShape_DimensionalSizeWithPath.hxx>
503 #include <StepShape_ShapeDimensionRepresentation.hxx>
504
505 // Added by ABV 10.05.00 for CAX-IF TRJ4 (external references)
506 #include <StepBasic_DocumentRepresentationType.hxx>
507 #include <StepBasic_ObjectRole.hxx>
508 #include <StepBasic_RoleAssociation.hxx>
509 #include <StepBasic_IdentificationRole.hxx>
510 #include <StepBasic_IdentificationAssignment.hxx>
511 #include <StepBasic_ExternalIdentificationAssignment.hxx>
512 #include <StepBasic_EffectivityAssignment.hxx>
513 #include <StepBasic_NameAssignment.hxx>
514 #include <StepBasic_GeneralProperty.hxx>
515 #include <StepAP214_Class.hxx>
516 #include <StepAP214_ExternallyDefinedClass.hxx>
517 #include <StepAP214_ExternallyDefinedGeneralProperty.hxx>
518 #include <StepAP214_AppliedExternalIdentificationAssignment.hxx>
519 #include <StepShape_DefinitionalRepresentationAndShapeRepresentation.hxx>
520
521 // Added by CKY , 25 APR 2001 for Dimensional Tolerances (CAX-IF TRJ7)
522 #include <StepRepr_CompositeShapeAspect.hxx>
523 #include <StepRepr_DerivedShapeAspect.hxx>
524 #include <StepRepr_Extension.hxx>
525 #include <StepShape_DirectedDimensionalLocation.hxx>
526 #include <StepShape_LimitsAndFits.hxx>
527 #include <StepShape_ToleranceValue.hxx>
528 #include <StepShape_MeasureQualification.hxx>
529 #include <StepShape_PlusMinusTolerance.hxx>
530 #include <StepShape_PrecisionQualifier.hxx>
531 #include <StepShape_TypeQualifier.hxx>
532 #include <StepShape_QualifiedRepresentationItem.hxx>
533 #include <StepShape_MeasureRepresentationItemAndQualifiedRepresentationItem.hxx>
534 #include <StepRepr_CompoundRepresentationItem.hxx>
535 #include <StepRepr_ValueRange.hxx>
536 #include <StepRepr_ShapeAspectDerivingRelationship.hxx>
537
538 // Added by ABV 28.12.01 for CAX-IF TRJ9 (edge_based_wireframe_model)
539 #include <StepShape_CompoundShapeRepresentation.hxx>
540 #include <StepShape_ConnectedEdgeSet.hxx>
541 #include <StepShape_ConnectedFaceShapeRepresentation.hxx>
542 #include <StepShape_EdgeBasedWireframeModel.hxx>
543 #include <StepShape_EdgeBasedWireframeShapeRepresentation.hxx>
544 #include <StepShape_FaceBasedSurfaceModel.hxx>
545 #include <StepShape_NonManifoldSurfaceShapeRepresentation.hxx>
546 #include <StepGeom_OrientedSurface.hxx>
547 #include <StepShape_Subface.hxx>
548 #include <StepShape_Subedge.hxx>
549 #include <StepShape_SeamEdge.hxx>
550 #include <StepShape_ConnectedFaceSubSet.hxx>
551
552 //AP209 types
553 #include <StepBasic_EulerAngles.hxx>
554 #include <StepBasic_MassUnit.hxx>
555 #include <StepBasic_ThermodynamicTemperatureUnit.hxx>
556 #include <StepElement_AnalysisItemWithinRepresentation.hxx>
557 #include <StepElement_Curve3dElementDescriptor.hxx>
558 #include <StepElement_CurveElementEndReleasePacket.hxx>
559 #include <StepElement_CurveElementSectionDefinition.hxx>
560 #include <StepElement_CurveElementSectionDerivedDefinitions.hxx>
561 #include <StepElement_ElementDescriptor.hxx>
562 #include <StepElement_ElementMaterial.hxx>
563 #include <StepElement_Surface3dElementDescriptor.hxx>
564 #include <StepElement_SurfaceElementProperty.hxx>
565 #include <StepElement_SurfaceSection.hxx>
566 #include <StepElement_SurfaceSectionField.hxx>
567 #include <StepElement_SurfaceSectionFieldConstant.hxx>
568 #include <StepElement_SurfaceSectionFieldVarying.hxx>
569 #include <StepElement_UniformSurfaceSection.hxx>
570 #include <StepElement_Volume3dElementDescriptor.hxx>
571 #include <StepFEA_AlignedCurve3dElementCoordinateSystem.hxx>
572 #include <StepFEA_ArbitraryVolume3dElementCoordinateSystem.hxx>
573 #include <StepFEA_Curve3dElementProperty.hxx>
574 #include <StepFEA_Curve3dElementRepresentation.hxx>
575 #include <StepFEA_Node.hxx>
576 #include <StepFEA_CurveElementEndOffset.hxx>
577 #include <StepFEA_CurveElementEndRelease.hxx>
578 #include <StepFEA_CurveElementInterval.hxx>
579 #include <StepFEA_CurveElementIntervalConstant.hxx>
580 #include <StepFEA_DummyNode.hxx>
581 #include <StepFEA_CurveElementLocation.hxx>
582 #include <StepFEA_ElementGeometricRelationship.hxx>
583 #include <StepFEA_ElementGroup.hxx>
584 #include <StepFEA_ElementRepresentation.hxx>
585 #include <StepFEA_FeaAreaDensity.hxx>
586 #include <StepFEA_FeaAxis2Placement3d.hxx>
587 #include <StepFEA_FeaGroup.hxx>
588 #include <StepFEA_FeaLinearElasticity.hxx>
589 #include <StepFEA_FeaMassDensity.hxx>
590 #include <StepFEA_FeaMaterialPropertyRepresentation.hxx>
591 #include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
592 #include <StepFEA_FeaModel.hxx>
593 #include <StepFEA_FeaModel3d.hxx>
594 #include <StepFEA_FeaMoistureAbsorption.hxx>
595 #include <StepFEA_FeaParametricPoint.hxx>
596 #include <StepFEA_FeaRepresentationItem.hxx>
597 #include <StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.hxx>
598 #include <StepFEA_FeaShellBendingStiffness.hxx>
599 #include <StepFEA_FeaShellMembraneBendingCouplingStiffness.hxx>
600 #include <StepFEA_FeaShellMembraneStiffness.hxx>
601 #include <StepFEA_FeaShellShearStiffness.hxx>
602 #include <StepFEA_GeometricNode.hxx>
603 #include <StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.hxx>
604 #include <StepFEA_NodeGroup.hxx>
605 #include <StepFEA_NodeRepresentation.hxx>
606 #include <StepFEA_NodeSet.hxx>
607 #include <StepFEA_NodeWithSolutionCoordinateSystem.hxx>
608 #include <StepFEA_NodeWithVector.hxx>
609 #include <StepFEA_ParametricCurve3dElementCoordinateDirection.hxx>
610 #include <StepFEA_ParametricCurve3dElementCoordinateSystem.hxx>
611 #include <StepFEA_ParametricSurface3dElementCoordinateSystem.hxx>
612 #include <StepFEA_Surface3dElementRepresentation.hxx>
613 #include <StepFEA_Volume3dElementRepresentation.hxx>
614 #include <StepRepr_DataEnvironment.hxx>
615 #include <StepRepr_MaterialPropertyRepresentation.hxx>
616 #include <StepRepr_PropertyDefinitionRelationship.hxx>
617 #include <StepShape_PointRepresentation.hxx>
618 #include <StepRepr_MaterialProperty.hxx>
619 #include <StepFEA_FeaModelDefinition.hxx>
620 #include <StepFEA_FreedomAndCoefficient.hxx>
621 #include <StepFEA_FreedomsList.hxx>
622 #include <StepBasic_ProductDefinitionFormationRelationship.hxx>
623 #include <StepFEA_NodeDefinition.hxx>
624 #include <StepRepr_StructuralResponseProperty.hxx>
625 #include <StepRepr_StructuralResponsePropertyDefinitionRepresentation.hxx>
626
627 #include <StepBasic_SiUnitAndMassUnit.hxx>
628 #include <StepBasic_SiUnitAndThermodynamicTemperatureUnit.hxx>
629
630 #include <StepFEA_AlignedSurface3dElementCoordinateSystem.hxx>
631 #include <StepFEA_ConstantSurface3dElementCoordinateSystem.hxx>
632
633 // 23.01.2003
634 #include <StepFEA_CurveElementIntervalLinearlyVarying.hxx>
635 #include <StepFEA_FeaCurveSectionGeometricRelationship.hxx>
636 #include <StepFEA_FeaSurfaceSectionGeometricRelationship.hxx>
637
638 //added PTV TRJ11 8.02.2003
639 #include <StepBasic_DocumentProductAssociation.hxx>
640 #include <StepBasic_DocumentProductEquivalence.hxx>
641
642 //TR12J 4.06.2003 G&DT entities
643 #include <StepShape_ShapeRepresentationWithParameters.hxx>
644 #include <StepDimTol_ShapeToleranceSelect.hxx>
645 #include <StepDimTol_AngularityTolerance.hxx>
646 #include <StepDimTol_ConcentricityTolerance.hxx>
647 #include <StepDimTol_CircularRunoutTolerance.hxx>
648 #include <StepDimTol_CoaxialityTolerance.hxx>
649 #include <StepDimTol_CylindricityTolerance.hxx>
650 #include <StepDimTol_FlatnessTolerance.hxx>
651 #include <StepDimTol_LineProfileTolerance.hxx>
652 #include <StepDimTol_ParallelismTolerance.hxx>
653 #include <StepDimTol_PerpendicularityTolerance.hxx>
654 #include <StepDimTol_PositionTolerance.hxx>
655 #include <StepDimTol_RoundnessTolerance.hxx>
656 #include <StepDimTol_StraightnessTolerance.hxx>
657 #include <StepDimTol_SurfaceProfileTolerance.hxx>
658 #include <StepDimTol_SymmetryTolerance.hxx>
659 #include <StepDimTol_TotalRunoutTolerance.hxx>
660 #include <StepDimTol_GeometricTolerance.hxx>
661 #include <StepDimTol_GeometricToleranceRelationship.hxx>
662 #include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
663 #include <StepDimTol_ModifiedGeometricTolerance.hxx>
664 #include <StepDimTol_Datum.hxx>
665 #include <StepDimTol_DatumFeature.hxx>
666 #include <StepDimTol_DatumReference.hxx>
667 #include <StepDimTol_CommonDatum.hxx>
668 #include <StepDimTol_DatumTarget.hxx>
669 #include <StepDimTol_PlacedDatumTargetFeature.hxx>
670
671 #include <StepRepr_ReprItemAndLengthMeasureWithUnit.hxx>
672 #include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
673
674 // added by skl 10.02.2004 for TRJ13
675 #include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
676 #include <StepBasic_MassMeasureWithUnit.hxx>
677 #include <StepBasic_CharacterizedObject.hxx>
678 #include <StepFEA_CurveElementEndCoordinateSystem.hxx>
679 #include <StepFEA_SymmetricTensor22d.hxx>
680 #include <StepFEA_SymmetricTensor42d.hxx>
681 #include <StepFEA_SymmetricTensor43d.hxx>
682
683 // Added by ika for GD&T AP242
684 #include <StepRepr_Apex.hxx>
685 #include <StepRepr_CentreOfSymmetry.hxx>
686 #include <StepRepr_GeometricAlignment.hxx>
687 #include <StepRepr_ParallelOffset.hxx>
688 #include <StepRepr_PerpendicularTo.hxx>
689 #include <StepRepr_Tangent.hxx>
690 #include <StepAP242_GeometricItemSpecificUsage.hxx>
691 #include <StepAP242_IdAttribute.hxx>
692 #include <StepAP242_ItemIdentifiedRepresentationUsage.hxx>
693 #include <StepRepr_AllAroundShapeAspect.hxx>
694 #include <StepRepr_BetweenShapeAspect.hxx>
695 #include <StepRepr_CompositeGroupShapeAspect.hxx>
696 #include <StepRepr_ContinuosShapeAspect.hxx>
697 #include <StepDimTol_GeometricToleranceWithDefinedAreaUnit.hxx>
698 #include <StepDimTol_GeometricToleranceWithDefinedUnit.hxx>
699 #include <StepDimTol_GeometricToleranceWithMaximumTolerance.hxx>
700 #include <StepDimTol_GeometricToleranceWithModifiers.hxx>
701 #include <StepDimTol_UnequallyDisposedGeometricTolerance.hxx>
702 #include <StepDimTol_NonUniformZoneDefinition.hxx>
703 #include <StepDimTol_ProjectedZoneDefinition.hxx>
704 #include <StepDimTol_RunoutZoneDefinition.hxx>
705 #include <StepDimTol_RunoutZoneOrientation.hxx>
706 #include <StepDimTol_ToleranceZone.hxx>
707 #include <StepDimTol_ToleranceZoneDefinition.hxx>
708 #include <StepDimTol_ToleranceZoneForm.hxx>
709 #include <StepShape_ValueFormatTypeQualifier.hxx>
710 #include <StepDimTol_DatumReferenceCompartment.hxx>
711 #include <StepDimTol_DatumReferenceElement.hxx>
712 #include <StepDimTol_DatumReferenceModifierWithValue.hxx>
713 #include <StepDimTol_DatumSystem.hxx>
714 #include <StepDimTol_GeneralDatumReference.hxx>
715 #include <StepRepr_ReprItemAndPlaneAngleMeasureWithUnit.hxx>
716 #include <StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI.hxx>
717 #include <StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI.hxx>
718 #include <StepDimTol_GeoTolAndGeoTolWthDatRef.hxx>
719 #include <StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod.hxx>
720 #include <StepDimTol_GeoTolAndGeoTolWthMod.hxx>
721 #include <StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.hxx>
722 #include <StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp.hxx>
723 #include <StepRepr_CompShAspAndDatumFeatAndShAsp.hxx>
724 #include <StepRepr_IntegerRepresentationItem.hxx>
725 #include <StepRepr_ValueRepresentationItem.hxx>
726
727
728 static int init = 0;
729 static Interface_DataMapOfTransientInteger types(800);
730
731
732 //=======================================================================
733 //function : StepAP214_Protocol
734 //purpose  : 
735 //=======================================================================
736
737 StepAP214_Protocol::StepAP214_Protocol ()
738 {
739   if (init) return;  init = 1;
740
741   types.Bind (STANDARD_TYPE(StepBasic_Address), 1);
742   types.Bind (STANDARD_TYPE(StepShape_AdvancedBrepShapeRepresentation), 2);
743   types.Bind (STANDARD_TYPE(StepShape_AdvancedFace), 3);
744 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationCurveOccurrence), 4);
745 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationFillArea), 5);
746 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationFillAreaOccurrence), 6);
747   types.Bind (STANDARD_TYPE(StepVisual_AnnotationOccurrence), 7);
748 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationSubfigureOccurrence), 8);
749 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationSymbol), 9);
750 //  types.Bind (STANDARD_TYPE(StepVisual_AnnotationSymbolOccurrence), 10);
751   types.Bind (STANDARD_TYPE(StepVisual_AnnotationText), 11);
752   types.Bind (STANDARD_TYPE(StepVisual_AnnotationTextOccurrence), 12);
753   types.Bind (STANDARD_TYPE(StepBasic_ApplicationContext), 13);
754   types.Bind (STANDARD_TYPE(StepBasic_ApplicationContextElement), 14);
755   types.Bind (STANDARD_TYPE(StepBasic_ApplicationProtocolDefinition), 15);
756   types.Bind (STANDARD_TYPE(StepBasic_Approval), 16);
757   types.Bind (STANDARD_TYPE(StepBasic_ApprovalPersonOrganization), 18);
758   types.Bind (STANDARD_TYPE(StepBasic_ApprovalRelationship), 19);
759   types.Bind (STANDARD_TYPE(StepBasic_ApprovalRole), 20);
760   types.Bind (STANDARD_TYPE(StepBasic_ApprovalStatus), 21);
761   types.Bind (STANDARD_TYPE(StepVisual_AreaInSet), 22);
762   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignActualDateAndTimeAssignment), 23);
763   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignActualDateAssignment), 24);
764   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignApprovalAssignment), 25);
765   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignDateAndPersonAssignment), 26);
766   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignGroupAssignment), 27);
767   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignNominalDateAndTimeAssignment), 28);
768   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignNominalDateAssignment), 29);
769   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignOrganizationAssignment), 30);
770   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignPersonAndOrganizationAssignment), 31);
771   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignPresentedItem), 32);
772   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignSecurityClassificationAssignment), 33);
773 //  types.Bind (STANDARD_TYPE(StepAP214_AutoDesignViewArea), 34);
774   types.Bind (STANDARD_TYPE(StepGeom_Axis1Placement), 35);
775   types.Bind (STANDARD_TYPE(StepGeom_Axis2Placement2d), 36);
776   types.Bind (STANDARD_TYPE(StepGeom_Axis2Placement3d), 37);
777   types.Bind (STANDARD_TYPE(StepGeom_BSplineCurve), 38);
778   types.Bind (STANDARD_TYPE(StepGeom_BSplineCurveWithKnots), 39);
779   types.Bind (STANDARD_TYPE(StepGeom_BSplineSurface), 40);
780   types.Bind (STANDARD_TYPE(StepGeom_BSplineSurfaceWithKnots), 41);
781   types.Bind (STANDARD_TYPE(StepVisual_BackgroundColour), 42);
782   types.Bind (STANDARD_TYPE(StepGeom_BezierCurve), 43);
783   types.Bind (STANDARD_TYPE(StepGeom_BezierSurface), 44);
784   types.Bind (STANDARD_TYPE(StepShape_Block), 45);
785   types.Bind (STANDARD_TYPE(StepShape_BooleanResult), 46);
786   types.Bind (STANDARD_TYPE(StepGeom_BoundaryCurve), 47);
787   types.Bind (STANDARD_TYPE(StepGeom_BoundedCurve), 48);
788   types.Bind (STANDARD_TYPE(StepGeom_BoundedSurface), 49);
789   types.Bind (STANDARD_TYPE(StepShape_BoxDomain), 50);
790   types.Bind (STANDARD_TYPE(StepShape_BoxedHalfSpace), 51);
791   types.Bind (STANDARD_TYPE(StepShape_BrepWithVoids), 52);
792   types.Bind (STANDARD_TYPE(StepBasic_CalendarDate), 53);
793   types.Bind (STANDARD_TYPE(StepVisual_CameraImage), 54);
794   types.Bind (STANDARD_TYPE(StepVisual_CameraModel), 55);
795   types.Bind (STANDARD_TYPE(StepVisual_CameraModelD2), 56);
796   types.Bind (STANDARD_TYPE(StepVisual_CameraModelD3), 57);
797   types.Bind (STANDARD_TYPE(StepVisual_CameraUsage), 58);
798   types.Bind (STANDARD_TYPE(StepGeom_CartesianPoint), 59);
799   types.Bind (STANDARD_TYPE(StepGeom_CartesianTransformationOperator), 60);
800   types.Bind (STANDARD_TYPE(StepGeom_CartesianTransformationOperator3d), 61);
801   types.Bind (STANDARD_TYPE(StepGeom_Circle), 62);
802   types.Bind (STANDARD_TYPE(StepShape_ClosedShell), 63);
803   types.Bind (STANDARD_TYPE(StepVisual_Colour), 64);
804   types.Bind (STANDARD_TYPE(StepVisual_ColourRgb), 65);
805   types.Bind (STANDARD_TYPE(StepVisual_ColourSpecification), 66);
806   types.Bind (STANDARD_TYPE(StepGeom_CompositeCurve), 67);
807   types.Bind (STANDARD_TYPE(StepGeom_CompositeCurveOnSurface), 68);
808   types.Bind (STANDARD_TYPE(StepGeom_CompositeCurveSegment), 69);
809   types.Bind (STANDARD_TYPE(StepVisual_CompositeText), 70);
810 //  types.Bind (STANDARD_TYPE(StepVisual_CompositeTextWithAssociatedCurves), 71);
811 //  types.Bind (STANDARD_TYPE(StepVisual_CompositeTextWithBlankingBox), 72);
812   types.Bind (STANDARD_TYPE(StepVisual_CompositeTextWithExtent), 73);
813   types.Bind (STANDARD_TYPE(StepGeom_Conic), 74);
814   types.Bind (STANDARD_TYPE(StepGeom_ConicalSurface), 75);
815   types.Bind (STANDARD_TYPE(StepShape_ConnectedFaceSet), 76);
816   types.Bind (STANDARD_TYPE(StepVisual_ContextDependentInvisibility), 77);
817   types.Bind (STANDARD_TYPE(StepVisual_ContextDependentOverRidingStyledItem), 78);
818   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnit), 79);
819   types.Bind (STANDARD_TYPE(StepBasic_CoordinatedUniversalTimeOffset), 80);
820 //  types.Bind (STANDARD_TYPE(StepShape_CsgRepresentation), 81);
821   types.Bind (STANDARD_TYPE(StepShape_CsgShapeRepresentation), 82);
822   types.Bind (STANDARD_TYPE(StepShape_CsgSolid), 83);
823   types.Bind (STANDARD_TYPE(StepGeom_Curve), 84);
824   types.Bind (STANDARD_TYPE(StepGeom_CurveBoundedSurface), 85);
825   types.Bind (STANDARD_TYPE(StepGeom_CurveReplica), 86);
826   types.Bind (STANDARD_TYPE(StepVisual_CurveStyle), 87);
827   types.Bind (STANDARD_TYPE(StepVisual_CurveStyleFont), 88);
828   types.Bind (STANDARD_TYPE(StepVisual_CurveStyleFontPattern), 89);
829   types.Bind (STANDARD_TYPE(StepGeom_CylindricalSurface), 90);
830   types.Bind (STANDARD_TYPE(StepBasic_Date), 91);
831   types.Bind (STANDARD_TYPE(StepBasic_DateAndTime), 92);
832   types.Bind (STANDARD_TYPE(StepBasic_DateRole), 95);
833   types.Bind (STANDARD_TYPE(StepBasic_DateTimeRole), 96);
834 //  types.Bind (STANDARD_TYPE(StepVisual_DefinedSymbol), 97);
835   types.Bind (STANDARD_TYPE(StepRepr_DefinitionalRepresentation), 98);
836   types.Bind (STANDARD_TYPE(StepGeom_DegeneratePcurve), 99);
837   types.Bind (STANDARD_TYPE(StepGeom_DegenerateToroidalSurface), 100);
838   types.Bind (STANDARD_TYPE(StepRepr_DescriptiveRepresentationItem), 101);
839 //  types.Bind (STANDARD_TYPE(StepVisual_DimensionCurve), 102);
840 //  types.Bind (STANDARD_TYPE(StepVisual_DimensionCurveTerminator), 103);
841   types.Bind (STANDARD_TYPE(StepBasic_DimensionalExponents), 104);
842   types.Bind (STANDARD_TYPE(StepGeom_Direction), 105);
843   types.Bind (STANDARD_TYPE(StepVisual_DraughtingAnnotationOccurrence), 106);
844 //  types.Bind (STANDARD_TYPE(StepVisual_DraughtingCallout), 107);
845   types.Bind (STANDARD_TYPE(StepVisual_DraughtingPreDefinedColour), 108);
846   types.Bind (STANDARD_TYPE(StepVisual_DraughtingPreDefinedCurveFont), 109);
847 //  types.Bind (STANDARD_TYPE(StepVisual_DraughtingSubfigureRepresentation), 110);
848 //  types.Bind (STANDARD_TYPE(StepVisual_DraughtingSymbolRepresentation), 111);
849 //  types.Bind (STANDARD_TYPE(StepVisual_DraughtingTextLiteralWithDelineation), 112);
850 //  types.Bind (STANDARD_TYPE(StepVisual_DrawingDefinition), 113);
851 //  types.Bind (STANDARD_TYPE(StepVisual_DrawingRevision), 114);
852   types.Bind (STANDARD_TYPE(StepShape_Edge), 115);
853   types.Bind (STANDARD_TYPE(StepShape_EdgeCurve), 116);
854   types.Bind (STANDARD_TYPE(StepShape_EdgeLoop), 117);
855   types.Bind (STANDARD_TYPE(StepGeom_ElementarySurface), 118);
856   types.Bind (STANDARD_TYPE(StepGeom_Ellipse), 119);
857   types.Bind (STANDARD_TYPE(StepGeom_EvaluatedDegeneratePcurve), 120);
858   types.Bind (STANDARD_TYPE(StepBasic_ExternalSource), 121);
859   types.Bind (STANDARD_TYPE(StepVisual_ExternallyDefinedCurveFont), 122);
860 //  types.Bind (STANDARD_TYPE(StepVisual_ExternallyDefinedHatchStyle), 123);
861   types.Bind (STANDARD_TYPE(StepBasic_ExternallyDefinedItem), 124);
862 //  types.Bind (STANDARD_TYPE(StepVisual_ExternallyDefinedSymbol), 125);
863   types.Bind (STANDARD_TYPE(StepVisual_ExternallyDefinedTextFont), 126);
864 //  types.Bind (STANDARD_TYPE(StepVisual_ExternallyDefinedTileStyle), 127);
865   types.Bind (STANDARD_TYPE(StepShape_ExtrudedAreaSolid), 128);
866   types.Bind (STANDARD_TYPE(StepShape_Face), 129);
867 //  types.Bind (STANDARD_TYPE(StepShape_FaceBasedSurfaceModel), 130);
868   types.Bind (STANDARD_TYPE(StepShape_FaceBound), 131);
869   types.Bind (STANDARD_TYPE(StepShape_FaceOuterBound), 132);
870   types.Bind (STANDARD_TYPE(StepShape_FaceSurface), 133);
871   types.Bind (STANDARD_TYPE(StepShape_FacetedBrep), 134);
872   types.Bind (STANDARD_TYPE(StepShape_FacetedBrepShapeRepresentation), 135);
873   types.Bind (STANDARD_TYPE(StepVisual_FillAreaStyle), 136);
874   types.Bind (STANDARD_TYPE(StepVisual_FillAreaStyleColour), 137);
875 //  types.Bind (STANDARD_TYPE(StepVisual_FillAreaStyleHatching), 138);
876 //  types.Bind (STANDARD_TYPE(StepVisual_FillAreaStyleTileSymbolWithStyle), 139);
877 //  types.Bind (STANDARD_TYPE(StepVisual_FillAreaStyleTiles), 140);
878   types.Bind (STANDARD_TYPE(StepRepr_FunctionallyDefinedTransformation), 141);
879   types.Bind (STANDARD_TYPE(StepShape_GeometricCurveSet), 142);
880   types.Bind (STANDARD_TYPE(StepGeom_GeometricRepresentationContext), 143);
881   types.Bind (STANDARD_TYPE(StepGeom_GeometricRepresentationItem), 144);
882   types.Bind (STANDARD_TYPE(StepShape_GeometricSet), 145);
883   types.Bind (STANDARD_TYPE(StepShape_GeometricallyBoundedSurfaceShapeRepresentation), 146);
884   types.Bind (STANDARD_TYPE(StepShape_GeometricallyBoundedWireframeShapeRepresentation), 147);
885   types.Bind (STANDARD_TYPE(StepRepr_GlobalUncertaintyAssignedContext), 148);
886   types.Bind (STANDARD_TYPE(StepRepr_GlobalUnitAssignedContext), 149);
887   types.Bind (STANDARD_TYPE(StepBasic_Group), 150);
888   types.Bind (STANDARD_TYPE(StepBasic_GroupRelationship), 152);
889   types.Bind (STANDARD_TYPE(StepShape_HalfSpaceSolid), 153);
890   types.Bind (STANDARD_TYPE(StepGeom_Hyperbola), 154);
891   types.Bind (STANDARD_TYPE(StepGeom_IntersectionCurve), 155);
892   types.Bind (STANDARD_TYPE(StepVisual_Invisibility), 156);
893   types.Bind (STANDARD_TYPE(StepBasic_LengthMeasureWithUnit), 157);
894   types.Bind (STANDARD_TYPE(StepBasic_LengthUnit), 158);
895   types.Bind (STANDARD_TYPE(StepGeom_Line), 159);
896   types.Bind (STANDARD_TYPE(StepBasic_LocalTime), 160);
897   types.Bind (STANDARD_TYPE(StepShape_Loop), 161);
898   types.Bind (STANDARD_TYPE(StepShape_ManifoldSolidBrep), 162);
899   types.Bind (STANDARD_TYPE(StepShape_ManifoldSurfaceShapeRepresentation), 163);
900   types.Bind (STANDARD_TYPE(StepRepr_MappedItem), 164);
901   types.Bind (STANDARD_TYPE(StepBasic_MeasureWithUnit), 165);
902   types.Bind (STANDARD_TYPE(StepVisual_MechanicalDesignGeometricPresentationArea), 166);
903   types.Bind (STANDARD_TYPE(StepVisual_MechanicalDesignGeometricPresentationRepresentation), 167);
904 //  types.Bind (STANDARD_TYPE(StepVisual_MechanicalDesignPresentationArea), 168);
905   types.Bind (STANDARD_TYPE(StepBasic_NamedUnit), 169);
906 //  types.Bind (STANDARD_TYPE(StepShape_NonManifoldSurfaceShapeRepresentation), 170);
907   types.Bind (STANDARD_TYPE(StepGeom_OffsetCurve3d), 171);
908   types.Bind (STANDARD_TYPE(StepGeom_OffsetSurface), 172);
909 //  types.Bind (STANDARD_TYPE(StepAP214_OneDirectionRepeatFactor), 173);
910   types.Bind (STANDARD_TYPE(StepShape_OpenShell), 174);
911   types.Bind (STANDARD_TYPE(StepBasic_OrdinalDate), 175);
912   types.Bind (STANDARD_TYPE(StepBasic_Organization), 176);
913   types.Bind (STANDARD_TYPE(StepBasic_OrganizationRole), 178);
914   types.Bind (STANDARD_TYPE(StepBasic_OrganizationalAddress), 179);
915   types.Bind (STANDARD_TYPE(StepShape_OrientedClosedShell), 180);
916   types.Bind (STANDARD_TYPE(StepShape_OrientedEdge), 181);
917   types.Bind (STANDARD_TYPE(StepShape_OrientedFace), 182);
918   types.Bind (STANDARD_TYPE(StepShape_OrientedOpenShell), 183);
919   types.Bind (STANDARD_TYPE(StepShape_OrientedPath), 184);
920   types.Bind (STANDARD_TYPE(StepGeom_OuterBoundaryCurve), 185);
921   types.Bind (STANDARD_TYPE(StepVisual_OverRidingStyledItem), 186);
922   types.Bind (STANDARD_TYPE(StepGeom_Parabola), 187);
923   types.Bind (STANDARD_TYPE(StepRepr_ParametricRepresentationContext), 188);
924   types.Bind (STANDARD_TYPE(StepShape_Path), 189);
925   types.Bind (STANDARD_TYPE(StepGeom_Pcurve), 190);
926   types.Bind (STANDARD_TYPE(StepBasic_Person), 191);
927   types.Bind (STANDARD_TYPE(StepBasic_PersonAndOrganization), 192);
928   types.Bind (STANDARD_TYPE(StepBasic_PersonAndOrganizationRole), 194);
929   types.Bind (STANDARD_TYPE(StepBasic_PersonalAddress), 195);
930   types.Bind (STANDARD_TYPE(StepGeom_Placement), 196);
931   types.Bind (STANDARD_TYPE(StepVisual_PlanarBox), 197);
932   types.Bind (STANDARD_TYPE(StepVisual_PlanarExtent), 198);
933   types.Bind (STANDARD_TYPE(StepGeom_Plane), 199);
934   types.Bind (STANDARD_TYPE(StepBasic_PlaneAngleMeasureWithUnit), 200);
935   types.Bind (STANDARD_TYPE(StepBasic_PlaneAngleUnit), 201);
936   types.Bind (STANDARD_TYPE(StepGeom_Point), 202);
937   types.Bind (STANDARD_TYPE(StepGeom_PointOnCurve), 203);
938   types.Bind (STANDARD_TYPE(StepGeom_PointOnSurface), 204);
939   types.Bind (STANDARD_TYPE(StepGeom_PointReplica), 205);
940   types.Bind (STANDARD_TYPE(StepVisual_PointStyle), 206);
941   types.Bind (STANDARD_TYPE(StepShape_PolyLoop), 207);
942   types.Bind (STANDARD_TYPE(StepGeom_Polyline), 208);
943   types.Bind (STANDARD_TYPE(StepVisual_PreDefinedColour), 209);
944   types.Bind (STANDARD_TYPE(StepVisual_PreDefinedCurveFont), 210);
945   types.Bind (STANDARD_TYPE(StepVisual_PreDefinedItem), 211);
946 //  types.Bind (STANDARD_TYPE(StepVisual_PreDefinedSymbol), 212);
947   types.Bind (STANDARD_TYPE(StepVisual_PreDefinedTextFont), 213);
948   types.Bind (STANDARD_TYPE(StepVisual_PresentationArea), 214);
949   types.Bind (STANDARD_TYPE(StepVisual_PresentationLayerAssignment), 215);
950   types.Bind (STANDARD_TYPE(StepVisual_PresentationRepresentation), 216);
951   types.Bind (STANDARD_TYPE(StepVisual_PresentationSet), 217);
952   types.Bind (STANDARD_TYPE(StepVisual_PresentationSize), 218);
953   types.Bind (STANDARD_TYPE(StepVisual_PresentationStyleAssignment), 219);
954   types.Bind (STANDARD_TYPE(StepVisual_PresentationStyleByContext), 220);
955   types.Bind (STANDARD_TYPE(StepVisual_PresentationView), 221);
956   types.Bind (STANDARD_TYPE(StepBasic_Product), 223);
957   types.Bind (STANDARD_TYPE(StepBasic_ProductCategory), 224);
958   types.Bind (STANDARD_TYPE(StepBasic_ProductContext), 225);
959 //  types.Bind (STANDARD_TYPE(StepVisual_ProductDataRepresentationView), 226);
960   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinition), 227);
961   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionContext), 228);
962   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionFormation), 229);
963   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionFormationWithSpecifiedSource), 230);
964   types.Bind (STANDARD_TYPE(StepRepr_ProductDefinitionShape), 231);
965   types.Bind (STANDARD_TYPE(StepBasic_ProductRelatedProductCategory), 232);
966   types.Bind (STANDARD_TYPE(StepBasic_ProductType), 233);
967   types.Bind (STANDARD_TYPE(StepRepr_PropertyDefinition), 234);
968   types.Bind (STANDARD_TYPE(StepRepr_PropertyDefinitionRepresentation), 235);
969   types.Bind (STANDARD_TYPE(StepGeom_QuasiUniformCurve), 236);
970   types.Bind (STANDARD_TYPE(StepGeom_QuasiUniformSurface), 237);
971   types.Bind (STANDARD_TYPE(StepBasic_RatioMeasureWithUnit), 238);
972   types.Bind (STANDARD_TYPE(StepGeom_RationalBSplineCurve), 239);
973   types.Bind (STANDARD_TYPE(StepGeom_RationalBSplineSurface), 240);
974   types.Bind (STANDARD_TYPE(StepGeom_RectangularCompositeSurface), 241);
975   types.Bind (STANDARD_TYPE(StepGeom_RectangularTrimmedSurface), 242);
976   types.Bind (STANDARD_TYPE(StepAP214_RepItemGroup), 243);
977   types.Bind (STANDARD_TYPE(StepGeom_ReparametrisedCompositeCurveSegment), 244);
978   types.Bind (STANDARD_TYPE(StepRepr_Representation), 245);
979   types.Bind (STANDARD_TYPE(StepRepr_RepresentationContext), 246);
980   types.Bind (STANDARD_TYPE(StepRepr_RepresentationItem), 247);
981   types.Bind (STANDARD_TYPE(StepRepr_RepresentationMap), 248);
982   types.Bind (STANDARD_TYPE(StepRepr_RepresentationRelationship), 249);
983   types.Bind (STANDARD_TYPE(StepShape_RevolvedAreaSolid), 250);
984   types.Bind (STANDARD_TYPE(StepShape_RightAngularWedge), 251);
985   types.Bind (STANDARD_TYPE(StepShape_RightCircularCone), 252);
986   types.Bind (STANDARD_TYPE(StepShape_RightCircularCylinder), 253);
987   types.Bind (STANDARD_TYPE(StepGeom_SeamCurve), 254);
988   types.Bind (STANDARD_TYPE(StepBasic_SecurityClassification), 255);
989   types.Bind (STANDARD_TYPE(StepBasic_SecurityClassificationLevel), 257);
990   types.Bind (STANDARD_TYPE(StepRepr_ShapeAspect), 258);
991   types.Bind (STANDARD_TYPE(StepRepr_ShapeAspectRelationship), 259);
992   types.Bind (STANDARD_TYPE(StepRepr_ShapeAspectTransition), 260);
993   types.Bind (STANDARD_TYPE(StepShape_ShapeDefinitionRepresentation), 261);
994   types.Bind (STANDARD_TYPE(StepShape_ShapeRepresentation), 262);
995   types.Bind (STANDARD_TYPE(StepShape_ShellBasedSurfaceModel), 263);
996   types.Bind (STANDARD_TYPE(StepBasic_SiUnit), 264);
997   types.Bind (STANDARD_TYPE(StepBasic_SolidAngleMeasureWithUnit), 265);
998   types.Bind (STANDARD_TYPE(StepShape_SolidModel), 266);
999   types.Bind (STANDARD_TYPE(StepShape_SolidReplica), 267);
1000   types.Bind (STANDARD_TYPE(StepShape_Sphere), 268);
1001   types.Bind (STANDARD_TYPE(StepGeom_SphericalSurface), 269);
1002   types.Bind (STANDARD_TYPE(StepVisual_StyledItem), 270);
1003   types.Bind (STANDARD_TYPE(StepGeom_Surface), 271);
1004   types.Bind (STANDARD_TYPE(StepGeom_SurfaceCurve), 272);
1005   types.Bind (STANDARD_TYPE(StepGeom_SurfaceOfLinearExtrusion), 273);
1006   types.Bind (STANDARD_TYPE(StepGeom_SurfaceOfRevolution), 274);
1007   types.Bind (STANDARD_TYPE(StepGeom_SurfacePatch), 275);
1008   types.Bind (STANDARD_TYPE(StepGeom_SurfaceReplica), 276);
1009   types.Bind (STANDARD_TYPE(StepVisual_SurfaceSideStyle), 277);
1010   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleBoundary), 278);
1011   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleControlGrid), 279);
1012   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleFillArea), 280);
1013   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleParameterLine), 281);
1014   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleSegmentationCurve), 282);
1015   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleSilhouette), 283);
1016   types.Bind (STANDARD_TYPE(StepVisual_SurfaceStyleUsage), 284);
1017   types.Bind (STANDARD_TYPE(StepShape_SweptAreaSolid), 285);
1018   types.Bind (STANDARD_TYPE(StepGeom_SweptSurface), 286);
1019 //  types.Bind (STANDARD_TYPE(StepVisual_SymbolColour), 287);
1020 //  types.Bind (STANDARD_TYPE(StepVisual_SymbolRepresentation), 288);
1021 //  types.Bind (STANDARD_TYPE(StepVisual_SymbolRepresentationMap), 289);
1022 //  types.Bind (STANDARD_TYPE(StepVisual_SymbolStyle), 290);
1023 //  types.Bind (STANDARD_TYPE(StepVisual_SymbolTarget), 291);
1024   types.Bind (STANDARD_TYPE(StepVisual_Template), 292);
1025   types.Bind (STANDARD_TYPE(StepVisual_TemplateInstance), 293);
1026 //  types.Bind (STANDARD_TYPE(StepVisual_TerminatorSymbol), 294);
1027   types.Bind (STANDARD_TYPE(StepVisual_TextLiteral), 295);
1028 //  types.Bind (STANDARD_TYPE(StepVisual_TextLiteralWithAssociatedCurves), 296);
1029 //  types.Bind (STANDARD_TYPE(StepVisual_TextLiteralWithBlankingBox), 297);
1030 //  types.Bind (STANDARD_TYPE(StepVisual_TextLiteralWithDelineation), 298);
1031 //  types.Bind (STANDARD_TYPE(StepVisual_TextLiteralWithExtent), 299);
1032   types.Bind (STANDARD_TYPE(StepVisual_TextStyle), 300);
1033   types.Bind (STANDARD_TYPE(StepVisual_TextStyleForDefinedFont), 301);
1034   types.Bind (STANDARD_TYPE(StepVisual_TextStyleWithBoxCharacteristics), 302);
1035 //  types.Bind (STANDARD_TYPE(StepVisual_TextStyleWithMirror), 303);
1036   types.Bind (STANDARD_TYPE(StepShape_TopologicalRepresentationItem), 304);
1037   types.Bind (STANDARD_TYPE(StepGeom_ToroidalSurface), 305);
1038   types.Bind (STANDARD_TYPE(StepShape_Torus), 306);
1039   types.Bind (STANDARD_TYPE(StepShape_TransitionalShapeRepresentation), 307);
1040   types.Bind (STANDARD_TYPE(StepGeom_TrimmedCurve), 308);
1041 //  types.Bind (STANDARD_TYPE(StepAP214_TwoDirectionRepeatFactor), 309);
1042   types.Bind (STANDARD_TYPE(StepBasic_UncertaintyMeasureWithUnit), 310);
1043   types.Bind (STANDARD_TYPE(StepGeom_UniformCurve), 311);
1044   types.Bind (STANDARD_TYPE(StepGeom_UniformSurface), 312);
1045   types.Bind (STANDARD_TYPE(StepGeom_Vector), 313);
1046   types.Bind (STANDARD_TYPE(StepShape_Vertex), 314);
1047   types.Bind (STANDARD_TYPE(StepShape_VertexLoop), 315);
1048   types.Bind (STANDARD_TYPE(StepShape_VertexPoint), 316);
1049   types.Bind (STANDARD_TYPE(StepVisual_ViewVolume), 317);
1050   types.Bind (STANDARD_TYPE(StepBasic_WeekOfYearAndDayDate), 318);
1051   types.Bind (STANDARD_TYPE(StepGeom_UniformCurveAndRationalBSplineCurve), 319);
1052   types.Bind (STANDARD_TYPE(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve), 320);
1053   types.Bind (STANDARD_TYPE(StepGeom_QuasiUniformCurveAndRationalBSplineCurve), 321);
1054   types.Bind (STANDARD_TYPE(StepGeom_BezierCurveAndRationalBSplineCurve), 322);
1055   types.Bind (STANDARD_TYPE(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface), 323);
1056   types.Bind (STANDARD_TYPE(StepGeom_UniformSurfaceAndRationalBSplineSurface), 324);
1057   types.Bind (STANDARD_TYPE(StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface), 325);
1058   types.Bind (STANDARD_TYPE(StepGeom_BezierSurfaceAndRationalBSplineSurface), 326);
1059   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndLengthUnit), 327);
1060   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndPlaneAngleUnit), 328);
1061   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndLengthUnit), 329);
1062   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndPlaneAngleUnit), 330);
1063   types.Bind (STANDARD_TYPE(StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext), 331);
1064   types.Bind (STANDARD_TYPE(StepShape_LoopAndPath), 332);
1065         // Added by FMA
1066   types.Bind (STANDARD_TYPE(StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx), 333);
1067   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndSolidAngleUnit), 334);
1068   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndSolidAngleUnit), 335);
1069   types.Bind (STANDARD_TYPE(StepBasic_SolidAngleUnit), 336);
1070   types.Bind (STANDARD_TYPE(StepShape_FacetedBrepAndBrepWithVoids), 337);
1071   types.Bind (STANDARD_TYPE(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext), 338);
1072   types.Bind (STANDARD_TYPE(StepBasic_MechanicalContext), 339);
1073   types.Bind (STANDARD_TYPE(StepBasic_DesignContext), 340);
1074
1075 // full Rev4
1076   types.Bind (STANDARD_TYPE(StepBasic_TimeMeasureWithUnit), 341);
1077   types.Bind (STANDARD_TYPE(StepBasic_RatioUnit), 342);
1078   types.Bind (STANDARD_TYPE(StepBasic_TimeUnit), 343);
1079   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndRatioUnit), 344);
1080   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndTimeUnit), 345);
1081   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndRatioUnit), 346);
1082   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndTimeUnit), 347);
1083
1084   types.Bind (STANDARD_TYPE(StepBasic_ApprovalDateTime), 348);
1085   types.Bind (STANDARD_TYPE(StepVisual_CameraImage2dWithScale), 349);
1086   types.Bind (STANDARD_TYPE(StepVisual_CameraImage3dWithScale), 350);
1087   types.Bind (STANDARD_TYPE(StepGeom_CartesianTransformationOperator2d),351);
1088   types.Bind (STANDARD_TYPE(StepBasic_DerivedUnit), 352);
1089   types.Bind (STANDARD_TYPE(StepBasic_DerivedUnitElement), 353);
1090   types.Bind (STANDARD_TYPE(StepRepr_ItemDefinedTransformation), 354);
1091   types.Bind (STANDARD_TYPE(StepVisual_PresentedItemRepresentation), 355);
1092   types.Bind (STANDARD_TYPE(StepVisual_PresentationLayerUsage), 356);
1093   types.Bind (STANDARD_TYPE(StepGeom_SurfaceCurveAndBoundedCurve), 358); //:n5
1094
1095 //  AP214 : CC1 -> CC2
1096   types.Bind (STANDARD_TYPE(StepAP214_AutoDesignDocumentReference),366);
1097   types.Bind (STANDARD_TYPE(StepBasic_Document), 367);
1098   types.Bind (STANDARD_TYPE(StepBasic_DigitalDocument), 368);
1099   types.Bind (STANDARD_TYPE(StepBasic_DocumentRelationship), 369);
1100   types.Bind (STANDARD_TYPE(StepBasic_DocumentType), 370);
1101   types.Bind (STANDARD_TYPE(StepBasic_DocumentUsageConstraint), 371);
1102   types.Bind (STANDARD_TYPE(StepBasic_Effectivity), 372);
1103   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionEffectivity), 373);
1104   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionRelationship), 374);
1105
1106   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionWithAssociatedDocuments), 375);
1107   types.Bind (STANDARD_TYPE(StepBasic_PhysicallyModeledProductDefinition), 376);
1108
1109
1110   types.Bind (STANDARD_TYPE(StepRepr_ProductDefinitionUsage), 377);
1111   types.Bind (STANDARD_TYPE(StepRepr_MakeFromUsageOption), 378);
1112   types.Bind (STANDARD_TYPE(StepRepr_AssemblyComponentUsage), 379);
1113   types.Bind (STANDARD_TYPE(StepRepr_NextAssemblyUsageOccurrence), 380);
1114   types.Bind (STANDARD_TYPE(StepRepr_PromissoryUsageOccurrence), 381);
1115   types.Bind (STANDARD_TYPE(StepRepr_QuantifiedAssemblyComponentUsage), 382);
1116   types.Bind (STANDARD_TYPE(StepRepr_SpecifiedHigherUsageOccurrence), 383);
1117   types.Bind (STANDARD_TYPE(StepRepr_AssemblyComponentUsageSubstitute), 384);
1118   types.Bind (STANDARD_TYPE(StepRepr_SuppliedPartRelationship), 385);
1119   types.Bind (STANDARD_TYPE(StepRepr_ExternallyDefinedRepresentation), 386);
1120   types.Bind (STANDARD_TYPE(StepRepr_ShapeRepresentationRelationship), 387);
1121   types.Bind (STANDARD_TYPE(StepRepr_RepresentationRelationshipWithTransformation), 388);
1122   types.Bind (STANDARD_TYPE(StepRepr_ShapeRepresentationRelationshipWithTransformation), 389);
1123   types.Bind (STANDARD_TYPE(StepRepr_MaterialDesignation),390);
1124   types.Bind (STANDARD_TYPE(StepShape_ContextDependentShapeRepresentation), 391);
1125   
1126   //Added from CD to DIS   :j4 
1127   
1128   types.Bind (STANDARD_TYPE(StepAP214_AppliedDateAndTimeAssignment), 392);  
1129   types.Bind (STANDARD_TYPE(StepAP214_AppliedDateAssignment), 393);
1130   types.Bind (STANDARD_TYPE(StepAP214_AppliedApprovalAssignment), 394);
1131   types.Bind (STANDARD_TYPE(StepAP214_AppliedGroupAssignment), 395);
1132   types.Bind (STANDARD_TYPE(StepAP214_AppliedOrganizationAssignment), 396);
1133   types.Bind (STANDARD_TYPE(StepAP214_AppliedPersonAndOrganizationAssignment), 397);
1134   types.Bind (STANDARD_TYPE(StepAP214_AppliedPresentedItem), 398);
1135   types.Bind (STANDARD_TYPE(StepAP214_AppliedSecurityClassificationAssignment), 399);
1136   types.Bind (STANDARD_TYPE(StepAP214_AppliedDocumentReference), 400);
1137   
1138   types.Bind (STANDARD_TYPE(StepBasic_DocumentFile), 401);
1139   types.Bind (STANDARD_TYPE(StepBasic_CharacterizedObject), 402);
1140   types.Bind (STANDARD_TYPE(StepShape_ExtrudedFaceSolid), 403);
1141   types.Bind (STANDARD_TYPE(StepShape_RevolvedFaceSolid), 404);
1142   types.Bind (STANDARD_TYPE(StepShape_SweptFaceSolid), 405);
1143
1144   // Added by ABV 08.09.99 for CAX TRJ 2 (validation properties)
1145   types.Bind (STANDARD_TYPE(StepRepr_MeasureRepresentationItem), 406);
1146   types.Bind (STANDARD_TYPE(StepBasic_AreaUnit), 407);
1147   types.Bind (STANDARD_TYPE(StepBasic_VolumeUnit), 408);
1148   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndAreaUnit), 409);
1149   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndVolumeUnit), 410);
1150   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndAreaUnit), 411);
1151   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndVolumeUnit), 412);
1152   
1153   // Added by ABV 10.11.99 for AP203
1154   types.Bind (STANDARD_TYPE(StepBasic_Action), 413);
1155   types.Bind (STANDARD_TYPE(StepBasic_ActionAssignment), 414);
1156   types.Bind (STANDARD_TYPE(StepBasic_ActionMethod), 415);
1157   types.Bind (STANDARD_TYPE(StepBasic_ActionRequestAssignment), 416);
1158   types.Bind (STANDARD_TYPE(StepAP203_CcDesignApproval), 417);
1159   types.Bind (STANDARD_TYPE(StepAP203_CcDesignCertification), 418);
1160   types.Bind (STANDARD_TYPE(StepAP203_CcDesignContract), 419);
1161   types.Bind (STANDARD_TYPE(StepAP203_CcDesignDateAndTimeAssignment), 420);
1162   types.Bind (STANDARD_TYPE(StepAP203_CcDesignPersonAndOrganizationAssignment), 421);
1163   types.Bind (STANDARD_TYPE(StepAP203_CcDesignSecurityClassification), 422);
1164   types.Bind (STANDARD_TYPE(StepAP203_CcDesignSpecificationReference), 423);
1165   types.Bind (STANDARD_TYPE(StepBasic_Certification), 424);
1166   types.Bind (STANDARD_TYPE(StepBasic_CertificationAssignment), 425);
1167   types.Bind (STANDARD_TYPE(StepBasic_CertificationType), 426);
1168   types.Bind (STANDARD_TYPE(StepAP203_Change), 427);
1169   types.Bind (STANDARD_TYPE(StepAP203_ChangeRequest), 428);
1170   types.Bind (STANDARD_TYPE(StepRepr_ConfigurationDesign), 429);
1171   types.Bind (STANDARD_TYPE(StepRepr_ConfigurationEffectivity), 430);
1172   types.Bind (STANDARD_TYPE(StepBasic_Contract), 431);
1173   types.Bind (STANDARD_TYPE(StepBasic_ContractAssignment), 432);
1174   types.Bind (STANDARD_TYPE(StepBasic_ContractType), 433);
1175   types.Bind (STANDARD_TYPE(StepRepr_ProductConcept), 434);
1176   types.Bind (STANDARD_TYPE(StepBasic_ProductConceptContext), 435);
1177   types.Bind (STANDARD_TYPE(StepAP203_StartRequest), 436);
1178   types.Bind (STANDARD_TYPE(StepAP203_StartWork), 437);
1179   types.Bind (STANDARD_TYPE(StepBasic_VersionedActionRequest), 438);
1180   types.Bind (STANDARD_TYPE(StepBasic_ProductCategoryRelationship), 439);
1181   types.Bind (STANDARD_TYPE(StepBasic_ActionRequestSolution), 440);
1182   types.Bind (STANDARD_TYPE(StepVisual_DraughtingModel), 441);
1183
1184   // Added by ABV 18.04.00 for CAX-IF TRJ4 (dimensional tolerances)
1185   types.Bind (STANDARD_TYPE(StepShape_AngularLocation), 442);
1186   types.Bind (STANDARD_TYPE(StepShape_AngularSize), 443);
1187   types.Bind (STANDARD_TYPE(StepShape_DimensionalCharacteristicRepresentation), 444);
1188   types.Bind (STANDARD_TYPE(StepShape_DimensionalLocation), 445);
1189   types.Bind (STANDARD_TYPE(StepShape_DimensionalLocationWithPath), 446);
1190   types.Bind (STANDARD_TYPE(StepShape_DimensionalSize), 447);
1191   types.Bind (STANDARD_TYPE(StepShape_DimensionalSizeWithPath), 448);
1192   types.Bind (STANDARD_TYPE(StepShape_ShapeDimensionRepresentation), 449);
1193
1194   // Added by ABV 10.05.00 for CAX-IF TRJ4 (external references)
1195   types.Bind (STANDARD_TYPE(StepBasic_DocumentRepresentationType), 450);
1196   types.Bind (STANDARD_TYPE(StepBasic_ObjectRole), 451);
1197   types.Bind (STANDARD_TYPE(StepBasic_RoleAssociation), 452);
1198   types.Bind (STANDARD_TYPE(StepBasic_IdentificationRole), 453);
1199   types.Bind (STANDARD_TYPE(StepBasic_IdentificationAssignment), 454);
1200   types.Bind (STANDARD_TYPE(StepBasic_ExternalIdentificationAssignment), 455);
1201   types.Bind (STANDARD_TYPE(StepBasic_EffectivityAssignment), 456);
1202   types.Bind (STANDARD_TYPE(StepBasic_NameAssignment), 457);
1203   types.Bind (STANDARD_TYPE(StepBasic_GeneralProperty), 458);
1204   types.Bind (STANDARD_TYPE(StepAP214_Class), 459);
1205   types.Bind (STANDARD_TYPE(StepAP214_ExternallyDefinedClass), 460);
1206   types.Bind (STANDARD_TYPE(StepAP214_ExternallyDefinedGeneralProperty), 461);
1207   types.Bind (STANDARD_TYPE(StepAP214_AppliedExternalIdentificationAssignment), 462);
1208
1209   // abv 11.07.00: CAX-IF TRJ4: k1_geo-ac.stp
1210   types.Bind (STANDARD_TYPE(StepShape_DefinitionalRepresentationAndShapeRepresentation), 463);
1211
1212   // CKY 25 APR 2001 : CAX-IF TR7J , dimensional tolerances (contd)
1213   types.Bind (STANDARD_TYPE(StepRepr_CompositeShapeAspect),470);
1214   types.Bind (STANDARD_TYPE(StepRepr_DerivedShapeAspect),471);
1215   types.Bind (STANDARD_TYPE(StepRepr_Extension),472);
1216   types.Bind (STANDARD_TYPE(StepShape_DirectedDimensionalLocation),473);
1217   types.Bind (STANDARD_TYPE(StepShape_LimitsAndFits),474);
1218   types.Bind (STANDARD_TYPE(StepShape_ToleranceValue),475);
1219   types.Bind (STANDARD_TYPE(StepShape_MeasureQualification),476);
1220   types.Bind (STANDARD_TYPE(StepShape_PlusMinusTolerance),477);
1221   types.Bind (STANDARD_TYPE(StepShape_PrecisionQualifier),478);
1222   types.Bind (STANDARD_TYPE(StepShape_TypeQualifier),479);
1223   types.Bind (STANDARD_TYPE(StepShape_QualifiedRepresentationItem),480);
1224   types.Bind (STANDARD_TYPE(StepShape_MeasureRepresentationItemAndQualifiedRepresentationItem),481);
1225   types.Bind (STANDARD_TYPE(StepRepr_CompoundRepresentationItem),482);
1226   types.Bind (STANDARD_TYPE(StepRepr_ValueRange),483);
1227   types.Bind (STANDARD_TYPE(StepRepr_ShapeAspectDerivingRelationship),484);
1228
1229   // abv 11.07.00: CAX-IF TRJ8: edge_based_wireframe
1230   types.Bind (STANDARD_TYPE(StepShape_CompoundShapeRepresentation),485);
1231   types.Bind (STANDARD_TYPE(StepShape_ConnectedEdgeSet),486);
1232   types.Bind (STANDARD_TYPE(StepShape_ConnectedFaceShapeRepresentation),487);
1233   types.Bind (STANDARD_TYPE(StepShape_EdgeBasedWireframeModel),488);
1234   types.Bind (STANDARD_TYPE(StepShape_EdgeBasedWireframeShapeRepresentation),489);
1235   types.Bind (STANDARD_TYPE(StepShape_FaceBasedSurfaceModel),490);
1236   types.Bind (STANDARD_TYPE(StepShape_NonManifoldSurfaceShapeRepresentation),491);
1237   
1238   //gka 08.01.02 TRJ9 IS->DIS
1239   types.Bind (STANDARD_TYPE(StepGeom_OrientedSurface),492);
1240   types.Bind (STANDARD_TYPE(StepShape_Subface),493);
1241   types.Bind (STANDARD_TYPE(StepShape_Subedge),494);
1242   types.Bind (STANDARD_TYPE(StepShape_SeamEdge),495);
1243   types.Bind (STANDARD_TYPE(StepShape_ConnectedFaceSubSet),496);
1244   
1245   //AP209 types
1246   types.Bind (STANDARD_TYPE(StepBasic_EulerAngles),500);
1247   types.Bind (STANDARD_TYPE(StepBasic_MassUnit),501);
1248   types.Bind (STANDARD_TYPE(StepBasic_ThermodynamicTemperatureUnit),502);
1249   types.Bind (STANDARD_TYPE(StepElement_AnalysisItemWithinRepresentation),503);
1250   types.Bind (STANDARD_TYPE(StepElement_Curve3dElementDescriptor),504);
1251   types.Bind (STANDARD_TYPE(StepElement_CurveElementEndReleasePacket),505);
1252   types.Bind (STANDARD_TYPE(StepElement_CurveElementSectionDefinition),506);
1253   types.Bind (STANDARD_TYPE(StepElement_CurveElementSectionDerivedDefinitions),507);
1254   types.Bind (STANDARD_TYPE(StepElement_ElementDescriptor),508);
1255   types.Bind (STANDARD_TYPE(StepElement_ElementMaterial),509);
1256   types.Bind (STANDARD_TYPE(StepElement_Surface3dElementDescriptor),510);
1257   types.Bind (STANDARD_TYPE(StepElement_SurfaceElementProperty),511);
1258   types.Bind (STANDARD_TYPE(StepElement_SurfaceSection),512);
1259   types.Bind (STANDARD_TYPE(StepElement_SurfaceSectionField),513);
1260   types.Bind (STANDARD_TYPE(StepElement_SurfaceSectionFieldConstant),514);
1261   types.Bind (STANDARD_TYPE(StepElement_SurfaceSectionFieldVarying),515);
1262   types.Bind (STANDARD_TYPE(StepElement_UniformSurfaceSection),516);
1263   types.Bind (STANDARD_TYPE(StepElement_Volume3dElementDescriptor),517);
1264   types.Bind (STANDARD_TYPE(StepFEA_AlignedCurve3dElementCoordinateSystem),518);
1265   types.Bind (STANDARD_TYPE(StepFEA_ArbitraryVolume3dElementCoordinateSystem),519);
1266   types.Bind (STANDARD_TYPE(StepFEA_Curve3dElementProperty),520);
1267   types.Bind (STANDARD_TYPE(StepFEA_Curve3dElementRepresentation),521);
1268   types.Bind (STANDARD_TYPE(StepFEA_Node),522);
1269 //  types.Bind (STANDARD_TYPE(StepFEA_CurveElementEndCoordinateSystem),523);
1270   types.Bind (STANDARD_TYPE(StepFEA_CurveElementEndOffset),524);
1271   types.Bind (STANDARD_TYPE(StepFEA_CurveElementEndRelease),525);
1272   types.Bind (STANDARD_TYPE(StepFEA_CurveElementInterval),526);
1273   types.Bind (STANDARD_TYPE(StepFEA_CurveElementIntervalConstant),527);
1274   types.Bind (STANDARD_TYPE(StepFEA_DummyNode),528);
1275   types.Bind (STANDARD_TYPE(StepFEA_CurveElementLocation),529);
1276   types.Bind (STANDARD_TYPE(StepFEA_ElementGeometricRelationship),530);
1277   types.Bind (STANDARD_TYPE(StepFEA_ElementGroup),531);
1278   types.Bind (STANDARD_TYPE(StepFEA_ElementRepresentation),532);
1279   types.Bind (STANDARD_TYPE(StepFEA_FeaAreaDensity),533);
1280   types.Bind (STANDARD_TYPE(StepFEA_FeaAxis2Placement3d),534);
1281   types.Bind (STANDARD_TYPE(StepFEA_FeaGroup),535);
1282   types.Bind (STANDARD_TYPE(StepFEA_FeaLinearElasticity),536);
1283   types.Bind (STANDARD_TYPE(StepFEA_FeaMassDensity),537);
1284   types.Bind (STANDARD_TYPE(StepFEA_FeaMaterialPropertyRepresentation),538);
1285   types.Bind (STANDARD_TYPE(StepFEA_FeaMaterialPropertyRepresentationItem),539);
1286   types.Bind (STANDARD_TYPE(StepFEA_FeaModel),540);
1287   types.Bind (STANDARD_TYPE(StepFEA_FeaModel3d),541);
1288   types.Bind (STANDARD_TYPE(StepFEA_FeaMoistureAbsorption),542);
1289   types.Bind (STANDARD_TYPE(StepFEA_FeaParametricPoint),543);
1290   types.Bind (STANDARD_TYPE(StepFEA_FeaRepresentationItem),544);
1291   types.Bind (STANDARD_TYPE(StepFEA_FeaSecantCoefficientOfLinearThermalExpansion),545);
1292   types.Bind (STANDARD_TYPE(StepFEA_FeaShellBendingStiffness),546);
1293   types.Bind (STANDARD_TYPE(StepFEA_FeaShellMembraneBendingCouplingStiffness),547);
1294   types.Bind (STANDARD_TYPE(StepFEA_FeaShellMembraneStiffness),548);
1295   types.Bind (STANDARD_TYPE(StepFEA_FeaShellShearStiffness),549);
1296   types.Bind (STANDARD_TYPE(StepFEA_GeometricNode),550);
1297   types.Bind (STANDARD_TYPE(StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion),551);
1298   types.Bind (STANDARD_TYPE(StepFEA_NodeGroup),552);
1299   types.Bind (STANDARD_TYPE(StepFEA_NodeRepresentation),553);
1300   types.Bind (STANDARD_TYPE(StepFEA_NodeSet),554);
1301   types.Bind (STANDARD_TYPE(StepFEA_NodeWithSolutionCoordinateSystem),555);
1302   types.Bind (STANDARD_TYPE(StepFEA_NodeWithVector),556);
1303   types.Bind (STANDARD_TYPE(StepFEA_ParametricCurve3dElementCoordinateDirection),557);
1304   types.Bind (STANDARD_TYPE(StepFEA_ParametricCurve3dElementCoordinateSystem),558);
1305   types.Bind (STANDARD_TYPE(StepFEA_ParametricSurface3dElementCoordinateSystem),559);
1306   types.Bind (STANDARD_TYPE(StepFEA_Surface3dElementRepresentation),560);
1307 //  types.Bind (STANDARD_TYPE(StepFEA_SymmetricTensor22d),561);
1308 //  types.Bind (STANDARD_TYPE(StepFEA_SymmetricTensor42d),562);
1309 //  types.Bind (STANDARD_TYPE(StepFEA_SymmetricTensor43d),563);
1310   types.Bind (STANDARD_TYPE(StepFEA_Volume3dElementRepresentation),564);
1311   types.Bind (STANDARD_TYPE(StepRepr_DataEnvironment),565);
1312   types.Bind (STANDARD_TYPE(StepRepr_MaterialPropertyRepresentation),566);
1313   types.Bind (STANDARD_TYPE(StepRepr_PropertyDefinitionRelationship),567);
1314   types.Bind (STANDARD_TYPE(StepShape_PointRepresentation),568);
1315   types.Bind (STANDARD_TYPE(StepRepr_MaterialProperty),569);
1316   types.Bind (STANDARD_TYPE(StepFEA_FeaModelDefinition),570);
1317   types.Bind (STANDARD_TYPE(StepFEA_FreedomAndCoefficient),571);
1318   types.Bind (STANDARD_TYPE(StepFEA_FreedomsList),572);
1319   types.Bind (STANDARD_TYPE(StepBasic_ProductDefinitionFormationRelationship),573);
1320   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndMassUnit),574);
1321   types.Bind (STANDARD_TYPE(StepFEA_NodeDefinition),575);
1322   types.Bind (STANDARD_TYPE(StepRepr_StructuralResponseProperty),576);
1323   types.Bind (STANDARD_TYPE(StepRepr_StructuralResponsePropertyDefinitionRepresentation),577);
1324   types.Bind (STANDARD_TYPE(StepBasic_SiUnitAndThermodynamicTemperatureUnit), 578);
1325   types.Bind (STANDARD_TYPE(StepFEA_AlignedSurface3dElementCoordinateSystem),579);
1326   types.Bind (STANDARD_TYPE(StepFEA_ConstantSurface3dElementCoordinateSystem),580);
1327   types.Bind (STANDARD_TYPE(StepFEA_CurveElementIntervalLinearlyVarying),581);
1328   types.Bind (STANDARD_TYPE(StepFEA_FeaCurveSectionGeometricRelationship),582);
1329   types.Bind (STANDARD_TYPE(StepFEA_FeaSurfaceSectionGeometricRelationship),583);
1330   
1331    // PTV 28.01.2003 TRJ11 AP214 external references
1332   types.Bind (STANDARD_TYPE(StepBasic_DocumentProductAssociation),600);
1333   types.Bind (STANDARD_TYPE(StepBasic_DocumentProductEquivalence),601);
1334    
1335   //TR12J 4.06.2003 G&DT entities
1336   types.Bind (STANDARD_TYPE(StepDimTol_CylindricityTolerance), 609);
1337   types.Bind (STANDARD_TYPE(StepShape_ShapeRepresentationWithParameters),610);
1338   types.Bind (STANDARD_TYPE(StepDimTol_AngularityTolerance),611);
1339   types.Bind (STANDARD_TYPE(StepDimTol_ConcentricityTolerance),612);
1340   types.Bind (STANDARD_TYPE(StepDimTol_CircularRunoutTolerance),613);
1341   types.Bind (STANDARD_TYPE(StepDimTol_CoaxialityTolerance),614);
1342   types.Bind (STANDARD_TYPE(StepDimTol_FlatnessTolerance),615);
1343   types.Bind (STANDARD_TYPE(StepDimTol_LineProfileTolerance),616);
1344   types.Bind (STANDARD_TYPE(StepDimTol_ParallelismTolerance),617);
1345   types.Bind (STANDARD_TYPE(StepDimTol_PerpendicularityTolerance),618);
1346   types.Bind (STANDARD_TYPE(StepDimTol_PositionTolerance),619);
1347   types.Bind (STANDARD_TYPE(StepDimTol_RoundnessTolerance),620);
1348   types.Bind (STANDARD_TYPE(StepDimTol_StraightnessTolerance),621);
1349   types.Bind (STANDARD_TYPE(StepDimTol_SurfaceProfileTolerance),622);
1350   types.Bind (STANDARD_TYPE(StepDimTol_SymmetryTolerance),623);
1351   types.Bind (STANDARD_TYPE(StepDimTol_TotalRunoutTolerance),624);
1352   
1353   types.Bind (STANDARD_TYPE(StepDimTol_GeometricTolerance),625);
1354   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceRelationship),626);
1355   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceWithDatumReference),627);
1356   types.Bind (STANDARD_TYPE(StepDimTol_ModifiedGeometricTolerance),628);
1357   
1358   types.Bind (STANDARD_TYPE(StepDimTol_Datum),629);
1359   types.Bind (STANDARD_TYPE(StepDimTol_DatumFeature),630);
1360   types.Bind (STANDARD_TYPE(StepDimTol_DatumReference),631);
1361   types.Bind (STANDARD_TYPE(StepDimTol_CommonDatum),632);
1362   types.Bind (STANDARD_TYPE(StepDimTol_DatumTarget),633);
1363   types.Bind (STANDARD_TYPE(StepDimTol_PlacedDatumTargetFeature),634);
1364
1365   types.Bind (STANDARD_TYPE(StepRepr_ReprItemAndLengthMeasureWithUnit),635);
1366   types.Bind (STANDARD_TYPE(StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol),636);
1367
1368   // added by skl 10.02.2004 for TRJ13
1369   types.Bind (STANDARD_TYPE(StepBasic_ConversionBasedUnitAndMassUnit),650);
1370   types.Bind (STANDARD_TYPE(StepBasic_MassMeasureWithUnit), 651);
1371
1372   // Added by ika for GD&T AP242
1373   types.Bind (STANDARD_TYPE(StepRepr_Apex), 660);
1374   types.Bind (STANDARD_TYPE(StepRepr_CentreOfSymmetry), 661);
1375   types.Bind (STANDARD_TYPE(StepRepr_GeometricAlignment), 662);
1376   types.Bind (STANDARD_TYPE(StepRepr_PerpendicularTo), 663);
1377   types.Bind (STANDARD_TYPE(StepRepr_Tangent), 664);
1378   types.Bind (STANDARD_TYPE(StepRepr_ParallelOffset), 665);
1379   types.Bind (STANDARD_TYPE(StepAP242_GeometricItemSpecificUsage), 666);
1380   types.Bind (STANDARD_TYPE(StepAP242_IdAttribute), 667);
1381   types.Bind (STANDARD_TYPE(StepAP242_ItemIdentifiedRepresentationUsage), 668);
1382   types.Bind (STANDARD_TYPE(StepRepr_AllAroundShapeAspect), 669);
1383   types.Bind (STANDARD_TYPE(StepRepr_BetweenShapeAspect), 670);
1384   types.Bind (STANDARD_TYPE(StepRepr_CompositeGroupShapeAspect), 671);
1385   types.Bind (STANDARD_TYPE(StepRepr_ContinuosShapeAspect), 672);
1386   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceWithDefinedAreaUnit), 673);
1387   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceWithDefinedUnit), 674);
1388   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceWithMaximumTolerance), 675);
1389   types.Bind (STANDARD_TYPE(StepDimTol_GeometricToleranceWithModifiers), 676);
1390   types.Bind (STANDARD_TYPE(StepDimTol_UnequallyDisposedGeometricTolerance), 677);
1391   types.Bind (STANDARD_TYPE(StepDimTol_NonUniformZoneDefinition), 678);
1392   types.Bind (STANDARD_TYPE(StepDimTol_ProjectedZoneDefinition), 679);
1393   types.Bind (STANDARD_TYPE(StepDimTol_RunoutZoneDefinition), 680);
1394   types.Bind (STANDARD_TYPE(StepDimTol_RunoutZoneOrientation), 681);
1395   types.Bind (STANDARD_TYPE(StepDimTol_ToleranceZone), 682);
1396   types.Bind (STANDARD_TYPE(StepDimTol_ToleranceZoneDefinition), 683);
1397   types.Bind (STANDARD_TYPE(StepDimTol_ToleranceZoneForm), 684);
1398   types.Bind (STANDARD_TYPE(StepShape_ValueFormatTypeQualifier), 685);
1399   types.Bind (STANDARD_TYPE(StepDimTol_DatumReferenceCompartment), 686);
1400   types.Bind (STANDARD_TYPE(StepDimTol_DatumReferenceElement), 687);
1401   types.Bind (STANDARD_TYPE(StepDimTol_DatumReferenceModifierWithValue), 688);
1402   types.Bind (STANDARD_TYPE(StepDimTol_DatumSystem), 689);
1403   types.Bind (STANDARD_TYPE(StepDimTol_GeneralDatumReference), 690);
1404   types.Bind (STANDARD_TYPE(StepRepr_ReprItemAndPlaneAngleMeasureWithUnit), 691);
1405   types.Bind (STANDARD_TYPE(StepRepr_ReprItemAndLengthMeasureWithUnitAndQRI), 692);
1406   types.Bind (STANDARD_TYPE(StepRepr_ReprItemAndPlaneAngleMeasureWithUnitAndQRI), 693);
1407   types.Bind (STANDARD_TYPE(StepDimTol_GeoTolAndGeoTolWthDatRef), 694);
1408   types.Bind (STANDARD_TYPE(StepDimTol_GeoTolAndGeoTolWthDatRefAndGeoTolWthMod), 695);
1409   types.Bind (STANDARD_TYPE(StepDimTol_GeoTolAndGeoTolWthMod), 696);
1410   types.Bind (STANDARD_TYPE(StepDimTol_GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol), 697);
1411   types.Bind (STANDARD_TYPE(StepRepr_CompGroupShAspAndCompShAspAndDatumFeatAndShAsp), 698);
1412   types.Bind (STANDARD_TYPE(StepRepr_CompShAspAndDatumFeatAndShAsp), 699);
1413   types.Bind (STANDARD_TYPE(StepRepr_IntegerRepresentationItem), 700);
1414   types.Bind (STANDARD_TYPE(StepRepr_ValueRepresentationItem), 701);
1415   types.Bind (STANDARD_TYPE(StepRepr_FeatureForDatumTargetRelationship), 702);
1416 }
1417
1418 //=======================================================================
1419 //function : TypeNumber
1420 //purpose  : 
1421 //=======================================================================
1422
1423 Standard_Integer StepAP214_Protocol::TypeNumber(const 
1424 Handle(Standard_Type)& atype) const
1425 {
1426   if (types.IsBound (atype)) return types.Find(atype);
1427   else return 0;
1428 }
1429
1430
1431 //=======================================================================
1432 //function : SchemaName
1433 //purpose  : 
1434 //=======================================================================
1435
1436 Standard_CString StepAP214_Protocol::SchemaName() const
1437 {       
1438   switch (Interface_Static::IVal("write.step.schema")) { //:j4
1439   default:
1440   case 1 : return schemaAP214CD;  break; 
1441   case 2 : return schemaAP214DIS; break; 
1442   case 3 : return schemaAP203;    break;
1443   case 4:  return schemaAP214IS; break;
1444   }
1445 }
1446
1447
1448 //=======================================================================
1449 //function : NbResources
1450 //purpose  : 
1451 //=======================================================================
1452
1453 Standard_Integer StepAP214_Protocol::NbResources () const
1454 {
1455   return 1;  
1456 }
1457
1458
1459 //=======================================================================
1460 //function : Resource
1461 //purpose  : 
1462 //=======================================================================
1463
1464 Handle(Interface_Protocol) StepAP214_Protocol::Resource
1465   (const Standard_Integer /*num*/) const
1466 {
1467   return HeaderSection::Protocol();
1468 }
1469