From: Ovidiu Mircescu Date: Wed, 2 Sep 2015 12:19:56 +0000 (+0200) Subject: Add "seqpyobj" and "ForEachLoop_pyobj" in the built-in YACS catalog. X-Git-Tag: V7_7_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb56b8ba5479b974fbcd5357925391a756f55022;p=modules%2Fyacs.git Add "seqpyobj" and "ForEachLoop_pyobj" in the built-in YACS catalog. --- diff --git a/src/runtime/RuntimeSALOME.cxx b/src/runtime/RuntimeSALOME.cxx index ef02203f8..ab53fda57 100644 --- a/src/runtime/RuntimeSALOME.cxx +++ b/src/runtime/RuntimeSALOME.cxx @@ -35,6 +35,7 @@ #include "TypeCode.hxx" #include "WhileLoop.hxx" #include "ForLoop.hxx" +#include "ForEachLoop.hxx" #include "SalomeOptimizerLoop.hxx" #include "Bloc.hxx" #include "InputPort.hxx" @@ -179,6 +180,8 @@ void RuntimeSALOME::initBuiltins() typeMap["seqboolvec"]= createSequenceTc("seqboolvec","seqboolvec",typeMap["boolvec"]); std::list ltc; typeMap["pyobj"]= createInterfaceTc("python:obj:1.0","pyobj",ltc); + typeMap["seqpyobj"]= createSequenceTc("seqpyobj","seqpyobj",typeMap["pyobj"]); + composednodeMap["ForEachLoop_pyobj"]=createForEachLoop("ForEachLoop_pyobj",typeMap["pyobj"]);; ENGINE::TypeCodeStruct *t = createStructTc("","Engines/dataref"); t->addMember("ref",_tc_string); typeMap["dataref"]= t;