Program: bbtk
Module: $RCSfile: bbtkPackage.h,v $
Language: C++
- Date: $Date: 2008/01/22 15:02:00 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/02/04 13:02:58 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
~Package();
/// Returns the name of the package
const std::string& GetName() const { return mName; }
+
/// Returns the author of the package
const std::string& GetAuthor() const { return mAuthor; }
+
+ /// Returns the keyword of the package
+ const std::string& GetKeyword() const { return mKeyword; }
+
/// Returns the description of the package
const std::string& GetDescription() const { return mDescription; }
+
/// Returns the version of the package
const std::string& GetVersion() const { return mVersion; }
+
/// Returns the version of bbtk used to build the package
const std::string& GetBBTKVersion() const { return mBBTKVersion; }
-
+
bool ContainsBlackBox(const std::string& boxname) const;
-
- BlackBox* NewBlackBox(const std::string& type,
+
+ BlackBox* NewBlackBox(const std::string& type,
const std::string& name) const;
BlackBox* NewAdaptor(TypeInfo typein,
/// Changes the name of a black box type
void ChangeBlackBoxName( const std::string& oldname,
const std::string& newname );
+ /// The type of map of descriptors
+ typedef std::map< std::string, BlackBoxDescriptor*> BlackBoxMapType;
+ const BlackBoxMapType& GetBlackBoxMap() const { return mBlackBoxMap; }
+ BlackBoxMapType& GetBlackBoxMap() { return mBlackBoxMap; }
private:
/// The name of the package
std::string mName;
/// The author of the package
std::string mAuthor;
+ /// The keywords of the package
+ std::string mKeyword;
/// The description of the package
std::string mDescription;
/// The version of the package
std::string mDocRelativeURL;
- /// The type of map of descriptors
- typedef std::map< std::string, BlackBoxDescriptor*> BlackBoxMapType;
/// The map of black boxes descriptors
BlackBoxMapType mBlackBoxMap;