From: enk Date: Wed, 18 Oct 2006 08:23:24 +0000 (+0000) Subject: Correction for BUG Bug PAL13498: X-Git-Tag: V3_2_3pre1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75c763d85b0c7ae53c6ed9293a2e96499cd68f3d;p=modules%2Fsmesh.git Correction for BUG Bug PAL13498: In the current context functions getNumberFromFile same as getNumber --- diff --git a/src/SMESH_I/SMESH_MEDSupport_i.cxx b/src/SMESH_I/SMESH_MEDSupport_i.cxx index 27d8cf0df..09cf6a12a 100644 --- a/src/SMESH_I/SMESH_MEDSupport_i.cxx +++ b/src/SMESH_I/SMESH_MEDSupport_i.cxx @@ -325,6 +325,18 @@ SALOME_MED::long_array * SMESH_MEDSupport_i::getNumber( } +//============================================================================= +/*! + * CORBA: get Nodes from file + */ +//============================================================================= + +SALOME_MED::long_array * SMESH_MEDSupport_i::getNumberFromFile( + SALOME_MED::medGeometryElement geomElement) throw(SALOME::SALOME_Exception) +{ + return getNumber(geomElement); +} + //============================================================================= /*! * CORBA: Global Nodes Index (optionnaly designed by the user) diff --git a/src/SMESH_I/SMESH_MEDSupport_i.hxx b/src/SMESH_I/SMESH_MEDSupport_i.hxx index 68fb7fe41..1c195756d 100644 --- a/src/SMESH_I/SMESH_MEDSupport_i.hxx +++ b/src/SMESH_I/SMESH_MEDSupport_i.hxx @@ -66,6 +66,13 @@ class SMESH_MEDSupport_i: getNumber(SALOME_MED::medGeometryElement geomElement) throw(SALOME::SALOME_Exception); + /*! + * Same function as getNumber. + */ + SALOME_MED::long_array * + getNumberFromFile(SALOME_MED::medGeometryElement geomElement) + throw(SALOME::SALOME_Exception); + SALOME_MED::long_array * getNumberIndex() throw(SALOME::SALOME_Exception);