-- Created on: 1998-08-04 -- Created by: Christian CAILLET -- Copyright (c) 1998-1999 Matra Datavision -- Copyright (c) 1999-2012 OPEN CASCADE SAS -- -- The content of this file is subject to the Open CASCADE Technology Public -- License Version 6.5 (the "License"). You may not use the content of this file -- except in compliance with the License. Please obtain a copy of the License -- at http://www.opencascade.org and read it completely before using this file. -- -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. -- -- The Original Code and all software distributed under the License is -- distributed on an "AS IS" basis, without warranty of any kind, and the -- Initial Developer hereby disclaims all such warranties, including without -- limitation, any warranties of merchantability, fitness for a particular -- purpose or non-infringement. Please see the License for the specific terms -- and conditions governing the rights and limitations under the License. class AutoDesignReferencingItem from StepAP214 inherits SelectType from StepData -- is an EXPRESS Select Type construct translation. -- it gathers : -- (approval, -- document_relationship, -- externally_defined_representation, -- mapped_item, -- material_designation, -- presentation_area, -- presentation_view, -- product_category, -- product_definition, -- product_definition_relationship, -- property_definition, -- representation, -- representation_relationship, -- shape_aspect); uses Approval from StepBasic, DocumentRelationship from StepBasic, ExternallyDefinedRepresentation from StepRepr, MappedItem from StepRepr, MaterialDesignation from StepRepr, PresentationArea from StepVisual, PresentationView from StepVisual, ProductCategory from StepBasic, ProductDefinition from StepBasic, ProductDefinitionRelationship from StepBasic, PropertyDefinition from StepRepr, Representation from StepRepr, RepresentationRelationship from StepRepr, ShapeAspect from StepRepr is Create returns AutoDesignReferencingItem; ---Purpose : Returns a AutoDesignReferencingItem SelectType CaseNum (me; ent : Transient) returns Integer; ---Purpose: Recognizes a AutoDesignReferencingItem Kind Entity that is : -- 1 Approval from StepBasic, -- 2 DocumentRelationship from StepBasic, -- 3 ExternallyDefinedRepresentation from StepRepr, -- 4 MappedItem from StepRepr, -- 5 MaterialDesignation from StepRepr, -- 6 PresentationArea from StepVisual, -- 7 PresentationView from StepVisual, -- 8 ProductCategory from StepBasic, -- 9 ProductDefinition from StepBasic, -- 10 ProductDefinitionRelationship from StepBasic, -- 11 PropertyDefinition from StepBasic, -- 12 Representation from StepRepr, -- 13 RepresentationRelationship from StepRepr, -- 14 ShapeAspect from StepRepr -- 0 else Approval (me) returns Approval from StepBasic; DocumentRelationship (me) returns DocumentRelationship from StepBasic; ExternallyDefinedRepresentation (me) returns ExternallyDefinedRepresentation from StepRepr; MappedItem (me) returns MappedItem from StepRepr; MaterialDesignation (me) returns MaterialDesignation from StepRepr; PresentationArea (me) returns PresentationArea from StepVisual; PresentationView (me) returns PresentationView from StepVisual; ProductCategory (me) returns ProductCategory from StepBasic; ProductDefinition (me) returns ProductDefinition from StepBasic; ProductDefinitionRelationship (me) returns ProductDefinitionRelationship from StepBasic; PropertyDefinition (me) returns PropertyDefinition from StepRepr; Representation (me) returns Representation from StepRepr; RepresentationRelationship (me) returns RepresentationRelationship from StepRepr; ShapeAspect (me) returns ShapeAspect from StepRepr; end AutoDesignReferencingItem;