Salome HOME
NRI : First integration.
[modules/smesh.git] / src / SMESH / SMESH_LengthFromEdges.hxx
1 //=============================================================================
2 // File      : SMESH_LengthFromEdges.hxx
3 // Created   : mar jun 11 22:42:20 CEST 2002
4 // Author    : Paul RASCLE, EDF
5 // Project   : SALOME
6 // Copyright : EDF 2002
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SMESH_LENGTHFROMEDGES_HXX_
11 #define _SMESH_LENGTHFROMEDGES_HXX_
12
13 #include "SMESH_Hypothesis.hxx"
14 #include "Utils_SALOME_Exception.hxx"
15
16 class SMESH_LengthFromEdges:
17   public SMESH_Hypothesis
18 {
19 public:
20   SMESH_LengthFromEdges(int hypId, int studyId, SMESH_Gen* gen);
21   virtual ~SMESH_LengthFromEdges();
22
23   void SetMode(int mode)
24     throw (SALOME_Exception);
25
26   int GetMode();
27
28   virtual ostream & SaveTo(ostream & save);
29   virtual istream & LoadFrom(istream & load);
30   friend ostream & operator << (ostream & save, SMESH_LengthFromEdges & hyp);
31   friend istream & operator >> (istream & load, SMESH_LengthFromEdges & hyp);
32
33 protected:
34   int _mode;
35 };
36
37 #endif