X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=idl%2FSMESH_Gen.idl;h=5757e10750205a381e8c4907caad1381c9633b23;hp=32486e5aa718aaef67ec90bfbac72213e45c7252;hb=e884fc2507d46c805b15dfa633f4326c821c2d8c;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f diff --git a/idl/SMESH_Gen.idl b/idl/SMESH_Gen.idl index 32486e5aa..5757e1075 100644 --- a/idl/SMESH_Gen.idl +++ b/idl/SMESH_Gen.idl @@ -43,6 +43,15 @@ module SMESH interface FilterManager; interface SMESH_Pattern; + enum AlgoStateErrorName { MISSING_ALGO, MISSING_HYPO, NOT_CONFORM_MESH }; + struct AlgoStateError { + AlgoStateErrorName name; + string algoName; + long algoDim; + boolean isGlobalAlgo; + }; + typedef sequence algo_error_array; + interface SMESH_Gen : Engines::Component, SALOMEDS::Driver { @@ -123,6 +132,14 @@ module SMESH in GEOM::GEOM_Object theSubObject ) raises ( SALOME::SALOME_Exception ); + /*! + * Return errors of hypotheses definintion + * algo_error_array is empty if everything is OK + */ + algo_error_array GetAlgoState( in SMESH_Mesh theMesh, + in GEOM::GEOM_Object theSubObject ) + raises ( SALOME::SALOME_Exception ); + /*! * */