Salome HOME
NRI : Add KERNEL includes and libs.
[modules/smesh.git] / src / SMESHDS / SMESHDS_Hypothesis.hxx
1 //=============================================================================
2 // File      : SMESHDS_Hypothesis.hxx
3 // Created   : sam mai 18 08:07:54 CEST 2002
4 // Author    : Paul RASCLE, EDF
5 // Project   : SALOME
6 // Copyright : EDF 2002
7 // $Header$
8 //=============================================================================
9
10 #ifndef _SMESHDS_HYPOTHESIS_HXX_
11 #define _SMESHDS_HYPOTHESIS_HXX_
12
13 #if (__GNUC__>2)
14 #include <string>
15 #include <istream>
16 #include <ostream>
17 #else 
18 #include <string>
19 #include <istream.h>
20 #include <ostream.h>
21 #endif
22   
23 // class istream;
24 // class ostream;
25
26 class SMESHDS_Hypothesis
27 {
28 public:
29   SMESHDS_Hypothesis(int hypId);
30   virtual ~SMESHDS_Hypothesis();
31
32   const char* GetName();
33   int GetID();
34   int GetType();
35
36   virtual ostream & SaveTo(ostream & save)=0;
37   virtual istream & LoadFrom(istream & load)=0;
38
39 enum hypothesis_type {PARAM_ALGO, ALGO, ALGO_1D, ALGO_2D, ALGO_3D};
40
41 protected:
42   string _name;
43   int _hypId;
44   int _type;
45 };
46
47 #endif