Salome HOME
Debug
[modules/smesh.git] / src / SMESH_I / SMESH_Mesh_i.hxx
index 13862b9a117370a72cd5ac9eb1310939c33f9d61..1f89035ae0cc8b60fa102a5e1d530f3980a9477c 100644 (file)
@@ -41,7 +41,7 @@
 //#include "SMESH_subMesh_i.hxx"
 #include "SMESH_subMesh.hxx"
 
-#include "SALOME_GenericObj_i.hh"
+#include "SALOME_ParameterizedObject.hxx"
 
 class SMESH_Gen_i;
 class SMESH_GroupBase_i;
@@ -51,14 +51,15 @@ class SMESH_subMesh_i;
 
 class SMESH_I_EXPORT SMESH_Mesh_i:
   public virtual POA_SMESH::SMESH_Mesh,
-  public virtual SALOME::GenericObj_i
+  public virtual SALOME_ParameterizedObject
 {
   SMESH_Mesh_i();
   SMESH_Mesh_i(const SMESH_Mesh_i&);
 public:
   SMESH_Mesh_i( PortableServer::POA_ptr thePOA,
                 SMESH_Gen_i*            myGen_i,
-              CORBA::Long             studyId );
+                CORBA::Long             studyId,
+                SALOME::Notebook_ptr    theNotebook );
 
   virtual ~SMESH_Mesh_i();
 
@@ -506,6 +507,11 @@ public:
    */
   virtual void UpdateStringAttribute( const SALOME::StringArray& theParameters );
 
+  /*!
+   * Store dependencies for mesh
+   */
+  virtual void StoreDependencies( SALOME::Notebook_ptr theNotebook );
+
   /*!
    * Returns statistic of mesh elements
    * Result array of number enityties
@@ -529,6 +535,13 @@ private:
    */
   void checkGroupNames();
 
+  /*!
+   * Store dependencies for mesh
+   */
+  virtual void StoreDependenciesForShape( SALOME::Notebook_ptr theNotebook,
+                                          GEOM::GEOM_Object_ptr theShapeObject,
+                                          bool theIsStoreShape );
+
 private:
 
   static int myIdGenerator;