X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkPackage.h;h=fb7b32c375c6b7fad0ee18c82c3015b7a892b99b;hb=9edc48dd1cb5a2fe6a09d147eed459cb6e9f0fca;hp=3b4d8dcf3082ded00d4dc4cb4610964283f46db4;hpb=2d76cd309d74d5f83d701d6bb0a4140d5d122b36;p=bbtk.git diff --git a/kernel/src/bbtkPackage.h b/kernel/src/bbtkPackage.h index 3b4d8dc..fb7b32c 100644 --- a/kernel/src/bbtkPackage.h +++ b/kernel/src/bbtkPackage.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkPackage.h,v $ Language: C++ - Date: $Date: 2008/01/30 09:28:15 $ - Version: $Revision: 1.2 $ + Date: $Date: 2008/02/05 12:16:55 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -47,8 +47,8 @@ namespace bbtk /// 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 category of the package + const std::string& GetCategory() const { return mCategory; } /// Returns the description of the package const std::string& GetDescription() const { return mDescription; } @@ -100,14 +100,18 @@ namespace bbtk /// 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 categories of the package + std::string mCategory; /// The description of the package std::string mDescription; /// The version of the package @@ -121,8 +125,6 @@ namespace bbtk std::string mDocRelativeURL; - /// The type of map of descriptors - typedef std::map< std::string, BlackBoxDescriptor*> BlackBoxMapType; /// The map of black boxes descriptors BlackBoxMapType mBlackBoxMap;