1 -- Created on: 1996-12-17
2 -- Created by: Remi Lequette
3 -- Copyright (c) 1996-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
22 class NewShapeIterator from TNaming
24 ---Purpose: Iterates on all the descendants of a shape
28 UsedShapes from TNaming,
29 NamedShape from TNaming,
30 Iterator from TNaming,
35 NoMoreObject from Standard,
36 NoSuchObject from Standard
40 Create (aShape : Shape from TopoDS;
41 Transaction : Integer from Standard;
42 Shapes : UsedShapes from TNaming)
43 returns NewShapeIterator from TNaming
46 Create (aShape : Shape from TopoDS;
47 Shapes : UsedShapes from TNaming)
48 returns NewShapeIterator from TNaming
51 Create (aShape : Shape from TopoDS;
52 Transaction : Integer from Standard;
53 access : Label from TDF)
54 returns NewShapeIterator from TNaming;
56 Create (aShape : Shape from TopoDS;
57 access : Label from TDF)
58 returns NewShapeIterator from TNaming;
60 Create (anIterator : NewShapeIterator from TNaming)
61 returns NewShapeIterator from TNaming;
62 ---Purpose: Iterates from the current Shape in <anIterator>
64 Create (anIterator : Iterator from TNaming)
65 returns NewShapeIterator from TNaming;
66 ---Purpose: Iterates from the current Shape in <anIterator>
68 More(me) returns Boolean;
73 NoMoreObject from Standard;
75 Label(me) returns Label from TDF
77 NoSuchObject from Standard;
79 NamedShape(me) returns NamedShape from TNaming
81 NoSuchObject from Standard;
83 Shape(me) returns Shape from TopoDS
85 ---Purpose: Warning! Can be a Null Shape if a descendant is deleted.
87 NoSuchObject from Standard;
89 IsModification(me) returns Boolean;
90 ---Purpose: True if the new shape is a modification (split,
91 -- fuse,etc...) of the old shape.
95 myNode : PtrNode from TNaming;
96 myTrans : Integer from Standard; -- is < 0 means in Current Transaction.
100 class Tool from TNaming,
101 class Name from TNaming,
102 class Naming from TNaming
104 end NewShapeIterator;