0022627: Change OCCT memory management defaults
[occt.git] / src / STEPCAFControl / STEPCAFControl_ExternFile.lxx
1 // File:        STEPCAFControl_ExternFile.lxx
2 // Created:     Thu Sep 28 16:38:15 2000
3 // Author:      Andrey BETENEV
4 //              <abv@doomox.nnov.matra-dtv.fr>
5
6 //=======================================================================
7 //function : SetWS
8 //purpose  : 
9 //=======================================================================
10
11 inline void STEPCAFControl_ExternFile::SetWS (const Handle(XSControl_WorkSession) &WS)
12 {
13   myWS = WS;
14 }
15
16 //=======================================================================
17 //function : GetWS
18 //purpose  : 
19 //=======================================================================
20
21 inline Handle(XSControl_WorkSession) STEPCAFControl_ExternFile::GetWS () const
22 {
23   return myWS;
24 }
25
26 //=======================================================================
27 //function : SetLoadStatus
28 //purpose  : 
29 //=======================================================================
30
31 inline void STEPCAFControl_ExternFile::SetLoadStatus (const IFSelect_ReturnStatus stat)
32 {
33   myLoadStatus = stat;
34 }
35
36 //=======================================================================
37 //function : GetLoadStatus
38 //purpose  : 
39 //=======================================================================
40
41 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetLoadStatus () const
42 {
43   return myLoadStatus;
44 }
45
46 //=======================================================================
47 //function : SetTransferStatus
48 //purpose  : 
49 //=======================================================================
50
51 inline void STEPCAFControl_ExternFile::SetTransferStatus (const Standard_Boolean isok)
52 {
53   myTransferStatus = isok;
54 }
55
56 //=======================================================================
57 //function : GetTransferStatus
58 //purpose  : 
59 //=======================================================================
60
61 inline Standard_Boolean STEPCAFControl_ExternFile::GetTransferStatus () const
62 {
63   return myTransferStatus;
64 }
65
66 //=======================================================================
67 //function : SetWriteStatus
68 //purpose  : 
69 //=======================================================================
70
71 inline void STEPCAFControl_ExternFile::SetWriteStatus (const IFSelect_ReturnStatus stat)
72 {
73   myWriteStatus = stat;
74 }
75
76 //=======================================================================
77 //function : GetWriteStatus
78 //purpose  : 
79 //=======================================================================
80
81 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetWriteStatus () const
82 {
83   return myWriteStatus;
84 }
85
86 //=======================================================================
87 //function : SetName
88 //purpose  : 
89 //=======================================================================
90
91 inline void STEPCAFControl_ExternFile::SetName (const Handle(TCollection_HAsciiString) &name)
92 {
93   myName = name;
94 }
95
96 //=======================================================================
97 //function : GetName
98 //purpose  : 
99 //=======================================================================
100
101 inline Handle(TCollection_HAsciiString) STEPCAFControl_ExternFile::GetName () const
102 {
103   return myName;
104 }
105
106 /*
107 //=======================================================================
108 //function : SetShape
109 //purpose  : 
110 //=======================================================================
111
112 inline void STEPCAFControl_ExternFile::SetShape (const TopoDS_Shape &Shape)
113 {
114   myShape = Shape;
115 }
116
117 //=======================================================================
118 //function : GetShape
119 //purpose  : 
120 //=======================================================================
121
122 inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const
123 {
124   return myShape;
125 }
126 */
127
128 //=======================================================================
129 //function : SetLabel
130 //purpose  : 
131 //=======================================================================
132
133 inline void STEPCAFControl_ExternFile::SetLabel (const TDF_Label &Label)
134 {
135   myLabel = Label;
136 }
137
138 //=======================================================================
139 //function : GetLabel
140 //purpose  : 
141 //=======================================================================
142
143 inline TDF_Label STEPCAFControl_ExternFile::GetLabel () const
144 {
145   return myLabel;
146 }