0028564: Support of applications using old persistence (ShapeSchema)
authorsnn <snn@opencascade.com>
Tue, 28 Mar 2017 14:13:04 +0000 (17:13 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 28 Apr 2017 09:44:50 +0000 (12:44 +0300)
commitec964372071d1abedb9e866834c641364beb1adc
tree712fc0caece4ad08736da02035648ba2d3d1df25
parent632175c3a82a9c56a14fab8cd83daa5d4e0ad580
0028564: Support of applications using old persistence (ShapeSchema)

1. Bug fix in reading old persistent data using FSD_File storage driver
2. Persistence compatible with legacy format was restored for shapes
   a. Implemented a storage read / write wrapper for legacy persistence
   b. Added DRAW commands to read / write files in legacy format
   c. Added test cases for reading / writing operations with checking number of sub-shapes and physical properties
   d. Updated related sections of the development guide
124 files changed:
adm/UDLIST
dox/dev_guides/upgrade/upgrade.md
src/DDocStd/DDocStd.cxx
src/DDocStd/DDocStd.hxx
src/DDocStd/DDocStd_ShapeSchemaCommands.cxx [new file with mode: 0644]
src/DDocStd/FILES
src/ShapePersistent/FILES
src/ShapePersistent/ShapePersistent_BRep.cxx
src/ShapePersistent/ShapePersistent_BRep.hxx
src/ShapePersistent/ShapePersistent_Geom.cxx
src/ShapePersistent/ShapePersistent_Geom.hxx
src/ShapePersistent/ShapePersistent_Geom2d.cxx [new file with mode: 0644]
src/ShapePersistent/ShapePersistent_Geom2d.hxx
src/ShapePersistent/ShapePersistent_Geom2d_Curve.cxx
src/ShapePersistent/ShapePersistent_Geom2d_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Curve.cxx
src/ShapePersistent/ShapePersistent_Geom_Curve.hxx
src/ShapePersistent/ShapePersistent_Geom_Surface.cxx
src/ShapePersistent/ShapePersistent_Geom_Surface.hxx
src/ShapePersistent/ShapePersistent_HArray1.hxx
src/ShapePersistent/ShapePersistent_HSequence.cxx
src/ShapePersistent/ShapePersistent_HSequence.hxx
src/ShapePersistent/ShapePersistent_Poly.cxx
src/ShapePersistent/ShapePersistent_Poly.hxx
src/ShapePersistent/ShapePersistent_TopoDS.cxx
src/ShapePersistent/ShapePersistent_TopoDS.hxx
src/ShapePersistent/ShapePersistent_TriangleMode.hxx [new file with mode: 0644]
src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx
src/StdLPersistent/StdLPersistent_Data.cxx
src/StdLPersistent/StdLPersistent_Data.hxx
src/StdLPersistent/StdLPersistent_Dependency.hxx
src/StdLPersistent/StdLPersistent_Document.cxx
src/StdLPersistent/StdLPersistent_Document.hxx
src/StdLPersistent/StdLPersistent_Function.hxx
src/StdLPersistent/StdLPersistent_HArray1.cxx
src/StdLPersistent/StdLPersistent_HArray1.hxx
src/StdLPersistent/StdLPersistent_HArray2.cxx
src/StdLPersistent/StdLPersistent_HArray2.hxx
src/StdLPersistent/StdLPersistent_HString.cxx
src/StdLPersistent/StdLPersistent_HString.hxx
src/StdLPersistent/StdLPersistent_NamedData.hxx
src/StdLPersistent/StdLPersistent_Real.hxx
src/StdLPersistent/StdLPersistent_TreeNode.cxx
src/StdLPersistent/StdLPersistent_TreeNode.hxx
src/StdLPersistent/StdLPersistent_Value.hxx
src/StdLPersistent/StdLPersistent_Variable.hxx
src/StdLPersistent/StdLPersistent_Void.hxx
src/StdLPersistent/StdLPersistent_XLink.hxx
src/StdObjMgt/FILES
src/StdObjMgt/StdObjMgt_Attribute.hxx
src/StdObjMgt/StdObjMgt_Persistent.cxx
src/StdObjMgt/StdObjMgt_Persistent.hxx
src/StdObjMgt/StdObjMgt_ReadData.hxx
src/StdObjMgt/StdObjMgt_SharedObject.hxx
src/StdObjMgt/StdObjMgt_TransientPersistentMap.hxx [new file with mode: 0644]
src/StdObjMgt/StdObjMgt_WriteData.cxx [new file with mode: 0644]
src/StdObjMgt/StdObjMgt_WriteData.hxx [new file with mode: 0644]
src/StdObject/StdObject_Location.cxx
src/StdObject/StdObject_Location.hxx
src/StdObject/StdObject_Shape.cxx
src/StdObject/StdObject_Shape.hxx
src/StdObject/StdObject_gp_Axes.hxx
src/StdObject/StdObject_gp_Curves.hxx
src/StdObject/StdObject_gp_Surfaces.hxx
src/StdObject/StdObject_gp_Trsfs.hxx
src/StdObject/StdObject_gp_Vectors.hxx
src/StdPersistent/StdPersistent.hxx
src/StdPersistent/StdPersistent_DataXtd.hxx
src/StdPersistent/StdPersistent_DataXtd_Constraint.hxx
src/StdPersistent/StdPersistent_DataXtd_PatternStd.hxx
src/StdPersistent/StdPersistent_Naming.cxx
src/StdPersistent/StdPersistent_Naming.hxx
src/StdPersistent/StdPersistent_PPrsStd.hxx
src/StdPersistent/StdPersistent_TopLoc.cxx
src/StdPersistent/StdPersistent_TopLoc.hxx
src/StdPersistent/StdPersistent_TopoDS.hxx
src/StdStorage/FILES [new file with mode: 0644]
src/StdStorage/StdStorage.cxx [new file with mode: 0644]
src/StdStorage/StdStorage.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_BacketOfPersistent.cxx [new file with mode: 0644]
src/StdStorage/StdStorage_BacketOfPersistent.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_Data.cxx [moved from src/StdObjMgt/StdObjMgt_MapOfInstantiators.cxx with 58% similarity]
src/StdStorage/StdStorage_Data.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_HSequenceOfRoots.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_HeaderData.cxx [new file with mode: 0644]
src/StdStorage/StdStorage_HeaderData.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_MapOfRoots.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_MapOfTypes.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_Root.cxx [new file with mode: 0644]
src/StdStorage/StdStorage_Root.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_RootData.cxx [new file with mode: 0644]
src/StdStorage/StdStorage_RootData.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_SequenceOfRoots.hxx [new file with mode: 0644]
src/StdStorage/StdStorage_TypeData.cxx [new file with mode: 0644]
src/StdStorage/StdStorage_TypeData.hxx [new file with mode: 0644]
src/TKStd/PACKAGES
tests/persist/end [new file with mode: 0644]
tests/persist/fsd/A1 [new file with mode: 0644]
tests/persist/fsd/A2 [new file with mode: 0644]
tests/persist/fsd/A3 [new file with mode: 0644]
tests/persist/fsd/A4 [new file with mode: 0644]
tests/persist/fsd/A5 [new file with mode: 0644]
tests/persist/fsd/A6 [new file with mode: 0644]
tests/persist/fsd/A7 [new file with mode: 0644]
tests/persist/fsd/A8 [new file with mode: 0644]
tests/persist/fsd/C1 [new file with mode: 0644]
tests/persist/fsd/C2 [new file with mode: 0644]
tests/persist/fsd/S1 [new file with mode: 0644]
tests/persist/fsd/S10 [new file with mode: 0644]
tests/persist/fsd/S11 [new file with mode: 0644]
tests/persist/fsd/S12 [new file with mode: 0644]
tests/persist/fsd/S13 [new file with mode: 0644]
tests/persist/fsd/S14 [new file with mode: 0644]
tests/persist/fsd/S15 [new file with mode: 0644]
tests/persist/fsd/S2 [new file with mode: 0644]
tests/persist/fsd/S3 [new file with mode: 0644]
tests/persist/fsd/S4 [new file with mode: 0644]
tests/persist/fsd/S5 [new file with mode: 0644]
tests/persist/fsd/S6 [new file with mode: 0644]
tests/persist/fsd/S7 [new file with mode: 0644]
tests/persist/fsd/S8 [new file with mode: 0644]
tests/persist/fsd/S9 [new file with mode: 0644]
tests/persist/fsd/begin [new file with mode: 0644]
tests/persist/grids.list [new file with mode: 0644]