X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Hypotheses.h;h=c9ceee8ef088f2455902fb7aa6da59791357078c;hb=cee115afadf7b11672d8b2230834e40a66d8bb8c;hp=932226296c953d8706b0340d9d9c297b18f18db1;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Hypotheses.h b/src/SMESHGUI/SMESHGUI_Hypotheses.h index 932226296..c9ceee8ef 100644 --- a/src/SMESHGUI/SMESHGUI_Hypotheses.h +++ b/src/SMESHGUI/SMESHGUI_Hypotheses.h @@ -28,16 +28,17 @@ #ifndef SMESHGUI_Hypotheses_HeaderFile #define SMESHGUI_Hypotheses_HeaderFile +#include #include CORBA_SERVER_HEADER(SMESH_Hypothesis) // QT Includes #include #include +#include -//================================================================================= -// class : SMESHGUI_GenericHypothesisCreator -// purpose : -//================================================================================= +/*! + * \brief Auxiliary class for creation of hypotheses +*/ class SMESHGUI_GenericHypothesisCreator { public: @@ -45,30 +46,35 @@ class SMESHGUI_GenericHypothesisCreator virtual void EditHypothesis (SMESH::SMESH_Hypothesis_ptr theHyp) = 0; }; -//================================================================================= -// class : HypothesisData -// purpose : -//================================================================================= +/*! + * \brief Class containing information about hypothesis +*/ class HypothesisData { public: - HypothesisData (const QString& aPluginName, - const QString& aServerLibName, - const QString& aClientLibName, - const QString& aLabel, - const QString& anIconId) : - PluginName(aPluginName), - ServerLibName(aServerLibName), - ClientLibName(aClientLibName), - Label(aLabel), - IconId(anIconId) + HypothesisData( const QString& thePluginName, + const QString& theServerLibName, + const QString& theClientLibName, + const QString& theLabel, + const QString& theIconId, + const QValueList& theDim, + const bool theIsAux ) +: PluginName( thePluginName ), + ServerLibName( theServerLibName ), + ClientLibName( theClientLibName ), + Label( theLabel ), + IconId( theIconId ), + Dim( theDim ), + IsAux( theIsAux ) {}; - QString PluginName; - QString ServerLibName; - QString ClientLibName; - QString Label; - QString IconId; + QString PluginName; //!< plugin name + QString ServerLibName; //!< server library name + QString ClientLibName; //!< client library name + QString Label; //!< label + QString IconId; //!< icon identifier + QValueList Dim; //!< list of supported dimensions (see SMESH::Dimension enumeration) + bool IsAux; //!< TRUE if given hypothesis is auxiliary one, FALSE otherwise }; #endif