To make SMESH module compilable("Unimplemented method" message added).

This commit is contained in:
mzn 2005-03-22 12:06:06 +00:00
parent 321653b5ff
commit 3ec90b8c38
2 changed files with 12 additions and 1 deletions

View File

@ -1205,7 +1205,17 @@ SMESH_MEDMesh_i::getElementType(SALOME_MED::medEntityMesh entity,
return (SALOME_MED::medGeometryElement) 0; 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) 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; return false;
} }

View File

@ -227,7 +227,8 @@ class SMESH_MEDMesh_i:
void calculeNbElts() throw(SALOME::SALOME_Exception); void calculeNbElts() throw(SALOME::SALOME_Exception);
void createFamilies() 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_ */ #endif /* _MED_MESH_I_HXX_ */