#include "SMESH_Hypothesis.hxx"
#include "Utils_SALOME_Exception.hxx"
-class SMESH_LocalLength:
- public SMESH_Hypothesis
+class SMESH_LocalLength:public SMESH_Hypothesis
{
-public:
- SMESH_LocalLength(int hypId, int studyId, SMESH_Gen* gen);
- virtual ~SMESH_LocalLength();
+ public:
+ SMESH_LocalLength(int hypId, int studyId, SMESH_Gen * gen);
+ virtual ~ SMESH_LocalLength();
- void SetLength(double length)
- throw (SALOME_Exception);
+ void SetLength(double length) throw(SALOME_Exception);
- double GetLength();
+ double GetLength() const;
- virtual ostream & SaveTo(ostream & save);
- virtual istream & LoadFrom(istream & load);
- friend ostream & operator << (ostream & save, SMESH_LocalLength & hyp);
- friend istream & operator >> (istream & load, SMESH_LocalLength & hyp);
+ virtual ostream & SaveTo(ostream & save);
+ virtual istream & LoadFrom(istream & load);
+ friend ostream & operator <<(ostream & save, SMESH_LocalLength & hyp);
+ friend istream & operator >>(istream & load, SMESH_LocalLength & hyp);
-protected:
- double _length;
+ protected:
+ double _length;
};
#endif