blob: 7d49b28673f7c1f109ef4bb8551d7ac6a774126d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
-- File: TNaming_SameShapeIterator.cdl
-- Created: Thu Apr 24 17:40:44 1997
-- Author: Yves FRICAUD
-- <yfr@claquox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
class SameShapeIterator from TNaming
---Purpose: To iterate on all the label which contained a
-- given shape.
uses
Shape from TopoDS,
UsedShapes from TNaming,
Iterator from TNaming,
Label from TDF,
PtrNode from TNaming
raises
NoMoreObject from Standard,
NoSuchObject from Standard
is
Create(aShape : Shape from TopoDS;
Shapes : UsedShapes from TNaming)
returns SameShapeIterator from TNaming
is private;
Create(aShape : Shape from TopoDS;
access : Label from TDF)
returns SameShapeIterator from TNaming;
More(me) returns Boolean;
---C++: inline
Next(me : in out)
raises
NoMoreObject from Standard;
Label(me) returns Label from TDF
raises
NoSuchObject from Standard;
fields
myNode : PtrNode from TNaming;
myIsNew : Boolean from Standard;
friends
class Tool from TNaming
end SameShapeIterator;
|