]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/ElementaryPoint.cxx
Salome HOME
Visitor for AbstractPoint
[modules/yacs.git] / src / engine / ElementaryPoint.cxx
index 7d161b9c2952cf7ec2a2813a8049d944a56409a3..72dd58c3531b0a0394ecbce56af6156effe8c95a 100644 (file)
@@ -18,6 +18,7 @@
 //
 
 #include "ElementaryPoint.hxx"
+#include "PointVisitor.hxx"
 #include "Node.hxx"
 
 using namespace YACS::ENGINE;
@@ -73,3 +74,9 @@ std::string ElementaryPoint::getRepr() const
 {
   return _node->getName();
 }
+
+void ElementaryPoint::accept(PointVisitor *pv)
+{
+  pv->beginElementaryPoint(this);
+  pv->endElementaryPoint(this);
+}