Salome HOME
To correct parsing of commands like object.command(obj, 'str=value'),
[modules/smesh.git] / src / SMESH_I / SMESH_Algo_i.hxx
index c5427f753989ecb6add4120e4417286b03519f5d..2ee94ae9d43cf417041d0ff6926e899fd185012d 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #ifndef _SMESH_ALGO_I_HXX_
 #define _SMESH_ALGO_I_HXX_
 
+#include "SMESH.hxx"
+
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(SMESH_Hypothesis)
 
 #include "SMESH_Hypothesis_i.hxx"
 
-#include "SMESH_Algo.hxx"
-
-class SMESH_Algo_i:
-  public POA_SMESH::SMESH_Algo,
-  public SMESH_Hypothesis_i
+// ======================================================
+// Generic algorithm
+// ======================================================
+class SMESH_I_EXPORT SMESH_Algo_i:
+  public virtual POA_SMESH::SMESH_Algo,
+  public virtual SMESH_Hypothesis_i
 {
 public:
-  SMESH_Algo_i();
+  // Constructor : placed in protected section to prohibit creation of generic class instance
+  SMESH_Algo_i( PortableServer::POA_ptr thePOA );
 
+public:
+  // Destructor
   virtual ~SMESH_Algo_i();
-
+  
+  // Gets list of compatible hypotheses
   SMESH::ListOfHypothesisName* GetCompatibleHypothesis();
-
-protected:
-  virtual void SetImpl(::SMESH_Algo* impl);
-
-  ::SMESH_Algo* _impl;
 };
 
 #endif