]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBoxDescriptor.h
No longer 'Categories', only 'Kinds'!
[bbtk.git] / kernel / src / bbtkBlackBoxDescriptor.h
index 259aa2f2d86f03139d9be98ff809c3397cda9860..0604f9c02f8ee0f20780ad38c0514a095e16270c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBoxDescriptor.h,v $
   Language:  C++
-  Date:      $Date: 2008/01/30 09:28:15 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/02/05 11:07:42 $
+  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
@@ -51,14 +51,14 @@ namespace bbtk
     typedef std::map<std::string, InputDescriptor*> InputDescriptorMapType;
     /// The type of dictionnary of outputs= map of output descriptors pointers 
     typedef std::map<std::string, OutputDescriptor*> OutputDescriptorMapType;
-    /// The categories of black box
+    /// The kinds of black box
     typedef enum
     {
       STANDARD,
       ADAPTOR,
       DEFAULT_ADAPTOR
     }
-    Category;
+    Kind;
 
     /// Default ctor
     BlackBoxDescriptor(); 
@@ -86,8 +86,8 @@ namespace bbtk
     /// Returns the Package to which the box belongs
     const Package* GetPackage() const { return mPackage; }
     
-    /// Returns the category of box 
-    Category GetCategory() const { return mCategory; }
+    /// Returns the kind of box 
+    Kind GetKind() const { return mKind; }
 
     /// Prints help on the black box
     virtual void GetHelp(bool full=true) const;
@@ -121,8 +121,8 @@ namespace bbtk
     /// Sets the Package to which the box belongs
     void SetPackage(Package *package) { mPackage = package; }
     
-    /// Sets the category of box 
-    void SetCategory(Category category) { mCategory = category; }
+    /// Sets the kind of box 
+    void SetKind(Kind kind) { mKind = kind; }
 
     /* 
    virtual void InsertHTMLGraph( std::ofstream& s, int detail, int level, 
@@ -155,8 +155,8 @@ namespace bbtk
     std::string mAuthor;
     /// The keyword of the black box
     std::string mKeyword;    
-    /// The category of box
-    Category mCategory;
+    /// The kind of box
+    Kind mKind;
     /// The Package to which the box belongs
     Package *mPackage;
     /// The inputs