View Issue Details

IDProjectCategoryView StatusLast Update
0019986Open CASCADEOCCT:Application Frameworkpublic2012-01-11 17:24
ReporteragvAssigned Toagv 
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.3.0 
Summary0019986: Version "3" of binary OCAF persistence (BinOcaf)
DescriptionNew version of the OCAF binary persistance format is created.

This improvement unifies the inclusion of non-OCAF data into persistent
documents. In format version 2 there was only one such data block - Shapes
section. In the new format version 3 it is possible to create any number of
custom sections, the Shapes being just one of them.

Each Section is unquely identified by ASCII name string and has also the
attribute IsPostRead. This attribute defines if the Section is read before or
after the OCAF data. In the former case the BinOcaf attribute drivers can have
access to non-OCAF data that are read in advance (as with the SHAPES section).

To use custom sections in OCAF binary documents, it will be necessary to
subclass DocumentRetrievalDriver and DocumentStorageDriver from BinLDrivers,
with the relevant definition of virtual methods that process the section data.

Compatibility with documents written in format version 2 is preserved in
DocumentRetrievalDriver.
Additional information
and documentation updates
Documentation remark, added by AGV 2008-07-03 09:36:54:

New features:
In BinLOcaf the new format "3" introduced replacing the previous format.
This format allows to insert any number of custom data blocks (sections) in the
persistent document.
Improvements:
In BinObjMgt added the support of ShortReal and ShortRealArray data types.
Changes:
The basic API of BinOcaf format has not been changed.
Modified entities:
Toolkits: TKBin TKBinL
Packages: BinLDrivers, BinDrivers, BinObjMgt, FSD
TagsNo tags attached.
Test case number

Attached Files

  • occ19986.tar.gz (18,005 bytes)
  • BinLDrivers_DocumentSection.cxx.gz (1,332 bytes)

Activities

2008-06-20 17:46

 

occ19986.tar.gz (18,005 bytes)

2008-07-29 15:11

 

BinLDrivers_DocumentSection.cxx.gz (1,332 bytes)

Issue History

Date Modified Username Field Change
2008-07-01 11:58 bugmaster Assigned To bugmaster => agv
2008-07-01 11:58 bugmaster Status new => assigned
2008-07-01 11:59 bugmaster Status assigned => resolved
2008-07-04 20:14 mkv Status resolved => tested
2008-07-29 10:45 bugmaster Status tested => assigned
2008-07-30 19:00 bugmaster Status assigned => resolved
2008-07-31 16:04 bugmaster Status resolved => tested
2008-08-08 19:29 abv OtherBugsDependingOnThis => 20217
2008-08-26 17:01 bugmaster Status tested => verified
2009-06-23 19:13 bugmaster Status verified => closed
2009-06-23 19:13 bugmaster Resolution @0@ => fixed
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2012-01-11 17:24 atp Description Updated
2012-01-11 17:24 atp Additional Information Updated