Warning, /include/opencascade/STEPCAFControl_ExternFile.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 2000-09-28
0002 // Created by: Andrey BETENEV
0003 // Copyright (c) 2000-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015
0016 //=================================================================================================
0017
0018 inline void STEPCAFControl_ExternFile::SetWS(const occ::handle<XSControl_WorkSession>& WS)
0019 {
0020 myWS = WS;
0021 }
0022
0023 //=================================================================================================
0024
0025 inline occ::handle<XSControl_WorkSession> STEPCAFControl_ExternFile::GetWS() const
0026 {
0027 return myWS;
0028 }
0029
0030 //=================================================================================================
0031
0032 inline void STEPCAFControl_ExternFile::SetLoadStatus(const IFSelect_ReturnStatus stat)
0033 {
0034 myLoadStatus = stat;
0035 }
0036
0037 //=================================================================================================
0038
0039 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetLoadStatus() const
0040 {
0041 return myLoadStatus;
0042 }
0043
0044 //=================================================================================================
0045
0046 inline void STEPCAFControl_ExternFile::SetTransferStatus(const bool isok)
0047 {
0048 myTransferStatus = isok;
0049 }
0050
0051 //=================================================================================================
0052
0053 inline bool STEPCAFControl_ExternFile::GetTransferStatus() const
0054 {
0055 return myTransferStatus;
0056 }
0057
0058 //=================================================================================================
0059
0060 inline void STEPCAFControl_ExternFile::SetWriteStatus(const IFSelect_ReturnStatus stat)
0061 {
0062 myWriteStatus = stat;
0063 }
0064
0065 //=================================================================================================
0066
0067 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetWriteStatus() const
0068 {
0069 return myWriteStatus;
0070 }
0071
0072 //=================================================================================================
0073
0074 inline void STEPCAFControl_ExternFile::SetName(const occ::handle<TCollection_HAsciiString>& name)
0075 {
0076 myName = name;
0077 }
0078
0079 //=================================================================================================
0080
0081 inline occ::handle<TCollection_HAsciiString> STEPCAFControl_ExternFile::GetName() const
0082 {
0083 return myName;
0084 }
0085
0086 /*
0087 //=================================================================================================
0088
0089 inline void STEPCAFControl_ExternFile::SetShape (const TopoDS_Shape &Shape)
0090 {
0091 myShape = Shape;
0092 }
0093
0094 //=================================================================================================
0095
0096 inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const
0097 {
0098 return myShape;
0099 }
0100 */
0101
0102 //=================================================================================================
0103
0104 inline void STEPCAFControl_ExternFile::SetLabel(const TDF_Label& Label)
0105 {
0106 myLabel = Label;
0107 }
0108
0109 //=================================================================================================
0110
0111 inline TDF_Label STEPCAFControl_ExternFile::GetLabel() const
0112 {
0113 return myLabel;
0114 }