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