Salome HOME
updated copyright message
[modules/yacs.git] / src / engine / LinkedBlocPoint.hxx
index 963ca24e02fb4515792ea9baf6d932de65bee3cd..b0653be909adb53f59b54e77906c4f72f4eea14f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2016  CEA/DEN, EDF R&D
+// Copyright (C) 2015-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -32,13 +32,17 @@ namespace YACS
     class YACSLIBENGINE_EXPORT LinkedBlocPoint : public BlocPoint
     {
     public:
+      LinkedBlocPoint() = default;
       LinkedBlocPoint(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 ~LinkedBlocPoint();
     };
   }