* \brief Class bbtk::BBPInterpreter
*/
-
#include "bbtkInterpreterPython.h"
#include "bbtkExecuter.h"
}
//=========================================================================
-
-
//=========================================================================
InterpreterPython::InterpreterPython()
{
}
//=========================================================================
-
//=========================================================================
/// Creates a new black box in current complex box
void InterpreterPython::commandNew( const std::string& boxType, const std::string& boxName) // virtual
}
//=========================================================================
-
//=========================================================================
/// Connects the output boxOutput to the input boxInput
void InterpreterPython::commandConnection (const std::string &boxfrom,
//=========================================================================
void InterpreterPython::commandOutput(const std::string &name,const std::string &box,const std::string &output,const std::string &help)
{
+ std::string code("DECLARE_OUTPUT('"+name+"','"+box+"."+output+"')");
+ this->pythonBBTK.push_back(code);
}
//=========================================================================
-
//=========================================================================
/// sets the input of the box with the value
void InterpreterPython::commandSet(const std::string &box,const std::string &input,const std::string &value) // virtual
}
//=========================================================================
-
//=========================================================================
void InterpreterPython::commandDefine(const std::string &name,const std::string &pack,const std::string &scriptfilename) // virtual
{