Salome HOME
Adjust to CVS HEAD modifications
[modules/smesh.git] / src / SMESH_I / SMESH_1D_Algo_i.hxx
index 4f619ea998522d65089e66a1754deb242d3c3e30..1112a4019facf6d1e578137b5517226ee09ef809 100644 (file)
 
 #include "SMESH_Algo_i.hxx"
 
-#include "SMESH_1D_Algo.hxx"
-
+// ======================================================
+// Generic 1D algorithm
+// ======================================================
 class SMESH_1D_Algo_i:
-  public POA_SMESH::SMESH_1D_Algo,
-  public SMESH_Algo_i
+  public virtual POA_SMESH::SMESH_1D_Algo,
+  public virtual SMESH_Algo_i
 {
-public:
-  SMESH_1D_Algo_i();
-
-  virtual ~SMESH_1D_Algo_i();
-
 protected:
-  virtual void SetImpl(::SMESH_1D_Algo* impl);
+  // Constructor : placed in protected section to prohibit creation of generic class instance
+  SMESH_1D_Algo_i( PortableServer::POA_ptr thePOA );
 
-  ::SMESH_1D_Algo* _impl;
+public:
+  // Destructor
+  virtual ~SMESH_1D_Algo_i();
+  
+  // Verify whether algorithm supports given entity type 
+  CORBA::Boolean IsDimSupported( SMESH::Dimension type );
 };
 
 #endif