Warning, file /include/opencascade/XSControl_TransferWriter.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _XSControl_TransferWriter_HeaderFile
0018 #define _XSControl_TransferWriter_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Transient.hxx>
0024 #include <IFSelect_ReturnStatus.hxx>
0025 #include <Transfer_FinderProcess.hxx>
0026 class XSControl_Controller;
0027 class Interface_InterfaceModel;
0028 class TopoDS_Shape;
0029 class Interface_CheckIterator;
0030
0031
0032 class XSControl_TransferWriter;
0033 DEFINE_STANDARD_HANDLE(XSControl_TransferWriter, Standard_Transient)
0034
0035
0036
0037
0038
0039
0040
0041 class XSControl_TransferWriter : public Standard_Transient
0042 {
0043 public:
0044
0045
0046
0047 XSControl_TransferWriter()
0048 : myTransferWriter(new Transfer_FinderProcess),
0049 myTransferMode(0)
0050 {}
0051
0052
0053 const Handle(Transfer_FinderProcess) & FinderProcess() const
0054 { return myTransferWriter; }
0055
0056
0057 void SetFinderProcess (const Handle(Transfer_FinderProcess)& theFP)
0058 { myTransferWriter = theFP; }
0059
0060
0061 const Handle(XSControl_Controller) & Controller() const
0062 { return myController; }
0063
0064
0065 void SetController (const Handle(XSControl_Controller)& theCtl)
0066 {
0067 myController = theCtl;
0068 Clear(-1);
0069 }
0070
0071
0072
0073
0074 Standard_EXPORT void Clear (const Standard_Integer theMode);
0075
0076
0077
0078
0079
0080 Standard_Integer TransferMode() const
0081 { return myTransferMode; }
0082
0083
0084 void SetTransferMode (const Standard_Integer theMode)
0085 { myTransferMode = theMode; }
0086
0087
0088
0089 Standard_EXPORT void PrintStats (const Standard_Integer theWhat, const Standard_Integer theMode = 0) const;
0090
0091
0092
0093
0094
0095 Standard_EXPORT Standard_Boolean RecognizeTransient (const Handle(Standard_Transient)& theObj);
0096
0097
0098
0099
0100
0101
0102 Standard_EXPORT IFSelect_ReturnStatus TransferWriteTransient
0103 (const Handle(Interface_InterfaceModel)& theModel,
0104 const Handle(Standard_Transient)& theObj,
0105 const Message_ProgressRange& theProgress = Message_ProgressRange());
0106
0107
0108
0109 Standard_EXPORT Standard_Boolean RecognizeShape (const TopoDS_Shape& theShape);
0110
0111
0112
0113
0114
0115
0116 Standard_EXPORT IFSelect_ReturnStatus TransferWriteShape
0117 (const Handle(Interface_InterfaceModel)& theModel,
0118 const TopoDS_Shape& theShape,
0119 const Message_ProgressRange& theProgress = Message_ProgressRange());
0120
0121
0122
0123 Standard_EXPORT Interface_CheckIterator CheckList() const;
0124
0125
0126
0127
0128 Standard_EXPORT Interface_CheckIterator ResultCheckList (const Handle(Interface_InterfaceModel)& theModel) const;
0129
0130 DEFINE_STANDARD_RTTIEXT(XSControl_TransferWriter,Standard_Transient)
0131
0132 private:
0133
0134 Handle(XSControl_Controller) myController;
0135 Handle(Transfer_FinderProcess) myTransferWriter;
0136 Standard_Integer myTransferMode;
0137 };
0138
0139 #endif