X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdToString.h;h=f1be738a19c38fe678b6635f3673f16e4234d3a8;hb=dbd8cd76a0c13cd704886b3b1504ab9dceb3f226;hp=b69312df677e4fda158c2127df48b75e2306406e;hpb=487dbfe275c2c6fa7454a000503082bfca54396b;p=bbtk.git diff --git a/packages/std/src/bbstdToString.h b/packages/std/src/bbstdToString.h index b69312d..f1be738 100644 --- a/packages/std/src/bbstdToString.h +++ b/packages/std/src/bbstdToString.h @@ -10,9 +10,9 @@ namespace bbstd template class ToString : public bbtk::AtomicBlackBox { - BBTK_USER_BLACK_BOX_INTERFACE(ToString,bbtk::AtomicBlackBox); - BBTK_DECLARE_INPUT(In,T); - BBTK_DECLARE_OUTPUT(Out,std::string); + BBTK_TEMPLATE_BLACK_BOX_INTERFACE(ToString,bbtk::AtomicBlackBox,T); + BBTK_DECLARE_INPUT(In,T); + BBTK_DECLARE_OUTPUT(Out,std::string); BBTK_PROCESS(DoIt); void DoIt(); }; @@ -20,7 +20,7 @@ namespace bbstd //================================================================= // BlackBox description - BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(ToString); + BBTK_BEGIN_DESCRIBE_TEMPLATE_BLACK_BOX(ToString,bbtk::AtomicBlackBox); BBTK_NAME(bbtk::HumanTypeName()+"ToString"); BBTK_AUTHOR("laurent.guigues@creatis.insa-lyon.fr"); BBTK_DEFAULT_ADAPTOR();