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