Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-24 09:15:02

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 class BinDrivers_DocumentRetrievalDriver : public BinLDrivers_DocumentRetrievalDriver
0030 {
0031 
0032 public:
0033   //! Constructor
0034   Standard_EXPORT BinDrivers_DocumentRetrievalDriver();
0035 
0036   Standard_EXPORT occ::handle<BinMDF_ADriverTable> AttributeDrivers(
0037     const occ::handle<Message_Messenger>& theMsgDriver) override;
0038 
0039   Standard_EXPORT void ReadShapeSection(
0040     BinLDrivers_DocumentSection& theSection,
0041     Standard_IStream&            theIS,
0042     const bool                   isMess   = false,
0043     const Message_ProgressRange& theRange = Message_ProgressRange()) override;
0044 
0045   Standard_EXPORT void CheckShapeSection(const Storage_Position& thePos,
0046                                          Standard_IStream&       theIS) override;
0047 
0048   //! Clears the NamedShape driver
0049   Standard_EXPORT void Clear() override;
0050 
0051   //! Enables reading in the quick part access mode.
0052   Standard_EXPORT void EnableQuickPartReading(
0053     const occ::handle<Message_Messenger>& theMessageDriver,
0054     bool                                  theValue) override;
0055 
0056   DEFINE_STANDARD_RTTIEXT(BinDrivers_DocumentRetrievalDriver, BinLDrivers_DocumentRetrievalDriver)
0057 };
0058 
0059 #endif // _BinDrivers_DocumentRetrievalDriver_HeaderFile