occt: master fe21f796

Author Committer Branch Timestamp Parent
BenjaminBihler bugmaster master 2017-08-18 07:40:19 master bcb8fa43
Affected Issues  0029014: Managing Binary Format Versions Is Not Possible for Own TDF_Attributes
Changeset 0029014: Managing Binary Format Version Is Not Possible for Own TDF_Attributes

CDM_Application has been extended to provide application name and version.

Application name and version is stored by BinLDrivers_DocumentStorageDriver.

BinLDrivers_DocumentStorageDriver propagates application name and version
by passing it to BinMDataStd.

Made BinObjMgt_RRelocationTable store a handle to the header data of the file
begin read in to make it accessible by binary attribute drivers.

Undone storing application name and version as static fields in BinMDataStd
which is bad style and not thread-safe.

Moved method implementations to .cxx files.

Clearing a BinObjMgt_RRelocationTable now nullifies the reference to the
file header data and BinLDrivers_DocumentRetrievalDriver therefore sets
the reference after the relocation table has been cleared before reading
in the document subtree.
mod - src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx Diff File
mod - src/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx Diff File
add - src/BinObjMgt/BinObjMgt_RRelocationTable.cxx Diff File
mod - src/BinObjMgt/BinObjMgt_RRelocationTable.hxx Diff File
mod - src/BinObjMgt/FILES Diff File
mod - src/CDM/CDM_Application.cxx Diff File
mod - src/CDM/CDM_Application.hxx Diff File