mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
21948: EDF SMESH : Memory is not freed when deleting a mesh
+ static void ForgetAllData( SMESH_Mesh_i* mesh );
This commit is contained in:
parent
ee00100fa4
commit
11e1059f3e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user