idl/SMESH_Hypothesis.idl

Go to the documentation of this file.
00001 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00002 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
00003 // 
00004 //  This library is free software; you can redistribute it and/or 
00005 //  modify it under the terms of the GNU Lesser General Public 
00006 //  License as published by the Free Software Foundation; either 
00007 //  version 2.1 of the License. 
00008 // 
00009 //  This library is distributed in the hope that it will be useful, 
00010 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
00011 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00012 //  Lesser General Public License for more details. 
00013 // 
00014 //  You should have received a copy of the GNU Lesser General Public 
00015 //  License along with this library; if not, write to the Free Software 
00016 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
00017 // 
00018 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00019 //
00020 //
00021 //
00022 //  File   : SMESH_Hypothesis.idl
00023 //  Author : Paul RASCLE, EDF
00024 //  $Header: /home/server/cvs/SMESH/SMESH_SRC/idl/SMESH_Hypothesis.idl,v 1.8.2.1 2007/02/19 16:36:21 eap Exp $
00025 
00026 #ifndef _SMESH_HYPOTHESIS_IDL_
00027 #define _SMESH_HYPOTHESIS_IDL_
00028 
00029 #include "SALOME_Exception.idl"
00030 #include "SALOME_GenericObj.idl"
00031 
00032 module SMESH
00033 {
00034   enum Dimension
00035   {
00036     DIM_0D,
00037     DIM_1D,
00038     DIM_2D,
00039     DIM_3D
00040   };
00041   
00042   interface SMESH_Hypothesis : SALOME::GenericObj
00043   {
00047     string GetName();
00048 
00052     string GetLibName();
00053 
00057     long GetId();
00058     
00062     boolean IsDimSupported( in Dimension type );
00063   };
00064 
00065   typedef sequence<string> ListOfHypothesisName;
00066 
00067   interface SMESH_Algo : SMESH_Hypothesis
00068   {
00072     ListOfHypothesisName GetCompatibleHypothesis();
00073 
00074   };
00075 
00076   interface SMESH_0D_Algo : SMESH_Algo
00077   {
00081   };
00082 
00083   interface SMESH_1D_Algo : SMESH_Algo
00084   {
00088   };
00089 
00090   interface SMESH_2D_Algo : SMESH_Algo
00091   {
00095   };
00096 
00097   interface SMESH_3D_Algo : SMESH_Algo
00098   {
00102   };
00103 };
00104 
00105   // -----------------------------------------------------------------
00106   // Specific Algorithms in separate idl file
00107   // -----------------------------------------------------------------
00108 
00109 
00110 #endif