From 3ec90b8c3874399c182d03750250dd250edfbf50 Mon Sep 17 00:00:00 2001 From: mzn Date: Tue, 22 Mar 2005 12:06:06 +0000 Subject: [PATCH] To make SMESH module compilable("Unimplemented method" message added). --- src/SMESH_I/SMESH_MEDMesh_i.cxx | 10 ++++++++++ src/SMESH_I/SMESH_MEDMesh_i.hxx | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_MEDMesh_i.cxx b/src/SMESH_I/SMESH_MEDMesh_i.cxx index 1fdecd039..6a96b805c 100644 --- a/src/SMESH_I/SMESH_MEDMesh_i.cxx +++ b/src/SMESH_I/SMESH_MEDMesh_i.cxx @@ -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; } diff --git a/src/SMESH_I/SMESH_MEDMesh_i.hxx b/src/SMESH_I/SMESH_MEDMesh_i.hxx index 60b13c188..c719bed70 100644 --- a/src/SMESH_I/SMESH_MEDMesh_i.hxx +++ b/src/SMESH_I/SMESH_MEDMesh_i.hxx @@ -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_ */ -- 2.39.2