Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:59

0001 // Created on: 2002-10-31
0002 // Created by: Michael SAZONOV
0003 // Copyright (c) 2002-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _BinDrivers_DocumentRetrievalDriver_HeaderFile
0017 #define _BinDrivers_DocumentRetrievalDriver_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 
0021 #include <BinLDrivers_DocumentRetrievalDriver.hxx>
0022 #include <Standard_IStream.hxx>
0023 #include <Storage_Position.hxx>
0024 #include <Standard_Integer.hxx>
0025 class BinMDF_ADriverTable;
0026 class Message_Messenger;
0027 class BinLDrivers_DocumentSection;
0028 
0029 
0030 class BinDrivers_DocumentRetrievalDriver;
0031 DEFINE_STANDARD_HANDLE(BinDrivers_DocumentRetrievalDriver, BinLDrivers_DocumentRetrievalDriver)
0032 
0033 
0034 class BinDrivers_DocumentRetrievalDriver : public BinLDrivers_DocumentRetrievalDriver
0035 {
0036 
0037 public:
0038 
0039   
0040   //! Constructor
0041   Standard_EXPORT BinDrivers_DocumentRetrievalDriver();
0042   
0043   Standard_EXPORT virtual Handle(BinMDF_ADriverTable) AttributeDrivers
0044     (const Handle(Message_Messenger)& theMsgDriver) Standard_OVERRIDE;
0045   
0046   Standard_EXPORT virtual void ReadShapeSection
0047     (BinLDrivers_DocumentSection& theSection, 
0048      Standard_IStream& theIS,
0049      const Standard_Boolean isMess = Standard_False, 
0050      const Message_ProgressRange& theRange = Message_ProgressRange()) Standard_OVERRIDE;
0051   
0052   Standard_EXPORT virtual void CheckShapeSection
0053     (const Storage_Position& thePos, Standard_IStream& theIS) Standard_OVERRIDE;
0054 
0055   //! Clears the NamedShape driver
0056   Standard_EXPORT virtual void Clear() Standard_OVERRIDE;
0057 
0058   //! Enables reading in the quick part access mode.
0059   Standard_EXPORT virtual void EnableQuickPartReading
0060     (const Handle(Message_Messenger)& theMessageDriver, Standard_Boolean theValue) Standard_OVERRIDE;
0061 
0062 
0063   DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentRetrievalDriver,BinLDrivers_DocumentRetrievalDriver)
0064 
0065 };
0066 
0067 #endif // _BinDrivers_DocumentRetrievalDriver_HeaderFile