1 // SMESH SMESH : implementaion of SMESH idl descriptions
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : SMESH_1D_Algo.cxx
25 // Author : Paul RASCLE, EDF
31 #include "SMESH_1D_Algo.hxx"
32 #include "SMESH_Gen.hxx"
34 //=============================================================================
38 //=============================================================================
40 SMESH_1D_Algo::SMESH_1D_Algo(int hypId, int studyId, SMESH_Gen* gen)
41 : SMESH_Algo(hypId, studyId, gen)
43 // _compatibleHypothesis.push_back("hypothese_1D_bidon");
45 gen->_map1D_Algo[hypId] = this;
48 //=============================================================================
52 //=============================================================================
54 SMESH_1D_Algo::~SMESH_1D_Algo()
58 //=============================================================================
62 //=============================================================================
64 ostream & SMESH_1D_Algo::SaveTo(ostream & save)
69 //=============================================================================
73 //=============================================================================
75 istream & SMESH_1D_Algo::LoadFrom(istream & load)
77 return load >> (*this);
80 //=============================================================================
84 //=============================================================================
86 ostream& operator << (ostream & save, SMESH_1D_Algo & hyp)
91 //=============================================================================
95 //=============================================================================
97 istream& operator >> (istream & load, SMESH_1D_Algo & hyp)