X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdReplaceString.h;h=86821d930b4774cd22f477b40264802922b53134;hb=84454af9be8cecfbf41ca7c0198c65efe60f9b48;hp=5202052805c61d0b20636fb4deb23f5a87bbaa47;hpb=03cc68dd6b831aa98e1e0fad20a977ffa074be39;p=bbtk.git diff --git a/packages/std/src/bbstdReplaceString.h b/packages/std/src/bbstdReplaceString.h index 5202052..86821d9 100644 --- a/packages/std/src/bbstdReplaceString.h +++ b/packages/std/src/bbstdReplaceString.h @@ -20,10 +20,12 @@ class bbstd_EXPORT ReplaceString //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost) //===== - BBTK_DECLARE_INPUT(In,std::string); +// BBTK_DECLARE_INPUT(In,std::string); + BBTK_DECLARE_INPUT(In,std::vector); BBTK_DECLARE_INPUT(Search,std::string); BBTK_DECLARE_INPUT(Replace,std::string); - BBTK_DECLARE_OUTPUT(Out,std::string); +// BBTK_DECLARE_OUTPUT(Out,std::string); + BBTK_DECLARE_OUTPUT(Out,std::vector); BBTK_PROCESS(Process); void Process(); //===== @@ -36,10 +38,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReplaceString,bbtk::AtomicBlackBox); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); - BBTK_INPUT(ReplaceString,In,"Input string",std::string,""); +// BBTK_INPUT(ReplaceString,In,"Input string",std::string,""); + BBTK_INPUT(ReplaceString,In,"Input vector of string",std::vector,""); BBTK_INPUT(ReplaceString,Search,"Searche sub string ",std::string,""); BBTK_INPUT(ReplaceString,Replace,"Replace new string",std::string,""); - BBTK_OUTPUT(ReplaceString,Out,"Output string",std::string,""); +// BBTK_OUTPUT(ReplaceString,Out,"Output string",std::string,""); + BBTK_OUTPUT(ReplaceString,Out,"Output vector string",std::vector< std::string >,""); BBTK_END_DESCRIBE_BLACK_BOX(ReplaceString); //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)