]> Creatis software - bbtk.git/blob - packages/std/src/bbstdReadLinesString.h
#2997 BBTK Feature New Normal - ReadLinesString box in package std
[bbtk.git] / packages / std / src / bbstdReadLinesString.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 __bbstdReadLinesString_h_INCLUDED__
5 #define __bbstdReadLinesString_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbstd
11 {
12
13 class bbstd_EXPORT ReadLinesString
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(ReadLinesString,bbtk::AtomicBlackBox);
18 //===== 
19 // 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)
20 //===== 
21   BBTK_DECLARE_INPUT(FileName,std::string);
22   BBTK_DECLARE_OUTPUT(Out,std::vector<std::string>);
23   BBTK_PROCESS(Process);
24   void Process();
25 //===== 
26 // 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)
27 //===== 
28 };
29
30 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadLinesString,bbtk::AtomicBlackBox);
31   BBTK_NAME("ReadLinesString");
32   BBTK_AUTHOR("Info-Dev");
33   BBTK_DESCRIPTION("No Description.");
34   BBTK_CATEGORY("empty");
35  
36   BBTK_INPUT(ReadLinesString,FileName,"FileName",std::string,"");
37   BBTK_OUTPUT(ReadLinesString,Out,"Vector of Strings",std::vector<std::string>,"");
38
39 BBTK_END_DESCRIBE_BLACK_BOX(ReadLinesString);
40 //===== 
41 // 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)
42 //===== 
43 }
44 // EO namespace bbstd
45
46 #endif // __bbstdReadLinesString_h_INCLUDED__
47