File indexing completed on 2025-01-18 10:04:37
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _PCDM_Writer_HeaderFile
0018 #define _PCDM_Writer_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <Standard_Transient.hxx>
0024
0025 #include <Message_ProgressIndicator.hxx>
0026
0027 class CDM_Document;
0028 class TCollection_ExtendedString;
0029
0030
0031 class PCDM_Writer;
0032 DEFINE_STANDARD_HANDLE(PCDM_Writer, Standard_Transient)
0033
0034
0035 class PCDM_Writer : public Standard_Transient
0036 {
0037 public:
0038
0039 Standard_EXPORT virtual void Write (const Handle(CDM_Document)& aDocument,
0040 const TCollection_ExtendedString& aFileName,
0041 const Message_ProgressRange& theRange = Message_ProgressRange()) = 0;
0042
0043
0044 Standard_EXPORT virtual void Write (const Handle(CDM_Document)& theDocument,
0045 Standard_OStream& theOStream,
0046 const Message_ProgressRange& theRange = Message_ProgressRange()) = 0;
0047
0048 DEFINE_STANDARD_RTTIEXT(PCDM_Writer,Standard_Transient)
0049
0050 };
0051
0052 #endif