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 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses 00021 // File : StdMeshers_Import_1D2D_i.cxx 00022 // Module : SMESH 00023 // 00024 #include "StdMeshers_Import_1D2D_i.hxx" 00025 #include "SMESH_Gen.hxx" 00026 00027 #include "Utils_CorbaException.hxx" 00028 #include "utilities.h" 00029 00030 using namespace std; 00031 00032 00033 //============================================================================= 00037 //============================================================================= 00038 00039 StdMeshers_Import_1D2D_i::StdMeshers_Import_1D2D_i (PortableServer::POA_ptr thePOA, 00040 int theStudyId, 00041 ::SMESH_Gen* theGenImpl) 00042 : SALOME::GenericObj_i( thePOA ), 00043 SMESH_Hypothesis_i( thePOA ), 00044 SMESH_Algo_i( thePOA ), 00045 SMESH_2D_Algo_i( thePOA ) 00046 { 00047 MESSAGE( "StdMeshers_Import_1D2D_i::StdMeshers_Import_1D2D_i" ); 00048 myBaseImpl = new ::StdMeshers_Import_1D2D(theGenImpl->GetANewId(), 00049 theStudyId, 00050 theGenImpl ); 00051 } 00052 00053 //----------------------------------------------------------------------------- 00054 00055 StdMeshers_Import_1D2D_i::~StdMeshers_Import_1D2D_i() 00056 { 00057 MESSAGE( "StdMeshers_Import_1D2D_i::~StdMeshers_Import_1D2D_i" ); 00058 } 00059 00060 //----------------------------------------------------------------------------- 00061 00062 ::StdMeshers_Import_1D2D* StdMeshers_Import_1D2D_i::GetImpl() 00063 { 00064 MESSAGE( "StdMeshers_Import_1D2D_i::GetImpl" ); 00065 return ( ::StdMeshers_Import_1D2D* )myBaseImpl; 00066 } 00067