0024023: Revamp the OCCT Handle -- downcast (automatic)
[occt.git] / src / RWStepAP214 / RWStepAP214_GeneralModule.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 //:k4 abv 30.11.98: TR9: warnings for BWV
15 //:n5 abv 15 Feb 99: S4132 complex type bounded_curve + surface_curve
16 //:j4 gka 16.03.99 S4134
17 #include <RWStepAP214_GeneralModule.ixx>
18
19 #include <Interface_Macros.hxx>
20 //#define DeclareAndCast(atype,result,start) \  NON car Name
21 // Handle(atype) result = Handle(atype)::DownCast (start)
22
23 #include <Interface_GeneralLib.hxx>
24 #include <Interface_Category.hxx>
25
26 #include <Interface_EntityIterator.hxx>
27
28 #include <StepAP214.hxx>
29
30 #include <RWStepAP214.hxx>
31
32 #include <StepBasic_Address.hxx>
33 #include <StepShape_AdvancedBrepShapeRepresentation.hxx>
34 #include <StepShape_AdvancedFace.hxx>
35 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationCurveOccurrence.hxx>
36 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationFillArea.hxx>
37 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationFillAreaOccurrence.hxx>
38 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
39 #include <StepVisual_AnnotationOccurrence.hxx>
40 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationSubfigureOccurrence.hxx>
41 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationSymbol.hxx>
42 // Removed from Rev2 to Rev4 :  <StepVisual_AnnotationSymbolOccurrence.hxx>
43 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
44 #include <StepVisual_AnnotationText.hxx>
45 #include <StepVisual_AnnotationTextOccurrence.hxx>
46
47 #include <StepBasic_ApplicationContext.hxx>
48 #include <StepBasic_ApplicationContextElement.hxx>
49 #include <StepBasic_ApplicationProtocolDefinition.hxx>
50 #include <StepBasic_Approval.hxx>
51 #include <StepBasic_ApprovalPersonOrganization.hxx>
52 #include <StepBasic_ApprovalRelationship.hxx>
53 #include <StepBasic_ApprovalRole.hxx>
54 #include <StepBasic_ApprovalStatus.hxx>
55 #include <StepVisual_AreaInSet.hxx>
56 #include <StepAP214_AutoDesignActualDateAndTimeAssignment.hxx>
57 #include <StepAP214_AutoDesignActualDateAssignment.hxx>
58 #include <StepAP214_AutoDesignApprovalAssignment.hxx>
59 #include <StepAP214_AutoDesignDateAndPersonAssignment.hxx>
60 #include <StepAP214_AutoDesignGroupAssignment.hxx>
61 #include <StepAP214_AutoDesignNominalDateAndTimeAssignment.hxx>
62 #include <StepAP214_AutoDesignNominalDateAssignment.hxx>
63 #include <StepAP214_AutoDesignOrganizationAssignment.hxx>
64 #include <StepAP214_AutoDesignPersonAndOrganizationAssignment.hxx>
65 #include <StepAP214_AutoDesignPresentedItem.hxx>
66 #include <StepAP214_AutoDesignSecurityClassificationAssignment.hxx>
67 // Removed from Rev2 to Rev4 :  <StepAP214_AutoDesignViewArea.hxx>
68 #include <StepGeom_Axis1Placement.hxx>
69 #include <StepGeom_Axis2Placement2d.hxx>
70 #include <StepGeom_Axis2Placement3d.hxx>
71 #include <StepGeom_BSplineCurve.hxx>
72 #include <StepGeom_BSplineCurveWithKnots.hxx>
73 #include <StepGeom_BSplineSurface.hxx>
74 #include <StepGeom_BSplineSurfaceWithKnots.hxx>
75 #include <StepVisual_BackgroundColour.hxx>
76 #include <StepGeom_BezierCurve.hxx>
77 #include <StepGeom_BezierSurface.hxx>
78 #include <StepShape_Block.hxx>
79 #include <StepShape_BooleanResult.hxx>
80 #include <StepGeom_BoundaryCurve.hxx>
81 #include <StepGeom_BoundedCurve.hxx>
82 #include <StepGeom_BoundedSurface.hxx>
83 #include <StepShape_BoxDomain.hxx>
84 #include <StepShape_BoxedHalfSpace.hxx>
85 #include <StepShape_BrepWithVoids.hxx>
86 #include <StepBasic_CalendarDate.hxx>
87 #include <StepVisual_CameraImage.hxx>
88 #include <StepVisual_CameraModel.hxx>
89 #include <StepVisual_CameraModelD2.hxx>
90 #include <StepVisual_CameraModelD3.hxx>
91 #include <StepVisual_CameraUsage.hxx>
92 #include <StepGeom_CartesianPoint.hxx>
93 #include <StepGeom_CartesianTransformationOperator.hxx>
94 #include <StepGeom_CartesianTransformationOperator3d.hxx>
95 #include <StepGeom_Circle.hxx>
96 #include <StepShape_ClosedShell.hxx>
97 #include <StepVisual_Colour.hxx>
98 #include <StepVisual_ColourRgb.hxx>
99 #include <StepVisual_ColourSpecification.hxx>
100 #include <StepGeom_CompositeCurve.hxx>
101 #include <StepGeom_CompositeCurveOnSurface.hxx>
102 #include <StepGeom_CompositeCurveSegment.hxx>
103 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
104 #include <StepVisual_CompositeText.hxx>
105 // Removed from Rev2 to Rev4 :  <StepVisual_CompositeTextWithAssociatedCurves.hxx>
106 // Removed from Rev2 to Rev4 :  <StepVisual_CompositeTextWithBlankingBox.hxx>
107 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
108 #include <StepVisual_CompositeTextWithExtent.hxx>
109
110 #include <StepGeom_Conic.hxx>
111 #include <StepGeom_ConicalSurface.hxx>
112 #include <StepShape_ConnectedFaceSet.hxx>
113 #include <StepVisual_ContextDependentInvisibility.hxx>
114 #include <StepVisual_ContextDependentOverRidingStyledItem.hxx>
115 #include <StepBasic_ConversionBasedUnit.hxx>
116 #include <StepBasic_CoordinatedUniversalTimeOffset.hxx>
117 // Removed from Rev2 to Rev4 :  <StepShape_CsgRepresentation.hxx>
118 #include <StepShape_CsgShapeRepresentation.hxx>
119 #include <StepShape_CsgSolid.hxx>
120 #include <StepGeom_Curve.hxx>
121 #include <StepGeom_CurveBoundedSurface.hxx>
122 #include <StepGeom_CurveReplica.hxx>
123 #include <StepVisual_CurveStyle.hxx>
124 #include <StepVisual_CurveStyleFont.hxx>
125 #include <StepVisual_CurveStyleFontPattern.hxx>
126 #include <StepGeom_CylindricalSurface.hxx>
127 #include <StepBasic_Date.hxx>
128 #include <StepBasic_DateAndTime.hxx>
129 #include <StepBasic_DateRole.hxx>
130 #include <StepBasic_DateTimeRole.hxx>
131 // Removed from Rev2 to Rev4 :  <StepVisual_DefinedSymbol.hxx>
132 #include <StepRepr_DefinitionalRepresentation.hxx>
133 #include <StepGeom_DegeneratePcurve.hxx>
134 #include <StepGeom_DegenerateToroidalSurface.hxx>
135 #include <StepRepr_DescriptiveRepresentationItem.hxx>
136 // Removed from Rev2 to Rev4 :  <StepVisual_DimensionCurve.hxx>
137 // Removed from Rev2 to Rev4 :  <StepVisual_DimensionCurveTerminator.hxx>
138 #include <StepBasic_DimensionalExponents.hxx>
139 #include <StepGeom_Direction.hxx>
140 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
141 #include <StepVisual_DraughtingAnnotationOccurrence.hxx>
142 // Removed from Rev2 to Rev4 :  <StepVisual_DraughtingCallout.hxx>
143 #include <StepVisual_DraughtingPreDefinedColour.hxx>
144 #include <StepVisual_DraughtingPreDefinedCurveFont.hxx>
145 // Removed from Rev2 to Rev4 :  <StepVisual_DraughtingSubfigureRepresentation.hxx>
146 // Removed from Rev2 to Rev4 :  <StepVisual_DraughtingSymbolRepresentation.hxx>
147 // Removed from Rev2 to Rev4 :  <StepVisual_DraughtingTextLiteralWithDelineation.hxx>
148 // Removed from Rev2 to Rev4 :  <StepVisual_DrawingDefinition.hxx>
149 // Removed from Rev2 to Rev4 :  <StepVisual_DrawingRevision.hxx>
150 #include <StepShape_Edge.hxx>
151 #include <StepShape_EdgeCurve.hxx>
152 #include <StepShape_EdgeLoop.hxx>
153 #include <StepGeom_ElementarySurface.hxx>
154 #include <StepGeom_Ellipse.hxx>
155 #include <StepGeom_EvaluatedDegeneratePcurve.hxx>
156 #include <StepBasic_ExternalSource.hxx>
157 #include <StepVisual_ExternallyDefinedCurveFont.hxx>
158 // Removed from Rev2 to Rev4 :  <StepVisual_ExternallyDefinedHatchStyle.hxx>
159 #include <StepBasic_ExternallyDefinedItem.hxx>
160 // Removed from Rev2 to Rev4 :  <StepVisual_ExternallyDefinedSymbol.hxx>
161 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
162 #include <StepVisual_ExternallyDefinedTextFont.hxx>
163 // Removed from Rev2 to Rev4 :  <StepVisual_ExternallyDefinedTileStyle.hxx>
164 #include <StepShape_ExtrudedAreaSolid.hxx>
165 #include <StepShape_Face.hxx>
166 // Removed from Rev2 to Rev4 :  <StepShape_FaceBasedSurfaceModel.hxx>
167 #include <StepShape_FaceBound.hxx>
168 #include <StepShape_FaceOuterBound.hxx>
169 #include <StepShape_FaceSurface.hxx>
170 #include <StepShape_FacetedBrep.hxx>
171 #include <StepShape_FacetedBrepShapeRepresentation.hxx>
172 #include <StepVisual_FillAreaStyle.hxx>
173 #include <StepVisual_FillAreaStyleColour.hxx>
174 // Removed from Rev2 to Rev4 :  <StepVisual_FillAreaStyleHatching.hxx>
175 // Removed from Rev2 to Rev4 :  <StepVisual_FillAreaStyleTileSymbolWithStyle.hxx>
176 // Removed from Rev2 to Rev4 :  <StepVisual_FillAreaStyleTiles.hxx>
177 #include <StepRepr_FunctionallyDefinedTransformation.hxx>
178 #include <StepShape_GeometricCurveSet.hxx>
179 #include <StepGeom_GeometricRepresentationContext.hxx>
180 #include <StepGeom_GeometricRepresentationItem.hxx>
181 #include <StepShape_GeometricSet.hxx>
182 #include <StepShape_GeometricallyBoundedSurfaceShapeRepresentation.hxx>
183 #include <StepShape_GeometricallyBoundedWireframeShapeRepresentation.hxx>
184 #include <StepRepr_GlobalUncertaintyAssignedContext.hxx>
185 #include <StepRepr_GlobalUnitAssignedContext.hxx>
186 #include <StepBasic_Group.hxx>
187 #include <StepBasic_GroupRelationship.hxx>
188 #include <StepShape_HalfSpaceSolid.hxx>
189 #include <StepGeom_Hyperbola.hxx>
190 #include <StepGeom_IntersectionCurve.hxx>
191 #include <StepVisual_Invisibility.hxx>
192 #include <StepBasic_LengthMeasureWithUnit.hxx>
193 #include <StepBasic_LengthUnit.hxx>
194 #include <StepGeom_Line.hxx>
195 #include <StepBasic_LocalTime.hxx>
196 #include <StepShape_Loop.hxx>
197 #include <StepShape_ManifoldSolidBrep.hxx>
198 #include <StepShape_ManifoldSurfaceShapeRepresentation.hxx>
199 #include <StepRepr_MappedItem.hxx>
200 #include <StepBasic_MeasureWithUnit.hxx>
201 #include <StepVisual_MechanicalDesignGeometricPresentationArea.hxx>
202 #include <StepVisual_MechanicalDesignGeometricPresentationRepresentation.hxx>
203 // Removed from Rev2 to Rev4 :  <StepVisual_MechanicalDesignPresentationArea.hxx>
204 #include <StepBasic_NamedUnit.hxx>
205 // Removed from Rev2 to Rev4 :  <StepShape_NonManifoldSurfaceShapeRepresentation.hxx>
206 #include <StepGeom_OffsetCurve3d.hxx>
207 #include <StepGeom_OffsetSurface.hxx>
208 // Removed from Rev2 to Rev4 :  <StepAP214_OneDirectionRepeatFactor.hxx>
209 #include <StepShape_OpenShell.hxx>
210 #include <StepBasic_OrdinalDate.hxx>
211 #include <StepBasic_Organization.hxx>
212 #include <StepBasic_OrganizationRole.hxx>
213 #include <StepBasic_OrganizationalAddress.hxx>
214 #include <StepShape_OrientedClosedShell.hxx>
215 #include <StepShape_OrientedEdge.hxx>
216 #include <StepShape_OrientedFace.hxx>
217 #include <StepShape_OrientedOpenShell.hxx>
218 #include <StepShape_OrientedPath.hxx>
219 #include <StepGeom_OuterBoundaryCurve.hxx>
220 #include <StepVisual_OverRidingStyledItem.hxx>
221 #include <StepGeom_Parabola.hxx>
222 #include <StepRepr_ParametricRepresentationContext.hxx>
223 #include <StepShape_Path.hxx>
224 #include <StepGeom_Pcurve.hxx>
225 #include <StepBasic_Person.hxx>
226 #include <StepBasic_PersonAndOrganization.hxx>
227 #include <StepBasic_PersonAndOrganizationRole.hxx>
228 #include <StepBasic_PersonalAddress.hxx>
229 #include <StepGeom_Placement.hxx>
230 #include <StepVisual_PlanarBox.hxx>
231 #include <StepVisual_PlanarExtent.hxx>
232 #include <StepGeom_Plane.hxx>
233 #include <StepBasic_PlaneAngleMeasureWithUnit.hxx>
234 #include <StepBasic_PlaneAngleUnit.hxx>
235 #include <StepGeom_Point.hxx>
236 #include <StepGeom_PointOnCurve.hxx>
237 #include <StepGeom_PointOnSurface.hxx>
238 #include <StepGeom_PointReplica.hxx>
239 #include <StepVisual_PointStyle.hxx>
240 #include <StepShape_PolyLoop.hxx>
241 #include <StepGeom_Polyline.hxx>
242 #include <StepVisual_PreDefinedColour.hxx>
243 #include <StepVisual_PreDefinedCurveFont.hxx>
244 #include <StepVisual_PreDefinedItem.hxx>
245 // Removed from Rev2 to Rev4 :  <StepVisual_PreDefinedSymbol.hxx>
246 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
247 #include <StepVisual_PreDefinedTextFont.hxx>
248
249 #include <StepVisual_PresentationArea.hxx>
250 #include <StepVisual_PresentationLayerAssignment.hxx>
251 #include <StepVisual_PresentationRepresentation.hxx>
252 #include <StepVisual_PresentationSet.hxx>
253 #include <StepVisual_PresentationSize.hxx>
254 #include <StepVisual_PresentationStyleAssignment.hxx>
255 #include <StepVisual_PresentationStyleByContext.hxx>
256 #include <StepVisual_PresentationView.hxx>
257 #include <StepBasic_Product.hxx>
258 #include <StepBasic_ProductCategory.hxx>
259 #include <StepBasic_ProductContext.hxx>
260 // Removed from Rev2 to Rev4 :  <StepVisual_ProductDataRepresentationView.hxx>
261 #include <StepBasic_ProductDefinition.hxx>
262 #include <StepBasic_ProductDefinitionContext.hxx>
263 #include <StepBasic_ProductDefinitionFormation.hxx>
264 #include <StepBasic_ProductDefinitionFormationWithSpecifiedSource.hxx>
265 #include <StepRepr_ProductDefinitionShape.hxx>
266 #include <StepBasic_ProductRelatedProductCategory.hxx>
267 #include <StepBasic_ProductType.hxx>
268 #include <StepRepr_PropertyDefinition.hxx>
269 #include <StepRepr_PropertyDefinitionRepresentation.hxx>
270 #include <StepGeom_QuasiUniformCurve.hxx>
271 #include <StepGeom_QuasiUniformSurface.hxx>
272 #include <StepBasic_RatioMeasureWithUnit.hxx>
273 #include <StepGeom_RationalBSplineCurve.hxx>
274 #include <StepGeom_RationalBSplineSurface.hxx>
275 #include <StepGeom_RectangularCompositeSurface.hxx>
276 #include <StepGeom_RectangularTrimmedSurface.hxx>
277 #include <StepAP214_RepItemGroup.hxx>
278 #include <StepGeom_ReparametrisedCompositeCurveSegment.hxx>
279 #include <StepRepr_Representation.hxx>
280 #include <StepRepr_RepresentationContext.hxx>
281 #include <StepRepr_RepresentationItem.hxx>
282 #include <StepRepr_RepresentationMap.hxx>
283 #include <StepRepr_RepresentationRelationship.hxx>
284 #include <StepShape_RevolvedAreaSolid.hxx>
285 #include <StepShape_RightAngularWedge.hxx>
286 #include <StepShape_RightCircularCone.hxx>
287 #include <StepShape_RightCircularCylinder.hxx>
288 #include <StepGeom_SeamCurve.hxx>
289 #include <StepBasic_SecurityClassification.hxx>
290 #include <StepBasic_SecurityClassificationLevel.hxx>
291 #include <StepRepr_ShapeAspect.hxx>
292 #include <StepRepr_ShapeAspectRelationship.hxx>
293 #include <StepRepr_ShapeAspectTransition.hxx>
294 #include <StepShape_ShapeDefinitionRepresentation.hxx>
295 #include <StepShape_ShapeRepresentation.hxx>
296 #include <StepShape_ShellBasedSurfaceModel.hxx>
297 #include <StepBasic_SiUnit.hxx>
298 #include <StepBasic_SolidAngleMeasureWithUnit.hxx>
299 #include <StepShape_SolidModel.hxx>
300 #include <StepShape_SolidReplica.hxx>
301 #include <StepShape_Sphere.hxx>
302 #include <StepGeom_SphericalSurface.hxx>
303 #include <StepVisual_StyledItem.hxx>
304 #include <StepGeom_Surface.hxx>
305 #include <StepGeom_SurfaceCurve.hxx>
306 #include <StepGeom_SurfaceOfLinearExtrusion.hxx>
307 #include <StepGeom_SurfaceOfRevolution.hxx>
308 #include <StepGeom_SurfaceCurveAndBoundedCurve.hxx>
309 #include <StepGeom_SurfacePatch.hxx>
310 #include <StepGeom_SurfaceReplica.hxx>
311 #include <StepVisual_SurfaceSideStyle.hxx>
312 #include <StepVisual_SurfaceStyleBoundary.hxx>
313 #include <StepVisual_SurfaceStyleControlGrid.hxx>
314 #include <StepVisual_SurfaceStyleFillArea.hxx>
315 #include <StepVisual_SurfaceStyleParameterLine.hxx>
316 #include <StepVisual_SurfaceStyleSegmentationCurve.hxx>
317 #include <StepVisual_SurfaceStyleSilhouette.hxx>
318 #include <StepVisual_SurfaceStyleUsage.hxx>
319 #include <StepShape_SweptAreaSolid.hxx>
320 #include <StepGeom_SweptSurface.hxx>
321 // Removed from Rev2 to Rev4 :  <StepVisual_SymbolColour.hxx>
322 // Removed from Rev2 to Rev4 :  <StepVisual_SymbolRepresentation.hxx>
323 // Removed from Rev2 to Rev4 :  <StepVisual_SymbolRepresentationMap.hxx>
324 // Removed from Rev2 to Rev4 :  <StepVisual_SymbolStyle.hxx>
325 // Removed from Rev2 to Rev4 :  <StepVisual_SymbolTarget.hxx>
326 #include <StepVisual_Template.hxx>
327 #include <StepVisual_TemplateInstance.hxx>
328 // Removed from Rev2 to Rev4 :  <StepVisual_TerminatorSymbol.hxx>
329 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
330 #include <StepVisual_TextLiteral.hxx>
331 // Removed from Rev2 to Rev4 :  <StepVisual_TextLiteralWithAssociatedCurves.hxx>
332 // Removed from Rev2 to Rev4 :  <StepVisual_TextLiteralWithBlankingBox.hxx>
333 // Removed from Rev2 to Rev4 :  <StepVisual_TextLiteralWithDelineation.hxx>
334 // Removed from Rev2 to Rev4 :  <StepVisual_TextLiteralWithExtent.hxx>
335 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
336 #include <StepVisual_TextStyle.hxx>
337 #include <StepVisual_TextStyleForDefinedFont.hxx>
338 #include <StepVisual_TextStyleWithBoxCharacteristics.hxx>
339 // Removed from Rev2 to Rev4 :  <StepVisual_TextStyleWithMirror.hxx>
340 #include <StepShape_TopologicalRepresentationItem.hxx>
341 #include <StepGeom_ToroidalSurface.hxx>
342 #include <StepShape_Torus.hxx>
343 #include <StepShape_TransitionalShapeRepresentation.hxx>
344 #include <StepGeom_TrimmedCurve.hxx>
345 // Removed from Rev2 to Rev4 :  <StepAP214_TwoDirectionRepeatFactor.hxx>
346 #include <StepBasic_UncertaintyMeasureWithUnit.hxx>
347 #include <StepGeom_UniformCurve.hxx>
348 #include <StepGeom_UniformSurface.hxx>
349 #include <StepGeom_Vector.hxx>
350 #include <StepShape_Vertex.hxx>
351 #include <StepShape_VertexLoop.hxx>
352 #include <StepShape_VertexPoint.hxx>
353 #include <StepVisual_ViewVolume.hxx>
354 #include <StepBasic_WeekOfYearAndDayDate.hxx>
355 #include <StepGeom_UniformCurveAndRationalBSplineCurve.hxx>
356 #include <StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
357 #include <StepGeom_QuasiUniformCurveAndRationalBSplineCurve.hxx>
358 #include <StepGeom_BezierCurveAndRationalBSplineCurve.hxx>
359 #include <StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
360 #include <StepGeom_UniformSurfaceAndRationalBSplineSurface.hxx>
361 #include <StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.hxx>
362 #include <StepGeom_BezierSurfaceAndRationalBSplineSurface.hxx>
363 #include <StepBasic_SiUnitAndLengthUnit.hxx>
364 #include <StepBasic_SiUnitAndPlaneAngleUnit.hxx>
365 #include <StepBasic_ConversionBasedUnitAndLengthUnit.hxx>
366 #include <StepBasic_ConversionBasedUnitAndPlaneAngleUnit.hxx>
367 #include <StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.hxx>
368 #include <StepShape_LoopAndPath.hxx>
369
370 // Added by FMA
371 #include <StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
372 #include <StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.hxx>
373 #include <StepBasic_ConversionBasedUnitAndSolidAngleUnit.hxx>
374 #include <StepBasic_SiUnitAndSolidAngleUnit.hxx>
375 #include <StepBasic_SolidAngleUnit.hxx>
376 #include <StepShape_FacetedBrepAndBrepWithVoids.hxx>
377 #include <StepBasic_MechanicalContext.hxx>
378 // Added by CKY  for Rev4
379 #include <StepBasic_DesignContext.hxx>
380
381 // full Rev4
382 #include <StepBasic_TimeMeasureWithUnit.hxx>
383 #include <StepBasic_RatioUnit.hxx>
384 #include <StepBasic_TimeUnit.hxx>
385 #include <StepBasic_SiUnitAndRatioUnit.hxx>
386 #include <StepBasic_SiUnitAndTimeUnit.hxx>
387 #include <StepBasic_ConversionBasedUnitAndRatioUnit.hxx>
388 #include <StepBasic_ConversionBasedUnitAndTimeUnit.hxx>
389 #include <StepBasic_ApprovalDateTime.hxx>
390 #include <StepVisual_CameraImage2dWithScale.hxx>
391 #include <StepVisual_CameraImage3dWithScale.hxx>
392 #include <StepGeom_CartesianTransformationOperator2d.hxx>
393 #include <StepBasic_DerivedUnit.hxx>
394 #include <StepBasic_DerivedUnitElement.hxx>
395 #include <StepRepr_ItemDefinedTransformation.hxx>
396 #include <StepVisual_PresentedItemRepresentation.hxx>
397 #include <StepVisual_PresentationLayerUsage.hxx>
398
399 //  Added by CKY (JUL-1998) for AP214 CC1 -> CC2
400
401 #include <StepAP214_AutoDesignDocumentReference.hxx>
402 #include <StepBasic_Document.hxx>
403 #include <StepBasic_DigitalDocument.hxx>
404 #include <StepBasic_DocumentRelationship.hxx>
405 #include <StepBasic_DocumentType.hxx>
406 #include <StepBasic_DocumentUsageConstraint.hxx>
407 #include <StepBasic_Effectivity.hxx>
408 #include <StepBasic_ProductDefinitionEffectivity.hxx>
409 #include <StepBasic_ProductDefinitionRelationship.hxx>
410
411 #include <StepBasic_ProductDefinitionWithAssociatedDocuments.hxx>
412 #include <StepBasic_PhysicallyModeledProductDefinition.hxx>
413
414
415 #include <StepRepr_ProductDefinitionUsage.hxx>
416 #include <StepRepr_MakeFromUsageOption.hxx>
417 #include <StepRepr_AssemblyComponentUsage.hxx>
418 #include <StepRepr_NextAssemblyUsageOccurrence.hxx>
419 #include <StepRepr_PromissoryUsageOccurrence.hxx>
420 #include <StepRepr_QuantifiedAssemblyComponentUsage.hxx>
421 #include <StepRepr_SpecifiedHigherUsageOccurrence.hxx>
422 #include <StepRepr_AssemblyComponentUsageSubstitute.hxx>
423 #include <StepRepr_SuppliedPartRelationship.hxx>
424 #include <StepRepr_ExternallyDefinedRepresentation.hxx>
425 #include <StepRepr_ShapeRepresentationRelationship.hxx>
426 #include <StepRepr_RepresentationRelationshipWithTransformation.hxx>
427 #include <StepRepr_ShapeRepresentationRelationshipWithTransformation.hxx>
428 #include <StepRepr_MaterialDesignation.hxx>
429
430 #include <StepShape_ContextDependentShapeRepresentation.hxx>
431
432
433 #include <RWStepBasic_RWAddress.hxx>
434 #include <RWStepShape_RWAdvancedBrepShapeRepresentation.hxx>
435 #include <RWStepShape_RWAdvancedFace.hxx>
436 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationCurveOccurrence.hxx>
437 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationFillArea.hxx>
438 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationFillAreaOccurrence.hxx>
439 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationOccurrence.hxx>
440 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationSubfigureOccurrence.hxx>
441 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationSymbol.hxx>
442 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationSymbolOccurrence.hxx>
443 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationText.hxx>
444 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWAnnotationTextOccurrence.hxx>
445 #include <RWStepBasic_RWApplicationContext.hxx>
446 #include <RWStepBasic_RWApplicationContextElement.hxx>
447 #include <RWStepBasic_RWApplicationProtocolDefinition.hxx>
448 #include <RWStepBasic_RWApproval.hxx>
449 #include <RWStepBasic_RWApprovalPersonOrganization.hxx>
450 #include <RWStepBasic_RWApprovalRelationship.hxx>
451 #include <RWStepBasic_RWApprovalRole.hxx>
452 #include <RWStepBasic_RWApprovalStatus.hxx>
453 #include <RWStepVisual_RWAreaInSet.hxx>
454 #include <RWStepAP214_RWAutoDesignActualDateAndTimeAssignment.hxx>
455 #include <RWStepAP214_RWAutoDesignActualDateAssignment.hxx>
456 #include <RWStepAP214_RWAutoDesignApprovalAssignment.hxx>
457 #include <RWStepAP214_RWAutoDesignDateAndPersonAssignment.hxx>
458 #include <RWStepAP214_RWAutoDesignGroupAssignment.hxx>
459 #include <RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment.hxx>
460 #include <RWStepAP214_RWAutoDesignNominalDateAssignment.hxx>
461 #include <RWStepAP214_RWAutoDesignOrganizationAssignment.hxx>
462 #include <RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment.hxx>
463 #include <RWStepAP214_RWAutoDesignPresentedItem.hxx>
464 #include <RWStepAP214_RWAutoDesignSecurityClassificationAssignment.hxx>
465 // Removed from Rev2 to Rev4 :  <RWStepAP214_RWAutoDesignViewArea.hxx>
466 #include <RWStepGeom_RWAxis1Placement.hxx>
467 #include <RWStepGeom_RWAxis2Placement2d.hxx>
468 #include <RWStepGeom_RWAxis2Placement3d.hxx>
469 #include <RWStepGeom_RWBSplineCurve.hxx>
470 #include <RWStepGeom_RWBSplineCurveWithKnots.hxx>
471 #include <RWStepGeom_RWBSplineSurface.hxx>
472 #include <RWStepGeom_RWBSplineSurfaceWithKnots.hxx>
473 #include <RWStepVisual_RWBackgroundColour.hxx>
474 #include <RWStepGeom_RWBezierCurve.hxx>
475 #include <RWStepGeom_RWBezierSurface.hxx>
476 #include <RWStepShape_RWBlock.hxx>
477 #include <RWStepShape_RWBooleanResult.hxx>
478 #include <RWStepGeom_RWBoundaryCurve.hxx>
479 #include <RWStepGeom_RWBoundedCurve.hxx>
480 #include <RWStepGeom_RWBoundedSurface.hxx>
481 #include <RWStepShape_RWBoxDomain.hxx>
482 #include <RWStepShape_RWBoxedHalfSpace.hxx>
483 #include <RWStepShape_RWBrepWithVoids.hxx>
484 #include <RWStepBasic_RWCalendarDate.hxx>
485 #include <RWStepVisual_RWCameraImage.hxx>
486 #include <RWStepVisual_RWCameraModel.hxx>
487 #include <RWStepVisual_RWCameraModelD2.hxx>
488 #include <RWStepVisual_RWCameraModelD3.hxx>
489 #include <RWStepVisual_RWCameraUsage.hxx>
490 #include <RWStepGeom_RWCartesianPoint.hxx>
491 #include <RWStepGeom_RWCartesianTransformationOperator.hxx>
492 #include <RWStepGeom_RWCartesianTransformationOperator3d.hxx>
493 #include <RWStepGeom_RWCircle.hxx>
494 #include <RWStepShape_RWClosedShell.hxx>
495 #include <RWStepVisual_RWColour.hxx>
496 #include <RWStepVisual_RWColourRgb.hxx>
497 #include <RWStepVisual_RWColourSpecification.hxx>
498 #include <RWStepGeom_RWCompositeCurve.hxx>
499 #include <RWStepGeom_RWCompositeCurveOnSurface.hxx>
500 #include <RWStepGeom_RWCompositeCurveSegment.hxx>
501 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
502 #include <RWStepVisual_RWCompositeText.hxx>
503 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWCompositeTextWithAssociatedCurves.hxx>
504 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWCompositeTextWithBlankingBox.hxx>
505 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
506 #include <RWStepVisual_RWCompositeTextWithExtent.hxx>
507
508 #include <RWStepGeom_RWConic.hxx>
509 #include <RWStepGeom_RWConicalSurface.hxx>
510 #include <RWStepShape_RWConnectedFaceSet.hxx>
511 #include <RWStepVisual_RWContextDependentInvisibility.hxx>
512 #include <RWStepVisual_RWContextDependentOverRidingStyledItem.hxx>
513 #include <RWStepBasic_RWConversionBasedUnit.hxx>
514 #include <RWStepBasic_RWCoordinatedUniversalTimeOffset.hxx>
515 // Removed from Rev2 to Rev4 :  <RWStepShape_RWCsgRepresentation.hxx>
516 #include <RWStepShape_RWCsgShapeRepresentation.hxx>
517 #include <RWStepShape_RWCsgSolid.hxx>
518 #include <RWStepGeom_RWCurve.hxx>
519 #include <RWStepGeom_RWCurveBoundedSurface.hxx>
520 #include <RWStepGeom_RWCurveReplica.hxx>
521 #include <RWStepVisual_RWCurveStyle.hxx>
522 #include <RWStepVisual_RWCurveStyleFont.hxx>
523 #include <RWStepVisual_RWCurveStyleFontPattern.hxx>
524 #include <RWStepGeom_RWCylindricalSurface.hxx>
525 #include <RWStepBasic_RWDate.hxx>
526 #include <RWStepBasic_RWDateAndTime.hxx>
527 #include <RWStepBasic_RWDateRole.hxx>
528 #include <RWStepBasic_RWDateTimeRole.hxx>
529 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDefinedSymbol.hxx>
530 #include <RWStepRepr_RWDefinitionalRepresentation.hxx>
531 #include <RWStepGeom_RWDegeneratePcurve.hxx>
532 #include <RWStepGeom_RWDegenerateToroidalSurface.hxx>
533 #include <RWStepRepr_RWDescriptiveRepresentationItem.hxx>
534 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDimensionCurve.hxx>
535 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDimensionCurveTerminator.hxx>
536 #include <RWStepBasic_RWDimensionalExponents.hxx>
537 #include <RWStepGeom_RWDirection.hxx>
538 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDraughtingAnnotationOccurrence.hxx>
539 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDraughtingCallout.hxx>
540 #include <RWStepVisual_RWDraughtingPreDefinedColour.hxx>
541 #include <RWStepVisual_RWDraughtingPreDefinedCurveFont.hxx>
542 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDraughtingSubfigureRepresentation.hxx>
543 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDraughtingSymbolRepresentation.hxx>
544 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDraughtingTextLiteralWithDelineation.hxx>
545 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDrawingDefinition.hxx>
546 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWDrawingRevision.hxx>
547 #include <RWStepShape_RWEdge.hxx>
548 #include <RWStepShape_RWEdgeCurve.hxx>
549 #include <RWStepShape_RWEdgeLoop.hxx>
550 #include <RWStepGeom_RWElementarySurface.hxx>
551 #include <RWStepGeom_RWEllipse.hxx>
552 #include <RWStepGeom_RWEvaluatedDegeneratePcurve.hxx>
553 #include <RWStepBasic_RWExternalSource.hxx>
554 #include <RWStepVisual_RWExternallyDefinedCurveFont.hxx>
555 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWExternallyDefinedHatchStyle.hxx>
556 #include <RWStepBasic_RWExternallyDefinedItem.hxx>
557 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWExternallyDefinedSymbol.hxx>
558 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWExternallyDefinedTextFont.hxx>
559 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWExternallyDefinedTileStyle.hxx>
560 #include <RWStepShape_RWExtrudedAreaSolid.hxx>
561 #include <RWStepShape_RWFace.hxx>
562 // Removed from Rev2 to Rev4 :  <RWStepShape_RWFaceBasedSurfaceModel.hxx>
563 #include <RWStepShape_RWFaceBound.hxx>
564 #include <RWStepShape_RWFaceOuterBound.hxx>
565 #include <RWStepShape_RWFaceSurface.hxx>
566 #include <RWStepShape_RWFacetedBrep.hxx>
567 #include <RWStepShape_RWFacetedBrepShapeRepresentation.hxx>
568 #include <RWStepVisual_RWFillAreaStyle.hxx>
569 #include <RWStepVisual_RWFillAreaStyleColour.hxx>
570 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWFillAreaStyleHatching.hxx>
571 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWFillAreaStyleTileSymbolWithStyle.hxx>
572 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWFillAreaStyleTiles.hxx>
573 #include <RWStepRepr_RWFunctionallyDefinedTransformation.hxx>
574 #include <RWStepShape_RWGeometricCurveSet.hxx>
575 #include <RWStepGeom_RWGeometricRepresentationContext.hxx>
576 #include <RWStepGeom_RWGeometricRepresentationItem.hxx>
577 #include <RWStepShape_RWGeometricSet.hxx>
578 #include <RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation.hxx>
579 #include <RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation.hxx>
580 #include <RWStepRepr_RWGlobalUncertaintyAssignedContext.hxx>
581 #include <RWStepRepr_RWGlobalUnitAssignedContext.hxx>
582 #include <RWStepBasic_RWGroup.hxx>
583 #include <RWStepBasic_RWGroupRelationship.hxx>
584 #include <RWStepShape_RWHalfSpaceSolid.hxx>
585 #include <RWStepGeom_RWHyperbola.hxx>
586 #include <RWStepGeom_RWIntersectionCurve.hxx>
587 #include <RWStepVisual_RWInvisibility.hxx>
588 #include <RWStepBasic_RWLengthMeasureWithUnit.hxx>
589 #include <RWStepBasic_RWLengthUnit.hxx>
590 #include <RWStepGeom_RWLine.hxx>
591 #include <RWStepBasic_RWLocalTime.hxx>
592 #include <RWStepShape_RWLoop.hxx>
593 #include <RWStepShape_RWManifoldSolidBrep.hxx>
594 #include <RWStepShape_RWManifoldSurfaceShapeRepresentation.hxx>
595 #include <RWStepRepr_RWMappedItem.hxx>
596 #include <RWStepBasic_RWMeasureWithUnit.hxx>
597 #include <RWStepVisual_RWMechanicalDesignGeometricPresentationArea.hxx>
598 #include <RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation.hxx>
599 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWMechanicalDesignPresentationArea.hxx>
600 #include <RWStepBasic_RWNamedUnit.hxx>
601 // Removed from Rev2 to Rev4 :  <RWStepShape_RWNonManifoldSurfaceShapeRepresentation.hxx>
602 #include <RWStepGeom_RWOffsetCurve3d.hxx>
603 #include <RWStepGeom_RWOffsetSurface.hxx>
604 // Removed from Rev2 to Rev4 :  <RWStepAP214_RWOneDirectionRepeatFactor.hxx>
605 #include <RWStepShape_RWOpenShell.hxx>
606 #include <RWStepBasic_RWOrdinalDate.hxx>
607 #include <RWStepBasic_RWOrganization.hxx>
608 #include <RWStepBasic_RWOrganizationRole.hxx>
609 #include <RWStepBasic_RWOrganizationalAddress.hxx>
610 #include <RWStepShape_RWOrientedClosedShell.hxx>
611 #include <RWStepShape_RWOrientedEdge.hxx>
612 #include <RWStepShape_RWOrientedFace.hxx>
613 #include <RWStepShape_RWOrientedOpenShell.hxx>
614 #include <RWStepShape_RWOrientedPath.hxx>
615 #include <RWStepGeom_RWOuterBoundaryCurve.hxx>
616 #include <RWStepVisual_RWOverRidingStyledItem.hxx>
617 #include <RWStepGeom_RWParabola.hxx>
618 #include <RWStepRepr_RWParametricRepresentationContext.hxx>
619 #include <RWStepShape_RWPath.hxx>
620 #include <RWStepGeom_RWPcurve.hxx>
621 #include <RWStepBasic_RWPerson.hxx>
622 #include <RWStepBasic_RWPersonAndOrganization.hxx>
623 #include <RWStepBasic_RWPersonAndOrganizationRole.hxx>
624 #include <RWStepBasic_RWPersonalAddress.hxx>
625 #include <RWStepGeom_RWPlacement.hxx>
626 #include <RWStepVisual_RWPlanarBox.hxx>
627 #include <RWStepVisual_RWPlanarExtent.hxx>
628 #include <RWStepGeom_RWPlane.hxx>
629 #include <RWStepBasic_RWPlaneAngleMeasureWithUnit.hxx>
630 #include <RWStepBasic_RWPlaneAngleUnit.hxx>
631 #include <RWStepGeom_RWPoint.hxx>
632 #include <RWStepGeom_RWPointOnCurve.hxx>
633 #include <RWStepGeom_RWPointOnSurface.hxx>
634 #include <RWStepGeom_RWPointReplica.hxx>
635 #include <RWStepVisual_RWPointStyle.hxx>
636 #include <RWStepShape_RWPolyLoop.hxx>
637 #include <RWStepGeom_RWPolyline.hxx>
638 #include <RWStepVisual_RWPreDefinedColour.hxx>
639 #include <RWStepVisual_RWPreDefinedCurveFont.hxx>
640 #include <RWStepVisual_RWPreDefinedItem.hxx>
641 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWPreDefinedSymbol.hxx>
642 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWPreDefinedTextFont.hxx>
643 #include <RWStepVisual_RWPresentationArea.hxx>
644 #include <RWStepVisual_RWPresentationLayerAssignment.hxx>
645 #include <RWStepVisual_RWPresentationRepresentation.hxx>
646 #include <RWStepVisual_RWPresentationSet.hxx>
647 #include <RWStepVisual_RWPresentationSize.hxx>
648 #include <RWStepVisual_RWPresentationStyleAssignment.hxx>
649 #include <RWStepVisual_RWPresentationStyleByContext.hxx>
650 #include <RWStepVisual_RWPresentationView.hxx>
651 #include <RWStepBasic_RWProduct.hxx>
652 #include <RWStepBasic_RWProductCategory.hxx>
653 #include <RWStepBasic_RWProductContext.hxx>
654 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWProductDataRepresentationView.hxx>
655 #include <RWStepBasic_RWProductDefinition.hxx>
656 #include <RWStepBasic_RWProductDefinitionContext.hxx>
657 #include <RWStepBasic_RWProductDefinitionFormation.hxx>
658 #include <RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource.hxx>
659 #include <RWStepRepr_RWProductDefinitionShape.hxx>
660 #include <RWStepBasic_RWProductRelatedProductCategory.hxx>
661 #include <RWStepBasic_RWProductType.hxx>
662 #include <RWStepRepr_RWPropertyDefinition.hxx>
663 #include <RWStepRepr_RWPropertyDefinitionRepresentation.hxx>
664 #include <RWStepGeom_RWQuasiUniformCurve.hxx>
665 #include <RWStepGeom_RWQuasiUniformSurface.hxx>
666 #include <RWStepBasic_RWRatioMeasureWithUnit.hxx>
667 #include <RWStepGeom_RWRationalBSplineCurve.hxx>
668 #include <RWStepGeom_RWRationalBSplineSurface.hxx>
669 #include <RWStepGeom_RWRectangularCompositeSurface.hxx>
670 #include <RWStepGeom_RWRectangularTrimmedSurface.hxx>
671 #include <RWStepAP214_RWRepItemGroup.hxx>
672 #include <RWStepGeom_RWReparametrisedCompositeCurveSegment.hxx>
673 #include <RWStepRepr_RWRepresentation.hxx>
674 #include <RWStepRepr_RWRepresentationContext.hxx>
675 #include <RWStepRepr_RWRepresentationItem.hxx>
676 #include <RWStepRepr_RWRepresentationMap.hxx>
677 #include <RWStepRepr_RWRepresentationRelationship.hxx>
678 #include <RWStepShape_RWRevolvedAreaSolid.hxx>
679 #include <RWStepShape_RWRightAngularWedge.hxx>
680 #include <RWStepShape_RWRightCircularCone.hxx>
681 #include <RWStepShape_RWRightCircularCylinder.hxx>
682 #include <RWStepGeom_RWSeamCurve.hxx>
683 #include <RWStepBasic_RWSecurityClassification.hxx>
684 #include <RWStepBasic_RWSecurityClassificationLevel.hxx>
685 #include <RWStepRepr_RWShapeAspect.hxx>
686 #include <RWStepRepr_RWShapeAspectRelationship.hxx>
687 #include <RWStepRepr_RWShapeAspectTransition.hxx>
688 #include <RWStepShape_RWShapeDefinitionRepresentation.hxx>
689 #include <RWStepShape_RWShapeRepresentation.hxx>
690 #include <RWStepShape_RWShellBasedSurfaceModel.hxx>
691 #include <RWStepBasic_RWSiUnit.hxx>
692 #include <RWStepBasic_RWSolidAngleMeasureWithUnit.hxx>
693 #include <RWStepShape_RWSolidModel.hxx>
694 #include <RWStepShape_RWSolidReplica.hxx>
695 #include <RWStepShape_RWSphere.hxx>
696 #include <RWStepGeom_RWSphericalSurface.hxx>
697 #include <RWStepVisual_RWStyledItem.hxx>
698 #include <RWStepGeom_RWSurface.hxx>
699 #include <RWStepGeom_RWSurfaceCurve.hxx>
700 #include <RWStepGeom_RWSurfaceOfLinearExtrusion.hxx>
701 #include <RWStepGeom_RWSurfaceOfRevolution.hxx>
702 #include <RWStepGeom_RWSurfaceCurveAndBoundedCurve.hxx>
703 #include <RWStepGeom_RWSurfacePatch.hxx>
704 #include <RWStepGeom_RWSurfaceReplica.hxx>
705 #include <RWStepVisual_RWSurfaceSideStyle.hxx>
706 #include <RWStepVisual_RWSurfaceStyleBoundary.hxx>
707 #include <RWStepVisual_RWSurfaceStyleControlGrid.hxx>
708 #include <RWStepVisual_RWSurfaceStyleFillArea.hxx>
709 #include <RWStepVisual_RWSurfaceStyleParameterLine.hxx>
710 #include <RWStepVisual_RWSurfaceStyleSegmentationCurve.hxx>
711 #include <RWStepVisual_RWSurfaceStyleSilhouette.hxx>
712 #include <RWStepVisual_RWSurfaceStyleUsage.hxx>
713 #include <RWStepShape_RWSweptAreaSolid.hxx>
714 #include <RWStepGeom_RWSweptSurface.hxx>
715 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWSymbolColour.hxx>
716 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWSymbolRepresentation.hxx>
717 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWSymbolRepresentationMap.hxx>
718 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWSymbolStyle.hxx>
719 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWSymbolTarget.hxx>
720 #include <RWStepVisual_RWTemplate.hxx>
721 #include <RWStepVisual_RWTemplateInstance.hxx>
722 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTerminatorSymbol.hxx>
723 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
724 #include <RWStepVisual_RWTextLiteral.hxx>
725 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTextLiteralWithAssociatedCurves.hxx>
726 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTextLiteralWithBlankingBox.hxx>
727 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTextLiteralWithDelineation.hxx>
728 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTextLiteralWithExtent.hxx>
729 // Removed from CC1-Rev2 to CC1-Rev4, re-added CC2-Rev4 :
730 #include <RWStepVisual_RWTextStyle.hxx>
731 #include <RWStepVisual_RWTextStyleForDefinedFont.hxx>
732 #include <RWStepVisual_RWTextStyleWithBoxCharacteristics.hxx>
733 // Removed from Rev2 to Rev4 :  <RWStepVisual_RWTextStyleWithMirror.hxx>
734 #include <RWStepShape_RWTopologicalRepresentationItem.hxx>
735 #include <RWStepGeom_RWToroidalSurface.hxx>
736 #include <RWStepShape_RWTorus.hxx>
737 #include <RWStepShape_RWTransitionalShapeRepresentation.hxx>
738 #include <RWStepGeom_RWTrimmedCurve.hxx>
739 // Removed from Rev2 to Rev4 :  <RWStepAP214_RWTwoDirectionRepeatFactor.hxx>
740 #include <RWStepBasic_RWUncertaintyMeasureWithUnit.hxx>
741 #include <RWStepGeom_RWUniformCurve.hxx>
742 #include <RWStepGeom_RWUniformSurface.hxx>
743 #include <RWStepGeom_RWVector.hxx>
744 #include <RWStepShape_RWVertex.hxx>
745 #include <RWStepShape_RWVertexLoop.hxx>
746 #include <RWStepShape_RWVertexPoint.hxx>
747 #include <RWStepVisual_RWViewVolume.hxx>
748 #include <RWStepBasic_RWWeekOfYearAndDayDate.hxx>
749 #include <RWStepGeom_RWUniformCurveAndRationalBSplineCurve.hxx>
750 #include <RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.hxx>
751 #include <RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.hxx>
752 #include <RWStepGeom_RWBezierCurveAndRationalBSplineCurve.hxx>
753 #include <RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.hxx>
754 #include <RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.hxx>
755 #include <RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.hxx>
756 #include <RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.hxx>
757 #include <RWStepBasic_RWSiUnitAndLengthUnit.hxx>
758 #include <RWStepBasic_RWSiUnitAndPlaneAngleUnit.hxx>
759 #include <RWStepBasic_RWConversionBasedUnitAndLengthUnit.hxx>
760 #include <RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.hxx>
761 #include <RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.hxx>
762 #include <RWStepShape_RWLoopAndPath.hxx>
763
764 // Added by FMA  for Rev4
765 #include <RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.hxx>
766 #include <RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.hxx>
767 #include <RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.hxx>
768 #include <RWStepBasic_RWSiUnitAndSolidAngleUnit.hxx>
769 #include <RWStepBasic_RWSolidAngleUnit.hxx>
770 #include <RWStepShape_RWFacetedBrepAndBrepWithVoids.hxx>
771 #include <RWStepBasic_RWMechanicalContext.hxx>
772
773 // full Rev4
774 #include <RWStepBasic_RWSiUnitAndRatioUnit.hxx>
775 #include <RWStepBasic_RWSiUnitAndTimeUnit.hxx>
776 #include <RWStepBasic_RWConversionBasedUnitAndRatioUnit.hxx>
777 #include <RWStepBasic_RWConversionBasedUnitAndTimeUnit.hxx>
778
779 #include <RWStepBasic_RWApprovalDateTime.hxx>
780 #include <RWStepBasic_RWDerivedUnit.hxx>
781 #include <RWStepBasic_RWDerivedUnitElement.hxx>
782 #include <RWStepRepr_RWItemDefinedTransformation.hxx>
783 #include <RWStepVisual_RWPresentedItemRepresentation.hxx>
784 #include <RWStepVisual_RWPresentationLayerUsage.hxx>
785
786
787 //  Added by CKY (JUL-1998) for AP214 CC1 -> CC2
788
789 #include <RWStepAP214_RWAutoDesignDocumentReference.hxx>
790 #include <RWStepBasic_RWDocument.hxx>
791 #include <RWStepBasic_RWDocumentRelationship.hxx>
792 #include <RWStepBasic_RWDocumentType.hxx>
793 #include <RWStepBasic_RWDocumentUsageConstraint.hxx>
794 #include <RWStepBasic_RWEffectivity.hxx>
795 #include <RWStepBasic_RWProductDefinitionEffectivity.hxx>
796 #include <RWStepBasic_RWProductDefinitionRelationship.hxx>
797
798 #include <RWStepBasic_RWProductDefinitionWithAssociatedDocuments.hxx>
799
800
801 #include <RWStepRepr_RWMakeFromUsageOption.hxx>
802 #include <RWStepRepr_RWAssemblyComponentUsage.hxx>
803 #include <RWStepRepr_RWQuantifiedAssemblyComponentUsage.hxx>
804 #include <RWStepRepr_RWSpecifiedHigherUsageOccurrence.hxx>
805 #include <RWStepRepr_RWAssemblyComponentUsageSubstitute.hxx>
806 #include <RWStepRepr_RWRepresentationRelationshipWithTransformation.hxx>
807 #include <RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.hxx>
808 #include <RWStepRepr_RWMaterialDesignation.hxx>
809
810 #include <RWStepShape_RWContextDependentShapeRepresentation.hxx>
811 //Added from CC2 to DIS :j4
812
813 #include <StepAP214_AppliedDateAndTimeAssignment.hxx>
814 #include <StepAP214_AppliedDateAssignment.hxx>
815 #include <StepAP214_AppliedApprovalAssignment.hxx>
816 #include <StepAP214_AppliedDocumentReference.hxx>
817 #include <StepAP214_AppliedGroupAssignment.hxx>
818 #include <StepAP214_AppliedOrganizationAssignment.hxx>
819 #include <StepAP214_AppliedPersonAndOrganizationAssignment.hxx>
820 #include <StepAP214_AppliedPresentedItem.hxx>
821 #include <StepAP214_AppliedSecurityClassificationAssignment.hxx>
822 #include <StepBasic_DocumentFile.hxx>
823 #include <StepBasic_CharacterizedObject.hxx>  
824 #include <StepShape_ExtrudedFaceSolid.hxx>
825 #include <StepShape_RevolvedFaceSolid.hxx>  
826 #include <StepShape_SweptFaceSolid.hxx>  
827
828 #include <RWStepAP214_RWAppliedDateAndTimeAssignment.hxx>
829 #include <RWStepAP214_RWAppliedDateAssignment.hxx>
830 #include <RWStepAP214_RWAppliedApprovalAssignment.hxx>
831 #include <RWStepAP214_RWAppliedDocumentReference.hxx>
832 #include <RWStepAP214_RWAppliedGroupAssignment.hxx>
833 #include <RWStepAP214_RWAppliedOrganizationAssignment.hxx>
834 #include <RWStepAP214_RWAppliedPersonAndOrganizationAssignment.hxx>
835 #include <RWStepAP214_RWAppliedPresentedItem.hxx>
836 #include <RWStepAP214_RWAppliedSecurityClassificationAssignment.hxx>
837 #include <RWStepBasic_RWDocumentFile.hxx>
838 #include <RWStepBasic_RWCharacterizedObject.hxx>  
839 #include <RWStepShape_RWExtrudedFaceSolid.hxx>
840 #include <RWStepShape_RWRevolvedFaceSolid.hxx>  
841 #include <RWStepShape_RWSweptFaceSolid.hxx> 
842
843 // Added by ABV 08.09.99 for CAX TRJ 2 (validation properties)
844 #include <StepRepr_MeasureRepresentationItem.hxx>
845 #include <RWStepRepr_RWMeasureRepresentationItem.hxx>
846 #include <StepBasic_AreaUnit.hxx>
847 #include <StepBasic_VolumeUnit.hxx>
848 #include <StepBasic_SiUnitAndAreaUnit.hxx>
849 #include <StepBasic_SiUnitAndVolumeUnit.hxx>
850 #include <StepBasic_ConversionBasedUnitAndAreaUnit.hxx>
851 #include <StepBasic_ConversionBasedUnitAndVolumeUnit.hxx>
852 #include <RWStepBasic_RWConversionBasedUnitAndVolumeUnit.hxx>
853 #include <RWStepBasic_RWConversionBasedUnitAndAreaUnit.hxx>
854
855 // Added by ABV 10.11.99 for AP203
856 #include <StepBasic_Action.hxx>
857 #include <StepBasic_ActionAssignment.hxx>
858 #include <StepBasic_ActionMethod.hxx>
859 #include <StepBasic_ActionRequestAssignment.hxx>
860 #include <StepAP203_CcDesignApproval.hxx>
861 #include <StepAP203_CcDesignCertification.hxx>
862 #include <StepAP203_CcDesignContract.hxx>
863 #include <StepAP203_CcDesignDateAndTimeAssignment.hxx>
864 #include <StepAP203_CcDesignPersonAndOrganizationAssignment.hxx>
865 #include <StepAP203_CcDesignSecurityClassification.hxx>
866 #include <StepAP203_CcDesignSpecificationReference.hxx>
867 #include <StepBasic_Certification.hxx>
868 #include <StepBasic_CertificationAssignment.hxx>
869 #include <StepBasic_CertificationType.hxx>
870 #include <StepAP203_Change.hxx>
871 #include <StepAP203_ChangeRequest.hxx>
872 #include <StepRepr_ConfigurationDesign.hxx>
873 #include <StepRepr_ConfigurationEffectivity.hxx>
874 #include <StepBasic_Contract.hxx>
875 #include <StepBasic_ContractAssignment.hxx>
876 #include <StepBasic_ContractType.hxx>
877 #include <StepRepr_ProductConcept.hxx>
878 #include <StepBasic_ProductConceptContext.hxx>
879 #include <StepAP203_StartRequest.hxx>
880 #include <StepAP203_StartWork.hxx>
881 #include <StepBasic_VersionedActionRequest.hxx>
882 #include <StepBasic_ProductCategoryRelationship.hxx>
883 #include <StepBasic_ActionRequestSolution.hxx>
884 #include <RWStepBasic_RWAction.hxx>
885 #include <RWStepBasic_RWActionAssignment.hxx>
886 #include <RWStepBasic_RWActionMethod.hxx>
887 #include <RWStepBasic_RWActionRequestAssignment.hxx>
888 #include <RWStepAP203_RWCcDesignApproval.hxx>
889 #include <RWStepAP203_RWCcDesignCertification.hxx>
890 #include <RWStepAP203_RWCcDesignContract.hxx>
891 #include <RWStepAP203_RWCcDesignDateAndTimeAssignment.hxx>
892 #include <RWStepAP203_RWCcDesignPersonAndOrganizationAssignment.hxx>
893 #include <RWStepAP203_RWCcDesignSecurityClassification.hxx>
894 #include <RWStepAP203_RWCcDesignSpecificationReference.hxx>
895 #include <RWStepBasic_RWCertification.hxx>
896 #include <RWStepBasic_RWCertificationAssignment.hxx>
897 #include <RWStepBasic_RWCertificationType.hxx>
898 #include <RWStepAP203_RWChange.hxx>
899 #include <RWStepAP203_RWChangeRequest.hxx>
900 #include <RWStepRepr_RWConfigurationDesign.hxx>
901 #include <RWStepRepr_RWConfigurationEffectivity.hxx>
902 #include <RWStepBasic_RWContract.hxx>
903 #include <RWStepBasic_RWContractAssignment.hxx>
904 #include <RWStepBasic_RWContractType.hxx>
905 #include <RWStepRepr_RWProductConcept.hxx>
906 #include <RWStepBasic_RWProductConceptContext.hxx>
907 #include <RWStepAP203_RWStartRequest.hxx>
908 #include <RWStepAP203_RWStartWork.hxx>
909 #include <RWStepBasic_RWVersionedActionRequest.hxx>
910 #include <RWStepBasic_RWProductCategoryRelationship.hxx>
911 #include <RWStepBasic_RWActionRequestSolution.hxx>
912
913 // Added by ABV 13.01.00 for CAX-IF TRJ3
914 #include <StepVisual_DraughtingModel.hxx>
915 #include <RWStepVisual_RWDraughtingModel.hxx>
916
917 // Added by ABV 18.04.00 for CAX-IF TRJ4 (dimensions)
918 #include <StepShape_AngularLocation.hxx>
919 #include <StepShape_AngularSize.hxx>
920 #include <StepShape_DimensionalCharacteristicRepresentation.hxx>
921 #include <StepShape_DimensionalLocation.hxx>
922 #include <StepShape_DimensionalLocationWithPath.hxx>
923 #include <StepShape_DimensionalSize.hxx>
924 #include <StepShape_DimensionalSizeWithPath.hxx>
925 #include <StepShape_ShapeDimensionRepresentation.hxx>
926 #include <RWStepShape_RWAngularLocation.hxx>
927 #include <RWStepShape_RWAngularSize.hxx>
928 #include <RWStepShape_RWDimensionalCharacteristicRepresentation.hxx>
929 #include <RWStepShape_RWDimensionalLocation.hxx>
930 #include <RWStepShape_RWDimensionalLocationWithPath.hxx>
931 #include <RWStepShape_RWDimensionalSize.hxx>
932 #include <RWStepShape_RWDimensionalSizeWithPath.hxx>
933 #include <RWStepShape_RWShapeDimensionRepresentation.hxx>
934
935 // Added by ABV 10.05.00 for CAX-IF TRJ4 (external references)
936 #include <StepBasic_DocumentRepresentationType.hxx>
937 #include <StepBasic_ObjectRole.hxx>
938 #include <StepBasic_RoleAssociation.hxx>
939 #include <StepBasic_IdentificationRole.hxx>
940 #include <StepBasic_IdentificationAssignment.hxx>
941 #include <StepBasic_ExternalIdentificationAssignment.hxx>
942 #include <StepBasic_EffectivityAssignment.hxx>
943 #include <StepBasic_NameAssignment.hxx>
944 #include <StepBasic_GeneralProperty.hxx>
945 #include <StepAP214_Class.hxx>
946 #include <StepAP214_ExternallyDefinedClass.hxx>
947 #include <StepAP214_ExternallyDefinedGeneralProperty.hxx>
948 #include <StepAP214_AppliedExternalIdentificationAssignment.hxx>
949 #include <RWStepBasic_RWDocumentRepresentationType.hxx>
950 #include <RWStepBasic_RWObjectRole.hxx>
951 #include <RWStepBasic_RWRoleAssociation.hxx>
952 #include <RWStepBasic_RWIdentificationRole.hxx>
953 #include <RWStepBasic_RWIdentificationAssignment.hxx>
954 #include <RWStepBasic_RWExternalIdentificationAssignment.hxx>
955 #include <RWStepBasic_RWEffectivityAssignment.hxx>
956 #include <RWStepBasic_RWNameAssignment.hxx>
957 #include <RWStepBasic_RWGeneralProperty.hxx>
958 #include <RWStepAP214_RWClass.hxx>
959 #include <RWStepAP214_RWExternallyDefinedClass.hxx>
960 #include <RWStepAP214_RWExternallyDefinedGeneralProperty.hxx>
961 #include <RWStepAP214_RWAppliedExternalIdentificationAssignment.hxx>
962 #include <StepShape_DefinitionalRepresentationAndShapeRepresentation.hxx>
963 #include <RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.hxx>
964
965 // Added by CKY , 25 APR 2001 for Dimensional Tolerances (CAX-IF TRJ7)
966 #include <StepRepr_CompositeShapeAspect.hxx>
967 #include <StepRepr_DerivedShapeAspect.hxx>
968 #include <StepRepr_Extension.hxx>
969 #include <StepShape_DirectedDimensionalLocation.hxx>
970 #include <StepShape_LimitsAndFits.hxx>
971 #include <StepShape_ToleranceValue.hxx>
972 #include <StepShape_MeasureQualification.hxx>
973 #include <StepShape_PlusMinusTolerance.hxx>
974 #include <StepShape_PrecisionQualifier.hxx>
975 #include <StepShape_TypeQualifier.hxx>
976 #include <StepShape_QualifiedRepresentationItem.hxx>
977 #include <StepShape_MeasureRepresentationItemAndQualifiedRepresentationItem.hxx>
978 #include <StepRepr_CompoundRepresentationItem.hxx>
979 #include <StepRepr_ValueRange.hxx>
980 #include <StepRepr_ShapeAspectDerivingRelationship.hxx>
981 #include <RWStepShape_RWLimitsAndFits.hxx>
982 #include <RWStepShape_RWToleranceValue.hxx>
983 #include <RWStepShape_RWMeasureQualification.hxx>
984 #include <RWStepShape_RWPlusMinusTolerance.hxx>
985 #include <RWStepShape_RWPrecisionQualifier.hxx>
986 #include <RWStepShape_RWTypeQualifier.hxx>
987 #include <RWStepShape_RWQualifiedRepresentationItem.hxx>
988 #include <RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.hxx>
989 #include <RWStepRepr_RWCompoundRepresentationItem.hxx>
990
991 // abv 28.12.01: CAX-IF TRJ9: edge_based_wireframe
992 #include <StepShape_CompoundShapeRepresentation.hxx>
993 #include <StepShape_ConnectedEdgeSet.hxx>
994 #include <StepShape_ConnectedFaceShapeRepresentation.hxx>
995 #include <StepShape_EdgeBasedWireframeModel.hxx>
996 #include <StepShape_EdgeBasedWireframeShapeRepresentation.hxx>
997 #include <StepShape_FaceBasedSurfaceModel.hxx>
998 #include <StepShape_NonManifoldSurfaceShapeRepresentation.hxx>
999 #include <RWStepShape_RWCompoundShapeRepresentation.hxx>
1000 #include <RWStepShape_RWConnectedEdgeSet.hxx>
1001 #include <RWStepShape_RWConnectedFaceShapeRepresentation.hxx>
1002 #include <RWStepShape_RWEdgeBasedWireframeModel.hxx>
1003 #include <RWStepShape_RWEdgeBasedWireframeShapeRepresentation.hxx>
1004 #include <RWStepShape_RWFaceBasedSurfaceModel.hxx>
1005 #include <RWStepShape_RWNonManifoldSurfaceShapeRepresentation.hxx>
1006 #include <StepGeom_OrientedSurface.hxx>
1007 #include <StepShape_Subface.hxx>
1008 #include <StepShape_Subedge.hxx>
1009 #include <StepShape_SeamEdge.hxx>
1010 #include <StepShape_ConnectedFaceSubSet.hxx>
1011 #include <RWStepGeom_RWOrientedSurface.hxx>
1012 #include <RWStepShape_RWSubface.hxx>
1013 #include <RWStepShape_RWSubedge.hxx>
1014 #include <RWStepShape_RWSeamEdge.hxx>
1015 #include <RWStepShape_RWConnectedFaceSubSet.hxx>
1016 #include <RWStepShape_RWConnectedFaceSubSet.hxx>
1017 #include <RWStepShape_RWConnectedFaceSubSet.hxx>
1018 //Addef for AP209
1019 #include <StepBasic_EulerAngles.hxx>
1020 #include <StepBasic_MassUnit.hxx>
1021 #include <StepBasic_ThermodynamicTemperatureUnit.hxx>
1022 #include <StepElement_AnalysisItemWithinRepresentation.hxx>
1023 #include <StepElement_Curve3dElementDescriptor.hxx>
1024 #include <StepElement_CurveElementEndReleasePacket.hxx>
1025 #include <StepElement_CurveElementSectionDefinition.hxx>
1026 #include <StepElement_CurveElementSectionDerivedDefinitions.hxx>
1027 #include <StepElement_ElementDescriptor.hxx>
1028 #include <StepElement_ElementMaterial.hxx>
1029 #include <StepElement_Surface3dElementDescriptor.hxx>
1030 #include <StepElement_SurfaceElementProperty.hxx>
1031 #include <StepElement_SurfaceSection.hxx>
1032 #include <StepElement_SurfaceSectionField.hxx>
1033 #include <StepElement_SurfaceSectionFieldConstant.hxx>
1034 #include <StepElement_SurfaceSectionFieldVarying.hxx>
1035 #include <StepElement_UniformSurfaceSection.hxx>
1036 #include <StepElement_Volume3dElementDescriptor.hxx>
1037 #include <StepFEA_AlignedCurve3dElementCoordinateSystem.hxx>
1038 #include <StepFEA_ArbitraryVolume3dElementCoordinateSystem.hxx>
1039 #include <StepFEA_Curve3dElementProperty.hxx>
1040 #include <StepFEA_Curve3dElementRepresentation.hxx>
1041 #include <StepFEA_Node.hxx>
1042 #include <StepFEA_CurveElementEndCoordinateSystem.hxx>
1043 #include <StepFEA_CurveElementEndOffset.hxx>
1044 #include <StepFEA_CurveElementEndRelease.hxx>
1045 #include <StepFEA_CurveElementInterval.hxx>
1046 #include <StepFEA_CurveElementIntervalConstant.hxx>
1047 #include <StepFEA_DummyNode.hxx>
1048 #include <StepFEA_CurveElementLocation.hxx>
1049 #include <StepFEA_ElementGeometricRelationship.hxx>
1050 #include <StepFEA_ElementGroup.hxx>
1051 #include <StepFEA_ElementRepresentation.hxx>
1052 #include <StepFEA_FeaAreaDensity.hxx>
1053 #include <StepFEA_FeaAxis2Placement3d.hxx>
1054 #include <StepFEA_FeaGroup.hxx>
1055 #include <StepFEA_FeaLinearElasticity.hxx>
1056 #include <StepFEA_FeaMassDensity.hxx>
1057 #include <StepFEA_FeaMaterialPropertyRepresentation.hxx>
1058 #include <StepFEA_FeaMaterialPropertyRepresentationItem.hxx>
1059 #include <StepFEA_FeaModel.hxx>
1060 #include <StepFEA_FeaModel3d.hxx>
1061 #include <StepFEA_FeaMoistureAbsorption.hxx>
1062 #include <StepFEA_FeaParametricPoint.hxx>
1063 #include <StepFEA_FeaRepresentationItem.hxx>
1064 #include <StepFEA_FeaSecantCoefficientOfLinearThermalExpansion.hxx>
1065 #include <StepFEA_FeaShellBendingStiffness.hxx>
1066 #include <StepFEA_FeaShellMembraneBendingCouplingStiffness.hxx>
1067 #include <StepFEA_FeaShellMembraneStiffness.hxx>
1068 #include <StepFEA_FeaShellShearStiffness.hxx>
1069 #include <StepFEA_GeometricNode.hxx>
1070 #include <StepFEA_FeaTangentialCoefficientOfLinearThermalExpansion.hxx>
1071 #include <StepFEA_NodeGroup.hxx>
1072 #include <StepFEA_NodeRepresentation.hxx>
1073 #include <StepFEA_NodeSet.hxx>
1074 #include <StepFEA_NodeWithSolutionCoordinateSystem.hxx>
1075 #include <StepFEA_NodeWithVector.hxx>
1076 #include <StepFEA_ParametricCurve3dElementCoordinateDirection.hxx>
1077 #include <StepFEA_ParametricCurve3dElementCoordinateSystem.hxx>
1078 #include <StepFEA_ParametricSurface3dElementCoordinateSystem.hxx>
1079 #include <StepFEA_Surface3dElementRepresentation.hxx>
1080 #include <StepFEA_SymmetricTensor22d.hxx>
1081 #include <StepFEA_SymmetricTensor42d.hxx>
1082 #include <StepFEA_SymmetricTensor43d.hxx>
1083 #include <StepFEA_Volume3dElementRepresentation.hxx>
1084 #include <StepRepr_DataEnvironment.hxx>
1085 #include <StepRepr_MaterialPropertyRepresentation.hxx>
1086 #include <StepRepr_PropertyDefinitionRelationship.hxx>
1087 #include <StepShape_PointRepresentation.hxx>
1088 #include <StepRepr_MaterialProperty.hxx>
1089 #include <StepFEA_FeaModelDefinition.hxx>
1090 #include <StepFEA_FreedomAndCoefficient.hxx>
1091 #include <StepFEA_FreedomsList.hxx>
1092 #include <StepBasic_ProductDefinitionFormationRelationship.hxx>
1093 #include <StepFEA_NodeDefinition.hxx>
1094 #include <StepRepr_StructuralResponseProperty.hxx>
1095 #include <StepRepr_StructuralResponsePropertyDefinitionRepresentation.hxx>
1096 #include <RWStepBasic_RWEulerAngles.hxx>
1097 #include <RWStepBasic_RWMassUnit.hxx>
1098 #include <RWStepBasic_RWThermodynamicTemperatureUnit.hxx>
1099 #include <RWStepElement_RWAnalysisItemWithinRepresentation.hxx>
1100 #include <RWStepElement_RWCurve3dElementDescriptor.hxx>
1101 #include <RWStepElement_RWCurveElementEndReleasePacket.hxx>
1102 #include <RWStepElement_RWCurveElementSectionDefinition.hxx>
1103 #include <RWStepElement_RWCurveElementSectionDerivedDefinitions.hxx>
1104 #include <RWStepElement_RWElementDescriptor.hxx>
1105 #include <RWStepElement_RWElementMaterial.hxx>
1106 #include <RWStepElement_RWSurface3dElementDescriptor.hxx>
1107 #include <RWStepElement_RWSurfaceElementProperty.hxx>
1108 #include <RWStepElement_RWSurfaceSection.hxx>
1109 #include <RWStepElement_RWSurfaceSectionField.hxx>
1110 #include <RWStepElement_RWSurfaceSectionFieldConstant.hxx>
1111 #include <RWStepElement_RWSurfaceSectionFieldVarying.hxx>
1112 #include <RWStepElement_RWUniformSurfaceSection.hxx>
1113 #include <RWStepElement_RWVolume3dElementDescriptor.hxx>
1114 #include <RWStepFEA_RWAlignedCurve3dElementCoordinateSystem.hxx>
1115 #include <RWStepFEA_RWArbitraryVolume3dElementCoordinateSystem.hxx>
1116 #include <RWStepFEA_RWCurve3dElementProperty.hxx>
1117 #include <RWStepFEA_RWCurve3dElementRepresentation.hxx>
1118 #include <RWStepFEA_RWNode.hxx>
1119 #include <RWStepFEA_RWCurveElementEndOffset.hxx>
1120 #include <RWStepFEA_RWCurveElementEndRelease.hxx>
1121 #include <RWStepFEA_RWCurveElementInterval.hxx>
1122 #include <RWStepFEA_RWCurveElementIntervalConstant.hxx>
1123 #include <RWStepFEA_RWDummyNode.hxx>
1124 #include <RWStepFEA_RWCurveElementLocation.hxx>
1125 #include <RWStepFEA_RWElementGeometricRelationship.hxx>
1126 #include <RWStepFEA_RWElementGroup.hxx>
1127 #include <RWStepFEA_RWElementRepresentation.hxx>
1128 #include <RWStepFEA_RWFeaAreaDensity.hxx>
1129 #include <RWStepFEA_RWFeaAxis2Placement3d.hxx>
1130 #include <RWStepFEA_RWFeaGroup.hxx>
1131 #include <RWStepFEA_RWFeaLinearElasticity.hxx>
1132 #include <RWStepFEA_RWFeaMassDensity.hxx>
1133 #include <RWStepFEA_RWFeaMaterialPropertyRepresentation.hxx>
1134 #include <RWStepFEA_RWFeaMaterialPropertyRepresentationItem.hxx>
1135 #include <RWStepFEA_RWFeaModel.hxx>
1136 #include <RWStepFEA_RWFeaModel3d.hxx>
1137 #include <RWStepFEA_RWFeaMoistureAbsorption.hxx>
1138 #include <RWStepFEA_RWFeaParametricPoint.hxx>
1139 #include <RWStepFEA_RWFeaRepresentationItem.hxx>
1140 #include <RWStepFEA_RWFeaSecantCoefficientOfLinearThermalExpansion.hxx>
1141 #include <RWStepFEA_RWFeaShellBendingStiffness.hxx>
1142 #include <RWStepFEA_RWFeaShellMembraneBendingCouplingStiffness.hxx>
1143 #include <RWStepFEA_RWFeaShellMembraneStiffness.hxx>
1144 #include <RWStepFEA_RWFeaShellShearStiffness.hxx>
1145 #include <RWStepFEA_RWGeometricNode.hxx>
1146 #include <RWStepFEA_RWFeaTangentialCoefficientOfLinearThermalExpansion.hxx>
1147 #include <RWStepFEA_RWNodeGroup.hxx>
1148 #include <RWStepFEA_RWNodeRepresentation.hxx>
1149 #include <RWStepFEA_RWNodeSet.hxx>
1150 #include <RWStepFEA_RWNodeWithSolutionCoordinateSystem.hxx>
1151 #include <RWStepFEA_RWNodeWithVector.hxx>
1152 #include <RWStepFEA_RWParametricCurve3dElementCoordinateDirection.hxx>
1153 #include <RWStepFEA_RWParametricCurve3dElementCoordinateSystem.hxx>
1154 #include <RWStepFEA_RWParametricSurface3dElementCoordinateSystem.hxx>
1155 #include <RWStepFEA_RWSurface3dElementRepresentation.hxx>
1156 #include <RWStepFEA_RWVolume3dElementRepresentation.hxx>
1157 #include <RWStepRepr_RWDataEnvironment.hxx>
1158 #include <RWStepRepr_RWMaterialPropertyRepresentation.hxx>
1159 #include <RWStepRepr_RWPropertyDefinitionRelationship.hxx>
1160 #include <RWStepShape_RWPointRepresentation.hxx>
1161 #include <RWStepRepr_RWMaterialProperty.hxx>
1162 #include <RWStepFEA_RWFeaModelDefinition.hxx>
1163 #include <RWStepFEA_RWFreedomAndCoefficient.hxx>
1164 #include <RWStepFEA_RWFreedomsList.hxx>
1165 #include <RWStepBasic_RWProductDefinitionFormationRelationship.hxx>
1166 #include <RWStepFEA_RWNodeDefinition.hxx>
1167 #include <RWStepRepr_RWStructuralResponseProperty.hxx>
1168 #include <RWStepRepr_RWStructuralResponsePropertyDefinitionRepresentation.hxx>
1169
1170 #include <StepBasic_SiUnitAndMassUnit.hxx>
1171 #include <StepBasic_SiUnitAndThermodynamicTemperatureUnit.hxx>
1172 #include <RWStepBasic_RWSiUnitAndMassUnit.hxx>
1173 #include <RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.hxx>
1174
1175 #include <StepFEA_AlignedSurface3dElementCoordinateSystem.hxx>
1176 #include <StepFEA_ConstantSurface3dElementCoordinateSystem.hxx>
1177 #include <RWStepFEA_RWAlignedSurface3dElementCoordinateSystem.hxx>
1178 #include <RWStepFEA_RWConstantSurface3dElementCoordinateSystem.hxx>
1179
1180 // 23.01.2003
1181 #include <StepFEA_CurveElementIntervalLinearlyVarying.hxx>
1182 #include <StepFEA_FeaCurveSectionGeometricRelationship.hxx>
1183 #include <StepFEA_FeaSurfaceSectionGeometricRelationship.hxx>
1184 #include <RWStepFEA_RWCurveElementIntervalLinearlyVarying.hxx>
1185 #include <RWStepFEA_RWFeaCurveSectionGeometricRelationship.hxx>
1186 #include <RWStepFEA_RWFeaSurfaceSectionGeometricRelationship.hxx>
1187
1188 // ptv 28.01.2003
1189 #include <StepBasic_DocumentProductAssociation.hxx>
1190 #include <StepBasic_DocumentProductEquivalence.hxx>
1191 #include <RWStepBasic_RWDocumentProductAssociation.hxx>
1192 #include <RWStepBasic_RWDocumentProductEquivalence.hxx>
1193
1194 //  TR12J 04.06.2003 G&DT entities GKA 
1195 #include <StepShape_ShapeRepresentationWithParameters.hxx>
1196 #include <StepDimTol_AngularityTolerance.hxx>
1197 #include <StepDimTol_ConcentricityTolerance.hxx>
1198 #include <StepDimTol_CircularRunoutTolerance.hxx>
1199 #include <StepDimTol_CoaxialityTolerance.hxx>
1200 #include <StepDimTol_FlatnessTolerance.hxx>
1201 #include <StepDimTol_LineProfileTolerance.hxx>
1202 #include <StepDimTol_ParallelismTolerance.hxx>
1203 #include <StepDimTol_PerpendicularityTolerance.hxx>
1204 #include <StepDimTol_PositionTolerance.hxx>
1205 #include <StepDimTol_RoundnessTolerance.hxx>
1206 #include <StepDimTol_StraightnessTolerance.hxx>
1207 #include <StepDimTol_SurfaceProfileTolerance.hxx>
1208 #include <StepDimTol_SymmetryTolerance.hxx>
1209 #include <StepDimTol_TotalRunoutTolerance.hxx>
1210 #include <StepDimTol_GeometricTolerance.hxx>
1211 #include <StepDimTol_GeometricToleranceWithDatumReference.hxx>
1212 #include <StepDimTol_ModifiedGeometricTolerance.hxx>
1213 #include <StepDimTol_Datum.hxx>
1214 #include <StepDimTol_DatumFeature.hxx>
1215 #include <StepDimTol_DatumReference.hxx>
1216 #include <StepDimTol_CommonDatum.hxx>
1217 #include <StepDimTol_DatumTarget.hxx>
1218 #include <StepDimTol_PlacedDatumTargetFeature.hxx>
1219 #include <StepRepr_ValueRange.hxx>
1220 #include <StepRepr_CompositeShapeAspect.hxx>
1221 #include <StepRepr_DerivedShapeAspect.hxx>
1222 #include <StepRepr_Extension.hxx>
1223 #include <RWStepRepr_RWCompositeShapeAspect.hxx>
1224 #include <RWStepRepr_RWDerivedShapeAspect.hxx>
1225 #include <RWStepRepr_RWExtension.hxx>
1226 #include <RWStepShape_RWShapeRepresentationWithParameters.hxx>
1227 #include <RWStepDimTol_RWAngularityTolerance.hxx>
1228 #include <RWStepDimTol_RWConcentricityTolerance.hxx>
1229 #include <RWStepDimTol_RWCircularRunoutTolerance.hxx>
1230 #include <RWStepDimTol_RWCoaxialityTolerance.hxx>
1231 #include <RWStepDimTol_RWFlatnessTolerance.hxx>
1232 #include <RWStepDimTol_RWLineProfileTolerance.hxx>
1233 #include <RWStepDimTol_RWParallelismTolerance.hxx>
1234 #include <RWStepDimTol_RWPerpendicularityTolerance.hxx>
1235 #include <RWStepDimTol_RWPositionTolerance.hxx>
1236 #include <RWStepDimTol_RWRoundnessTolerance.hxx>
1237 #include <RWStepDimTol_RWStraightnessTolerance.hxx>
1238 #include <RWStepDimTol_RWSurfaceProfileTolerance.hxx>
1239 #include <RWStepDimTol_RWSymmetryTolerance.hxx>
1240 #include <RWStepDimTol_RWTotalRunoutTolerance.hxx>
1241 #include <RWStepDimTol_RWGeometricTolerance.hxx>
1242 #include <RWStepDimTol_RWGeometricToleranceWithDatumReference.hxx>
1243 #include <RWStepDimTol_RWModifiedGeometricTolerance.hxx>
1244 #include <RWStepDimTol_RWDatum.hxx>
1245 #include <RWStepDimTol_RWDatumFeature.hxx>
1246 #include <RWStepDimTol_RWDatumReference.hxx>
1247 #include <RWStepDimTol_RWCommonDatum.hxx>
1248 #include <RWStepDimTol_RWDatumTarget.hxx>
1249 #include <RWStepDimTol_RWPlacedDatumTargetFeature.hxx>
1250 #include <StepDimTol_GeometricToleranceRelationship.hxx>
1251 #include <RWStepDimTol_RWGeometricToleranceRelationship.hxx>
1252
1253 #include <StepRepr_ReprItemAndLengthMeasureWithUnit.hxx>
1254 #include <RWStepRepr_RWReprItemAndLengthMeasureWithUnit.hxx>
1255 #include <StepDimTol_GeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
1256 #include <RWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndModGeoTolAndPosTol.hxx>
1257
1258 // added by skl 10.02.2004 for TRJ13
1259 #include <StepBasic_ConversionBasedUnitAndMassUnit.hxx>
1260 #include <RWStepBasic_RWConversionBasedUnitAndMassUnit.hxx>
1261 #include <StepBasic_MassMeasureWithUnit.hxx>
1262 #include <RWStepBasic_RWMassMeasureWithUnit.hxx>
1263
1264
1265 static Standard_Integer catsh,catdr,catstr,catdsc,cataux;
1266
1267
1268 //=======================================================================
1269 //function : RWStepAP214_GeneralModule
1270 //purpose  : 
1271 //=======================================================================
1272
1273 RWStepAP214_GeneralModule::RWStepAP214_GeneralModule ()
1274 {
1275   Interface_Category::Init();
1276   catsh  = Interface_Category::Number("Shape");
1277   catdr  = Interface_Category::Number("Drawing");
1278   catstr = Interface_Category::Number("Structure");
1279   catdsc = Interface_Category::Number("Description");
1280   cataux = Interface_Category::Number("Auxiliary");
1281 //// Interface_GeneralLib::SetGlobal(Handle(RWStepAP214_GeneralModule)::DownCast(This()), StepAP214::Protocol());
1282 }
1283
1284
1285 //=======================================================================
1286 //function : FillShared
1287 //purpose  : 
1288 //=======================================================================
1289 /*
1290 void RWStepAP214_GeneralModule::FillShared (const Handle(Interface_InterfaceModel)& model,
1291                                             const Standard_Integer CN,
1292                                             const Handle(Standard_Transient)& ent,
1293                                             Interface_EntityIterator& iter) const
1294 {
1295   switch (CN) {
1296   case 261 : {
1297     DeclareAndCast(StepShape_ShapeDefinitionRepresentation,anent,ent);
1298     RWStepShape_RWShapeDefinitionRepresentation tool;
1299     tool.Share(model,anent,iter);
1300   }
1301     break;
1302   case 391 : {
1303     DeclareAndCast(StepShape_ContextDependentShapeRepresentation,anent,ent);
1304     RWStepShape_RWContextDependentShapeRepresentation tool;
1305     tool.Share(model,anent,iter);
1306   }
1307     break;
1308     default : FillSharedCase (CN,ent,iter);  // all other cases
1309     break;
1310   }
1311 }
1312 */
1313
1314 //=======================================================================
1315 //function : FillSharedCase
1316 //purpose  : 
1317 //=======================================================================
1318
1319 void RWStepAP214_GeneralModule::FillSharedCase(const Standard_Integer CN,
1320                                                const Handle(Standard_Transient)& ent,
1321                                                Interface_EntityIterator& iter) const
1322 {
1323   switch(CN)
1324     {
1325       
1326     case 2:
1327       {
1328         DeclareAndCast(StepShape_AdvancedBrepShapeRepresentation,anent,ent);
1329         RWStepShape_RWAdvancedBrepShapeRepresentation tool;
1330         tool.Share(anent,iter);
1331       }
1332       break;
1333     case 3:
1334       {
1335         DeclareAndCast(StepShape_AdvancedFace,anent,ent);
1336         RWStepShape_RWAdvancedFace tool;
1337         tool.Share(anent,iter);
1338       }
1339       break;
1340     case 7:
1341       {
1342         DeclareAndCast(StepVisual_StyledItem,anent,ent);
1343         RWStepVisual_RWStyledItem tool;
1344         tool.Share(anent,iter);
1345       }
1346       break;
1347     case 11:
1348       {
1349         DeclareAndCast(StepRepr_MappedItem,anent,ent);
1350         RWStepRepr_RWMappedItem tool;
1351         tool.Share(anent,iter);
1352       }
1353       break;
1354     case 12:
1355       {
1356         DeclareAndCast(StepVisual_StyledItem,anent,ent);
1357         RWStepVisual_RWStyledItem tool;
1358         tool.Share(anent,iter);
1359       }
1360       break;
1361     case 14:
1362       {
1363         DeclareAndCast(StepBasic_ApplicationContextElement,anent,ent);
1364         RWStepBasic_RWApplicationContextElement tool;
1365         tool.Share(anent,iter);
1366       }
1367       break;
1368     case 15:
1369       {
1370         DeclareAndCast(StepBasic_ApplicationProtocolDefinition,anent,ent);
1371         RWStepBasic_RWApplicationProtocolDefinition tool;
1372         tool.Share(anent,iter);
1373       }
1374       break;
1375     case 16:
1376       {
1377         DeclareAndCast(StepBasic_Approval,anent,ent);
1378         RWStepBasic_RWApproval tool;
1379         tool.Share(anent,iter);
1380       }
1381       break;
1382     case 18:
1383       {
1384         DeclareAndCast(StepBasic_ApprovalPersonOrganization,anent,ent);
1385         RWStepBasic_RWApprovalPersonOrganization tool;
1386         tool.Share(anent,iter);
1387       }
1388       break;
1389     case 19:
1390       {
1391         DeclareAndCast(StepBasic_ApprovalRelationship,anent,ent);
1392         RWStepBasic_RWApprovalRelationship tool;
1393         tool.Share(anent,iter);
1394       }
1395       break;
1396     case 22:
1397       {
1398         DeclareAndCast(StepVisual_AreaInSet,anent,ent);
1399         RWStepVisual_RWAreaInSet tool;
1400         tool.Share(anent,iter);
1401       }
1402       break;
1403     case 23:
1404       {
1405         DeclareAndCast(StepAP214_AutoDesignActualDateAndTimeAssignment,anent,ent);
1406         RWStepAP214_RWAutoDesignActualDateAndTimeAssignment tool;
1407         tool.Share(anent,iter);
1408       }
1409       break;
1410     case 24:
1411       {
1412         DeclareAndCast(StepAP214_AutoDesignActualDateAssignment,anent,ent);
1413         RWStepAP214_RWAutoDesignActualDateAssignment tool;
1414         tool.Share(anent,iter);
1415       }
1416       break;
1417     case 25:
1418       {
1419         DeclareAndCast(StepAP214_AutoDesignApprovalAssignment,anent,ent);
1420         RWStepAP214_RWAutoDesignApprovalAssignment tool;
1421         tool.Share(anent,iter);
1422       }
1423       break;
1424     case 26:
1425       {
1426         DeclareAndCast(StepAP214_AutoDesignDateAndPersonAssignment,anent,ent);
1427         RWStepAP214_RWAutoDesignDateAndPersonAssignment tool;
1428         tool.Share(anent,iter);
1429       }
1430       break;
1431     case 27:
1432       {
1433         DeclareAndCast(StepAP214_AutoDesignGroupAssignment,anent,ent);
1434         RWStepAP214_RWAutoDesignGroupAssignment tool;
1435         tool.Share(anent,iter);
1436       }
1437       break;
1438     case 28:
1439       {
1440         DeclareAndCast(StepAP214_AutoDesignNominalDateAndTimeAssignment,anent,ent);
1441         RWStepAP214_RWAutoDesignNominalDateAndTimeAssignment tool;
1442         tool.Share(anent,iter);
1443       }
1444       break;
1445     case 29:
1446       {
1447         DeclareAndCast(StepAP214_AutoDesignNominalDateAssignment,anent,ent);
1448         RWStepAP214_RWAutoDesignNominalDateAssignment tool;
1449         tool.Share(anent,iter);
1450       }
1451       break;
1452     case 30:
1453       {
1454         DeclareAndCast(StepAP214_AutoDesignOrganizationAssignment,anent,ent);
1455         RWStepAP214_RWAutoDesignOrganizationAssignment tool;
1456         tool.Share(anent,iter);
1457       }
1458       break;
1459     case 31:
1460       {
1461         DeclareAndCast(StepAP214_AutoDesignPersonAndOrganizationAssignment,anent,ent);
1462         RWStepAP214_RWAutoDesignPersonAndOrganizationAssignment tool;
1463         tool.Share(anent,iter);
1464       }
1465       break;
1466     case 32:
1467       {
1468         DeclareAndCast(StepAP214_AutoDesignPresentedItem,anent,ent);
1469         RWStepAP214_RWAutoDesignPresentedItem tool;
1470         tool.Share(anent,iter);
1471       }
1472       break;
1473     case 33:
1474       {
1475         DeclareAndCast(StepAP214_AutoDesignSecurityClassificationAssignment,anent,ent);
1476         RWStepAP214_RWAutoDesignSecurityClassificationAssignment tool;
1477         tool.Share(anent,iter);
1478       }
1479       break;
1480
1481     case 35:
1482       {
1483         DeclareAndCast(StepGeom_Axis1Placement,anent,ent);
1484         RWStepGeom_RWAxis1Placement tool;
1485         tool.Share(anent,iter);
1486       }
1487       break;
1488     case 36:
1489       {
1490         DeclareAndCast(StepGeom_Axis2Placement2d,anent,ent);
1491         RWStepGeom_RWAxis2Placement2d tool;
1492         tool.Share(anent,iter);
1493       }
1494       break;
1495     case 37:
1496       {
1497         DeclareAndCast(StepGeom_Axis2Placement3d,anent,ent);
1498         RWStepGeom_RWAxis2Placement3d tool;
1499         tool.Share(anent,iter);
1500       }
1501       break;
1502     case 38:
1503       {
1504         DeclareAndCast(StepGeom_BSplineCurve,anent,ent);
1505         RWStepGeom_RWBSplineCurve tool;
1506         tool.Share(anent,iter);
1507       }
1508       break;
1509     case 39:
1510       {
1511         DeclareAndCast(StepGeom_BSplineCurveWithKnots,anent,ent);
1512         RWStepGeom_RWBSplineCurveWithKnots tool;
1513         tool.Share(anent,iter);
1514       }
1515       break;
1516     case 40:
1517       {
1518         DeclareAndCast(StepGeom_BSplineSurface,anent,ent);
1519         RWStepGeom_RWBSplineSurface tool;
1520         tool.Share(anent,iter);
1521       }
1522       break;
1523     case 41:
1524       {
1525         DeclareAndCast(StepGeom_BSplineSurfaceWithKnots,anent,ent);
1526         RWStepGeom_RWBSplineSurfaceWithKnots tool;
1527         tool.Share(anent,iter);
1528       }
1529       break;
1530     case 42:
1531       {
1532         DeclareAndCast(StepVisual_BackgroundColour,anent,ent);
1533         RWStepVisual_RWBackgroundColour tool;
1534         tool.Share(anent,iter);
1535       }
1536       break;
1537     case 43:
1538       {
1539         DeclareAndCast(StepGeom_BezierCurve,anent,ent);
1540         RWStepGeom_RWBezierCurve tool;
1541         tool.Share(anent,iter);
1542       }
1543       break;
1544     case 44:
1545       {
1546         DeclareAndCast(StepGeom_BezierSurface,anent,ent);
1547         RWStepGeom_RWBezierSurface tool;
1548         tool.Share(anent,iter);
1549       }
1550       break;
1551     case 45:
1552       {
1553         DeclareAndCast(StepShape_Block,anent,ent);
1554         RWStepShape_RWBlock tool;
1555         tool.Share(anent,iter);
1556       }
1557       break;
1558     case 46:
1559       {
1560         DeclareAndCast(StepShape_BooleanResult,anent,ent);
1561         RWStepShape_RWBooleanResult tool;
1562         tool.Share(anent,iter);
1563       }
1564       break;
1565     case 47:
1566       {
1567         DeclareAndCast(StepGeom_BoundaryCurve,anent,ent);
1568         RWStepGeom_RWBoundaryCurve tool;
1569         tool.Share(anent,iter);
1570       }
1571       break;
1572     case 50:
1573       {
1574         DeclareAndCast(StepShape_BoxDomain,anent,ent);
1575         RWStepShape_RWBoxDomain tool;
1576         tool.Share(anent,iter);
1577       }
1578       break;
1579     case 51:
1580       {
1581         DeclareAndCast(StepShape_BoxedHalfSpace,anent,ent);
1582         RWStepShape_RWBoxedHalfSpace tool;
1583         tool.Share(anent,iter);
1584       }
1585       break;
1586     case 52:
1587       {
1588         DeclareAndCast(StepShape_BrepWithVoids,anent,ent);
1589         RWStepShape_RWBrepWithVoids tool;
1590         tool.Share(anent,iter);
1591       }
1592       break;
1593     case 54:
1594       {
1595         DeclareAndCast(StepVisual_CameraImage,anent,ent);
1596         RWStepVisual_RWCameraImage tool;
1597         tool.Share(anent,iter);
1598       }
1599       break;
1600     case 56:
1601       {
1602         DeclareAndCast(StepVisual_CameraModelD2,anent,ent);
1603         RWStepVisual_RWCameraModelD2 tool;
1604         tool.Share(anent,iter);
1605       }
1606       break;
1607     case 57:
1608       {
1609         DeclareAndCast(StepVisual_CameraModelD3,anent,ent);
1610         RWStepVisual_RWCameraModelD3 tool;
1611         tool.Share(anent,iter);
1612       }
1613       break;
1614     case 58:
1615       {
1616         DeclareAndCast(StepVisual_CameraUsage,anent,ent);
1617         RWStepVisual_RWCameraUsage tool;
1618         tool.Share(anent,iter);
1619       }
1620       break;
1621     case 60:
1622       {
1623         DeclareAndCast(StepGeom_CartesianTransformationOperator,anent,ent);
1624         RWStepGeom_RWCartesianTransformationOperator tool;
1625         tool.Share(anent,iter);
1626       }
1627       break;
1628     case 61:
1629       {
1630         DeclareAndCast(StepGeom_CartesianTransformationOperator3d,anent,ent);
1631         RWStepGeom_RWCartesianTransformationOperator3d tool;
1632         tool.Share(anent,iter);
1633       }
1634       break;
1635     case 62:
1636       {
1637         DeclareAndCast(StepGeom_Circle,anent,ent);
1638         RWStepGeom_RWCircle tool;
1639         tool.Share(anent,iter);
1640       }
1641       break;
1642     case 63:
1643       {
1644         DeclareAndCast(StepShape_ClosedShell,anent,ent);
1645         RWStepShape_RWClosedShell tool;
1646         tool.Share(anent,iter);
1647       }
1648       break;
1649     case 67:
1650       {
1651         DeclareAndCast(StepGeom_CompositeCurve,anent,ent);
1652         RWStepGeom_RWCompositeCurve tool;
1653         tool.Share(anent,iter);
1654       }
1655       break;
1656     case 68:
1657       {
1658         DeclareAndCast(StepGeom_CompositeCurveOnSurface,anent,ent);
1659         RWStepGeom_RWCompositeCurveOnSurface tool;
1660         tool.Share(anent,iter);
1661       }
1662       break;
1663     case 69:
1664       {
1665         DeclareAndCast(StepGeom_CompositeCurveSegment,anent,ent);
1666         RWStepGeom_RWCompositeCurveSegment tool;
1667         tool.Share(anent,iter);
1668       }
1669       break;
1670
1671     case 70:
1672       {
1673         DeclareAndCast(StepVisual_CompositeText,anent,ent);
1674         RWStepVisual_RWCompositeText tool;
1675         tool.Share(anent,iter);
1676       }
1677       break;
1678     case 73:
1679       {
1680         DeclareAndCast(StepVisual_CompositeTextWithExtent,anent,ent);
1681         RWStepVisual_RWCompositeTextWithExtent tool;
1682         tool.Share(anent,iter);
1683       }
1684       break;
1685     case 74:
1686       {
1687         DeclareAndCast(StepGeom_Conic,anent,ent);
1688         RWStepGeom_RWConic tool;
1689         tool.Share(anent,iter);
1690       }
1691       break;
1692     case 75:
1693       {
1694         DeclareAndCast(StepGeom_ConicalSurface,anent,ent);
1695         RWStepGeom_RWConicalSurface tool;
1696         tool.Share(anent,iter);
1697       }
1698       break;
1699     case 76:
1700       {
1701         DeclareAndCast(StepShape_ConnectedFaceSet,anent,ent);
1702         RWStepShape_RWConnectedFaceSet tool;
1703         tool.Share(anent,iter);
1704       }
1705       break;
1706     case 77:
1707       {
1708         DeclareAndCast(StepVisual_ContextDependentInvisibility,anent,ent);
1709         RWStepVisual_RWContextDependentInvisibility tool;
1710         tool.Share(anent,iter);
1711       }
1712       break;
1713     case 78:
1714       {
1715         DeclareAndCast(StepVisual_ContextDependentOverRidingStyledItem,anent,ent);
1716         RWStepVisual_RWContextDependentOverRidingStyledItem tool;
1717         tool.Share(anent,iter);
1718       }
1719       break;
1720     case 79:
1721       {
1722         DeclareAndCast(StepBasic_ConversionBasedUnit,anent,ent);
1723         RWStepBasic_RWConversionBasedUnit tool;
1724         tool.Share(anent,iter);
1725       }
1726       break;
1727
1728     case 82:
1729       {
1730         DeclareAndCast(StepShape_CsgShapeRepresentation,anent,ent);
1731         RWStepShape_RWCsgShapeRepresentation tool;
1732         tool.Share(anent,iter);
1733       }
1734       break;
1735     case 83:
1736       {
1737         DeclareAndCast(StepShape_CsgSolid,anent,ent);
1738         RWStepShape_RWCsgSolid tool;
1739         tool.Share(anent,iter);
1740       }
1741       break;
1742     case 85:
1743       {
1744         DeclareAndCast(StepGeom_CurveBoundedSurface,anent,ent);
1745         RWStepGeom_RWCurveBoundedSurface tool;
1746         tool.Share(anent,iter);
1747       }
1748       break;
1749     case 86:
1750       {
1751         DeclareAndCast(StepGeom_CurveReplica,anent,ent);
1752         RWStepGeom_RWCurveReplica tool;
1753         tool.Share(anent,iter);
1754       }
1755       break;
1756     case 87:
1757       {
1758         DeclareAndCast(StepVisual_CurveStyle,anent,ent);
1759         RWStepVisual_RWCurveStyle tool;
1760         tool.Share(anent,iter);
1761       }
1762       break;
1763     case 88:
1764       {
1765         DeclareAndCast(StepVisual_CurveStyleFont,anent,ent);
1766         RWStepVisual_RWCurveStyleFont tool;
1767         tool.Share(anent,iter);
1768       }
1769       break;
1770     case 90:
1771       {
1772         DeclareAndCast(StepGeom_CylindricalSurface,anent,ent);
1773         RWStepGeom_RWCylindricalSurface tool;
1774         tool.Share(anent,iter);
1775       }
1776       break;
1777     case 92:
1778       {
1779         DeclareAndCast(StepBasic_DateAndTime,anent,ent);
1780         RWStepBasic_RWDateAndTime tool;
1781         tool.Share(anent,iter);
1782       }
1783       break;
1784     case 98:
1785       {
1786         DeclareAndCast(StepRepr_DefinitionalRepresentation,anent,ent);
1787         RWStepRepr_RWDefinitionalRepresentation tool;
1788         tool.Share(anent,iter);
1789       }
1790       break;
1791     case 99:
1792       {
1793         DeclareAndCast(StepGeom_DegeneratePcurve,anent,ent);
1794         RWStepGeom_RWDegeneratePcurve tool;
1795         tool.Share(anent,iter);
1796       }
1797       break;
1798     case 100:
1799       {
1800         DeclareAndCast(StepGeom_DegenerateToroidalSurface,anent,ent);
1801         RWStepGeom_RWDegenerateToroidalSurface tool;
1802         tool.Share(anent,iter);
1803       }
1804       break;
1805     case 106:
1806       {
1807         DeclareAndCast(StepVisual_StyledItem,anent,ent);
1808         RWStepVisual_RWStyledItem tool;
1809         tool.Share(anent,iter);
1810       }
1811       break;
1812     case 116:
1813       {
1814         DeclareAndCast(StepShape_EdgeCurve,anent,ent);
1815         RWStepShape_RWEdgeCurve tool;
1816         tool.Share(anent,iter);
1817       }
1818       break;
1819     case 117:
1820       {
1821         DeclareAndCast(StepShape_EdgeLoop,anent,ent);
1822         RWStepShape_RWEdgeLoop tool;
1823         tool.Share(anent,iter);
1824       }
1825       break;
1826     case 118:
1827       {
1828         DeclareAndCast(StepGeom_ElementarySurface,anent,ent);
1829         RWStepGeom_RWElementarySurface tool;
1830         tool.Share(anent,iter);
1831       }
1832       break;
1833     case 119:
1834       {
1835         DeclareAndCast(StepGeom_Ellipse,anent,ent);
1836         RWStepGeom_RWEllipse tool;
1837         tool.Share(anent,iter);
1838       }
1839       break;
1840     case 120:
1841       {
1842         DeclareAndCast(StepGeom_EvaluatedDegeneratePcurve,anent,ent);
1843         RWStepGeom_RWEvaluatedDegeneratePcurve tool;
1844         tool.Share(anent,iter);
1845       }
1846       break;
1847     case 122:
1848       {
1849         DeclareAndCast(StepVisual_ExternallyDefinedCurveFont,anent,ent);
1850         RWStepVisual_RWExternallyDefinedCurveFont tool;
1851         tool.Share(anent,iter);
1852       }
1853       break;
1854     case 124:
1855     case 126:
1856       {
1857         DeclareAndCast(StepBasic_ExternallyDefinedItem,anent,ent);
1858         RWStepBasic_RWExternallyDefinedItem tool;
1859         tool.Share(anent,iter);
1860       }
1861       break;
1862
1863     case 128:
1864       {
1865         DeclareAndCast(StepShape_ExtrudedAreaSolid,anent,ent);
1866         RWStepShape_RWExtrudedAreaSolid tool;
1867         tool.Share(anent,iter);
1868       }
1869       break;
1870     case 129:
1871       {
1872         DeclareAndCast(StepShape_Face,anent,ent);
1873         RWStepShape_RWFace tool;
1874         tool.Share(anent,iter);
1875       }
1876       break;
1877     case 131:
1878       {
1879         DeclareAndCast(StepShape_FaceBound,anent,ent);
1880         RWStepShape_RWFaceBound tool;
1881         tool.Share(anent,iter);
1882       }
1883       break;
1884     case 132:
1885       {
1886         DeclareAndCast(StepShape_FaceOuterBound,anent,ent);
1887         RWStepShape_RWFaceOuterBound tool;
1888         tool.Share(anent,iter);
1889       }
1890       break;
1891     case 133:
1892       {
1893         DeclareAndCast(StepShape_FaceSurface,anent,ent);
1894         RWStepShape_RWFaceSurface tool;
1895         tool.Share(anent,iter);
1896       }
1897       break;
1898     case 134:
1899       {
1900         DeclareAndCast(StepShape_FacetedBrep,anent,ent);
1901         RWStepShape_RWFacetedBrep tool;
1902         tool.Share(anent,iter);
1903       }
1904       break;
1905     case 135:
1906       {
1907         DeclareAndCast(StepShape_FacetedBrepShapeRepresentation,anent,ent);
1908         RWStepShape_RWFacetedBrepShapeRepresentation tool;
1909         tool.Share(anent,iter);
1910       }
1911       break;
1912     case 136:
1913       {
1914         DeclareAndCast(StepVisual_FillAreaStyle,anent,ent);
1915         RWStepVisual_RWFillAreaStyle tool;
1916         tool.Share(anent,iter);
1917       }
1918       break;
1919     case 137:
1920       {
1921         DeclareAndCast(StepVisual_FillAreaStyleColour,anent,ent);
1922         RWStepVisual_RWFillAreaStyleColour tool;
1923         tool.Share(anent,iter);
1924       }
1925       break;
1926     case 142:
1927       {
1928         DeclareAndCast(StepShape_GeometricCurveSet,anent,ent);
1929         RWStepShape_RWGeometricCurveSet tool;
1930         tool.Share(anent,iter);
1931       }
1932       break;
1933     case 145:
1934       {
1935         DeclareAndCast(StepShape_GeometricSet,anent,ent);
1936         RWStepShape_RWGeometricSet tool;
1937         tool.Share(anent,iter);
1938       }
1939       break;
1940     case 146:
1941       {
1942         DeclareAndCast(StepShape_GeometricallyBoundedSurfaceShapeRepresentation,anent,ent);
1943         RWStepShape_RWGeometricallyBoundedSurfaceShapeRepresentation tool;
1944         tool.Share(anent,iter);
1945       }
1946       break;
1947     case 147:
1948       {
1949         DeclareAndCast(StepShape_GeometricallyBoundedWireframeShapeRepresentation,anent,ent);
1950         RWStepShape_RWGeometricallyBoundedWireframeShapeRepresentation tool;
1951         tool.Share(anent,iter);
1952       }
1953       break;
1954     case 148:
1955       {
1956         DeclareAndCast(StepRepr_GlobalUncertaintyAssignedContext,anent,ent);
1957         RWStepRepr_RWGlobalUncertaintyAssignedContext tool;
1958         tool.Share(anent,iter);
1959       }
1960       break;
1961     case 149:
1962       {
1963         DeclareAndCast(StepRepr_GlobalUnitAssignedContext,anent,ent);
1964         RWStepRepr_RWGlobalUnitAssignedContext tool;
1965         tool.Share(anent,iter);
1966       }
1967       break;
1968     case 152:
1969       {
1970         DeclareAndCast(StepBasic_GroupRelationship,anent,ent);
1971         RWStepBasic_RWGroupRelationship tool;
1972         tool.Share(anent,iter);
1973       }
1974       break;
1975     case 153:
1976       {
1977         DeclareAndCast(StepShape_HalfSpaceSolid,anent,ent);
1978         RWStepShape_RWHalfSpaceSolid tool;
1979         tool.Share(anent,iter);
1980       }
1981       break;
1982     case 154:
1983       {
1984         DeclareAndCast(StepGeom_Hyperbola,anent,ent);
1985         RWStepGeom_RWHyperbola tool;
1986         tool.Share(anent,iter);
1987       }
1988       break;
1989     case 155:
1990       {
1991         DeclareAndCast(StepGeom_IntersectionCurve,anent,ent);
1992         RWStepGeom_RWIntersectionCurve tool;
1993         tool.Share(anent,iter);
1994       }
1995       break;
1996     case 156:
1997       {
1998         DeclareAndCast(StepVisual_Invisibility,anent,ent);
1999         RWStepVisual_RWInvisibility tool;
2000         tool.Share(anent,iter);
2001       }
2002       break;
2003     case 157:
2004       {
2005         DeclareAndCast(StepBasic_LengthMeasureWithUnit,anent,ent);
2006         RWStepBasic_RWLengthMeasureWithUnit tool;
2007         tool.Share(anent,iter);
2008       }
2009       break;
2010     case 158:
2011       {
2012         DeclareAndCast(StepBasic_LengthUnit,anent,ent);
2013         RWStepBasic_RWLengthUnit tool;
2014         tool.Share(anent,iter);
2015       }
2016       break;
2017     case 159:
2018       {
2019         DeclareAndCast(StepGeom_Line,anent,ent);
2020         RWStepGeom_RWLine tool;
2021         tool.Share(anent,iter);
2022       }
2023       break;
2024     case 160:
2025       {
2026         DeclareAndCast(StepBasic_LocalTime,anent,ent);
2027         RWStepBasic_RWLocalTime tool;
2028         tool.Share(anent,iter);
2029       }
2030       break;
2031     case 162:
2032       {
2033         DeclareAndCast(StepShape_ManifoldSolidBrep,anent,ent);
2034         RWStepShape_RWManifoldSolidBrep tool;
2035         tool.Share(anent,iter);
2036       }
2037       break;
2038     case 163:
2039       {
2040         DeclareAndCast(StepShape_ManifoldSurfaceShapeRepresentation,anent,ent);
2041         RWStepShape_RWManifoldSurfaceShapeRepresentation tool;
2042         tool.Share(anent,iter);
2043       }
2044       break;
2045     case 164:
2046       {
2047         DeclareAndCast(StepRepr_MappedItem,anent,ent);
2048         RWStepRepr_RWMappedItem tool;
2049         tool.Share(anent,iter);
2050       }
2051       break;
2052     case 165:
2053       {
2054         DeclareAndCast(StepBasic_MeasureWithUnit,anent,ent);
2055         RWStepBasic_RWMeasureWithUnit tool;
2056         tool.Share(anent,iter);
2057       }
2058       break;
2059     case 166:
2060       {
2061         DeclareAndCast(StepVisual_MechanicalDesignGeometricPresentationArea,anent,ent);
2062         RWStepVisual_RWMechanicalDesignGeometricPresentationArea tool;
2063         tool.Share(anent,iter);
2064       }
2065       break;
2066     case 167:
2067       {
2068         DeclareAndCast(StepVisual_MechanicalDesignGeometricPresentationRepresentation,anent,ent);
2069         RWStepVisual_RWMechanicalDesignGeometricPresentationRepresentation tool;
2070         tool.Share(anent,iter);
2071       }
2072       break;
2073     case 169:
2074       {
2075         DeclareAndCast(StepBasic_NamedUnit,anent,ent);
2076         RWStepBasic_RWNamedUnit tool;
2077         tool.Share(anent,iter);
2078       }
2079       break;
2080     case 171:
2081       {
2082         DeclareAndCast(StepGeom_OffsetCurve3d,anent,ent);
2083         RWStepGeom_RWOffsetCurve3d tool;
2084         tool.Share(anent,iter);
2085       }
2086       break;
2087     case 172:
2088       {
2089         DeclareAndCast(StepGeom_OffsetSurface,anent,ent);
2090         RWStepGeom_RWOffsetSurface tool;
2091         tool.Share(anent,iter);
2092       }
2093       break;
2094     case 174:
2095       {
2096         DeclareAndCast(StepShape_OpenShell,anent,ent);
2097         RWStepShape_RWOpenShell tool;
2098         tool.Share(anent,iter);
2099       }
2100       break;
2101     case 179:
2102       {
2103         DeclareAndCast(StepBasic_OrganizationalAddress,anent,ent);
2104         RWStepBasic_RWOrganizationalAddress tool;
2105         tool.Share(anent,iter);
2106       }
2107       break;
2108     case 180:
2109       {
2110         DeclareAndCast(StepShape_OrientedClosedShell,anent,ent);
2111         RWStepShape_RWOrientedClosedShell tool;
2112         tool.Share(anent,iter);
2113       }
2114       break;
2115     case 181:
2116       {
2117         DeclareAndCast(StepShape_OrientedEdge,anent,ent);
2118         RWStepShape_RWOrientedEdge tool;
2119         tool.Share(anent,iter);
2120       }
2121       break;
2122     case 182:
2123       {
2124         DeclareAndCast(StepShape_OrientedFace,anent,ent);
2125         RWStepShape_RWOrientedFace tool;
2126         tool.Share(anent,iter);
2127       }
2128       break;
2129     case 183:
2130       {
2131         DeclareAndCast(StepShape_OrientedOpenShell,anent,ent);
2132         RWStepShape_RWOrientedOpenShell tool;
2133         tool.Share(anent,iter);
2134       }
2135       break;
2136     case 184:
2137       {
2138         DeclareAndCast(StepShape_OrientedPath,anent,ent);
2139         RWStepShape_RWOrientedPath tool;
2140         tool.Share(anent,iter);
2141       }
2142       break;
2143     case 185:
2144       {
2145         DeclareAndCast(StepGeom_OuterBoundaryCurve,anent,ent);
2146         RWStepGeom_RWOuterBoundaryCurve tool;
2147         tool.Share(anent,iter);
2148       }
2149       break;
2150     case 186:
2151       {
2152         DeclareAndCast(StepVisual_OverRidingStyledItem,anent,ent);
2153         RWStepVisual_RWOverRidingStyledItem tool;
2154         tool.Share(anent,iter);
2155       }
2156       break;
2157     case 187:
2158       {
2159         DeclareAndCast(StepGeom_Parabola,anent,ent);
2160         RWStepGeom_RWParabola tool;
2161         tool.Share(anent,iter);
2162       }
2163       break;
2164     case 189:
2165       {
2166         DeclareAndCast(StepShape_Path,anent,ent);
2167         RWStepShape_RWPath tool;
2168         tool.Share(anent,iter);
2169       }
2170       break;
2171     case 190:
2172       {
2173         DeclareAndCast(StepGeom_Pcurve,anent,ent);
2174         RWStepGeom_RWPcurve tool;
2175         tool.Share(anent,iter);
2176       }
2177       break;
2178     case 192:
2179       {
2180         DeclareAndCast(StepBasic_PersonAndOrganization,anent,ent);
2181         RWStepBasic_RWPersonAndOrganization tool;
2182         tool.Share(anent,iter);
2183       }
2184       break;
2185     case 195:
2186       {
2187         DeclareAndCast(StepBasic_PersonalAddress,anent,ent);
2188         RWStepBasic_RWPersonalAddress tool;
2189         tool.Share(anent,iter);
2190       }
2191       break;
2192     case 196:
2193       {
2194         DeclareAndCast(StepGeom_Placement,anent,ent);
2195         RWStepGeom_RWPlacement tool;
2196         tool.Share(anent,iter);
2197       }
2198       break;
2199     case 197:
2200       {
2201         DeclareAndCast(StepVisual_PlanarBox,anent,ent);
2202         RWStepVisual_RWPlanarBox tool;
2203         tool.Share(anent,iter);
2204       }
2205       break;
2206     case 199:
2207       {
2208         DeclareAndCast(StepGeom_Plane,anent,ent);
2209         RWStepGeom_RWPlane tool;
2210         tool.Share(anent,iter);
2211       }
2212       break;
2213     case 200:
2214       {
2215         DeclareAndCast(StepBasic_PlaneAngleMeasureWithUnit,anent,ent);
2216         RWStepBasic_RWPlaneAngleMeasureWithUnit tool;
2217         tool.Share(anent,iter);
2218       }
2219       break;
2220     case 201:
2221       {
2222         DeclareAndCast(StepBasic_PlaneAngleUnit,anent,ent);
2223         RWStepBasic_RWPlaneAngleUnit tool;
2224         tool.Share(anent,iter);
2225       }
2226       break;
2227     case 203:
2228       {
2229         DeclareAndCast(StepGeom_PointOnCurve,anent,ent);
2230         RWStepGeom_RWPointOnCurve tool;
2231         tool.Share(anent,iter);
2232       }
2233       break;
2234     case 204:
2235       {
2236         DeclareAndCast(StepGeom_PointOnSurface,anent,ent);
2237         RWStepGeom_RWPointOnSurface tool;
2238         tool.Share(anent,iter);
2239       }
2240       break;
2241     case 205:
2242       {
2243         DeclareAndCast(StepGeom_PointReplica,anent,ent);
2244         RWStepGeom_RWPointReplica tool;
2245         tool.Share(anent,iter);
2246       }
2247       break;
2248     case 206:
2249       {
2250         DeclareAndCast(StepVisual_PointStyle,anent,ent);
2251         RWStepVisual_RWPointStyle tool;
2252         tool.Share(anent,iter);
2253       }
2254       break;
2255     case 207:
2256       {
2257         DeclareAndCast(StepShape_PolyLoop,anent,ent);
2258         RWStepShape_RWPolyLoop tool;
2259         tool.Share(anent,iter);
2260       }
2261       break;
2262     case 208:
2263       {
2264         DeclareAndCast(StepGeom_Polyline,anent,ent);
2265         RWStepGeom_RWPolyline tool;
2266         tool.Share(anent,iter);
2267       }
2268       break;
2269     case 214:
2270       {
2271         DeclareAndCast(StepVisual_PresentationArea,anent,ent);
2272         RWStepVisual_RWPresentationArea tool;
2273         tool.Share(anent,iter);
2274       }
2275       break;
2276     case 215:
2277       {
2278         DeclareAndCast(StepVisual_PresentationLayerAssignment,anent,ent);
2279         RWStepVisual_RWPresentationLayerAssignment tool;
2280         tool.Share(anent,iter);
2281       }
2282       break;
2283     case 216:
2284       {
2285         DeclareAndCast(StepVisual_PresentationRepresentation,anent,ent);
2286         RWStepVisual_RWPresentationRepresentation tool;
2287         tool.Share(anent,iter);
2288       }
2289       break;
2290     case 218:
2291       {
2292         DeclareAndCast(StepVisual_PresentationSize,anent,ent);
2293         RWStepVisual_RWPresentationSize tool;
2294         tool.Share(anent,iter);
2295       }
2296       break;
2297     case 219:
2298       {
2299         DeclareAndCast(StepVisual_PresentationStyleAssignment,anent,ent);
2300         RWStepVisual_RWPresentationStyleAssignment tool;
2301         tool.Share(anent,iter);
2302       }
2303       break;
2304     case 220:
2305       {
2306         DeclareAndCast(StepVisual_PresentationStyleByContext,anent,ent);
2307         RWStepVisual_RWPresentationStyleByContext tool;
2308         tool.Share(anent,iter);
2309       }
2310       break;
2311     case 221:
2312       {
2313         DeclareAndCast(StepVisual_PresentationView,anent,ent);
2314         RWStepVisual_RWPresentationView tool;
2315         tool.Share(anent,iter);
2316       }
2317       break;
2318     case 223:
2319       {
2320         DeclareAndCast(StepBasic_Product,anent,ent);
2321         RWStepBasic_RWProduct tool;
2322         tool.Share(anent,iter);
2323       }
2324       break;
2325     case 225:
2326       {
2327         DeclareAndCast(StepBasic_ProductContext,anent,ent);
2328         RWStepBasic_RWProductContext tool;
2329         tool.Share(anent,iter);
2330       }
2331       break;
2332     case 227:
2333       {
2334         DeclareAndCast(StepBasic_ProductDefinition,anent,ent);
2335         RWStepBasic_RWProductDefinition tool;
2336         tool.Share(anent,iter);
2337       }
2338       break;
2339     case 228:
2340       {
2341         DeclareAndCast(StepBasic_ProductDefinitionContext,anent,ent);
2342         RWStepBasic_RWProductDefinitionContext tool;
2343         tool.Share(anent,iter);
2344       }
2345       break;
2346     case 229:
2347       {
2348         DeclareAndCast(StepBasic_ProductDefinitionFormation,anent,ent);
2349         RWStepBasic_RWProductDefinitionFormation tool;
2350         tool.Share(anent,iter);
2351       }
2352       break;
2353     case 230:
2354       {
2355         DeclareAndCast(StepBasic_ProductDefinitionFormationWithSpecifiedSource,anent,ent);
2356         RWStepBasic_RWProductDefinitionFormationWithSpecifiedSource tool;
2357         tool.Share(anent,iter);
2358       }
2359       break;
2360     case 231:
2361       {
2362         DeclareAndCast(StepRepr_ProductDefinitionShape,anent,ent);
2363         RWStepRepr_RWProductDefinitionShape tool;
2364         tool.Share(anent,iter);
2365       }
2366       break;
2367     case 232:
2368       {
2369         DeclareAndCast(StepBasic_ProductRelatedProductCategory,anent,ent);
2370         RWStepBasic_RWProductRelatedProductCategory tool;
2371         tool.Share(anent,iter);
2372       }
2373       break;
2374     case 233:
2375       {
2376         DeclareAndCast(StepBasic_ProductType,anent,ent);
2377         RWStepBasic_RWProductType tool;
2378         tool.Share(anent,iter);
2379       }
2380       break;
2381     case 234:
2382       {
2383         DeclareAndCast(StepRepr_PropertyDefinition,anent,ent);
2384         RWStepRepr_RWPropertyDefinition tool;
2385         tool.Share(anent,iter);
2386       }
2387       break;
2388     case 235:
2389       {
2390         DeclareAndCast(StepRepr_PropertyDefinitionRepresentation,anent,ent);
2391         RWStepRepr_RWPropertyDefinitionRepresentation tool;
2392         tool.Share(anent,iter);
2393       }
2394       break;
2395     case 236:
2396       {
2397         DeclareAndCast(StepGeom_QuasiUniformCurve,anent,ent);
2398         RWStepGeom_RWQuasiUniformCurve tool;
2399         tool.Share(anent,iter);
2400       }
2401       break;
2402     case 237:
2403       {
2404         DeclareAndCast(StepGeom_QuasiUniformSurface,anent,ent);
2405         RWStepGeom_RWQuasiUniformSurface tool;
2406         tool.Share(anent,iter);
2407       }
2408       break;
2409     case 238:
2410       {
2411         DeclareAndCast(StepBasic_RatioMeasureWithUnit,anent,ent);
2412         RWStepBasic_RWRatioMeasureWithUnit tool;
2413         tool.Share(anent,iter);
2414       }
2415       break;
2416     case 239:
2417       {
2418         DeclareAndCast(StepGeom_RationalBSplineCurve,anent,ent);
2419         RWStepGeom_RWRationalBSplineCurve tool;
2420         tool.Share(anent,iter);
2421       }
2422       break;
2423     case 240:
2424       {
2425         DeclareAndCast(StepGeom_RationalBSplineSurface,anent,ent);
2426         RWStepGeom_RWRationalBSplineSurface tool;
2427         tool.Share(anent,iter);
2428       }
2429       break;
2430     case 241:
2431       {
2432         DeclareAndCast(StepGeom_RectangularCompositeSurface,anent,ent);
2433         RWStepGeom_RWRectangularCompositeSurface tool;
2434         tool.Share(anent,iter);
2435       }
2436       break;
2437     case 242:
2438       {
2439         DeclareAndCast(StepGeom_RectangularTrimmedSurface,anent,ent);
2440         RWStepGeom_RWRectangularTrimmedSurface tool;
2441         tool.Share(anent,iter);
2442       }
2443       break;
2444     case 244:
2445       {
2446         DeclareAndCast(StepGeom_ReparametrisedCompositeCurveSegment,anent,ent);
2447         RWStepGeom_RWReparametrisedCompositeCurveSegment tool;
2448         tool.Share(anent,iter);
2449       }
2450       break;
2451     case 245:
2452       {
2453         DeclareAndCast(StepRepr_Representation,anent,ent);
2454         RWStepRepr_RWRepresentation tool;
2455         tool.Share(anent,iter);
2456       }
2457       break;
2458     case 248:
2459       {
2460         DeclareAndCast(StepRepr_RepresentationMap,anent,ent);
2461         RWStepRepr_RWRepresentationMap tool;
2462         tool.Share(anent,iter);
2463       }
2464       break;
2465     case 249:
2466       {
2467         DeclareAndCast(StepRepr_RepresentationRelationship,anent,ent);
2468         RWStepRepr_RWRepresentationRelationship tool;
2469         tool.Share(anent,iter);
2470       }
2471       break;
2472     case 250:
2473       {
2474         DeclareAndCast(StepShape_RevolvedAreaSolid,anent,ent);
2475         RWStepShape_RWRevolvedAreaSolid tool;
2476         tool.Share(anent,iter);
2477       }
2478       break;
2479     case 251:
2480       {
2481         DeclareAndCast(StepShape_RightAngularWedge,anent,ent);
2482         RWStepShape_RWRightAngularWedge tool;
2483         tool.Share(anent,iter);
2484       }
2485       break;
2486     case 252:
2487       {
2488         DeclareAndCast(StepShape_RightCircularCone,anent,ent);
2489         RWStepShape_RWRightCircularCone tool;
2490         tool.Share(anent,iter);
2491       }
2492       break;
2493     case 253:
2494       {
2495         DeclareAndCast(StepShape_RightCircularCylinder,anent,ent);
2496         RWStepShape_RWRightCircularCylinder tool;
2497         tool.Share(anent,iter);
2498       }
2499       break;
2500     case 254:
2501       {
2502         DeclareAndCast(StepGeom_SeamCurve,anent,ent);
2503         RWStepGeom_RWSeamCurve tool;
2504         tool.Share(anent,iter);
2505       }
2506       break;
2507     case 255:
2508       {
2509         DeclareAndCast(StepBasic_SecurityClassification,anent,ent);
2510         RWStepBasic_RWSecurityClassification tool;
2511         tool.Share(anent,iter);
2512       }
2513       break;
2514     case 258:
2515       {
2516         DeclareAndCast(StepRepr_ShapeAspect,anent,ent);
2517         RWStepRepr_RWShapeAspect tool;
2518         tool.Share(anent,iter);
2519       }
2520       break;
2521     case 259:
2522       {
2523         DeclareAndCast(StepRepr_ShapeAspectRelationship,anent,ent);
2524         RWStepRepr_RWShapeAspectRelationship tool;
2525         tool.Share(anent,iter);
2526       }
2527       break;
2528     case 260:
2529       {
2530         DeclareAndCast(StepRepr_ShapeAspectTransition,anent,ent);
2531         RWStepRepr_RWShapeAspectTransition tool;
2532         tool.Share(anent,iter);
2533       }
2534       break;
2535     case 261:
2536       {
2537         DeclareAndCast(StepShape_ShapeDefinitionRepresentation,anent,ent);
2538         RWStepShape_RWShapeDefinitionRepresentation tool;
2539         tool.Share(anent,iter);
2540       }
2541       break;
2542     case 262:
2543       {
2544         DeclareAndCast(StepShape_ShapeRepresentation,anent,ent);
2545         RWStepShape_RWShapeRepresentation tool;
2546         tool.Share(anent,iter);
2547       }
2548       break;
2549     case 263:
2550       {
2551         DeclareAndCast(StepShape_ShellBasedSurfaceModel,anent,ent);
2552         RWStepShape_RWShellBasedSurfaceModel tool;
2553         tool.Share(anent,iter);
2554       }
2555       break;
2556     case 265:
2557       {
2558         DeclareAndCast(StepBasic_SolidAngleMeasureWithUnit,anent,ent);
2559         RWStepBasic_RWSolidAngleMeasureWithUnit tool;
2560         tool.Share(anent,iter);
2561       }
2562       break;
2563     case 267:
2564       {
2565         DeclareAndCast(StepShape_SolidReplica,anent,ent);
2566         RWStepShape_RWSolidReplica tool;
2567         tool.Share(anent,iter);
2568       }
2569       break;
2570     case 268:
2571       {
2572         DeclareAndCast(StepShape_Sphere,anent,ent);
2573         RWStepShape_RWSphere tool;
2574         tool.Share(anent,iter);
2575       }
2576       break;
2577     case 269:
2578       {
2579         DeclareAndCast(StepGeom_SphericalSurface,anent,ent);
2580         RWStepGeom_RWSphericalSurface tool;
2581         tool.Share(anent,iter);
2582       }
2583       break;
2584     case 270:
2585       {
2586         DeclareAndCast(StepVisual_StyledItem,anent,ent);
2587         RWStepVisual_RWStyledItem tool;
2588         tool.Share(anent,iter);
2589       }
2590       break;
2591     case 272:
2592       {
2593         DeclareAndCast(StepGeom_SurfaceCurve,anent,ent);
2594         RWStepGeom_RWSurfaceCurve tool;
2595         tool.Share(anent,iter);
2596       }
2597       break;
2598     case 273:
2599       {
2600         DeclareAndCast(StepGeom_SurfaceOfLinearExtrusion,anent,ent);
2601         RWStepGeom_RWSurfaceOfLinearExtrusion tool;
2602         tool.Share(anent,iter);
2603       }
2604       break;
2605     case 274:
2606       {
2607         DeclareAndCast(StepGeom_SurfaceOfRevolution,anent,ent);
2608         RWStepGeom_RWSurfaceOfRevolution tool;
2609         tool.Share(anent,iter);
2610       }
2611       break;
2612     case 275:
2613       {
2614         DeclareAndCast(StepGeom_SurfacePatch,anent,ent);
2615         RWStepGeom_RWSurfacePatch tool;
2616         tool.Share(anent,iter);
2617       }
2618       break;
2619     case 276:
2620       {
2621         DeclareAndCast(StepGeom_SurfaceReplica,anent,ent);
2622         RWStepGeom_RWSurfaceReplica tool;
2623         tool.Share(anent,iter);
2624       }
2625       break;
2626     case 277:
2627       {
2628         DeclareAndCast(StepVisual_SurfaceSideStyle,anent,ent);
2629         RWStepVisual_RWSurfaceSideStyle tool;
2630         tool.Share(anent,iter);
2631       }
2632       break;
2633     case 278:
2634       {
2635         DeclareAndCast(StepVisual_SurfaceStyleBoundary,anent,ent);
2636         RWStepVisual_RWSurfaceStyleBoundary tool;
2637         tool.Share(anent,iter);
2638       }
2639       break;
2640     case 279:
2641       {
2642         DeclareAndCast(StepVisual_SurfaceStyleControlGrid,anent,ent);
2643         RWStepVisual_RWSurfaceStyleControlGrid tool;
2644         tool.Share(anent,iter);
2645       }
2646       break;
2647     case 280:
2648       {
2649         DeclareAndCast(StepVisual_SurfaceStyleFillArea,anent,ent);
2650         RWStepVisual_RWSurfaceStyleFillArea tool;
2651         tool.Share(anent,iter);
2652       }
2653       break;
2654     case 281:
2655       {
2656         DeclareAndCast(StepVisual_SurfaceStyleParameterLine,anent,ent);
2657         RWStepVisual_RWSurfaceStyleParameterLine tool;
2658         tool.Share(anent,iter);
2659       }
2660       break;
2661     case 282:
2662       {
2663         DeclareAndCast(StepVisual_SurfaceStyleSegmentationCurve,anent,ent);
2664         RWStepVisual_RWSurfaceStyleSegmentationCurve tool;
2665         tool.Share(anent,iter);
2666       }
2667       break;
2668     case 283:
2669       {
2670         DeclareAndCast(StepVisual_SurfaceStyleSilhouette,anent,ent);
2671         RWStepVisual_RWSurfaceStyleSilhouette tool;
2672         tool.Share(anent,iter);
2673       }
2674       break;
2675     case 284:
2676       {
2677         DeclareAndCast(StepVisual_SurfaceStyleUsage,anent,ent);
2678         RWStepVisual_RWSurfaceStyleUsage tool;
2679         tool.Share(anent,iter);
2680       }
2681       break;
2682     case 285:
2683       {
2684         DeclareAndCast(StepShape_SweptAreaSolid,anent,ent);
2685         RWStepShape_RWSweptAreaSolid tool;
2686         tool.Share(anent,iter);
2687       }
2688       break;
2689     case 286:
2690       {
2691         DeclareAndCast(StepGeom_SweptSurface,anent,ent);
2692         RWStepGeom_RWSweptSurface tool;
2693         tool.Share(anent,iter);
2694       }
2695       break;
2696     case 292:
2697       {
2698         DeclareAndCast(StepVisual_Template,anent,ent);
2699         RWStepVisual_RWTemplate tool;
2700         tool.Share(anent,iter);
2701       }
2702       break;
2703     case 293:
2704       {
2705         DeclareAndCast(StepVisual_TemplateInstance,anent,ent);
2706         RWStepVisual_RWTemplateInstance tool;
2707         tool.Share(anent,iter);
2708       }
2709       break;
2710     case 295:
2711       {
2712         DeclareAndCast(StepVisual_TextLiteral,anent,ent);
2713         RWStepVisual_RWTextLiteral tool;
2714         tool.Share(anent,iter);
2715       }
2716       break;
2717     case 300:
2718       {
2719         DeclareAndCast(StepVisual_TextStyle,anent,ent);
2720         RWStepVisual_RWTextStyle tool;
2721         tool.Share(anent,iter);
2722       }
2723       break;
2724     case 301:
2725       {
2726         DeclareAndCast(StepVisual_TextStyleForDefinedFont,anent,ent);
2727         RWStepVisual_RWTextStyleForDefinedFont tool;
2728         tool.Share(anent,iter);
2729       }
2730       break;
2731     case 302:
2732       {
2733         DeclareAndCast(StepVisual_TextStyleWithBoxCharacteristics,anent,ent);
2734         RWStepVisual_RWTextStyleWithBoxCharacteristics tool;
2735         tool.Share(anent,iter);
2736       }
2737       break;
2738
2739     case 305:
2740       {
2741         DeclareAndCast(StepGeom_ToroidalSurface,anent,ent);
2742         RWStepGeom_RWToroidalSurface tool;
2743         tool.Share(anent,iter);
2744       }
2745       break;
2746     case 306:
2747       {
2748         DeclareAndCast(StepShape_Torus,anent,ent);
2749         RWStepShape_RWTorus tool;
2750         tool.Share(anent,iter);
2751       }
2752       break;
2753     case 307:
2754       {
2755         DeclareAndCast(StepShape_TransitionalShapeRepresentation,anent,ent);
2756         RWStepShape_RWTransitionalShapeRepresentation tool;
2757         tool.Share(anent,iter);
2758       }
2759       break;
2760     case 308:
2761       {
2762         DeclareAndCast(StepGeom_TrimmedCurve,anent,ent);
2763         RWStepGeom_RWTrimmedCurve tool;
2764         tool.Share(anent,iter);
2765       }
2766       break;
2767     case 310:
2768       {
2769         DeclareAndCast(StepBasic_UncertaintyMeasureWithUnit,anent,ent);
2770         RWStepBasic_RWUncertaintyMeasureWithUnit tool;
2771         tool.Share(anent,iter);
2772       }
2773       break;
2774     case 311:
2775       {
2776         DeclareAndCast(StepGeom_UniformCurve,anent,ent);
2777         RWStepGeom_RWUniformCurve tool;
2778         tool.Share(anent,iter);
2779       }
2780       break;
2781     case 312:
2782       {
2783         DeclareAndCast(StepGeom_UniformSurface,anent,ent);
2784         RWStepGeom_RWUniformSurface tool;
2785         tool.Share(anent,iter);
2786       }
2787       break;
2788     case 313:
2789       {
2790         DeclareAndCast(StepGeom_Vector,anent,ent);
2791         RWStepGeom_RWVector tool;
2792         tool.Share(anent,iter);
2793       }
2794       break;
2795     case 315:
2796       {
2797         DeclareAndCast(StepShape_VertexLoop,anent,ent);
2798         RWStepShape_RWVertexLoop tool;
2799         tool.Share(anent,iter);
2800       }
2801       break;
2802     case 316:
2803       {
2804         DeclareAndCast(StepShape_VertexPoint,anent,ent);
2805         RWStepShape_RWVertexPoint tool;
2806         tool.Share(anent,iter);
2807       }
2808       break;
2809     case 317:
2810       {
2811         DeclareAndCast(StepVisual_ViewVolume,anent,ent);
2812         RWStepVisual_RWViewVolume tool;
2813         tool.Share(anent,iter);
2814       }
2815       break;
2816     case 319:
2817       {
2818         DeclareAndCast(StepGeom_UniformCurveAndRationalBSplineCurve,anent,ent);
2819         RWStepGeom_RWUniformCurveAndRationalBSplineCurve tool;
2820         tool.Share(anent,iter);
2821       }
2822       break;
2823     case 320:
2824       {
2825         DeclareAndCast(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve,anent,ent);
2826         RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve tool;
2827         tool.Share(anent,iter);
2828       }
2829       break;
2830     case 321:
2831       {
2832         DeclareAndCast(StepGeom_QuasiUniformCurveAndRationalBSplineCurve,anent,ent);
2833         RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve tool;
2834         tool.Share(anent,iter);
2835       }
2836       break;
2837     case 322:
2838       {
2839         DeclareAndCast(StepGeom_BezierCurveAndRationalBSplineCurve,anent,ent);
2840         RWStepGeom_RWBezierCurveAndRationalBSplineCurve tool;
2841         tool.Share(anent,iter);
2842       }
2843       break;
2844     case 323:
2845       {
2846         DeclareAndCast(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface,anent,ent);
2847         RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface tool;
2848         tool.Share(anent,iter);
2849       }
2850       break;
2851     case 324:
2852       {
2853         DeclareAndCast(StepGeom_UniformSurfaceAndRationalBSplineSurface,anent,ent);
2854         RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface tool;
2855         tool.Share(anent,iter);
2856       }
2857       break;
2858     case 325:
2859       {
2860         DeclareAndCast(StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface,anent,ent);
2861         RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface tool;
2862         tool.Share(anent,iter);
2863       }
2864       break;
2865     case 326:
2866       {
2867         DeclareAndCast(StepGeom_BezierSurfaceAndRationalBSplineSurface,anent,ent);
2868         RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface tool;
2869         tool.Share(anent,iter);
2870       }
2871       break;
2872     case 329:
2873       {
2874         DeclareAndCast(StepBasic_ConversionBasedUnitAndLengthUnit,anent,ent);
2875         RWStepBasic_RWConversionBasedUnitAndLengthUnit tool;
2876         tool.Share(anent,iter);
2877       }
2878       break;
2879     case 330:
2880       {
2881         DeclareAndCast(StepBasic_ConversionBasedUnitAndPlaneAngleUnit,anent,ent);
2882         RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit tool;
2883         tool.Share(anent,iter);
2884       }
2885       break;
2886     case 331:
2887       {
2888         DeclareAndCast(StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext,anent,ent);
2889         RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext tool;
2890         tool.Share(anent,iter);
2891       }
2892       break;
2893     case 332:
2894       {
2895         DeclareAndCast(StepShape_LoopAndPath,anent,ent);
2896         RWStepShape_RWLoopAndPath tool;
2897         tool.Share(anent,iter);
2898       }
2899       break;
2900       
2901       // ------------
2902       // Added by FMA
2903       // ------------
2904       
2905     case 333 :
2906       {
2907         DeclareAndCast(StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx, anent, ent);
2908         RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx tool;
2909         tool.Share(anent,iter);
2910       }
2911       break;
2912     case 334 :
2913       {
2914         DeclareAndCast(StepBasic_ConversionBasedUnitAndSolidAngleUnit, anent, ent);
2915         RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit tool;
2916         tool.Share(anent,iter);
2917       }
2918       break;
2919     case 336 :
2920       {
2921         DeclareAndCast(StepBasic_SolidAngleUnit, anent, ent);
2922         RWStepBasic_RWSolidAngleUnit tool;
2923         tool.Share(anent,iter);
2924       }
2925       break;
2926     case 337 :
2927       {
2928         DeclareAndCast(StepShape_FacetedBrepAndBrepWithVoids, anent, ent);
2929         RWStepShape_RWFacetedBrepAndBrepWithVoids tool;
2930         tool.Share(anent,iter);
2931       }
2932       break;
2933     case 338:
2934       {
2935         DeclareAndCast(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext,anent,ent);
2936         RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext tool;
2937         tool.Share(anent,iter);
2938       }
2939       break;
2940     case 339:
2941       {
2942         DeclareAndCast(StepBasic_MechanicalContext,anent,ent);
2943         RWStepBasic_RWMechanicalContext tool;
2944         tool.Share(anent,iter);
2945       }
2946       break;
2947       
2948       // ------------
2949       // Added by CKY
2950       // ------------
2951
2952     case 340:
2953       {
2954         DeclareAndCast(StepBasic_ProductDefinitionContext,anent,ent);
2955         RWStepBasic_RWProductDefinitionContext tool;
2956         tool.Share(anent,iter);
2957       }
2958       break;
2959
2960       // -----------
2961       // Added for Rev4
2962       // -----------
2963
2964     case 341:  // TimeMeasureWithUnit
2965       {
2966         DeclareAndCast(StepBasic_MeasureWithUnit,anent,ent);
2967         RWStepBasic_RWMeasureWithUnit tool;
2968         tool.Share(anent,iter);
2969       }
2970       break;
2971
2972     case 342:
2973     case 343:  // RatioUnit, TimeUnit
2974       {
2975         DeclareAndCast(StepBasic_NamedUnit,anent,ent);
2976         RWStepBasic_RWNamedUnit tool;
2977         tool.Share(anent,iter);
2978       }
2979       break;
2980 //  343 a 347 : no Shared
2981     case 348:  // ApprovalDateTime
2982       {
2983         DeclareAndCast(StepBasic_ApprovalDateTime,anent,ent);
2984         RWStepBasic_RWApprovalDateTime tool;
2985         tool.Share(anent,iter);
2986       }
2987       break;
2988     case 349: // CameraImage 2d and 3d
2989     case 350:
2990       {
2991         DeclareAndCast(StepVisual_CameraImage,anent,ent);
2992         RWStepVisual_RWCameraImage tool;
2993         tool.Share(anent,iter);
2994       }
2995       break;
2996     case 351:
2997       {
2998         DeclareAndCast(StepGeom_CartesianTransformationOperator,anent,ent);
2999         RWStepGeom_RWCartesianTransformationOperator tool;
3000         tool.Share(anent,iter);
3001       }
3002       break;
3003     case 352:
3004       {
3005         DeclareAndCast(StepBasic_DerivedUnit,anent,ent);
3006         RWStepBasic_RWDerivedUnit tool;
3007         tool.Share(anent,iter);
3008       }
3009       break;
3010     case 353:
3011       {
3012         DeclareAndCast(StepBasic_DerivedUnitElement,anent,ent);
3013         RWStepBasic_RWDerivedUnitElement tool;
3014         tool.Share(anent,iter);
3015       }
3016       break;
3017     case 354:
3018       {
3019         DeclareAndCast(StepRepr_ItemDefinedTransformation,anent,ent);
3020         RWStepRepr_RWItemDefinedTransformation tool;
3021         tool.Share(anent,iter);
3022       }
3023       break;
3024     case 355:
3025       {
3026         DeclareAndCast(StepVisual_PresentedItemRepresentation,anent,ent);
3027         RWStepVisual_RWPresentedItemRepresentation tool;
3028         tool.Share(anent,iter);
3029       }
3030       break;
3031     case 356:
3032       {
3033         DeclareAndCast(StepVisual_PresentationLayerUsage,anent,ent);
3034         RWStepVisual_RWPresentationLayerUsage tool;
3035         tool.Share(anent,iter);
3036       }
3037       break;
3038     //:n5 abv 15 Feb 99: S4132 complex type bounded_curve + surface_curve
3039     case 358:
3040       {
3041         DeclareAndCast(StepGeom_SurfaceCurveAndBoundedCurve,anent,ent);
3042         RWStepGeom_RWSurfaceCurveAndBoundedCurve tool;
3043         tool.Share(anent,iter);
3044       }
3045       break;
3046
3047 //  AP214 : CC1 -> CC2
3048     case 366:
3049       {
3050         DeclareAndCast(StepAP214_AutoDesignDocumentReference,anent,ent);
3051         RWStepAP214_RWAutoDesignDocumentReference tool;
3052         tool.Share(anent,iter);
3053       }
3054       break;
3055     case 367:
3056     case 368:
3057       {
3058         DeclareAndCast(StepBasic_Document,anent,ent);
3059         RWStepBasic_RWDocument tool;
3060         tool.Share(anent,iter);
3061       }
3062       break;
3063     case 369:
3064       {
3065         DeclareAndCast(StepBasic_DocumentRelationship,anent,ent);
3066         RWStepBasic_RWDocumentRelationship tool;
3067         tool.Share(anent,iter);
3068       }
3069       break;
3070     case 370:
3071       {
3072         DeclareAndCast(StepBasic_DocumentType,anent,ent);
3073         RWStepBasic_RWDocumentType tool;
3074         tool.Share(anent,iter);
3075       }
3076       break;
3077     case 371:
3078       {
3079         DeclareAndCast(StepBasic_DocumentUsageConstraint,anent,ent);
3080         RWStepBasic_RWDocumentUsageConstraint tool;
3081         tool.Share(anent,iter);
3082       }
3083       break;
3084     case 372:
3085       {
3086         DeclareAndCast(StepBasic_Effectivity,anent,ent);
3087         RWStepBasic_RWEffectivity tool;
3088         tool.Share(anent,iter);
3089       }
3090       break;
3091     case 373:
3092       {
3093         DeclareAndCast(StepBasic_ProductDefinitionEffectivity,anent,ent);
3094         RWStepBasic_RWProductDefinitionEffectivity tool;
3095         tool.Share(anent,iter);
3096       }
3097       break;
3098     case 374:
3099       {
3100         DeclareAndCast(StepBasic_ProductDefinitionRelationship,anent,ent);
3101         RWStepBasic_RWProductDefinitionRelationship tool;
3102         tool.Share(anent,iter);
3103       }
3104       break;
3105     case 375:
3106       {
3107         DeclareAndCast(StepBasic_ProductDefinitionWithAssociatedDocuments,anent,ent);
3108         RWStepBasic_RWProductDefinitionWithAssociatedDocuments tool;
3109         tool.Share(anent,iter);
3110       }
3111       break;
3112     case 376:
3113       {
3114         DeclareAndCast(StepBasic_PhysicallyModeledProductDefinition,anent,ent);
3115         RWStepBasic_RWProductDefinition tool;
3116         tool.Share(anent,iter);
3117       }
3118       break;
3119
3120     case 377:
3121       {
3122         DeclareAndCast(StepRepr_ProductDefinitionUsage,anent,ent);
3123         RWStepBasic_RWProductDefinitionRelationship tool;
3124         tool.Share(anent,iter);
3125       }
3126       break;
3127     case 378:
3128       {
3129         DeclareAndCast(StepRepr_MakeFromUsageOption,anent,ent);
3130         RWStepRepr_RWMakeFromUsageOption tool;
3131         tool.Share(anent,iter);
3132       }
3133       break;
3134     case 379:
3135     case 380:
3136     case 381:
3137       {
3138         DeclareAndCast(StepRepr_AssemblyComponentUsage,anent,ent);
3139         RWStepRepr_RWAssemblyComponentUsage tool;
3140         tool.Share(anent,iter);
3141       }
3142       break;
3143     case 382:
3144       {
3145         DeclareAndCast(StepRepr_QuantifiedAssemblyComponentUsage,anent,ent);
3146         RWStepRepr_RWQuantifiedAssemblyComponentUsage tool;
3147         tool.Share(anent,iter);
3148       }
3149       break;
3150     case 383:
3151       {
3152         DeclareAndCast(StepRepr_SpecifiedHigherUsageOccurrence,anent,ent);
3153         RWStepRepr_RWSpecifiedHigherUsageOccurrence tool;
3154         tool.Share(anent,iter);
3155       }
3156       break;
3157     case 384:
3158       {
3159         DeclareAndCast(StepRepr_AssemblyComponentUsageSubstitute,anent,ent);
3160         RWStepRepr_RWAssemblyComponentUsageSubstitute tool;
3161         tool.Share(anent,iter);
3162       }
3163       break;
3164     case 385:
3165       {
3166         DeclareAndCast(StepRepr_SuppliedPartRelationship,anent,ent);
3167         RWStepBasic_RWProductDefinitionRelationship tool;
3168         tool.Share(anent,iter);
3169       }
3170       break;
3171     case 386:
3172       {
3173         DeclareAndCast(StepRepr_ExternallyDefinedRepresentation,anent,ent);
3174         RWStepRepr_RWRepresentation tool;
3175         tool.Share(anent,iter);
3176       }
3177       break;
3178     case 387:
3179       {
3180         DeclareAndCast(StepRepr_ShapeRepresentationRelationship,anent,ent);
3181         RWStepRepr_RWRepresentationRelationship tool;
3182         tool.Share(anent,iter);
3183       }
3184       break;
3185     case 388:
3186       {
3187         DeclareAndCast(StepRepr_RepresentationRelationshipWithTransformation,anent,ent);
3188         RWStepRepr_RWRepresentationRelationshipWithTransformation tool;
3189         tool.Share(anent,iter);
3190       }
3191       break;
3192
3193     case 389:
3194       {
3195         DeclareAndCast(StepRepr_ShapeRepresentationRelationshipWithTransformation,anent,ent);
3196         RWStepRepr_RWShapeRepresentationRelationshipWithTransformation tool;
3197         tool.Share(anent,iter);
3198       }
3199       break;
3200
3201     case 390:
3202       {
3203         DeclareAndCast(StepRepr_MaterialDesignation,anent,ent);
3204         RWStepRepr_RWMaterialDesignation tool;
3205         tool.Share (anent,iter);
3206       }
3207       break;
3208
3209     case 391:
3210       {
3211         DeclareAndCast(StepShape_ContextDependentShapeRepresentation,anent,ent);
3212         RWStepShape_RWContextDependentShapeRepresentation tool;
3213         tool.Share(anent,iter);
3214       }
3215       break;
3216       
3217     //:S4134: Added from CD to DIS
3218     case 392:
3219       {
3220         DeclareAndCast(StepAP214_AppliedDateAndTimeAssignment,anent,ent);
3221         RWStepAP214_RWAppliedDateAndTimeAssignment tool;
3222         tool.Share (anent,iter);
3223       }
3224       break;
3225     case 393:
3226       {
3227         DeclareAndCast(StepAP214_AppliedDateAssignment,anent,ent);
3228         RWStepAP214_RWAppliedDateAssignment tool;
3229         tool.Share (anent,iter);
3230       }
3231       break;
3232     case 394:
3233       {
3234         DeclareAndCast(StepAP214_AppliedApprovalAssignment,anent,ent);
3235         RWStepAP214_RWAppliedApprovalAssignment tool;
3236         tool.Share (anent,iter);
3237       }
3238       break;
3239     case 395:
3240       {
3241         DeclareAndCast(StepAP214_AppliedGroupAssignment,anent,ent);
3242         RWStepAP214_RWAppliedGroupAssignment tool;
3243         tool.Share (anent,iter);
3244       }
3245       break;
3246     case 396:
3247       {
3248         DeclareAndCast(StepAP214_AppliedOrganizationAssignment,anent,ent);
3249         RWStepAP214_RWAppliedOrganizationAssignment tool;
3250         tool.Share (anent,iter);
3251       }
3252       break;
3253     case 397:
3254       {
3255         DeclareAndCast(StepAP214_AppliedPersonAndOrganizationAssignment,anent,ent);
3256         RWStepAP214_RWAppliedPersonAndOrganizationAssignment tool;
3257         tool.Share (anent,iter);
3258       }
3259       break;
3260     case 398:
3261       {
3262         DeclareAndCast(StepAP214_AppliedPresentedItem,anent,ent);
3263         RWStepAP214_RWAppliedPresentedItem tool;
3264         tool.Share (anent,iter);
3265       }
3266       break;
3267     case 399:
3268       {
3269         DeclareAndCast(StepAP214_AppliedSecurityClassificationAssignment,anent,ent);
3270         RWStepAP214_RWAppliedSecurityClassificationAssignment tool;
3271         tool.Share (anent,iter);
3272       }
3273       break;
3274     case 400:
3275       {
3276         DeclareAndCast(StepAP214_AppliedDocumentReference,anent,ent);
3277         RWStepAP214_RWAppliedDocumentReference tool;
3278         tool.Share (anent,iter);
3279       }
3280       break;
3281     case 401:
3282       {
3283         DeclareAndCast(StepBasic_DocumentFile,anent,ent);
3284         RWStepBasic_RWDocumentFile tool;
3285         tool.Share (anent,iter);
3286       }
3287       break;
3288     case 402:
3289       {
3290 //      DeclareAndCast(StepBasic_CharacterizedObject,anent,ent);
3291 //      RWStepBasic_RWCharacterizedObject tool;
3292 //      tool.Share (anent,iter);
3293       }
3294       break;
3295     case 403:
3296       {
3297         DeclareAndCast(StepShape_ExtrudedFaceSolid,anent,ent);
3298         RWStepShape_RWExtrudedFaceSolid tool;
3299         tool.Share (anent,iter);
3300       }
3301       break;
3302     
3303     case 404:
3304       {
3305         DeclareAndCast(StepShape_RevolvedFaceSolid,anent,ent);
3306         RWStepShape_RWRevolvedFaceSolid tool;
3307         tool.Share (anent,iter);
3308       }
3309       break;
3310     case 405:
3311       {
3312         DeclareAndCast(StepShape_SweptFaceSolid,anent,ent);
3313         RWStepShape_RWSweptFaceSolid tool;
3314         tool.Share (anent,iter);
3315       }
3316       break;
3317       
3318     // Added by ABV 08.09.99 for CAX TRJ 2 (validation properties)
3319     case 406:
3320       {
3321         DeclareAndCast(StepRepr_MeasureRepresentationItem,anent,ent);
3322         RWStepRepr_RWMeasureRepresentationItem tool;
3323         tool.Share (anent,iter);
3324       }
3325       break;
3326     case 407:
3327       {
3328         DeclareAndCast(StepBasic_AreaUnit,anent,ent);
3329         RWStepBasic_RWNamedUnit tool;
3330         tool.Share (anent,iter);
3331       }
3332       break;
3333     case 408:
3334       {
3335         DeclareAndCast(StepBasic_VolumeUnit,anent,ent);
3336         RWStepBasic_RWNamedUnit tool;
3337         tool.Share (anent,iter);
3338       }
3339       break;
3340     case 411:
3341       {
3342         DeclareAndCast(StepBasic_ConversionBasedUnitAndAreaUnit,anent,ent);
3343         RWStepBasic_RWConversionBasedUnitAndAreaUnit tool;
3344         tool.Share (anent,iter);
3345       }
3346       break;
3347     case 412:
3348       {
3349         DeclareAndCast(StepBasic_ConversionBasedUnitAndVolumeUnit,anent,ent);
3350         RWStepBasic_RWConversionBasedUnitAndVolumeUnit tool;
3351         tool.Share (anent,iter);
3352       }
3353       break;
3354
3355     // Added by ABV 10.11.99 for AP203
3356     case 413:
3357       {
3358         DeclareAndCast(StepBasic_Action,anent,ent);
3359         RWStepBasic_RWAction tool;
3360         tool.Share (anent,iter);
3361       }
3362       break;
3363     case 414:
3364       {
3365         DeclareAndCast(StepBasic_ActionAssignment,anent,ent);
3366         RWStepBasic_RWActionAssignment tool;
3367         tool.Share (anent,iter);
3368       }
3369       break;
3370     case 415:
3371       {
3372         DeclareAndCast(StepBasic_ActionMethod,anent,ent);
3373         RWStepBasic_RWActionMethod tool;
3374         tool.Share (anent,iter);
3375       }
3376       break;
3377     case 416:
3378       {
3379         DeclareAndCast(StepBasic_ActionRequestAssignment,anent,ent);
3380         RWStepBasic_RWActionRequestAssignment tool;
3381         tool.Share (anent,iter);
3382       }
3383       break;
3384     case 417:
3385       {
3386         DeclareAndCast(StepAP203_CcDesignApproval,anent,ent);
3387         RWStepAP203_RWCcDesignApproval tool;
3388         tool.Share (anent,iter);
3389       }
3390       break;
3391     case 418:
3392       {
3393         DeclareAndCast(StepAP203_CcDesignCertification,anent,ent);
3394         RWStepAP203_RWCcDesignCertification tool;
3395         tool.Share (anent,iter);
3396       }
3397       break;
3398     case 419:
3399       {
3400         DeclareAndCast(StepAP203_CcDesignContract,anent,ent);
3401         RWStepAP203_RWCcDesignContract tool;
3402         tool.Share (anent,iter);
3403       }
3404       break;
3405     case 420:
3406       {
3407         DeclareAndCast(StepAP203_CcDesignDateAndTimeAssignment,anent,ent);
3408         RWStepAP203_RWCcDesignDateAndTimeAssignment tool;
3409         tool.Share (anent,iter);
3410       }
3411       break;
3412     case 421:
3413       {
3414         DeclareAndCast(StepAP203_CcDesignPersonAndOrganizationAssignment,anent,ent);
3415         RWStepAP203_RWCcDesignPersonAndOrganizationAssignment tool;
3416         tool.Share (anent,iter);
3417       }
3418       break;
3419     case 422:
3420       {
3421         DeclareAndCast(StepAP203_CcDesignSecurityClassification,anent,ent);
3422         RWStepAP203_RWCcDesignSecurityClassification tool;
3423         tool.Share (anent,iter);
3424       }
3425       break;
3426     case 423:
3427       {
3428         DeclareAndCast(StepAP203_CcDesignSpecificationReference,anent,ent);
3429         RWStepAP203_RWCcDesignSpecificationReference tool;
3430         tool.Share (anent,iter);
3431       }
3432       break;
3433     case 424:
3434       {
3435         DeclareAndCast(StepBasic_Certification,anent,ent);
3436         RWStepBasic_RWCertification tool;
3437         tool.Share (anent,iter);
3438       }
3439       break;
3440     case 425:
3441       {
3442         DeclareAndCast(StepBasic_CertificationAssignment,anent,ent);
3443         RWStepBasic_RWCertificationAssignment tool;
3444         tool.Share (anent,iter);
3445       }
3446       break;
3447     case 426:
3448       {
3449         DeclareAndCast(StepBasic_CertificationType,anent,ent);
3450         RWStepBasic_RWCertificationType tool;
3451         tool.Share (anent,iter);
3452       }
3453       break;
3454     case 427:
3455       {
3456         DeclareAndCast(StepAP203_Change,anent,ent);
3457         RWStepAP203_RWChange tool;
3458         tool.Share (anent,iter);
3459       }
3460       break;
3461     case 428:
3462       {
3463         DeclareAndCast(StepAP203_ChangeRequest,anent,ent);
3464         RWStepAP203_RWChangeRequest tool;
3465         tool.Share (anent,iter);
3466       }
3467       break;
3468     case 429:
3469       {
3470         DeclareAndCast(StepRepr_ConfigurationDesign,anent,ent);
3471         RWStepRepr_RWConfigurationDesign tool;
3472         tool.Share (anent,iter);
3473       }
3474       break;
3475     case 430:
3476       {
3477         DeclareAndCast(StepRepr_ConfigurationEffectivity,anent,ent);
3478         RWStepRepr_RWConfigurationEffectivity tool;
3479         tool.Share (anent,iter);
3480       }
3481       break;
3482     case 431:
3483       {
3484         DeclareAndCast(StepBasic_Contract,anent,ent);
3485         RWStepBasic_RWContract tool;
3486         tool.Share (anent,iter);
3487       }
3488       break;
3489     case 432:
3490       {
3491         DeclareAndCast(StepBasic_ContractAssignment,anent,ent);
3492         RWStepBasic_RWContractAssignment tool;
3493         tool.Share (anent,iter);
3494       }
3495       break;
3496     case 433:
3497       {
3498         DeclareAndCast(StepBasic_ContractType,anent,ent);
3499         RWStepBasic_RWContractType tool;
3500         tool.Share (anent,iter);
3501       }
3502       break;
3503     case 434:
3504       {
3505         DeclareAndCast(StepRepr_ProductConcept,anent,ent);
3506         RWStepRepr_RWProductConcept tool;
3507         tool.Share (anent,iter);
3508       }
3509       break;
3510     case 435:
3511       {