Salome HOME
To make SMESH module compilable("Unimplemented method" message added).
authormzn <mzn@opencascade.com>
Tue, 22 Mar 2005 12:06:06 +0000 (12:06 +0000)
committermzn <mzn@opencascade.com>
Tue, 22 Mar 2005 12:06:06 +0000 (12:06 +0000)
src/SMESH_I/SMESH_MEDMesh_i.cxx
src/SMESH_I/SMESH_MEDMesh_i.hxx

index 1fdecd03955a40ac372168280d370b4f2492766e..6a96b805c5b8dc79d8a3c99122d950b92b45d48f 100644 (file)
@@ -1205,7 +1205,17 @@ SMESH_MEDMesh_i::getElementType(SALOME_MED::medEntityMesh entity,
   return (SALOME_MED::medGeometryElement) 0;
 }
 
+//=============================================================================
+/*!
+ * Test if this and other aggregate the same MESH
+ */
+//=============================================================================
 CORBA::Boolean SMESH_MEDMesh_i::areEquals(SALOME_MED::MESH_ptr other)
+  throw (SALOME::SALOME_Exception)
 {
+  MESSAGE("!!!! NOT YET IMPLEMENTED !!!!!");
+  
+  THROW_SALOME_CORBA_EXCEPTION("Unimplemented Method", SALOME::BAD_PARAM);
+
   return false;
 }
index 60b13c188bc81ee52832616e2b26dff7bb44dd6e..c719bed70f2a83fb1e026e7a7abfe3370e337ce4 100644 (file)
@@ -227,7 +227,8 @@ class SMESH_MEDMesh_i:
        void calculeNbElts() throw(SALOME::SALOME_Exception);
        void createFamilies() throw(SALOME::SALOME_Exception);
 
-        CORBA::Boolean areEquals(SALOME_MED::MESH_ptr other);
+        CORBA::Boolean areEquals(SALOME_MED::MESH_ptr other) 
+         throw(SALOME::SALOME_Exception);;
 };
 
 #endif /* _MED_MESH_I_HXX_ */