Salome HOME
remove ^A symbol from a tail of blsurf message
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_BLSURF_i.cxx
1 //  BLSURFPlugin : idl implementation
2 //
3 //  Copyright (C) 2006  OPEN CASCADE, CEA/DEN, EDF R&D
4 // 
5 //  This library is free software; you can redistribute it and/or 
6 //  modify it under the terms of the GNU Lesser General Public 
7 //  License as published by the Free Software Foundation; either 
8 //  version 2.1 of the License. 
9 // 
10 //  This library is distributed in the hope that it will be useful, 
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 //  Lesser General Public License for more details. 
14 // 
15 //  You should have received a copy of the GNU Lesser General Public 
16 //  License along with this library; if not, write to the Free Software 
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18 // 
19 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
20 //
21 //
22 //  File    : BLSURFPlugin_BLSURF_i.cxx
23 //  Authors : Francis KLOSS (OCC) & Patrick LAUG (INRIA)
24 //  Module  : BLSURFPlugin
25
26 using namespace std;
27 #include "BLSURFPlugin_BLSURF_i.hxx"
28 #include "SMESH_Gen.hxx"
29
30 #include "Utils_CorbaException.hxx"
31 #include "utilities.h"
32
33 //=============================================================================
34 /*!
35  *  BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i
36  *
37  *  Constructor
38  */
39 //=============================================================================
40
41 BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i( PortableServer::POA_ptr thePOA,
42                                                     int                     theStudyId,
43                                                     ::SMESH_Gen*            theGenImpl )
44      : SALOME::GenericObj_i( thePOA ), 
45        SMESH_Hypothesis_i( thePOA ), 
46        SMESH_Algo_i( thePOA ),
47        SMESH_2D_Algo_i( thePOA )
48 {
49   MESSAGE( "BLSURFPlugin_BLSURF_i::BLSURFPlugin_BLSURF_i" );
50   myBaseImpl = new ::BLSURFPlugin_BLSURF( theGenImpl->GetANewId(),
51                                              theStudyId,
52                                              theGenImpl );
53 }
54
55 //=============================================================================
56 /*!
57  *  BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i
58  *
59  *  Destructor
60  */
61 //=============================================================================
62
63 BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i()
64 {
65   MESSAGE( "BLSURFPlugin_BLSURF_i::~BLSURFPlugin_BLSURF_i" );
66 }
67
68 //=============================================================================
69 /*!
70  *  BLSURFPlugin_BLSURF_i::GetImpl
71  *
72  *  Get implementation
73  */
74 //=============================================================================
75
76 ::BLSURFPlugin_BLSURF* BLSURFPlugin_BLSURF_i::GetImpl()
77 {
78   MESSAGE( "BLSURFPlugin_BLSURF_i::GetImpl" );
79   return ( ::BLSURFPlugin_BLSURF* )myBaseImpl;
80 }