]> 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   BBTK_DECLARE_INPUT(OnHeaders,bool);
23
24
25   BBTK_DECLARE_INPUT(lstData1,std::vector<std::string> );
26   BBTK_DECLARE_INPUT(lstData2,std::vector<std::string> );
27   BBTK_DECLARE_INPUT(lstData3,std::vector<std::string> );
28   BBTK_DECLARE_INPUT(lstData4,std::vector<std::string> );
29   BBTK_DECLARE_INPUT(lstData5,std::vector<std::string> );
30   BBTK_DECLARE_INPUT(lstData6,std::vector<std::string> );
31   BBTK_DECLARE_INPUT(lstData7,std::vector<std::string> );
32   BBTK_DECLARE_INPUT(lstData8,std::vector<std::string> );
33   BBTK_DECLARE_INPUT(lstData9,std::vector<std::string> );
34
35   BBTK_DECLARE_OUTPUT(OutFileName,std::string);
36   BBTK_PROCESS(Process);
37   void Process();
38 //===== 
39 // 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)
40 //===== 
41 };
42
43 BBTK_BEGIN_DESCRIBE_BLACK_BOX(WriteColumnsString,bbtk::AtomicBlackBox);
44 BBTK_NAME("WriteColumnsString");
45 BBTK_AUTHOR("Monica ESPINOSA");
46 BBTK_DESCRIPTION("Write Columns to file");
47 BBTK_CATEGORY("read/write");
48
49 BBTK_INPUT(WriteColumnsString,FileName,"File name",std::string,"");
50 BBTK_INPUT(WriteColumnsString,Headers,"Headers of Columns",std::vector<std::string>,"");
51 BBTK_INPUT(WriteColumnsString,OnHeaders,"On Headers / Off Headers",bool,"");
52
53 BBTK_INPUT(WriteColumnsString,lstData1,"vector of data",std::vector<std::string>,"");
54 BBTK_INPUT(WriteColumnsString,lstData2,"vector of data",std::vector<std::string>,"");
55 BBTK_INPUT(WriteColumnsString,lstData3,"vector of data",std::vector<std::string>,"");
56 BBTK_INPUT(WriteColumnsString,lstData4,"vector of data",std::vector<std::string>,"");
57 BBTK_INPUT(WriteColumnsString,lstData5,"vector of data",std::vector<std::string>,"");
58 BBTK_INPUT(WriteColumnsString,lstData6,"vector of data",std::vector<std::string>,"");
59 BBTK_INPUT(WriteColumnsString,lstData7,"vector of data",std::vector<std::string>,"");
60 BBTK_INPUT(WriteColumnsString,lstData8,"vector of data",std::vector<std::string>,"");
61 BBTK_INPUT(WriteColumnsString,lstData9,"vector of data",std::vector<std::string>,"");
62
63 BBTK_OUTPUT(WriteColumnsString,OutFileName,"File Name",std::string,"");
64 BBTK_END_DESCRIBE_BLACK_BOX(WriteColumnsString);
65 //===== 
66 // 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)
67 //===== 
68 }
69 // EO namespace bbstd
70
71 #endif // __bbstdWriteColumnsString_h_INCLUDED__
72