]> Creatis software - bbtk.git/blob - packages/std/src/bbstdReplaceString.h
#3423 BBTK Feature New Normal - box std MapToLst
[bbtk.git] / packages / std / src / bbstdReplaceString.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbstdReplaceString_h_INCLUDED__
5 #define __bbstdReplaceString_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <string>
11
12 namespace bbstd
13 {
14
15 class bbstd_EXPORT ReplaceString
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ReplaceString,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23 //  BBTK_DECLARE_INPUT(In,std::string);
24   BBTK_DECLARE_INPUT(In,std::vector<std::string>);
25   BBTK_DECLARE_INPUT(Search,std::string);
26   BBTK_DECLARE_INPUT(Replace,std::string);
27 //  BBTK_DECLARE_OUTPUT(Out,std::string);
28   BBTK_DECLARE_OUTPUT(Out,std::vector<std::string>);
29   BBTK_PROCESS(Process);
30   void Process();
31 //===== 
32 // 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)
33 //===== 
34 };
35
36 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReplaceString,bbtk::AtomicBlackBox);
37   BBTK_NAME("ReplaceString");
38   BBTK_AUTHOR("InfoDev");
39   BBTK_DESCRIPTION("No Description.");
40   BBTK_CATEGORY("empty");
41 //  BBTK_INPUT(ReplaceString,In,"Input string",std::string,"");
42   BBTK_INPUT(ReplaceString,In,"Input vector of string",std::vector<std::string>,"");
43   BBTK_INPUT(ReplaceString,Search,"Searche sub string ",std::string,"");
44   BBTK_INPUT(ReplaceString,Replace,"Replace new string",std::string,"");
45 //  BBTK_OUTPUT(ReplaceString,Out,"Output string",std::string,"");
46   BBTK_OUTPUT(ReplaceString,Out,"Output vector string",std::vector< std::string >,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(ReplaceString);
48 //===== 
49 // 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)
50 //===== 
51 }
52 // EO namespace bbstd
53
54 #endif // __bbstdReplaceString_h_INCLUDED__
55