]> Creatis software - bbtk.git/blob - packages/std/src/bbstdReadColumnsInt.h
2b61f2e35d3c33c0eab5db5600ed35f4961750e9
[bbtk.git] / packages / std / src / bbstdReadColumnsInt.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 __bbstdReadColumnsInt_h_INCLUDED__
5 #define __bbstdReadColumnsInt_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbstd
11 {
12
13 class bbstd_EXPORT ReadColumnsInt
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(ReadColumnsInt,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_INPUT(Dimension,int);      
23         
24         BBTK_DECLARE_OUTPUT(lstData1,std::vector<int> );
25         BBTK_DECLARE_OUTPUT(lstData2,std::vector<int> );
26         BBTK_DECLARE_OUTPUT(lstData3,std::vector<int> );
27         BBTK_DECLARE_OUTPUT(lstData4,std::vector<int> );
28         BBTK_DECLARE_OUTPUT(lstData5,std::vector<int> );
29         BBTK_DECLARE_OUTPUT(lstData6,std::vector<int> );
30         BBTK_DECLARE_OUTPUT(lstData7,std::vector<int> );
31         BBTK_DECLARE_OUTPUT(lstData8,std::vector<int> );
32         BBTK_DECLARE_OUTPUT(lstData9,std::vector<int> );
33         BBTK_PROCESS(Process);
34   void Process();
35 //===== 
36 // 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)
37 //===== 
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadColumnsInt,bbtk::AtomicBlackBox);
41         BBTK_NAME("ReadColumnsInt");
42         BBTK_AUTHOR("Info-Dev");
43         BBTK_DESCRIPTION("Read Columns from a text file");
44         BBTK_CATEGORY("read/write");
45         BBTK_INPUT(ReadColumnsInt,FileName,"File name of Points",std::string,"");
46         BBTK_INPUT(ReadColumnsInt,Dimension,"(default 1) - The number of columns of the file",int,"");
47         
48         BBTK_OUTPUT(ReadColumnsInt,lstData1,"vector of data",std::vector<int>,"");
49         BBTK_OUTPUT(ReadColumnsInt,lstData2,"vector of data",std::vector<int>,"");
50         BBTK_OUTPUT(ReadColumnsInt,lstData3,"vector of data",std::vector<int>,"");
51         BBTK_OUTPUT(ReadColumnsInt,lstData4,"vector of data",std::vector<int>,"");
52         BBTK_OUTPUT(ReadColumnsInt,lstData5,"vector of data",std::vector<int>,"");
53         BBTK_OUTPUT(ReadColumnsInt,lstData6,"vector of data",std::vector<int>,"");
54         BBTK_OUTPUT(ReadColumnsInt,lstData7,"vector of data",std::vector<int>,"");
55         BBTK_OUTPUT(ReadColumnsInt,lstData8,"vector of data",std::vector<int>,"");
56         BBTK_OUTPUT(ReadColumnsInt,lstData9,"vector of data",std::vector<int>,"");
57         BBTK_END_DESCRIBE_BLACK_BOX(ReadColumnsInt);
58 //===== 
59 // 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)
60 //===== 
61 }
62 // EO namespace bbstd
63
64 #endif // __bbstdReadColumnsInt_h_INCLUDED__
65