Salome HOME
Error management in py2yacs.
[modules/yacs.git] / src / engine / SetOfPoints.hxx
index ade89ae66979e3ecefe5716c651c09ac6452305b..cd2d8485c615d78f1aa34a0e0e9f3bfaff9c2c91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015  EDF R&D
+// Copyright (C) 2015-2019  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #define __SETOFPOINTS_HXX__
 
 #include "YACSlibEngineExport.hxx"
+#include "PlayGround.hxx"
+#include "PointVisitor.hxx"
+#include "AutoRefCnt.hxx"
 
+#include <map>
 #include <list>
 #include <string>
 
@@ -32,17 +36,24 @@ namespace YACS
     class Node;
     class BagPoint;
     class AbstractPoint;
-
+    class ComposedNode;
+    
     class YACSLIBENGINE_EXPORT SetOfPoints
     {
     public:
       SetOfPoints(const std::list<Node *>& nodes);
+      SetOfPoints(BagPoint *bp):_bp(bp) { }
       ~SetOfPoints();
+      void basicSimplify();
       void simplify();
       std::string getRepr() const;
       AbstractPoint *findPointWithNode(Node *node);
       const std::list<AbstractPoint *>& getListOfPoints() const;
       int getMaxLevelOfParallelism() const;
+      void getWeightRegardingDPL(ComplexWeight *weight);
+      void partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap) const;
+      AbstractPoint *getUniqueAndReleaseIt() const;
+      void accept(PointVisitor *pv);
     private:
       BagPoint *_bp;
     };