X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FElementaryPoint.hxx;h=6d3b318346fe33bd8ee3a2cfc02cbb9d4f36eb72;hb=b3d523481abb9be0960b9dc69b1ad7e0330d8eb2;hp=127704aaa8d5c2946015d801f8d849026ac27564;hpb=f31c1aa1cf3481bf51166f0c4e3dd118bc3ab43b;p=modules%2Fyacs.git diff --git a/src/engine/ElementaryPoint.hxx b/src/engine/ElementaryPoint.hxx index 127704aaa..6d3b31834 100644 --- a/src/engine/ElementaryPoint.hxx +++ b/src/engine/ElementaryPoint.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2015 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 @@ -38,13 +38,23 @@ namespace YACS public: ElementaryPoint(Node *node):AbstractPoint(0),_node(node) { } AbstractPoint *findPointWithNode(Node *node); - bool contains(Node *node); - Node *getFirstNode(); - Node *getLastNode(); + bool contains(Node *node) const override; + bool anyOf(const std::set& nodes) const override; + AbstractPoint *deepCopy(AbstractPoint *father) const override; + Node *getFirstNode() override; + Node *getLastNode() override; int getNumberOfNodes() const; int getMaxLevelOfParallelism() const; + void getWeightRegardingDPL(ComplexWeight *weight); + void partitionRegardingDPL(const PartDefinition *pd, std::map >& zeMap) const; std::string getRepr() const; + void accept(PointVisitor *pv) override; + AbstractPoint *expandNonSimpleCaseOn(NotSimpleCasePoint *pathologicalPt, const std::set& uncatchedNodes) override; virtual ~ElementaryPoint(); + public: + void setNode(Node *node) { _node=node; } + Node *getNode() const { return _node; } + std::string getNodeName() const; }; } }