1 // GHS3DPRLPlugin : C++ implementation
3 // Copyright (C) 2006 OPEN CASCADE, CEA/DEN, EDF R&D
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.
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.
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
19 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
22 // File : GHS3DPRLPlugin_Hypothesis_i.hxx
23 // Author : Christian VAN WAMBEKE (CEA) (from Hexotic plugin Lioka RAZAFINDRAZAKA)
26 //=============================================================================
28 #ifndef _GHS3DPRLPlugin_Hypothesis_i_HXX_
29 #define _GHS3DPRLPlugin_Hypothesis_i_HXX_
31 #include <SALOMEconfig.h>
32 #include CORBA_SERVER_HEADER(GHS3DPRLPlugin_Algorithm)
34 #include "SMESH_Hypothesis_i.hxx"
35 #include "GHS3DPRLPlugin_Hypothesis.hxx"
39 // GHS3DPRLPlugin parameters hypothesis
41 class GHS3DPRLPlugin_Hypothesis_i:
42 public virtual POA_GHS3DPRLPlugin::GHS3DPRLPlugin_Hypothesis,
43 public virtual SMESH_Hypothesis_i
47 GHS3DPRLPlugin_Hypothesis_i (PortableServer::POA_ptr thePOA,
49 ::SMESH_Gen* theGenImpl);
51 virtual ~GHS3DPRLPlugin_Hypothesis_i();
53 // Methods for setting and getting parameters values
54 void SetMEDName(const char* theVal);
57 void SetNbPart(CORBA::Long theVal);
58 CORBA::Long GetNbPart();
60 void SetKeepFiles(CORBA::Boolean theVal);
61 CORBA::Boolean GetKeepFiles();
64 ::GHS3DPRLPlugin_Hypothesis* GetImpl();
66 // Verify whether hypothesis supports given entity type
67 CORBA::Boolean IsDimSupported( SMESH::Dimension type );