Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:36

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