Salome HOME
5ec4c3a71080091148e120392e864f232444d2f7
[modules/smesh.git] / src / StdMeshersGUI / StdMeshersGUI_Parameters.h
1 //  SMESH StdMeshersGUI : GUI for standard meshers
2 //
3 //  Copyright (C) 2003  CEA
4 // 
5 //  This library is free software; you can redistribute it and/or 
6 //  modify it under the terms of the GNU Lesser General Public 
7 //  License as published by the Free Software Foundation; either 
8 //  version 2.1 of the License. 
9 // 
10 //  This library is distributed in the hope that it will be useful, 
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 //  Lesser General Public License for more details. 
14 // 
15 //  You should have received a copy of the GNU Lesser General Public 
16 //  License along with this library; if not, write to the Free Software 
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18 // 
19 //  See http://www.salome-platform.org or email : webmaster.salome@opencascade.org
20 //
21 //
22 //
23 //  File   : StdMeshersGUI_Parameters.h
24 //  Module : SMESH
25 //  $Header$
26
27 #ifndef STDMESHERSGUI_PARAMETERS_H
28 #define STDMESHERSGUI_PARAMETERS_H
29
30 #include <SALOMEconfig.h>
31 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
32
33 #include "SMESHGUI_aParameter.h"
34
35 #include <list>
36
37 class StdMeshersGUI_Parameters
38 {
39  public:
40   static bool HasParameters (const QString& hypType);
41   
42   static void GetParameters (const QString&                      hypType,
43                              std::list<SMESHGUI_aParameterPtr> & params );
44   
45   static void GetParameters (SMESH::SMESH_Hypothesis_ptr         hyp,
46                              std::list<SMESHGUI_aParameterPtr> & params );
47   static void GetParameters (SMESH::SMESH_Hypothesis_ptr         hyp,
48                              std::list<SMESHGUI_aParameterPtr> & paramList,
49                              QString&                            params);
50   
51   static bool SetParameters(SMESH::SMESH_Hypothesis_ptr               hyp,
52                             const std::list<SMESHGUI_aParameterPtr> & params );
53 };
54 #endif