]> OCCT Git - occt-copy.git/commit
0026981: Application Framework - read a BinOcaf document from С++ stream sequentially CR26981_1
authormpv <mpv@opencascade.com>
Tue, 31 Aug 2021 11:46:23 +0000 (14:46 +0300)
committermpv <mpv@opencascade.com>
Tue, 31 Aug 2021 12:34:57 +0000 (15:34 +0300)
commit1d26d05ac9a933444b6da8e8f965c9d0dd64b601
tree58c4dab72a2a30ee01725eb617d494094ec6fca7
parent8f70959571ab8999b47f88d673343587e733f364
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