Salome HOME
Merge from BR_V5_DEV 16Feb09
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_Hypothesis_i.hxx
1 // Copyright (C) 2007-2008 OPEN CASCADE, CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // ---
20 //
21 // File   : GHS3DPRLPlugin_Hypothesis_i.hxx
22 // Author : Christian VAN WAMBEKE (CEA) (from Hexotic plugin Lioka RAZAFINDRAZAKA)
23 //
24 // ---
25
26 #ifndef _GHS3DPRLPlugin_Hypothesis_i_HXX_
27 #define _GHS3DPRLPlugin_Hypothesis_i_HXX_
28
29 #include <SALOMEconfig.h>
30 #include CORBA_SERVER_HEADER(GHS3DPRLPlugin_Algorithm)
31
32 #include "SMESH_Hypothesis_i.hxx"
33 #include "GHS3DPRLPlugin_Hypothesis.hxx"
34
35 class SMESH_Gen;
36
37 // GHS3DPRLPlugin parameters hypothesis
38
39 class GHS3DPRLPlugin_Hypothesis_i:
40   public virtual POA_GHS3DPRLPlugin::GHS3DPRLPlugin_Hypothesis,
41   public virtual SMESH_Hypothesis_i
42 {
43  public:
44   // Constructor
45   GHS3DPRLPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
46                                int                     theStudyId,
47                                ::SMESH_Gen*            theGenImpl);
48   // Destructor
49   virtual ~GHS3DPRLPlugin_Hypothesis_i();
50
51   // Methods for setting and getting parameters values
52   void SetMEDName(const char* theVal);
53   char * GetMEDName();
54
55   void SetNbPart(CORBA::Long theVal);
56   CORBA::Long GetNbPart();
57
58   void SetKeepFiles(CORBA::Boolean theVal);
59   CORBA::Boolean GetKeepFiles();
60
61   void SetBackground(CORBA::Boolean theVal);
62   CORBA::Boolean GetBackground();
63
64   void SetToMeshHoles(CORBA::Boolean theVal);
65   CORBA::Boolean GetToMeshHoles();
66
67   // Get implementation
68   ::GHS3DPRLPlugin_Hypothesis* GetImpl();
69
70   // Verify whether hypothesis supports given entity type
71   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
72 };
73
74 #endif