]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkInterpreterPython.cxx
#3499 Export to JavaScript
[bbtk.git] / kernel / src / bbtkInterpreterPython.cxx
similarity index 79%
rename from kernel/src/bbtkInterpreterPy.cxx
rename to kernel/src/bbtkInterpreterPython.cxx
index 95900b42ff40bb6b807b8fa08e004e5bae337061..68cce9441c264f434304a0ab7a4b459a2ebbfadb 100644 (file)
@@ -38,7 +38,7 @@ Version:   $Revision$
  */
 
 
-#include "bbtkInterpreterPy.h"
+#include "bbtkInterpreterPython.h"
 
 #include "bbtkExecuter.h"
 #include "bbtkMessageManager.h"
@@ -49,23 +49,23 @@ namespace bbtk
 {
 
   //=========================================================================
-    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()
     {
     }
   //=========================================================================
@@ -73,7 +73,7 @@ namespace bbtk
 
   //=========================================================================
   /// 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;
@@ -87,7 +87,7 @@ namespace bbtk
 
   //=========================================================================
   /// 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
@@ -99,13 +99,13 @@ namespace bbtk
   //=========================================================================
 
   //=========================================================================
-  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)
   {
   }
   //=========================================================================
@@ -113,7 +113,7 @@ namespace bbtk
 
   //=========================================================================
   /// 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+"')");
@@ -123,21 +123,21 @@ namespace bbtk
 
 
   //=========================================================================
-  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+"')");
@@ -147,19 +147,19 @@ namespace bbtk
 
 
   //=========================================================================
-  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
   {
   }
   //=========================================================================