Back to index

salome-smesh  6.5.0
StdMeshers_Cartesian_3D_i.cxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  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 //  File   : StdMeshers_Cartesian_3D_i.cxx
00023 //  Module : SMESH
00024 //
00025 #include "StdMeshers_Cartesian_3D_i.hxx"
00026 #include "StdMeshers_Cartesian_3D.hxx"
00027 #include "SMESH_Gen.hxx"
00028 
00029 #include "Utils_CorbaException.hxx"
00030 #include "utilities.h"
00031 
00032 //=============================================================================
00038 //=============================================================================
00039 
00040 StdMeshers_Cartesian_3D_i::StdMeshers_Cartesian_3D_i( PortableServer::POA_ptr thePOA,
00041                                                       int                     theStudyId,
00042                                                       ::SMESH_Gen*            theGenImpl )
00043   : SALOME::GenericObj_i( thePOA ), 
00044     SMESH_Hypothesis_i( thePOA ), 
00045     SMESH_Algo_i( thePOA ),
00046     SMESH_3D_Algo_i( thePOA )
00047 {
00048   MESSAGE( "StdMeshers_Cartesian_3D_i::StdMeshers_Cartesian_3D_i" );
00049   myBaseImpl = new ::StdMeshers_Cartesian_3D( theGenImpl->GetANewId(),
00050                                               theStudyId,
00051                                               theGenImpl );
00052 }
00053 
00054 //=============================================================================
00060 //=============================================================================
00061 
00062 StdMeshers_Cartesian_3D_i::~StdMeshers_Cartesian_3D_i()
00063 {
00064   MESSAGE( "StdMeshers_Cartesian_3D_i::~StdMeshers_Cartesian_3D_i" );
00065 }
00066 
00067 //=============================================================================
00073 //=============================================================================
00074 
00075 ::StdMeshers_Cartesian_3D* StdMeshers_Cartesian_3D_i::GetImpl()
00076 {
00077   MESSAGE( "StdMeshers_Cartesian_3D_i::GetImpl" );
00078   return ( ::StdMeshers_Cartesian_3D* )myBaseImpl;
00079 }