From bb56b8ba5479b974fbcd5357925391a756f55022 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Wed, 2 Sep 2015 14:19:56 +0200 Subject: [PATCH] Add "seqpyobj" and "ForEachLoop_pyobj" in the built-in YACS catalog. --- src/runtime/RuntimeSALOME.cxx | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.30.2