X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2FPythonNode.hxx;fp=src%2Fruntime%2FPythonNode.hxx;h=2e1482dd94dd39e04d2d45ad2c55afd36c284d1f;hb=d4af5aa95ba95d6e4b301323050ccd0d843d67a8;hp=49b6a2e7c136a4e7df630a4316a13048829cd2dd;hpb=ea6beedcfca41ab75217e7bfd0ecc5778882a069;p=modules%2Fyacs.git diff --git a/src/runtime/PythonNode.hxx b/src/runtime/PythonNode.hxx index 49b6a2e7c..2e1482dd9 100644 --- a/src/runtime/PythonNode.hxx +++ b/src/runtime/PythonNode.hxx @@ -28,6 +28,8 @@ #include +#include + namespace YACS { namespace ENGINE @@ -105,6 +107,7 @@ namespace YACS PythonNode* cloneNode(const std::string& name); virtual std::string typeName() { return "YACS__ENGINE__PythonNode"; } void applyDPLScope(ComposedNode *gfn); + void setSqueezeStatusWithExceptions(bool sqStatus, const std::vector& squeezeExceptions); void setSqueezeStatus(bool sqStatus) { _autoSqueeze=sqStatus; } bool getSqueezeStatus() const { return _autoSqueeze; } void squeezeMemorySafe(); @@ -123,6 +126,8 @@ namespace YACS static const char DPL_INFO_NAME[]; protected: bool _autoSqueeze = false; + //! list on output port name excluded from the squeeze mecanism + std::set _nonSqueezableOutputNodes; Engines::PyScriptNode_var _pynode; };