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