]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdVectorToString.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdVectorToString.h
index 96816d7fb2196fb510a52a901b492277ed0d9e3f..0a48b6cab6011b30dc6d79f27f5d786e24b47aee 100644 (file)
@@ -10,10 +10,10 @@ namespace bbstd
   template <class T>
   class VectorToString : public bbtk::AtomicBlackBox
   {  
-    BBTK_USER_BLACK_BOX_INTERFACE(VectorToString,bbtk::AtomicBlackBox);
-      BBTK_DECLARE_INPUT(In,std::vector<T>);
-      BBTK_DECLARE_INPUT(Separator,std::string);
-      BBTK_DECLARE_OUTPUT(Out,std::string);
+    BBTK_TEMPLATE_BLACK_BOX_INTERFACE(VectorToString,bbtk::AtomicBlackBox,T);
+    BBTK_DECLARE_INPUT(In,std::vector<T>);
+    BBTK_DECLARE_INPUT(Separator,std::string);
+    BBTK_DECLARE_OUTPUT(Out,std::string);
     BBTK_PROCESS(DoIt);
     void DoIt(); 
     virtual void bbUserConstructor();
@@ -22,7 +22,7 @@ namespace bbstd
 
   //=================================================================
   // BlackBox description
-  BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(VectorToString);
+  BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(VectorToString,bbtk::AtomicBlackBox);
   BBTK_NAME(bbtk::HumanTypeName<std::vector<T> >()+"ToString");
   BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr");
   BBTK_DEFAULT_ADAPTOR();