From 520e3c53e27cfc6bbdb9cd00b738f8109d58605b Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 10 Apr 2007 14:15:35 +0000 Subject: [PATCH] PAL13330( When mesh generation does not success, trace where ) -static SMESH::Hypothesis_Status ConvertHypothesisStatus +SMESH::Hypothesis_Status SMESH_Mesh_i::ConvertHypothesisStatus --- src/SMESH_I/SMESH_Mesh_i.cxx | 2 +- src/SMESH_I/SMESH_Mesh_i.hxx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 );