Salome HOME
AutoGIL.hxx has been factorized to KERNEL PythonCppUtils.hxx
[modules/yacs.git] / src / engine / InGate.hxx
index 46ee2abfc951aa54bae471c7e56e02044382e856..2673e79a0144f62e4c1522e6ab79d9d3957410da 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  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
@@ -24,7 +24,6 @@
 #include "Port.hxx"
 #include "define.hxx"
 
-#include <map>
 #include <list>
 
 namespace YACS
@@ -40,13 +39,13 @@ namespace YACS
     protected:
       static const char NAME[];
     private:
-      std::map< OutGate *, bool > _backLinks;
+      std::list< std::pair<OutGate *, bool> > _backLinks;
     public:
       InGate(Node *node);
       virtual ~InGate();
       std::string getNameOfTypeOfCurrentInstance() const;
       void exNotifyFromPrecursor(OutGate *fromgate);
-      std::map<OutGate *, bool>& edMapOutGate() { return _backLinks; }
+      std::list< std::pair<OutGate *, bool> >& edMapOutGate() { return _backLinks; }
       void edAppendPrecursor(OutGate *fromgate);
       void edRemovePrecursor(OutGate *fromgate);
       int getNumberOfBackLinks() const;