Salome HOME
Squeeze memory of process hosting YACS graph
[modules/yacs.git] / src / engine / Loop.hxx
index b606029f40637fff096157cef87c99c25a5f86d5..4b67377dab30b32de90c354732b3224eab87f522 100644 (file)
@@ -43,6 +43,7 @@ namespace YACS
     public:
       InputPort4DF2DS(DFToDSForLoop *node, TypeCode* type);
       void getAllRepresentants(std::set<InPort *>& repr) const;
+      void releaseData() override;
       void put(const void *data) throw(ConversionException);
       InputPort *clone(Node *newHelder) const;
       void *get() const throw(Exception);
@@ -162,6 +163,7 @@ namespace YACS
       //Node* DISOWNnode is a SWIG notation to indicate that the ownership of the node is transfered to C++
       Node *edSetNode(Node *DISOWNnode);
       virtual bool edAddChild(Node *DISOWNnode) throw(Exception);
+      bool isLoop() const override { return true; }
       Node *edRemoveNode();
       virtual void checkBasicConsistency() const throw(Exception);
       //! Returns the port which value is used to take decision about the continuation of the loop.