X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_1D_Algo_i.hxx;h=86800d31516fa64b324375a0eeab3c7e2fcf13eb;hb=refs%2Ftags%2FT3_2_0b2;hp=4f619ea998522d65089e66a1754deb242d3c3e30;hpb=cae755c4b270cbfbe061312428ac77a564aa9607;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_1D_Algo_i.hxx b/src/SMESH_I/SMESH_1D_Algo_i.hxx index 4f619ea99..86800d315 100644 --- a/src/SMESH_I/SMESH_1D_Algo_i.hxx +++ b/src/SMESH_I/SMESH_1D_Algo_i.hxx @@ -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 // // // @@ -34,21 +34,23 @@ #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