]> Creatis software - bbtk.git/blob - packages/std/src/bbstdReplaceString.h
#2808, #2807, #2806, #2805, #2804 BBTK Feature New Normal Add new functionality MathO...
[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(Search,std::string);
25   BBTK_DECLARE_INPUT(Replace,std::string);
26   BBTK_DECLARE_OUTPUT(Out,std::string);
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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)
31 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReplaceString,bbtk::AtomicBlackBox);
35   BBTK_NAME("ReplaceString");
36   BBTK_AUTHOR("InfoDev");
37   BBTK_DESCRIPTION("No Description.");
38   BBTK_CATEGORY("empty");
39   BBTK_INPUT(ReplaceString,In,"Input string",std::string,"");
40   BBTK_INPUT(ReplaceString,Search,"Searche sub string ",std::string,"");
41   BBTK_INPUT(ReplaceString,Replace,"Replace new string",std::string,"");
42   BBTK_OUTPUT(ReplaceString,Out,"Output string",std::string,"");
43 BBTK_END_DESCRIBE_BLACK_BOX(ReplaceString);
44 //===== 
45 // 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)
46 //===== 
47 }
48 // EO namespace bbstd
49
50 #endif // __bbstdReplaceString_h_INCLUDED__
51