X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdToString.h;h=f1be738a19c38fe678b6635f3673f16e4234d3a8;hb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;hp=b69312df677e4fda158c2127df48b75e2306406e;hpb=c2a4b1893412e50a3d9abff221938a2d16c4a7cb;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();