File indexing completed on 2025-01-18 10:05:05
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 class STEPCAFControl_ExternFile;
0030 DEFINE_STANDARD_HANDLE(STEPCAFControl_ExternFile, Standard_Transient)
0031
0032
0033
0034 class STEPCAFControl_ExternFile : public Standard_Transient
0035 {
0036
0037 public:
0038
0039
0040
0041 Standard_EXPORT STEPCAFControl_ExternFile();
0042
0043 void SetWS (const Handle(XSControl_WorkSession)& WS);
0044
0045 Handle(XSControl_WorkSession) GetWS() const;
0046
0047 void SetLoadStatus (const IFSelect_ReturnStatus stat);
0048
0049 IFSelect_ReturnStatus GetLoadStatus() const;
0050
0051 void SetTransferStatus (const Standard_Boolean isok);
0052
0053 Standard_Boolean GetTransferStatus() const;
0054
0055 void SetWriteStatus (const IFSelect_ReturnStatus stat);
0056
0057 IFSelect_ReturnStatus GetWriteStatus() const;
0058
0059 void SetName (const Handle(TCollection_HAsciiString)& name);
0060
0061 Handle(TCollection_HAsciiString) GetName() const;
0062
0063 void SetLabel (const TDF_Label& L);
0064
0065 TDF_Label GetLabel() const;
0066
0067
0068
0069
0070 DEFINE_STANDARD_RTTIEXT(STEPCAFControl_ExternFile,Standard_Transient)
0071
0072 protected:
0073
0074
0075
0076
0077 private:
0078
0079
0080 Handle(XSControl_WorkSession) myWS;
0081 IFSelect_ReturnStatus myLoadStatus;
0082 Standard_Boolean myTransferStatus;
0083 IFSelect_ReturnStatus myWriteStatus;
0084 Handle(TCollection_HAsciiString) myName;
0085 TDF_Label myLabel;
0086
0087
0088 };
0089
0090
0091 #include <STEPCAFControl_ExternFile.lxx>
0092
0093
0094
0095
0096
0097 #endif