File indexing completed on 2026-09-29 09:20:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _STEPCAFControl_ExternFile_HeaderFile
0017 #define _STEPCAFControl_ExternFile_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <IFSelect_ReturnStatus.hxx>
0022 #include <Standard_Boolean.hxx>
0023 #include <TDF_Label.hxx>
0024 #include <Standard_Transient.hxx>
0025 class XSControl_WorkSession;
0026 class TCollection_HAsciiString;
0027
0028
0029
0030 class STEPCAFControl_ExternFile : public Standard_Transient
0031 {
0032
0033 public:
0034
0035 Standard_EXPORT STEPCAFControl_ExternFile();
0036
0037 void SetWS(const occ::handle<XSControl_WorkSession>& WS);
0038
0039 occ::handle<XSControl_WorkSession> GetWS() const;
0040
0041 void SetLoadStatus(const IFSelect_ReturnStatus stat);
0042
0043 IFSelect_ReturnStatus GetLoadStatus() const;
0044
0045 void SetTransferStatus(const bool isok);
0046
0047 bool GetTransferStatus() const;
0048
0049 void SetWriteStatus(const IFSelect_ReturnStatus stat);
0050
0051 IFSelect_ReturnStatus GetWriteStatus() const;
0052
0053 void SetName(const occ::handle<TCollection_HAsciiString>& name);
0054
0055 occ::handle<TCollection_HAsciiString> GetName() const;
0056
0057 void SetLabel(const TDF_Label& L);
0058
0059 TDF_Label GetLabel() const;
0060
0061 DEFINE_STANDARD_RTTIEXT(STEPCAFControl_ExternFile, Standard_Transient)
0062
0063 private:
0064 occ::handle<XSControl_WorkSession> myWS;
0065 IFSelect_ReturnStatus myLoadStatus;
0066 bool myTransferStatus;
0067 IFSelect_ReturnStatus myWriteStatus;
0068 occ::handle<TCollection_HAsciiString> myName;
0069 TDF_Label myLabel;
0070 };
0071
0072 #include <STEPCAFControl_ExternFile.lxx>
0073
0074 #endif