blob: af4f89ef182ca791372de9b304225649e39b57db (
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
|
-- File: XCAFDoc_Location.cdl
-- Created: Tue Aug 15 10:34:27 2000
-- Author: data exchange team
-- <det@strelox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class Location from XCAFDoc inherits Attribute from TDF
---Purpose:
uses
Location from TopLoc,
Label from TDF,
RelocationTable from TDF
is
Create returns Location from XCAFDoc;
---Purpose: class methods
-- =============
GetID (myclass)
---C++: return const &
returns GUID from Standard;
Set (myclass; label : Label from TDF; Loc : Location from TopLoc)
---Purpose: Find, or create, a Location attribute and set it's value
-- the Location attribute is returned.
returns Location from XCAFDoc;
---Purpose: Location methods
-- ===============
Set (me : mutable; Loc : Location from TopLoc);
Get (me)
returns Location from TopLoc;
--IsCaptured(me) returns Boolean;
---Purpose: Returns True if there is a reference on the same label
---Category: methodes de TDF_Attribute
-- =========================
ID (me)
---C++: return const &
returns GUID from Standard;
Restore (me: mutable; With : Attribute from TDF);
NewEmpty (me)
returns mutable Attribute from TDF;
Paste (me; Into : mutable Attribute from TDF;
RT : mutable RelocationTable from TDF);
-- Dump(me; anOS : in out OStream from Standard)
-- returns OStream from Standard
-- is redefined;
-- -C++: return &
fields
myLocation : Location from TopLoc;
end Location;
|