Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:00

0001 // Created on: 2002-10-29
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 _BinObjMgt_RRelocationTable_HeaderFile
0017 #define _BinObjMgt_RRelocationTable_HeaderFile
0018 
0019 #include <TColStd_DataMapOfIntegerTransient.hxx>
0020 #include <Storage_HeaderData.hxx>
0021 
0022 //! Retrieval relocation table is modeled as a child class of
0023 //! TColStd_DataMapOfIntegerTransient that stores a handle to the file
0024 //! header section. With that attribute drivers have access to the file header
0025 //! section.
0026 class BinObjMgt_RRelocationTable : public TColStd_DataMapOfIntegerTransient
0027 {
0028 public:
0029 
0030   //! Returns a handle to the header data of the file that is begin read
0031   Standard_EXPORT const Handle(Storage_HeaderData)& GetHeaderData() const;
0032 
0033   //! Sets the storage header data.
0034   //!
0035   //! @param theHeaderData header data of the file that is begin read
0036   Standard_EXPORT void SetHeaderData(
0037       const Handle(Storage_HeaderData)& theHeaderData);
0038 
0039   Standard_EXPORT void Clear(const Standard_Boolean doReleaseMemory = Standard_True);
0040 
0041 
0042 
0043 protected:
0044 
0045 
0046 
0047 private:
0048 
0049   Handle(Storage_HeaderData) myHeaderData;
0050 };
0051 
0052 #endif // _BinObjMgt_RRelocationTable_HeaderFile