]> SALOME platform Git repositories - plugins/ghs3dprlplugin.git/blob - src/GHS3DPRLPlugin/GHS3DPRLPlugin_Hypothesis_i.hxx
Salome HOME
Imported using TkCVS
[plugins/ghs3dprlplugin.git] / src / GHS3DPRLPlugin / GHS3DPRLPlugin_Hypothesis_i.hxx
1 //  GHS3DPRLPlugin : C++ implementation
2 //
3 //  Copyright (C) 2006  OPEN CASCADE, CEA/DEN, EDF R&D
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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
20 //
21 //
22 // File    : GHS3DPRLPlugin_Hypothesis_i.hxx
23 // Author  : Christian VAN WAMBEKE (CEA) (from Hexotic plugin Lioka RAZAFINDRAZAKA)
24 // Date    : 2006/06/30
25 // Project : SALOME
26 //=============================================================================
27
28 #ifndef _GHS3DPRLPlugin_Hypothesis_i_HXX_
29 #define _GHS3DPRLPlugin_Hypothesis_i_HXX_
30
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(GHS3DPRLPlugin_Algorithm)
33
34 #include "SMESH_Hypothesis_i.hxx"
35 #include "GHS3DPRLPlugin_Hypothesis.hxx"
36
37 class SMESH_Gen;
38
39 // GHS3DPRLPlugin parameters hypothesis
40
41 class GHS3DPRLPlugin_Hypothesis_i:
42   public virtual POA_GHS3DPRLPlugin::GHS3DPRLPlugin_Hypothesis,
43   public virtual SMESH_Hypothesis_i
44 {
45  public:
46   // Constructor
47   GHS3DPRLPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
48                              int                     theStudyId,
49                              ::SMESH_Gen*            theGenImpl);
50   // Destructor
51   virtual ~GHS3DPRLPlugin_Hypothesis_i();
52
53   // Methods for setting and getting parameters values
54   void SetMEDName(const char* theVal);
55   char * GetMEDName();
56
57   void SetNbPart(CORBA::Long theVal);
58   CORBA::Long GetNbPart();
59
60   void SetKeepFiles(CORBA::Boolean theVal);
61   CORBA::Boolean GetKeepFiles();
62
63   // Get implementation
64   ::GHS3DPRLPlugin_Hypothesis* GetImpl();
65
66   // Verify whether hypothesis supports given entity type
67   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
68 };
69
70 #endif