]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdStringToVector.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdStringToVector.h
index c31ba56e1a0a8a01da1d05ceb39e933425706a06..31305d3f345e3ad67bc162a820290da369984ea7 100644 (file)
@@ -10,7 +10,7 @@ namespace bbstd
   template <class T>
   class StringToVector : public bbtk::AtomicBlackBox
   {  
-    BBTK_USER_BLACK_BOX_INTERFACE(StringToVector,bbtk::AtomicBlackBox);
+    BBTK_TEMPLATE_BLACK_BOX_INTERFACE(StringToVector,bbtk::AtomicBlackBox,T);
     BBTK_DECLARE_INPUT(In,std::string);
     BBTK_DECLARE_OUTPUT(Out,std::vector<T>);
     BBTK_PROCESS(DoIt);
@@ -21,10 +21,9 @@ namespace bbstd
 
   //=================================================================
   // BlackBox description
-  BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector);
+  BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(StringToVector,bbtk::AtomicBlackBox);
   BBTK_NAME("StringTo"+bbtk::HumanTypeName<std::vector<T> >());
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
-  BBTK_CATEGORY("adaptor");
   BBTK_DEFAULT_ADAPTOR();
   BBTK_DESCRIPTION("Converts the content of the input string to a "
                   +bbtk::HumanTypeName<std::vector<T> >()