blob: e393e3de46af559f165a6bf5fc90c27415c9ede3 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
-- File: TNaming_Scope.cdl
-- Created: Wed Nov 3 16:23:24 1999
-- Author: Denis PASCAL
-- <dp@dingox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1999
private class Scope from TNaming
---Purpose: this class manage a scope of labels
-- ===================================
uses Label from TDF,
LabelMap from TDF,
NamedShape from TNaming,
Shape from TopoDS
is
Create
---Purpose: WithValid = FALSE
returns Scope from TNaming;
Create (WithValid : Boolean from Standard)
---Purpose: if <WithValid> the scope is defined by the map. If not
-- on the whole framework.
returns Scope from TNaming;
Create (valid : in out LabelMap from TDF)
---Purpose: create a scope with a map. WithValid = TRUE.
returns Scope from TNaming;
WithValid (me)
returns Boolean from Standard;
WithValid (me : in out; mode : Boolean from Standard);
ClearValid (me : in out);
Valid (me : in out; L :Label from TDF);
ValidChildren (me : in out; L : Label from TDF;
withroot : Boolean from Standard = Standard_True);
Unvalid (me : in out; L :Label from TDF);
UnvalidChildren (me : in out; L : Label from TDF;
withroot : Boolean from Standard = Standard_True);
IsValid (me; L :Label from TDF)
returns Boolean from Standard;
GetValid (me)
---C++: return const &
returns LabelMap from TDF;
ChangeValid (me : in out)
---C++: return &
returns LabelMap from TDF;
CurrentShape (me ; NS : NamedShape from TNaming)
---Purpose: Returns the current value of <NS> according to the
-- Valid Scope.
returns Shape from TopoDS;
fields
myWithValid : Boolean from Standard;
myValid : LabelMap from TDF;
end Scope;
|