Salome HOME
updating or adding when merging in the main trunk with the version in the
[modules/smesh.git] / src / SMESH_I / SMESH_MaxElementVolume_i.hxx
index 8ffd245d775aff343fd1535268c113b694263a4c..c59fd65b11e4b5a73901db81f6c156dc6bbe6c31 100644 (file)
 //  Module : SMESH
 //  $Header$
 
+#ifndef _SMESH_MAXELEMENTVOLUME_I_HXX_
+#define _SMESH_MAXELEMENTVOLUME_I_HXX_
+
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
+
+#include "SMESH_Hypothesis_i.hxx"
+
+#include "SMESH_MaxElementVolume.hxx"
+
+class SMESH_MaxElementVolume_i:
+  public POA_SMESH::SMESH_MaxElementVolume,
+  public SMESH_Hypothesis_i
+{
+public:
+  SMESH_MaxElementVolume_i(const char* anHyp,
+                          int studyId,
+                          ::SMESH_Gen* genImpl);
+  virtual ~SMESH_MaxElementVolume_i();
+
+  void SetMaxElementVolume(CORBA::Double volume)
+    throw (SALOME::SALOME_Exception);
+
+  CORBA::Double GetMaxElementVolume();
+
+protected:
+  ::SMESH_MaxElementVolume* _impl;
+};
+
+#endif