X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_HypothesesUtils.h;h=ddfd6dd29977a83dec07c7f540972e37e73298cd;hb=86be227dee12b1a2d7dafc3308597f1566ef950f;hp=4e4f4a86857d2e40bf4e71fe95c5a900b60bb616;hpb=2742029b9094540c12b9e30bbdb958087e0cb850;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_HypothesesUtils.h b/src/SMESHGUI/SMESHGUI_HypothesesUtils.h index 4e4f4a868..ddfd6dd29 100644 --- a/src/SMESHGUI/SMESHGUI_HypothesesUtils.h +++ b/src/SMESHGUI/SMESHGUI_HypothesesUtils.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -78,6 +78,9 @@ namespace SMESH SMESHGUI_EXPORT HypothesisData* GetHypothesisData( const QString& ); + SMESHGUI_EXPORT + HypothesisData* GetGroupTitle( const HypothesisData* hyp, const bool isAlgo ); + SMESHGUI_EXPORT bool IsAvailableHypothesis( const HypothesisData*, const QString&, @@ -113,6 +116,7 @@ namespace SMESH SMESH::SMESH_Hypothesis_ptr ); typedef std::vector<_PTR(SObject)> SObjectList; + SMESHGUI_EXPORT SObjectList GetMeshesUsingAlgoOrHypothesis( SMESH::SMESH_Hypothesis_ptr ); SMESHGUI_EXPORT @@ -120,8 +124,7 @@ namespace SMESH SMESHGUI_EXPORT // name of proprty saving plug-in of a hypothesis - static const char* Plugin_Name() { return "PLUGIN_NAME"; } - + inline const char* Plugin_Name() { return "PLUGIN_NAME"; } } #endif // SMESHGUI_HYPOTHESESUTILS_H