]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.h
examples
[bbtk.git] / kernel / src / bbtkTranscriptor.h
index 82c95dafff346d1d747955cd512b51dc3f337944..97eeb56f15bfd7aa1320b6f0b389e7a9e866f968 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/14 20:23:51 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -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);