21948: EDF SMESH : Memory is not freed when deleting a mesh

+  static void ForgetAllData( SMESH_Mesh_i* mesh );
This commit is contained in:
eap 2012-12-14 13:35:19 +00:00
parent ee00100fa4
commit 11e1059f3e

View File

@ -52,7 +52,7 @@ class SMESH_Mesh_i;
class SMESH_PreMeshInfo : public SMDS_MeshInfo
{
public:
// fills SMESH_PreMeshInfo field of all objects of mesh
// fills SMESH_PreMeshInfo* field of all objects of mesh
static void LoadFromFile( SMESH_Mesh_i* mesh,
const int meshID,
const std::string& medFile,
@ -64,6 +64,9 @@ public:
const int meshID,
HDFfile* hdfFile);
// remove all SMESH_PreMeshInfo fields from mesh and its child objects w/o data loading
static void ForgetAllData( SMESH_Mesh_i* mesh );
// reads all data and remove all SMESH_PreMeshInfo fields from objects
void FullLoadFromFile() const;