Version: 6.3.1

src/StdMeshers_I/StdMeshers_TrianglePreference_i.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 //  File   : StdMeshers_TrianglePreference_i.hxx
00021 //  Author : 
00022 //  Module : SMESH
00023 //
00024 #ifndef _SMESH_TrianglePreference_I_HXX_
00025 #define _SMESH_TrianglePreference_I_HXX_
00026 
00027 #include "SMESH_StdMeshers_I.hxx"
00028 
00029 #include <SALOMEconfig.h>
00030 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
00031 
00032 #include "SMESH_Hypothesis_i.hxx"
00033 #include "StdMeshers_TrianglePreference.hxx"
00034 
00035 class SMESH_Gen;
00036 
00037 class STDMESHERS_I_EXPORT StdMeshers_TrianglePreference_i:
00038   public virtual POA_StdMeshers::StdMeshers_TrianglePreference,
00039   public virtual SMESH_Hypothesis_i
00040 {
00041 public:
00042   // Constructor
00043   StdMeshers_TrianglePreference_i( PortableServer::POA_ptr thePOA,
00044                                      int                     theStudyId,
00045                                      ::SMESH_Gen*            theGenImpl );
00046   // Destructor
00047   virtual ~StdMeshers_TrianglePreference_i();
00048 
00049   // Get implementation
00050   ::StdMeshers_TrianglePreference* GetImpl();
00051   
00052   // Verify whether hypothesis supports given entity type 
00053   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
00054 };
00055 
00056 #endif //_SMESH_TrianglePreference_I_HXX_
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