Salome HOME
Refactoring
authorouv <ouv@opencascade.com>
Wed, 9 Dec 2009 12:40:25 +0000 (12:40 +0000)
committerouv <ouv@opencascade.com>
Wed, 9 Dec 2009 12:40:25 +0000 (12:40 +0000)
src/SMESH_I/SMESH_Hypothesis_i.cxx
src/SMESH_I/SMESH_Hypothesis_i.hxx
src/SMESH_I/SMESH_Mesh_i.cxx

index 5202b4abfc648e2d8bd7165ce3b3c1ef56ae3155..998ca015d1754a72f3262f4dd7bad25f434774e9 100644 (file)
@@ -138,6 +138,36 @@ bool SMESH_Hypothesis_i::IsPublished(){
   return res;
 }
 
+//=============================================================================
+/*!
+ *  SMESH_Hypothesis_i::GetEntry()
+ */
+//=============================================================================
+char* SMESH_Hypothesis_i::GetEntry()
+{
+  return NULL;
+}
+
+//=============================================================================
+/*!
+ *  SMESH_Hypothesis_i::GetComponent()
+ */
+//=============================================================================
+char* SMESH_Hypothesis_i::GetComponent()
+{
+  return CORBA::string_dup( "SMESH" );
+}
+
+//=============================================================================
+/*!
+ *  SMESH_Hypothesis_i::IsValid()
+ */
+//=============================================================================
+char* SMESH_Hypothesis_i::IsValid()
+{
+  return true;
+}
+
 //=============================================================================
 /*!
  *  SMESH_Hypothesis_i::SetParameters()
@@ -186,6 +216,16 @@ SALOME::StringArray* SMESH_Hypothesis_i::GetParameters()
   return NULL;
 }
 
+//=============================================================================
+/*!
+ * SMESH_Hypothesis_i::Update()
+ *
+ */
+//=============================================================================
+void SMESH_Hypothesis_i::Update( SALOME::Notebook_ptr theNotebook )
+{
+}
+
 //=============================================================================
 /*!
  *  SMESH_Hypothesis_i::GetImpl
index 7f738567e3723a04c9f1379a8f7713b0be476009..6add2c26395942ece9a98bd210519911cdec70a8 100644 (file)
@@ -65,12 +65,24 @@ public:
   // Get unique id of hypothesis
   CORBA::Long GetId();
   
+  // ...
+  virtual char* GetEntry();
+
+  // ...
+  virtual char* GetComponent();
+
+  // ...
+  virtual CORBA::Boolean IsValid();
+
   // Set list of parameters, used for Hypothesis creation
   virtual void SetParameters( SALOME::Notebook_ptr theNotebook, const SALOME::StringArray& theParameters );
   
   // Return list of notebook variables used for Hypothesis creation
   virtual SALOME::StringArray* GetParameters();
 
+  // ...
+  virtual void Update( SALOME::Notebook_ptr theNotebook );
+
   //Return true if hypothesis was published in study
   bool IsPublished();
 
index 09ef926b5279367e370df869fb1a0a516e3deb82..f9818dc36e387fa3a6670733fe595663cc9d5e6a 100644 (file)
@@ -3378,6 +3378,36 @@ void SMESH_Mesh_i::checkGroupNames()
   }
 }
 
+//=============================================================================
+/*!
+ * \brief ...
+ */
+//=============================================================================
+char* SMESH_Mesh_i::GetEntry()
+{
+  return NULL;
+}
+
+//=============================================================================
+/*!
+ * \brief ...
+ */
+//=============================================================================
+char* SMESH_Mesh_i::GetComponent()
+{
+  return CORBA::string_dup( "SMESH" );
+}
+
+//=============================================================================
+/*!
+ * \brief ...
+ */
+//=============================================================================
+char* SMESH_Mesh_i::IsValid()
+{
+  return true;
+}
+
 //=============================================================================
 /*!
  * \brief Sets list of notebook variables used for Mesh operations separated by ":" symbol
@@ -3397,6 +3427,15 @@ SALOME::StringArray* SMESH_Mesh_i::GetParameters()
   return NULL;
 }
 
+//=============================================================================
+/*!
+ * \brief ...
+ */
+//=============================================================================
+void SMESH_Mesh_i::Update( SALOME::Notebook_ptr theNotebook )
+{
+}
+
 //=============================================================================
 /*!
  * \brief Returns statistic of mesh elements