Salome HOME
0ccd5c7aed086fb73be13a2066d14d3034fd274e
[modules/smesh.git] / src / SMESH / SMESH_1D_Algo.cxx
1 using namespace std;
2 //=============================================================================
3 // File      : SMESH_1D_Algo.cxx
4 // Created   : sam mai 18 09:22:56 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_1D_Algo.hxx"
13 #include "SMESH_Gen.hxx"
14
15 //=============================================================================
16 /*!
17  *  
18  */
19 //=============================================================================
20
21 SMESH_1D_Algo::SMESH_1D_Algo(int hypId, int studyId, SMESH_Gen* gen)
22   : SMESH_Algo(hypId, studyId, gen)
23 {
24 //   _compatibleHypothesis.push_back("hypothese_1D_bidon");
25   _type = ALGO_1D;
26   gen->_map1D_Algo[hypId] = this;
27 }
28
29 //=============================================================================
30 /*!
31  *  
32  */
33 //=============================================================================
34
35 SMESH_1D_Algo::~SMESH_1D_Algo()
36 {
37 }
38
39 //=============================================================================
40 /*!
41  *  
42  */
43 //=============================================================================
44
45 ostream & SMESH_1D_Algo::SaveTo(ostream & save)
46 {
47   return save << this;
48 }
49
50 //=============================================================================
51 /*!
52  *  
53  */
54 //=============================================================================
55
56 istream & SMESH_1D_Algo::LoadFrom(istream & load)
57 {
58   return load >> (*this);
59 }
60
61 //=============================================================================
62 /*!
63  *  
64  */
65 //=============================================================================
66
67 ostream& operator << (ostream & save, SMESH_1D_Algo & hyp)
68 {
69   return save;
70 }
71
72 //=============================================================================
73 /*!
74  *  
75  */
76 //=============================================================================
77
78 istream& operator >> (istream & load, SMESH_1D_Algo & hyp)
79 {
80   return load;
81 }
82