Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / engine / ForLoop.hxx
index a595e0c6e6ed5e600e7564eae36746a5408d17f9..fc0166c5863df42310ec9dbcd7c89a75015622ea 100644 (file)
@@ -26,12 +26,12 @@ namespace YACS
       void exUpdateState();
       void init(bool start=true);
       InputPort *edGetNbOfTimesInputPort() { return &_nbOfTimesPort; }
-      int getNumberOfInputPorts() const;
       Node *simpleClone(ComposedNode *father, bool editionOnly=true) const;
-      std::list<InputPort *> getSetOfInputPort() const;
       InputPort* getInputPort(const std::string& name) const throw(Exception);
       std::list<InputPort *> getLocalInputPorts() const;
       virtual void accept(Visitor *visitor);
+      InputPort *getDecisionPort() const { return (InputPort *)&_nbOfTimesPort; }
+      virtual std::string typeName() {return "YACS__ENGINE__ForLoop";}
     protected:
       YACS::Event updateStateOnFinishedEventFrom(Node *node);
     };