]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdReplaceString.h
#2951 BBTK Feature New Normal - Replace String box with vector functionality
[bbtk.git] / packages / std / src / bbstdReplaceString.h
index 5202052805c61d0b20636fb4deb23f5a87bbaa47..86821d930b4774cd22f477b40264802922b53134 100644 (file)
@@ -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<std::string>);
   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<std::string>);
   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<std::string>,"");
   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)