From: eap Date: Tue, 10 Apr 2007 14:15:35 +0000 (+0000) Subject: PAL13330( When mesh generation does not success, trace where ) X-Git-Tag: V3_2_6pre4~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=520e3c53e27cfc6bbdb9cd00b738f8109d58605b;p=modules%2Fsmesh.git PAL13330( When mesh generation does not success, trace where ) -static SMESH::Hypothesis_Status ConvertHypothesisStatus +SMESH::Hypothesis_Status SMESH_Mesh_i::ConvertHypothesisStatus --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index 8374856d0..1a187fc75 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -317,7 +317,7 @@ int SMESH_Mesh_i::importMEDFile( const char* theFileName, const char* theMeshNam #define RETURNCASE(hyp_stat) case SMESH_Hypothesis::hyp_stat: return SMESH::hyp_stat; -static SMESH::Hypothesis_Status ConvertHypothesisStatus +SMESH::Hypothesis_Status SMESH_Mesh_i::ConvertHypothesisStatus (SMESH_Hypothesis::Hypothesis_Status theStatus) { switch (theStatus) { diff --git a/src/SMESH_I/SMESH_Mesh_i.hxx b/src/SMESH_I/SMESH_Mesh_i.hxx index 4ced88de0..3da2a523d 100644 --- a/src/SMESH_I/SMESH_Mesh_i.hxx +++ b/src/SMESH_I/SMESH_Mesh_i.hxx @@ -288,6 +288,9 @@ public: SMESH_Hypothesis::Hypothesis_Status removeHypothesis(GEOM::GEOM_Object_ptr aSubShapeObject, SMESH::SMESH_Hypothesis_ptr anHyp); + static SMESH::Hypothesis_Status + ConvertHypothesisStatus (SMESH_Hypothesis::Hypothesis_Status theStatus); + int importMEDFile( const char* theFileName, const char* theMeshName ); SMESH::SMESH_subMesh_ptr createSubMesh( GEOM::GEOM_Object_ptr theSubShapeObject );