]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkTranscriptor.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkTranscriptor.h
index 35d02e05e20b938ddce7b940d00bf7478af2d68d..60b051b227c2c9c868add8b5cda347e0b939f5ee 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkTranscriptor.h,v $ $
   Language:  C++
-  Date:      $Date: 2008/04/18 12:59:16 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2008/10/02 07:43:21 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -58,7 +58,16 @@ namespace bbtk
           m_Fp << "  e->SetNoExecMode(false);" << std::endl;       
     }
 
-    bool GetNoExecMode() const { return mNoExecMode; }
+    void SetNoErrorMode(bool b)
+    {
+       if (b)
+          m_Fp << "  e->SetNoErrorMode(true);" << std::endl;
+       else
+          m_Fp << "  e->SetNoErrorMode(false);" << std::endl;       
+    }
+
+    bool GetNoExecMode() const { return false; }
+    bool GetNoErrorMode() const { return false; }
 
     /// Sets the mode of dialog of the executer for Root inputs 
     void SetDialogMode(DialogModeType t) { mDialogMode = t; }
@@ -181,9 +190,6 @@ namespace bbtk
     /// The input values of the Root ComplexBlackBox
     std::map<std::string,std::string> mInputs;
     
-    /// no exec mode flag
-    bool mNoExecMode;
-
     /// Dialog mode
     DialogModeType mDialogMode;