0031918: Application Framework - New binary format for fast reading part of OCAF...
[occt.git] / src / PCDM / PCDM_Reader.hxx
index 4a751de..7621070 100644 (file)
@@ -30,7 +30,7 @@ class PCDM_DriverError;
 class CDM_Document;
 class TCollection_ExtendedString;
 class CDM_Application;
-
+class PCDM_ReaderFilter;
 
 class PCDM_Reader;
 DEFINE_STANDARD_HANDLE(PCDM_Reader, Standard_Transient)
@@ -45,12 +45,14 @@ public:
   Standard_EXPORT virtual void Read (const TCollection_ExtendedString& aFileName, 
                                      const Handle(CDM_Document)& aNewDocument, 
                                      const Handle(CDM_Application)& anApplication, 
+                                     const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(),
                                      const Message_ProgressRange& theProgress = Message_ProgressRange()) = 0;
 
   Standard_EXPORT virtual void Read (Standard_IStream&               theIStream,
                                      const Handle(Storage_Data)&    theStorageData,
                                      const Handle(CDM_Document)&    theDoc,
                                      const Handle(CDM_Application)& theApplication,
+                                     const Handle(PCDM_ReaderFilter)& theFilter = Handle(PCDM_ReaderFilter)(),
                                      const Message_ProgressRange& theProgress = Message_ProgressRange()) = 0;
   
     PCDM_ReaderStatus GetStatus() const;