Salome HOME
Update to match the change of SMDS (new DS).
[modules/smesh.git] / src / SMESH / SMESH_MaxElementArea.hxx
index 062a92f662209210c9010976d05475e539ee899a..cb60c66c5f1e913180d48cb0450f730b739f2667 100644 (file)
 #include "SMESH_Hypothesis.hxx"
 #include "Utils_SALOME_Exception.hxx"
 
-class SMESH_MaxElementArea:
-  public SMESH_Hypothesis
+class SMESH_MaxElementArea:public SMESH_Hypothesis
 {
-public:
-  SMESH_MaxElementArea(int hypId, int studyId, SMESH_Gen* gen);
-  virtual ~SMESH_MaxElementArea();
+  public:
+       SMESH_MaxElementArea(int hypId, int studyId, SMESH_Gen * gen);
+         virtual ~ SMESH_MaxElementArea();
 
-  void SetMaxArea(double maxArea)
-    throw (SALOME_Exception);
+       void SetMaxArea(double maxArea) throw(SALOME_Exception);
 
-  double GetMaxArea();
+       double GetMaxArea() const;
 
-  virtual ostream & SaveTo(ostream & save);
-  virtual istream & LoadFrom(istream & load);
-  friend ostream & operator << (ostream & save, SMESH_MaxElementArea & hyp);
-  friend istream & operator >> (istream & load, SMESH_MaxElementArea & hyp);
+       virtual ostream & SaveTo(ostream & save);
+       virtual istream & LoadFrom(istream & load);
+       friend ostream & operator <<(ostream & save, SMESH_MaxElementArea & hyp);
+       friend istream & operator >>(istream & load, SMESH_MaxElementArea & hyp);
 
-protected:
-  double _maxArea;
+  protected:
+       double _maxArea;
 };
 
 #endif