X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_Algo_i.hxx;h=eee44fc09d8c5bab24795e1a34c121ca038311c4;hp=c5427f753989ecb6add4120e4417286b03519f5d;hb=104ff7b2818ce4d0f8a38d840abd3e5c70190668;hpb=4791f5b30ea7a9c1247aa551750dc71cb83b99aa diff --git a/src/SMESH_I/SMESH_Algo_i.hxx b/src/SMESH_I/SMESH_Algo_i.hxx index c5427f753..eee44fc09 100644 --- a/src/SMESH_I/SMESH_Algo_i.hxx +++ b/src/SMESH_I/SMESH_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,23 +34,23 @@ #include "SMESH_Hypothesis_i.hxx" -#include "SMESH_Algo.hxx" - +// ====================================================== +// Generic algorithm +// ====================================================== class SMESH_Algo_i: - public POA_SMESH::SMESH_Algo, - public SMESH_Hypothesis_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