- 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;
+ /// Inserts a Package in the Factory
+ void InsertPackage( Package::Pointer );
+ /// Removess a Package from the Factory
+ void RemovePackage( Package::Pointer );
+ /// Returns the pointer on a Package provided by name
+ Package::Pointer GetPackage(const std::string& name) const;
+ /// The type of map of packages
+ typedef std::map< std::string, Package::Pointer > PackageMapType;
+ /// Returns the map of Packages
+ const PackageMapType& GetPackageMap() const { return mPackageMap; }
+ //@}
+
+ // @name Methods which print help
+ //@{
+ /// Prints the list of Package
+ void PrintHelpListPackages(bool details = true,
+ bool adaptors = false) const;
+ /// Prints help on a particular Package
+ void PrintHelpPackage(const std::string& name,
+ bool adaptors = false) const;
+ /// Prints help on a BlackBoxDescriptor
+ void PrintHelpDescriptor(const std::string& name,
+ std::string& package,
+ bool full=true ) const;
+