X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkFactory.h;h=a4f84e73f6f7d0c015484d8e1f05f0c28e7cdc44;hb=76f2826fd6b67d3a15fe72c1b50d5ee1af1960a1;hp=7eaefeb85eda4f767575c7c0a029607d16575a2a;hpb=8c0188cb0a3b4c491a4c5498ee04c754ec0fac2b;p=bbtk.git diff --git a/kernel/src/bbtkFactory.h b/kernel/src/bbtkFactory.h index 7eaefeb..a4f84e7 100644 --- a/kernel/src/bbtkFactory.h +++ b/kernel/src/bbtkFactory.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkFactory.h,v $ Language: C++ - Date: $Date: 2008/02/04 13:02:58 $ - Version: $Revision: 1.3 $ + Date: $Date: 2008/02/14 11:38:58 $ + 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,8 @@ namespace bbtk void UnLoadPackage( const std::string& name ); void PrintPackages(bool details = true, bool adaptors = false) const; void HelpPackage(const std::string& name, bool adaptors = false) const; - void HelpBlackBox(const std::string& name, bool full=true) const; + void HelpBlackBox(const std::string& name, std::string& package, + bool full=true ) const; void ShowGraphTypes(const std::string& name) const; void InsertPackage( Package* ); void RemovePackage( Package* ); @@ -76,7 +77,7 @@ namespace bbtk typedef enum { Packages, - Keywords, + Categories, Initials } IndexEntryType; @@ -163,7 +164,15 @@ namespace bbtk inline void HelpBlackBox(const std::string& name, bool full=true) { - GetGlobalFactory()->HelpBlackBox(name,full); + std::string package; + GetGlobalFactory()->HelpBlackBox(name, package, full); + } + + inline void HelpBlackBox(const std::string& name, std::string& package, + bool full=true + ) + { + GetGlobalFactory()->HelpBlackBox(name, package, full); }