]> OCCT Git - occt.git/commit
0026981: Application Framework - read a BinOcaf document from С++ stream sequentially
authormpv <mpv@opencascade.com>
Tue, 31 Aug 2021 11:46:23 +0000 (14:46 +0300)
committersmoskvin <smoskvin@opencascade.com>
Fri, 22 Oct 2021 16:58:15 +0000 (19:58 +0300)
commit7e63845c9e305355d3b2ecab4d8c854361a59cf4
treeafe0cc8456e0041bc577084ae6a0c5b664bca8f8
parentf8d8c3f2bc1279d18212540dfa2588b6b1f97870
0026981: Application Framework - read a BinOcaf document from С++ stream sequentially

The current version of the document supports partial reading. So, as a result, the shapes section is dispersed into attributes and it becomes easy avoid any seekg call during the reading.
But this will work only in case whole document is opened. For partial reading seekg functions could be naturally called.
src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx