blob: 77fd27797089baea85bbfcac4298db3826572b0a (
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
|
-- File: STEPCAFControl_ExternFile.cdl
-- Created: Thu Sep 28 16:16:22 2000
-- Author: Andrey BETENEV
-- <abv@doomox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2000
class ExternFile from STEPCAFControl inherits TShared from MMgt
---Purpose: Auxiliary class serving as container for data resulting
-- from translation of external file
uses
HAsciiString from TCollection,
ReturnStatus from IFSelect,
WorkSession from XSControl,
Shape from TopoDS,
Label from TDF
is
Create returns ExternFile;
---Purpose: Creates an empty structure
SetWS (me: mutable; WS: WorkSession from XSControl);
---C++: inline
GetWS (me) returns WorkSession from XSControl;
---C++: inline
SetLoadStatus (me: mutable; stat: ReturnStatus from IFSelect);
---C++: inline
GetLoadStatus (me) returns ReturnStatus from IFSelect;
---C++: inline
SetTransferStatus (me: mutable; isok: Boolean);
---C++: inline
GetTransferStatus (me) returns Boolean;
---C++: inline
SetWriteStatus (me: mutable; stat: ReturnStatus from IFSelect);
---C++: inline
GetWriteStatus (me) returns ReturnStatus from IFSelect;
---C++: inline
SetName (me: mutable; name: HAsciiString from TCollection);
---C++: inline
GetName (me) returns HAsciiString from TCollection;
---C++: inline
-- SetShape (me: mutable; S: Shape from TopoDS);
---C++: inline
-- GetShape (me) returns Shape from TopoDS;
---C++: inline
SetLabel (me: mutable; L: Label from TDF);
---C++: inline
GetLabel (me) returns Label from TDF;
---C++: inline
fields
myWS : WorkSession from XSControl;
myLoadStatus: ReturnStatus from IFSelect;
myTransferStatus: Boolean;
myWriteStatus: ReturnStatus from IFSelect;
myName: HAsciiString from TCollection;
-- myShape: Shape from TopoDS;
myLabel: Label from TDF;
end ExternFile;
|