Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESH_I / SMESH_Regular_1D_i.cxx
1 using namespace std;
2 //=============================================================================
3 // File      : SMESH_Regular_1D_i.cxx
4 // Created   : jeu mai 16 13:25:47 CEST 2002
5 // Author    : Paul RASCLE, EDF
6 // Project   : SALOME
7 // Copyright : EDF 2002
8 // $Header$
9 //=============================================================================
10 using namespace std;
11
12 #include "SMESH_Regular_1D_i.hxx"
13 #include "SMESH_Gen.hxx"
14 #include "SMESH_HypothesisFactory.hxx"
15
16 #include "Utils_CorbaException.hxx"
17 #include "utilities.h"
18
19 //=============================================================================
20 /*!
21  *  
22  */
23 //=============================================================================
24
25 SMESH_Regular_1D_i::SMESH_Regular_1D_i(const char* anHyp,
26                                        int studyId,
27                                        ::SMESH_Gen* genImpl)
28 {
29   MESSAGE("SMESH_Regular_1D_i::SMESH_Regular_1D_i");
30   _genImpl = genImpl;
31   ::SMESH_Regular_1D* impl 
32       = new ::SMESH_Regular_1D(_genImpl->_hypothesisFactory.GetANewId(),
33                                studyId,
34                                genImpl);
35   SetImpl(impl);
36   _baseImpl = _impl;
37 }
38
39 //=============================================================================
40 /*!
41  *  
42  */
43 //=============================================================================
44
45 SMESH_Regular_1D_i::~SMESH_Regular_1D_i()
46 {
47   MESSAGE("SMESH_Regular_1D_i::~SMESH_Regular_1D_i");
48 }
49
50 //=============================================================================
51 /*!
52  *  
53  */
54 //=============================================================================
55
56 void SMESH_Regular_1D_i::SetImpl(::SMESH_Regular_1D* impl)
57 {
58   MESSAGE("SMESH_Regular_1D_i::SetImpl");
59   SMESH_1D_Algo_i::SetImpl(impl);
60   _impl = impl;
61 }