-- Created on: 1997-03-19 -- Created by: Yves FRICAUD -- Copyright (c) 1997-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. -- Modified by SZY Wed Aug 18 1999 class Name from TNaming uses NameType from TNaming, NamedShape from TNaming, ListOfNamedShape from TNaming, ShapeEnum from TopAbs, Orientation from TopAbs, Shape from TopoDS, Label from TDF, LabelMap from TDF, RelocationTable from TDF is ---Category: Construction -- ============ Create returns Name from TNaming; Type (me : in out; aType : NameType from TNaming); ShapeType (me : in out; aType : ShapeEnum from TopAbs); Shape (me : in out; theShape : Shape from TopoDS); Append (me : in out; arg : NamedShape from TNaming); StopNamedShape (me : in out; arg : NamedShape from TNaming); Index (me : in out; I : Integer from Standard); ContextLabel (me : in out; theLab : Label from TDF); Orientation (me : in out; theOrientation : Orientation from TopAbs); ---Category: Queriyng -- ======== Type (me) returns NameType from TNaming; ShapeType (me) returns ShapeEnum from TopAbs; Shape (me) returns Shape from TopoDS; Arguments (me) returns ListOfNamedShape from TNaming; ---Purpose: ---C++: return const& StopNamedShape (me) returns NamedShape from TNaming ; Index (me) returns Integer from Standard; ContextLabel (me) returns Label from TDF; ---C++: return const& Orientation (me) returns Orientation from TopAbs; ---C++: inline ---C++: return const ---Category: Resolution -- ========== Solve(me; aLab : Label from TDF; Valid : LabelMap from TDF) returns Boolean from Standard; Paste (me; into : in out Name from TNaming; RT : mutable RelocationTable from TDF); fields myType : NameType from TNaming; myShapeType : ShapeEnum from TopAbs; myArgs : ListOfNamedShape from TNaming; myStop : NamedShape from TNaming; myIndex : Integer from Standard; myShape : Shape from TopoDS; myContextLabel : Label from TDF; myOrientation : Orientation from TopAbs; end Name;