Salome HOME
[Bug PAL7444] display mesh takes a lot of more memory in 2.1.0 than in 2.0.0.
[modules/smesh.git] / src / SMESH_I / SMESH_Gen_i.hxx
index a9330165364c232e7c74da62819508ca51d88957..adda866b86f2e5566fb54bad690fa5a8cecedf82 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "SMESH_Gen.hxx"
 #include "GEOM_Client.hxx"
+#include "SMESH_Factory.hxx"
 
 #include <map>
 
@@ -119,7 +120,8 @@ private:
 // ==========================================================
 class SMESH_Gen_i:
   public virtual POA_SMESH::SMESH_Gen,
-  public virtual Engines_Component_i 
+  public virtual Engines_Component_i,
+  public virtual SMESH::Factory
 {
 public:
   // Get last created instance of the class
@@ -207,6 +209,11 @@ public:
   // ****************************************************
   // Interface inherited methods (from SALOMEDS::Driver)
   // ****************************************************
+  virtual 
+  SALOMEDS::TMPFile* 
+  DumpPython(CORBA::Object_ptr theStudy,
+            CORBA::Boolean theIsPublished,
+            CORBA::Boolean& theIsValidScript);
 
   // Save SMESH data
   SALOMEDS::TMPFile* Save( SALOMEDS::SComponent_ptr theComponent,
@@ -371,4 +378,5 @@ private:
   SALOMEDS::Study_var       myCurrentStudy;     // Current study
 };
 
+
 #endif