Program: bbtk
Module: $RCSfile: bbtkAtomicBlackBoxMacros.h,v $
Language: C++
- Date: $Date: 2008/02/07 11:06:37 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2008/03/03 14:15:52 $
+ Version: $Revision: 1.2 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//============================================================================
/// Declares that the AtomicBlackBox is an adaptor (to be put inside the UBB description block)
-#define BBTK_ADAPTOR() SetKInd(bbtk::BlackBoxDescriptor::ADAPTOR)
+#define BBTK_ADAPTOR() \
+ SetKind(bbtk::BlackBoxDescriptor::ADAPTOR); \
+ AddToCategory("adaptor")
//============================================================================
//============================================================================
/// Declares that the AtomicBlackBox is the default adaptor of the package (to be put inside the UBB description block)
-#define BBTK_DEFAULT_ADAPTOR() SetKind(bbtk::BlackBoxDescriptor::DEFAULT_ADAPTOR)
+#define BBTK_DEFAULT_ADAPTOR() \
+ SetKind(bbtk::BlackBoxDescriptor::DEFAULT_ADAPTOR); \
+ AddToCategory("adaptor")
//============================================================================
//============================================================================