Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL9022. Improve methods binding nodes to shape, allow binding nodes to solid
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_Algo_i.hxx
diff --git
a/src/SMESH_I/SMESH_Algo_i.hxx
b/src/SMESH_I/SMESH_Algo_i.hxx
index c5427f753989ecb6add4120e4417286b03519f5d..21630ec8adfb3c1961c98416d2d50564d9f7a150 100644
(file)
--- a/
src/SMESH_I/SMESH_Algo_i.hxx
+++ b/
src/SMESH_I/SMESH_Algo_i.hxx
@@
-34,23
+34,23
@@
#include "SMESH_Hypothesis_i.hxx"
#include "SMESH_Hypothesis_i.hxx"
-#include "SMESH_Algo.hxx"
-
+// ======================================================
+// Generic algorithm
+// ======================================================
class SMESH_Algo_i:
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:
{
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();
virtual ~SMESH_Algo_i();
-
+
+ // Gets list of compatible hypotheses
SMESH::ListOfHypothesisName* GetCompatibleHypothesis();
SMESH::ListOfHypothesisName* GetCompatibleHypothesis();
-
-protected:
- virtual void SetImpl(::SMESH_Algo* impl);
-
- ::SMESH_Algo* _impl;
};
#endif
};
#endif