*/
-#include "bbtkInterpreterPy.h"
+#include "bbtkInterpreterPython.h"
#include "bbtkExecuter.h"
#include "bbtkMessageManager.h"
{
//=========================================================================
- InterpreterPy::Pointer InterpreterPy::New()
+ InterpreterPython::Pointer InterpreterPython::New()
{
- return MakePointer( new InterpreterPy() );
+ return MakePointer( new InterpreterPython() );
}
//=========================================================================
//=========================================================================
- InterpreterPy::InterpreterPy()
+ InterpreterPython::InterpreterPython()
{
bbtk::InterpreterVirtual::Init();
}
//=========================================================================
//=========================================================================
- InterpreterPy::~InterpreterPy()
+ InterpreterPython::~InterpreterPython()
{
}
//=========================================================================
//=========================================================================
/// Creates a new black box in current complex box
- void InterpreterPy::commandNew( const std::string& boxType, const std::string& boxName) // virtual
+ void InterpreterPython::commandNew( const std::string& boxType, const std::string& boxName) // virtual
{
int pos = boxType.find( std::string(":") );
std::string boxTypeTmp=boxType;
//=========================================================================
/// Connects the output boxOutput to the input boxInput
- void InterpreterPy::commandConnection (const std::string &boxfrom,
+ void InterpreterPython::commandConnection (const std::string &boxfrom,
const std::string &output,
const std::string &boxto,
const std::string &input) // virtual
//=========================================================================
//=========================================================================
- void InterpreterPy::commandInput(const std::string &name,const std::string &box,const std::string &input,const std::string &help)
+ void InterpreterPython::commandInput(const std::string &name,const std::string &box,const std::string &input,const std::string &help)
{
}
//=========================================================================
//=========================================================================
- void InterpreterPy::commandOutput(const std::string &name,const std::string &box,const std::string &output,const std::string &help)
+ void InterpreterPython::commandOutput(const std::string &name,const std::string &box,const std::string &output,const std::string &help)
{
}
//=========================================================================
//=========================================================================
/// sets the input of the box with the value
- void InterpreterPy::commandSet(const std::string &box,const std::string &input,const std::string &value) // virtual
+ void InterpreterPython::commandSet(const std::string &box,const std::string &input,const std::string &value) // virtual
{
//ex: mCB.Set("Box10","In2","/hola.mhd")
std::string code("Set('"+box+"','"+input+"','"+value+"')");
//=========================================================================
- void InterpreterPy::commandDefine(const std::string &name,const std::string &pack,const std::string &scriptfilename) // virtual
+ void InterpreterPython::commandDefine(const std::string &name,const std::string &pack,const std::string &scriptfilename) // virtual
{
}
//=========================================================================
//=========================================================================
- void InterpreterPy::commandEndDefine() // virtual
+ void InterpreterPython::commandEndDefine() // virtual
{
}
//=========================================================================
//=========================================================================
- void InterpreterPy::commandExec(const std::string &word) // virtual
+ void InterpreterPython::commandExec(const std::string &word) // virtual
{
//Ex: mCB.AddToExecutableLst("Box13")
std::string code("AddToExecutableLst('"+word+"')");
//=========================================================================
- void InterpreterPy::commandAuthor(const std::string &author) // virtual
+ void InterpreterPython::commandAuthor(const std::string &author) // virtual
{
}
//=========================================================================
//=========================================================================
- void InterpreterPy::commandCategory(const std::string &categorytype) // virtual
+ void InterpreterPython::commandCategory(const std::string &categorytype) // virtual
{
}
//=========================================================================
//=========================================================================
- void InterpreterPy::commandDescription(const std::string &description) // virtual
+ void InterpreterPython::commandDescription(const std::string &description) // virtual
{
}
//=========================================================================