X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FElementaryNode.hxx;h=9ba583d3c7f94d01c321444ed7aaed954bbea36b;hb=b3d523481abb9be0960b9dc69b1ad7e0330d8eb2;hp=a5907168543ba28c597be7261a045388cb249b3d;hpb=fd4934f49ee2770cd881b0f25a4bb00b12183b68;p=modules%2Fyacs.git diff --git a/src/engine/ElementaryNode.hxx b/src/engine/ElementaryNode.hxx index a59071685..9ba583d3c 100644 --- a/src/engine/ElementaryNode.hxx +++ b/src/engine/ElementaryNode.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2006-2020 CEA/DEN, EDF R&D +// Copyright (C) 2006-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 @@ -157,7 +157,7 @@ namespace YACS */ template - PORT *ElementaryNode::getPort(const std::string& name, const std::list& setOfPorts) const + PORT *ElementaryNode::getPort(const std::string& name, const std::list& setOfPorts) const { for(typename std::list::const_iterator iter=setOfPorts.begin();iter!=setOfPorts.end();iter++) { @@ -176,7 +176,7 @@ namespace YACS */ template - PORT *ElementaryNode::edAddPort(const std::string& portName, std::list& setOfPorts, ENUMTYPE type) + PORT *ElementaryNode::edAddPort(const std::string& portName, std::list& setOfPorts, ENUMTYPE type) { checkValidityOfPortName(portName); if(isPortNameAlreadyExist(portName, setOfPorts)) @@ -190,7 +190,7 @@ namespace YACS } template - bool ElementaryNode::edCheckAddPort(const std::string& portName, std::list& setOfPorts, ENUMTYPE type) + bool ElementaryNode::edCheckAddPort(const std::string& portName, std::list& setOfPorts, ENUMTYPE type) { checkValidityOfPortName(portName); if(isPortNameAlreadyExist(portName, setOfPorts)) @@ -206,7 +206,7 @@ namespace YACS */ template - void ElementaryNode::edRemovePortTypedFromSet(PORT *port, std::list& setOfPorts) + void ElementaryNode::edRemovePortTypedFromSet(PORT *port, std::list& setOfPorts) { if(!isPortNameAlreadyExist(port->getName(), setOfPorts)) throw Exception("Port is not part of the list : unable to remove it");