From: eap Date: Tue, 1 Nov 2005 10:11:11 +0000 (+0000) Subject: PAL10237. Add class HypothesesSet X-Git-Tag: V3_1_0a3~33 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=4faf0496885699de7cd7007ba0711ff49a7fed20;ds=sidebyside PAL10237. Add class HypothesesSet --- diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.h b/src/SMESHGUI/SMESHGUI_Hypotheses.h index c9ceee8ef..431ca2294 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.h +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.h @@ -35,6 +35,7 @@ #include #include #include +#include /*! * \brief Auxiliary class for creation of hypotheses @@ -77,4 +78,21 @@ class HypothesisData bool IsAux; //!< TRUE if given hypothesis is auxiliary one, FALSE otherwise }; +/*! + * \brief Class containing set of hypotheses + * + * Actually it contains list of hypo types + */ +class HypothesesSet +{ + public: + HypothesesSet( const QString& theSetName ) + : HypoSetName( theSetName ) {}; + HypothesesSet( const QString& theSetName, + const QStringList& theHypoList, + const QStringList& theAlgoList ) + : HypoSetName( theSetName ), HypoList(theHypoList), AlgoList(theAlgoList) {}; + QString HypoSetName; + QStringList HypoList, AlgoList; +}; #endif