X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkTranscriptor.h;h=3d819ce9b2c4a4a5c0b6f5016b2602c860109543;hb=965be47225f8f9a2114b7204f842fb40d665f135;hp=82c95dafff346d1d747955cd512b51dc3f337944;hpb=a7b5e75baf0af42a27092233d3b3350d8ec2d5da;p=bbtk.git diff --git a/kernel/src/bbtkTranscriptor.h b/kernel/src/bbtkTranscriptor.h index 82c95da..3d819ce 100644 --- a/kernel/src/bbtkTranscriptor.h +++ b/kernel/src/bbtkTranscriptor.h @@ -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& 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);