-// 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
#include "Port.hxx"
#include "define.hxx"
-#include <map>
#include <list>
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;