Salome HOME
Small fixes in tests.
[modules/yacs.git] / src / engine / ForkBlocPoint.hxx
index 0aa3fbf178b05c31cf0f5dfd94ec132a77e6cd3d..f410b4f05368f550caa473895faf205460a1697e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2015-2021  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
@@ -30,13 +30,17 @@ namespace YACS
     class YACSLIBENGINE_EXPORT ForkBlocPoint : public BlocPoint
     {
     public:
+      ForkBlocPoint() = default;
       ForkBlocPoint(const std::list<AbstractPoint *>& nodes, AbstractPoint *father);
-      Node *getFirstNode();
-      Node *getLastNode();
+      AbstractPoint *deepCopy(AbstractPoint *father) const override;
+      Node *getFirstNode() override;
+      Node *getLastNode() override;
       int getMaxLevelOfParallelism() const;
-      double getWeightRegardingDPL() const;
+      void getWeightRegardingDPL(ComplexWeight *weight);
       void partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap) const;
       std::string getRepr() const;
+      void accept(PointVisitor *pv) override;
+      AbstractPoint *expandNonSimpleCaseOn(NotSimpleCasePoint *pathologicalPt, const std::set<Node *>& uncatchedNodes) override;
       virtual ~ForkBlocPoint();
     };
   }