occt: master 39c8dc70

Author Committer Branch Timestamp Parent
abv bugmaster master 2020-05-04 19:25:03 master dcc4e908
Changeset 0031546: Application Framework - Memory leak (100 bytes) on Load / Close OCAF document

Class Standard_BaseDriver is inherited from Standard_Transient, its descendants are updated accordingly.
Handle is used to manipulate objects of this class and its descendants (instead of references or raw pointers) to ensure automatic destruction.

Added test bugs caf bug31546

Related:
- Standard_OVERRIDE is added in declarations of virtual methods in descendants of Storage_BaseDriver
- Methods operator << and operator >> are removed in descendants of Storage_BaseDriver (they repeat the same methods inherited from the base class)
- Typedef PCDM_BaseDriverPointer is marked as deprecated
- Unused class DDI_Ostream is removed
- Private field Standard_Transient::count is renamed to myRefCount_ to avoid compiler warnings if the same name is used within the scope of a descendant class
- Output of meaningful error messages is restored in DRAW commands fsdread and fsdwrite
mod - src/DDF/DDF_BasicCommands.cxx Diff File
rm - src/DDF/DDF_IOStream.cxx Diff File
rm - src/DDF/DDF_IOStream.hxx Diff File
mod - src/DDF/FILES Diff File
mod - src/DDocStd/DDocStd_ShapeSchemaCommands.cxx Diff File
mod - src/FSD/FSD_BinaryFile.cxx Diff File
mod - src/FSD/FSD_BinaryFile.hxx Diff File
mod - src/FSD/FSD_CmpFile.cxx Diff File
mod - src/FSD/FSD_CmpFile.hxx Diff File
mod - src/FSD/FSD_File.cxx Diff File
mod - src/FSD/FSD_File.hxx Diff File
mod - src/FSD/FSD_FileHeader.hxx Diff File
mod - src/PCDM/PCDM.cxx Diff File
mod - src/PCDM/PCDM.hxx Diff File
mod - src/PCDM/PCDM_BaseDriverPointer.hxx Diff File
mod - src/PCDM/PCDM_ReadWriter.cxx Diff File
mod - src/PCDM/PCDM_ReadWriter.hxx Diff File
mod - src/PCDM/PCDM_ReadWriter_1.cxx Diff File
mod - src/PCDM/PCDM_StorageDriver.cxx Diff File
mod - src/Standard/Standard_Transient.cxx Diff File
mod - src/Standard/Standard_Transient.hxx Diff File
mod - src/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx Diff File
mod - src/StdObjMgt/StdObjMgt_ReadData.cxx Diff File
mod - src/StdObjMgt/StdObjMgt_ReadData.hxx Diff File
mod - src/StdObjMgt/StdObjMgt_WriteData.cxx Diff File
mod - src/StdObjMgt/StdObjMgt_WriteData.hxx Diff File
mod - src/StdStorage/StdStorage.cxx Diff File
mod - src/StdStorage/StdStorage.hxx Diff File
mod - src/StdStorage/StdStorage_HeaderData.cxx Diff File
mod - src/StdStorage/StdStorage_HeaderData.hxx Diff File
mod - src/StdStorage/StdStorage_RootData.cxx Diff File
mod - src/StdStorage/StdStorage_RootData.hxx Diff File
mod - src/StdStorage/StdStorage_TypeData.cxx Diff File
mod - src/StdStorage/StdStorage_TypeData.hxx Diff File
mod - src/Storage/FILES Diff File
mod - src/Storage/Storage_BaseDriver.cxx Diff File
mod - src/Storage/Storage_BaseDriver.hxx Diff File
rm - src/Storage/Storage_BaseDriver.lxx Diff File
mod - src/Storage/Storage_CallBack.hxx Diff File
mod - src/Storage/Storage_DefaultCallBack.cxx Diff File
mod - src/Storage/Storage_DefaultCallBack.hxx Diff File
mod - src/Storage/Storage_HeaderData.cxx Diff File
mod - src/Storage/Storage_HeaderData.hxx Diff File
mod - src/Storage/Storage_RootData.cxx Diff File
mod - src/Storage/Storage_RootData.hxx Diff File
mod - src/Storage/Storage_Schema.cxx Diff File
mod - src/Storage/Storage_Schema.hxx Diff File
rm - src/Storage/Storage_Schema.lxx Diff File
mod - src/Storage/Storage_TypeData.cxx Diff File
mod - src/Storage/Storage_TypeData.hxx Diff File
mod - src/UTL/UTL.cxx Diff File
mod - src/UTL/UTL.hxx Diff File
add - tests/bugs/caf/bug31546 Diff File
mod - tests/bugs/fclasses/bug29355 Diff File