File indexing completed on 2025-01-18 10:05:13
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _StepSelect_WorkLibrary_HeaderFile
0018 #define _StepSelect_WorkLibrary_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Integer.hxx>
0024 #include <IFSelect_WorkLibrary.hxx>
0025 class Interface_InterfaceModel;
0026 class Interface_Protocol;
0027 class IFSelect_ContextWrite;
0028 class Interface_EntityIterator;
0029 class Interface_CopyTool;
0030
0031 class StepSelect_WorkLibrary;
0032 DEFINE_STANDARD_HANDLE(StepSelect_WorkLibrary, IFSelect_WorkLibrary)
0033
0034
0035
0036 class StepSelect_WorkLibrary : public IFSelect_WorkLibrary
0037 {
0038
0039 public:
0040
0041
0042
0043
0044 Standard_EXPORT StepSelect_WorkLibrary(const Standard_Boolean copymode = Standard_True);
0045
0046
0047
0048
0049
0050 Standard_EXPORT void SetDumpLabel (const Standard_Integer mode);
0051
0052
0053
0054
0055 Standard_EXPORT Standard_Integer ReadFile (const Standard_CString name, Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol) const Standard_OVERRIDE;
0056
0057
0058
0059
0060 Standard_EXPORT Standard_Integer ReadStream(const Standard_CString theName,
0061 std::istream& theIStream,
0062 Handle(Interface_InterfaceModel)& model,
0063 const Handle(Interface_Protocol)& protocol) const Standard_OVERRIDE;
0064
0065
0066
0067
0068 Standard_EXPORT Standard_Boolean WriteFile (IFSelect_ContextWrite& ctx) const Standard_OVERRIDE;
0069
0070
0071
0072
0073
0074 Standard_EXPORT virtual Standard_Boolean CopyModel (const Handle(Interface_InterfaceModel)& original, const Handle(Interface_InterfaceModel)& newmodel, const Interface_EntityIterator& list, Interface_CopyTool& TC) const Standard_OVERRIDE;
0075
0076
0077
0078
0079
0080
0081 Standard_EXPORT virtual void DumpEntity (const Handle(Interface_InterfaceModel)& model, const Handle(Interface_Protocol)& protocol, const Handle(Standard_Transient)& entity, Standard_OStream& S, const Standard_Integer level) const Standard_OVERRIDE;
0082
0083
0084
0085
0086 DEFINE_STANDARD_RTTIEXT(StepSelect_WorkLibrary,IFSelect_WorkLibrary)
0087
0088 protected:
0089
0090
0091
0092
0093 private:
0094
0095
0096 Standard_Boolean thecopymode;
0097 Standard_Integer thelabmode;
0098
0099
0100 };
0101
0102
0103
0104
0105
0106
0107
0108 #endif