X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkTranscriptor.cxx;h=57f69134d6ed6db4c9210bb1f1633b197d6f88eb;hb=7df8c08153bd03b58bf320982ec5715122f12eea;hp=e5e83b59a02837338c1b58e1798a6eb3a63cdd79;hpb=05e7ead34117d7cd9946e02dfc6a4f1079630f4f;p=bbtk.git diff --git a/kernel/src/bbtkTranscriptor.cxx b/kernel/src/bbtkTranscriptor.cxx index e5e83b5..57f6913 100644 --- a/kernel/src/bbtkTranscriptor.cxx +++ b/kernel/src/bbtkTranscriptor.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkTranscriptor.cxx,v $ $ Language: C++ - Date: $Date: 2008/03/26 14:47:36 $ - Version: $Revision: 1.9 $ + Date: $Date: 2008/10/02 07:43:21 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -36,12 +36,16 @@ namespace bbtk { + Transcriptor::Pointer Transcriptor::New(const std::string& filename) + { + return MakePointer(new Transcriptor(filename)); + } + /** * */ - Transcriptor::Transcriptor(std::string filename) + Transcriptor::Transcriptor(const std::string& filename) : - mNoExecMode(false), mDialogMode(NoDialog) { //VirtualExec(); @@ -54,7 +58,7 @@ namespace bbtk file = bbtk::Utilities::ExtractScriptName(filename,path); m_Fp << "#include \"bbtkExecuter.h\"" << std::endl; - m_Fp << "void " << file << "(bbtk::Executer* e)"<EndDefine( );" << std::endl; } + void Transcriptor::Kind(const std::string& kind) + { + m_Fp << " e->Kind( \""<UnLoadPackage(\"" <