b311480e |
1 | // Created on: 2000-09-28 |
2 | // Created by: Andrey BETENEV |
973c2be1 |
3 | // Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e |
4 | // |
973c2be1 |
5 | // This file is part of Open CASCADE Technology software library. |
b311480e |
6 | // |
d5f74e42 |
7 | // This library is free software; you can redistribute it and/or modify it under |
8 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | // by the Free Software Foundation, with special exception defined in the file |
10 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | // |
973c2be1 |
13 | // Alternatively, this file may be used under the terms of Open CASCADE |
14 | // commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | //======================================================================= |
17 | //function : SetWS |
18 | //purpose : |
19 | //======================================================================= |
20 | |
21 | inline void STEPCAFControl_ExternFile::SetWS (const Handle(XSControl_WorkSession) &WS) |
22 | { |
23 | myWS = WS; |
24 | } |
25 | |
26 | //======================================================================= |
27 | //function : GetWS |
28 | //purpose : |
29 | //======================================================================= |
30 | |
31 | inline Handle(XSControl_WorkSession) STEPCAFControl_ExternFile::GetWS () const |
32 | { |
33 | return myWS; |
34 | } |
35 | |
36 | //======================================================================= |
37 | //function : SetLoadStatus |
38 | //purpose : |
39 | //======================================================================= |
40 | |
41 | inline void STEPCAFControl_ExternFile::SetLoadStatus (const IFSelect_ReturnStatus stat) |
42 | { |
43 | myLoadStatus = stat; |
44 | } |
45 | |
46 | //======================================================================= |
47 | //function : GetLoadStatus |
48 | //purpose : |
49 | //======================================================================= |
50 | |
51 | inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetLoadStatus () const |
52 | { |
53 | return myLoadStatus; |
54 | } |
55 | |
56 | //======================================================================= |
57 | //function : SetTransferStatus |
58 | //purpose : |
59 | //======================================================================= |
60 | |
61 | inline void STEPCAFControl_ExternFile::SetTransferStatus (const Standard_Boolean isok) |
62 | { |
63 | myTransferStatus = isok; |
64 | } |
65 | |
66 | //======================================================================= |
67 | //function : GetTransferStatus |
68 | //purpose : |
69 | //======================================================================= |
70 | |
71 | inline Standard_Boolean STEPCAFControl_ExternFile::GetTransferStatus () const |
72 | { |
73 | return myTransferStatus; |
74 | } |
75 | |
76 | //======================================================================= |
77 | //function : SetWriteStatus |
78 | //purpose : |
79 | //======================================================================= |
80 | |
81 | inline void STEPCAFControl_ExternFile::SetWriteStatus (const IFSelect_ReturnStatus stat) |
82 | { |
83 | myWriteStatus = stat; |
84 | } |
85 | |
86 | //======================================================================= |
87 | //function : GetWriteStatus |
88 | //purpose : |
89 | //======================================================================= |
90 | |
91 | inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetWriteStatus () const |
92 | { |
93 | return myWriteStatus; |
94 | } |
95 | |
96 | //======================================================================= |
97 | //function : SetName |
98 | //purpose : |
99 | //======================================================================= |
100 | |
101 | inline void STEPCAFControl_ExternFile::SetName (const Handle(TCollection_HAsciiString) &name) |
102 | { |
103 | myName = name; |
104 | } |
105 | |
106 | //======================================================================= |
107 | //function : GetName |
108 | //purpose : |
109 | //======================================================================= |
110 | |
111 | inline Handle(TCollection_HAsciiString) STEPCAFControl_ExternFile::GetName () const |
112 | { |
113 | return myName; |
114 | } |
115 | |
116 | /* |
117 | //======================================================================= |
118 | //function : SetShape |
119 | //purpose : |
120 | //======================================================================= |
121 | |
122 | inline void STEPCAFControl_ExternFile::SetShape (const TopoDS_Shape &Shape) |
123 | { |
124 | myShape = Shape; |
125 | } |
126 | |
127 | //======================================================================= |
128 | //function : GetShape |
129 | //purpose : |
130 | //======================================================================= |
131 | |
132 | inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const |
133 | { |
134 | return myShape; |
135 | } |
136 | */ |
137 | |
138 | //======================================================================= |
139 | //function : SetLabel |
140 | //purpose : |
141 | //======================================================================= |
142 | |
143 | inline void STEPCAFControl_ExternFile::SetLabel (const TDF_Label &Label) |
144 | { |
145 | myLabel = Label; |
146 | } |
147 | |
148 | //======================================================================= |
149 | //function : GetLabel |
150 | //purpose : |
151 | //======================================================================= |
152 | |
153 | inline TDF_Label STEPCAFControl_ExternFile::GetLabel () const |
154 | { |
155 | return myLabel; |
156 | } |