Program: bbtk
Module: $RCSfile: bbtkFactory.h,v $
Language: C++
- Date: $Date: 2008/02/05 11:39:32 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2008/02/14 13:44:25 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
~Factory();
void LoadPackage( const std::string& name,
- bool use_configuration_file = true,
- bool verbose = false );
+ bool use_configuration_file = true );
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* );
bool DoLoadPackage(std::string libname,
std::string pkgname,
- std::string path,
- bool v);
+ std::string path);
/// The structure storing info on a package
class PackageInfoType
}
inline void LoadPackage( const std::string& name,
- bool use_configuration_file = true, bool verbose = false )
+ bool use_configuration_file = true)
{
- GetGlobalFactory()->LoadPackage(name,use_configuration_file, verbose);
+ GetGlobalFactory()->LoadPackage(name,use_configuration_file);
}
inline void UnLoadPackage( const std::string& name )
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);
}