Version: 6.3.1

idl/SMESH_Hypothesis.idl

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  File   : SMESH_Hypothesis.idl
00024 //  Author : Paul RASCLE, EDF
00025 //  $Header: /home/server/cvs/SMESH/SMESH_SRC/idl/SMESH_Hypothesis.idl,v 1.10.20.1.8.1 2011-06-02 05:57:20 vsr Exp $
00026 //
00027 #ifndef _SMESH_HYPOTHESIS_IDL_
00028 #define _SMESH_HYPOTHESIS_IDL_
00029 
00030 #include "SALOME_Exception.idl"
00031 #include "SALOME_GenericObj.idl"
00032 
00033 module SMESH
00034 {
00035   enum Dimension
00036   {
00037     DIM_0D,
00038     DIM_1D,
00039     DIM_2D,
00040     DIM_3D
00041   };
00042   
00043   typedef sequence<string> ListOfParameters;
00044 
00045   interface SMESH_Hypothesis : SALOME::GenericObj
00046   {
00047     
00051     string GetName();
00052 
00056     string GetLibName();
00057 
00061     long GetId();
00062 
00068     void SetParameters (in string theParameters);
00069 
00073     string GetParameters();
00074 
00078     ListOfParameters GetLastParameters();
00079 
00085     void SetLastParameters(in string theParameters);
00086     
00090     void ClearParameters();
00091 
00095     boolean IsDimSupported( in Dimension type );
00096   };
00097 
00098   typedef sequence<string> ListOfHypothesisName;
00099 
00100   interface SMESH_Algo : SMESH_Hypothesis
00101   {
00105     ListOfHypothesisName GetCompatibleHypothesis();
00106 
00107   };
00108 
00109   interface SMESH_0D_Algo : SMESH_Algo
00110   {
00114   };
00115 
00116   interface SMESH_1D_Algo : SMESH_Algo
00117   {
00121   };
00122 
00123   interface SMESH_2D_Algo : SMESH_Algo
00124   {
00128   };
00129 
00130   interface SMESH_3D_Algo : SMESH_Algo
00131   {
00135   };
00136 };
00137 
00138   // -----------------------------------------------------------------
00139   // Specific Algorithms in separate idl file
00140   // -----------------------------------------------------------------
00141 
00142 
00143 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS