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
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();
/// 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;
/// 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,
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