]> Creatis software - bbtk.git/blob - packages/std/src/bbstdWriteColumnsString.h
#2560 BBTK Feature New Normal - bbstd package : WriteColumnsString
[bbtk.git] / packages / std / src / bbstdWriteColumnsString.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 __bbstdWriteColumnsString_h_INCLUDED__
5 #define __bbstdWriteColumnsString_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbstd
11 {
12
13 class bbstd_EXPORT WriteColumnsString :
14    public bbtk::AtomicBlackBox
15 {
16   BBTK_BLACK_BOX_INTERFACE(WriteColumnsString,bbtk::AtomicBlackBox);
17 //===== 
18 // 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)
19 //===== 
20   BBTK_DECLARE_INPUT(FileName,std::string);
21   BBTK_DECLARE_INPUT(Headers,std::vector<std::string>);
22
23   BBTK_DECLARE_INPUT(lstData1,std::vector<std::string> );
24   BBTK_DECLARE_INPUT(lstData2,std::vector<std::string> );
25   BBTK_DECLARE_INPUT(lstData3,std::vector<std::string> );
26   BBTK_DECLARE_INPUT(lstData4,std::vector<std::string> );
27   BBTK_DECLARE_INPUT(lstData5,std::vector<std::string> );
28   BBTK_DECLARE_INPUT(lstData6,std::vector<std::string> );
29   BBTK_DECLARE_INPUT(lstData7,std::vector<std::string> );
30   BBTK_DECLARE_INPUT(lstData8,std::vector<std::string> );
31   BBTK_DECLARE_INPUT(lstData9,std::vector<std::string> );
32
33   BBTK_DECLARE_OUTPUT(OutFileName,std::string);
34   BBTK_PROCESS(Process);
35   void Process();
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(WriteColumnsString,bbtk::AtomicBlackBox);
42 BBTK_NAME("WriteColumnsString");
43 BBTK_AUTHOR("Monica ESPINOSA");
44 BBTK_DESCRIPTION("Write Columns to file");
45 BBTK_CATEGORY("read/write");
46
47 BBTK_INPUT(WriteColumnsString,FileName,"File name",std::string,"");
48 BBTK_INPUT(WriteColumnsString,Headers,"Headers of Columns",std::vector<std::string>,"");
49
50 BBTK_INPUT(WriteColumnsString,lstData1,"vector of data",std::vector<std::string>,"");
51 BBTK_INPUT(WriteColumnsString,lstData2,"vector of data",std::vector<std::string>,"");
52 BBTK_INPUT(WriteColumnsString,lstData3,"vector of data",std::vector<std::string>,"");
53 BBTK_INPUT(WriteColumnsString,lstData4,"vector of data",std::vector<std::string>,"");
54 BBTK_INPUT(WriteColumnsString,lstData5,"vector of data",std::vector<std::string>,"");
55 BBTK_INPUT(WriteColumnsString,lstData6,"vector of data",std::vector<std::string>,"");
56 BBTK_INPUT(WriteColumnsString,lstData7,"vector of data",std::vector<std::string>,"");
57 BBTK_INPUT(WriteColumnsString,lstData8,"vector of data",std::vector<std::string>,"");
58 BBTK_INPUT(WriteColumnsString,lstData9,"vector of data",std::vector<std::string>,"");
59
60 BBTK_OUTPUT(WriteColumnsString,OutFileName,"File Name",std::string,"");
61 BBTK_END_DESCRIBE_BLACK_BOX(WriteColumnsString);
62 //===== 
63 // 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)
64 //===== 
65 }
66 // EO namespace bbstd
67
68 #endif // __bbstdWriteColumnsString_h_INCLUDED__
69