b311480e |
1 | // Created on: 2000-09-28 |
2 | // Created by: Andrey BETENEV |
3 | // Copyright (c) 2000-2012 OPEN CASCADE SAS |
4 | // |
5 | // The content of this file is subject to the Open CASCADE Technology Public |
6 | // License Version 6.5 (the "License"). You may not use the content of this file |
7 | // except in compliance with the License. Please obtain a copy of the License |
8 | // at http://www.opencascade.org and read it completely before using this file. |
9 | // |
10 | // The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
11 | // main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
12 | // |
13 | // The Original Code and all software distributed under the License is |
14 | // distributed on an "AS IS" basis, without warranty of any kind, and the |
15 | // Initial Developer hereby disclaims all such warranties, including without |
16 | // limitation, any warranties of merchantability, fitness for a particular |
17 | // purpose or non-infringement. Please see the License for the specific terms |
18 | // and conditions governing the rights and limitations under the License. |
19 | |
7fd59977 |
20 | |
21 | //======================================================================= |
22 | //function : SetWS |
23 | //purpose : |
24 | //======================================================================= |
25 | |
26 | inline void STEPCAFControl_ExternFile::SetWS (const Handle(XSControl_WorkSession) &WS) |
27 | { |
28 | myWS = WS; |
29 | } |
30 | |
31 | //======================================================================= |
32 | //function : GetWS |
33 | //purpose : |
34 | //======================================================================= |
35 | |
36 | inline Handle(XSControl_WorkSession) STEPCAFControl_ExternFile::GetWS () const |
37 | { |
38 | return myWS; |
39 | } |
40 | |
41 | //======================================================================= |
42 | //function : SetLoadStatus |
43 | //purpose : |
44 | //======================================================================= |
45 | |
46 | inline void STEPCAFControl_ExternFile::SetLoadStatus (const IFSelect_ReturnStatus stat) |
47 | { |
48 | myLoadStatus = stat; |
49 | } |
50 | |
51 | //======================================================================= |
52 | //function : GetLoadStatus |
53 | //purpose : |
54 | //======================================================================= |
55 | |
56 | inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetLoadStatus () const |
57 | { |
58 | return myLoadStatus; |
59 | } |
60 | |
61 | //======================================================================= |
62 | //function : SetTransferStatus |
63 | //purpose : |
64 | //======================================================================= |
65 | |
66 | inline void STEPCAFControl_ExternFile::SetTransferStatus (const Standard_Boolean isok) |
67 | { |
68 | myTransferStatus = isok; |
69 | } |
70 | |
71 | //======================================================================= |
72 | //function : GetTransferStatus |
73 | //purpose : |
74 | //======================================================================= |
75 | |
76 | inline Standard_Boolean STEPCAFControl_ExternFile::GetTransferStatus () const |
77 | { |
78 | return myTransferStatus; |
79 | } |
80 | |
81 | //======================================================================= |
82 | //function : SetWriteStatus |
83 | //purpose : |
84 | //======================================================================= |
85 | |
86 | inline void STEPCAFControl_ExternFile::SetWriteStatus (const IFSelect_ReturnStatus stat) |
87 | { |
88 | myWriteStatus = stat; |
89 | } |
90 | |
91 | //======================================================================= |
92 | //function : GetWriteStatus |
93 | //purpose : |
94 | //======================================================================= |
95 | |
96 | inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetWriteStatus () const |
97 | { |
98 | return myWriteStatus; |
99 | } |
100 | |
101 | //======================================================================= |
102 | //function : SetName |
103 | //purpose : |
104 | //======================================================================= |
105 | |
106 | inline void STEPCAFControl_ExternFile::SetName (const Handle(TCollection_HAsciiString) &name) |
107 | { |
108 | myName = name; |
109 | } |
110 | |
111 | //======================================================================= |
112 | //function : GetName |
113 | //purpose : |
114 | //======================================================================= |
115 | |
116 | inline Handle(TCollection_HAsciiString) STEPCAFControl_ExternFile::GetName () const |
117 | { |
118 | return myName; |
119 | } |
120 | |
121 | /* |
122 | //======================================================================= |
123 | //function : SetShape |
124 | //purpose : |
125 | //======================================================================= |
126 | |
127 | inline void STEPCAFControl_ExternFile::SetShape (const TopoDS_Shape &Shape) |
128 | { |
129 | myShape = Shape; |
130 | } |
131 | |
132 | //======================================================================= |
133 | //function : GetShape |
134 | //purpose : |
135 | //======================================================================= |
136 | |
137 | inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const |
138 | { |
139 | return myShape; |
140 | } |
141 | */ |
142 | |
143 | //======================================================================= |
144 | //function : SetLabel |
145 | //purpose : |
146 | //======================================================================= |
147 | |
148 | inline void STEPCAFControl_ExternFile::SetLabel (const TDF_Label &Label) |
149 | { |
150 | myLabel = Label; |
151 | } |
152 | |
153 | //======================================================================= |
154 | //function : GetLabel |
155 | //purpose : |
156 | //======================================================================= |
157 | |
158 | inline TDF_Label STEPCAFControl_ExternFile::GetLabel () const |
159 | { |
160 | return myLabel; |
161 | } |