]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkAtomicBlackBoxMacros.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkAtomicBlackBoxMacros.h
index cd4028eddf6792464895c43ca174b811922d1e22..46a6b954004c0cd49034270a0d7b7f112a6daae2 100644 (file)
@@ -3,8 +3,8 @@
   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")
 //============================================================================
 
 //============================================================================