Module: $RCSfile: bbtkFactory.cxx,v $
Language: C++
-Date: $Date: 2008/02/08 07:39:49 $
-Version: $Revision: 1.17 $
+Date: $Date: 2008/02/12 12:55:16 $
+Version: $Revision: 1.18 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
//===================================================================
//===================================================================
- /// Prints help on the black box of type <name>
- void Factory::HelpBlackBox(const std::string& name, bool full) const
+ /// Prints help on the black box of type <name>
+ /// Returns the package to which it belongs
+ void Factory::HelpBlackBox(const std::string& name,
+ std::string& package,
+ bool full) const
{
bbtkDebugMessageInc("Kernel",9,"Factory::HelpBlackBox(\""<<name<<"\")"
<<std::endl);
if (i->second.mPackage->ContainsBlackBox(name))
{
i->second.mPackage->HelpBlackBox(name,full);
+ package = i->second.mPackage->GetName();
found = true;
}
}