]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.h
BUG slash
[bbtk.git] / kernel / src / bbtkTranscriptor.h
index 82c95dafff346d1d747955cd512b51dc3f337944..3d819ce9b2c4a4a5c0b6f5016b2602c860109543 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkTranscriptor.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/02/05 11:07:42 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/02/20 11:58:32 $
+  Version:   $Revision: 1.6 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -49,7 +49,7 @@ namespace bbtk
 
     /// Destructor
     ~Transcriptor( );
-    
+   
     /// Sets the inputs of the workspace : 
     void SetInputs(const std::map<std::string,std::string>& m) { mInputs = m; }
 
@@ -59,7 +59,10 @@ namespace bbtk
     //void SetNoExecMode(bool b) { mNoExecMode = b; }
     void SetNoExecMode(bool b)
     {
-       m_Fp << "e->SetNoExecMode(true);" << std::endl;
+       if (b)
+          m_Fp << "  e->SetNoExecMode(true);" << std::endl;
+       else
+          m_Fp << "  e->SetNoExecMode(false);" << std::endl;       
     }
 
     bool GetNoExecMode() const { return mNoExecMode; }
@@ -85,6 +88,10 @@ namespace bbtk
                 const std::string& pack,
                 const std::string &scriptfilename);
 
+    /// Sets the file name to use for the current definition
+    /// (Used to set it after the Define command)
+    void SetCurrentFileName (const std::string &name );
+
     /// End the definition of a ComplexBlackBox
     void EndDefine ();
 
@@ -131,8 +138,8 @@ namespace bbtk
     ///Adds the authorName to the Box author list
     void Author(const std::string &authorName);
 
-    ///Adds the Keywords to the Box keyword list
-    void Keyword(const std::string &keyword);
+    ///Adds the Categories to the Box category list
+    void Category(const std::string &category);
 
     /// The description string which explains what does the ComplexBox
     void Description(const std::string & d);