]> OCCT Git - occt-copy.git/commit
0029014: Managing Binary Format Version Is Not Possible for Own TDF_Attributes
authorBenjamin Bihler <benjamin.bihler@compositence.de>
Fri, 18 Aug 2017 07:40:19 +0000 (10:40 +0300)
committerkgv <kgv@opencascade.com>
Mon, 4 Dec 2017 18:08:43 +0000 (21:08 +0300)
commitf73f8c43f8cebee5953980fcedfc1e1bd3722b3a
treeffea56950e834152c1780706b41bd51b1e5f7ace
parent137d65bdea311045a12de7124f667ddcd5c072aa
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.
src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx
src/BinLDrivers/BinLDrivers_DocumentStorageDriver.cxx
src/BinObjMgt/BinObjMgt_RRelocationTable.cxx [new file with mode: 0644]
src/BinObjMgt/BinObjMgt_RRelocationTable.hxx
src/BinObjMgt/FILES
src/CDM/CDM_Application.cxx
src/CDM/CDM_Application.hxx