X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkInterpreter.h;h=bdf3da926af354a865cba6be74955ae784853a0d;hb=31e21c4bf4e9051ae07b5ca010d2e9b74c4dc06d;hp=6c294d9dd42ea6b9063accd4170420037f2a85ca;hpb=7df8c08153bd03b58bf320982ec5715122f12eea;p=bbtk.git diff --git a/kernel/src/bbtkInterpreter.h b/kernel/src/bbtkInterpreter.h index 6c294d9..bdf3da9 100644 --- a/kernel/src/bbtkInterpreter.h +++ b/kernel/src/bbtkInterpreter.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkInterpreter.h,v $ $ Language: C++ - Date: $Date: 2008/10/02 07:43:20 $ - Version: $Revision: 1.33 $ + Date: $Date: 2008/10/08 13:39:33 $ + Version: $Revision: 1.34 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -101,7 +101,7 @@ namespace bbtk ExitStatus; /// Runs the interpretation of a file - ExitStatus InterpretFile( const std::string& filename); + ExitStatus InterpretFile( const std::string& filename, bool source = false); /// Runs the interpretation of a buffer and deletes it ! ExitStatus InterpretBuffer( std::stringstream* buffer ); @@ -217,7 +217,7 @@ namespace bbtk CommandInfoType& info ); /// Switch to the interpretation of a file - void SwitchToFile( const std::string& filename ); + void SwitchToFile( const std::string& filename, bool source = false ); /// Switch to the interpretation of a stringstream void SwitchToStream( std::stringstream* stream );