]> Creatis software - bbtk.git/blob - packages/std/src/bbstdReadColumnsDouble.h
#3423 BBTK Feature New Normal - box std MapToLst
[bbtk.git] / packages / std / src / bbstdReadColumnsDouble.h
1 /*
2  # ---------------------------------------------------------------------
3  #
4  # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5  #                        pour la SantÈ)
6  # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
7  # Previous Authors : Laurent Guigues, Jean-Pierre Roux
8  # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9  #
10  #  This software is governed by the CeCILL-B license under French law and
11  #  abiding by the rules of distribution of free software. You can  use,
12  #  modify and/ or redistribute the software under the terms of the CeCILL-B
13  #  license as circulated by CEA, CNRS and INRIA at the following URL
14  #  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
15  #  or in the file LICENSE.txt.
16  #
17  #  As a counterpart to the access to the source code and  rights to copy,
18  #  modify and redistribute granted by the license, users are provided only
19  #  with a limited warranty  and the software's author,  the holder of the
20  #  economic rights,  and the successive licensors  have only  limited
21  #  liability.
22  #
23  #  The fact that you are presently reading this means that you have had
24  #  knowledge of the CeCILL-B license and that you accept its terms.
25  # ------------------------------------------------------------------------ */
26
27
28 //=====
29 // 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)
30 //===== 
31 #ifndef __bbstdReadColumnsDouble_h_INCLUDED__
32 #define __bbstdReadColumnsDouble_h_INCLUDED__
33 #include "bbstd_EXPORT.h"
34 #include "bbtkAtomicBlackBox.h"
35 #include "iostream"
36
37
38 namespace bbstd
39 {
40
41 class bbstd_EXPORT ReadColumnsDouble
42  : 
43    public bbtk::AtomicBlackBox
44 {
45   BBTK_BLACK_BOX_INTERFACE(ReadColumnsDouble,bbtk::AtomicBlackBox);
46 //===== 
47 // 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)
48 //===== 
49         BBTK_DECLARE_INPUT(FileName,std::string);
50         BBTK_DECLARE_INPUT(Dimension,int);      
51         
52         BBTK_DECLARE_OUTPUT(lstData1,std::vector<double> );
53         BBTK_DECLARE_OUTPUT(lstData2,std::vector<double> );
54         BBTK_DECLARE_OUTPUT(lstData3,std::vector<double> );
55         BBTK_DECLARE_OUTPUT(lstData4,std::vector<double> );
56         BBTK_DECLARE_OUTPUT(lstData5,std::vector<double> );
57         BBTK_DECLARE_OUTPUT(lstData6,std::vector<double> );
58         BBTK_DECLARE_OUTPUT(lstData7,std::vector<double> );
59         BBTK_DECLARE_OUTPUT(lstData8,std::vector<double> );
60         BBTK_DECLARE_OUTPUT(lstData9,std::vector<double> );
61         BBTK_DECLARE_OUTPUT(lstData10,std::vector<double> );
62         BBTK_DECLARE_OUTPUT(lstData11,std::vector<double> );
63         BBTK_DECLARE_OUTPUT(lstData12,std::vector<double> );
64         BBTK_DECLARE_OUTPUT(lstData13,std::vector<double> );
65         BBTK_DECLARE_OUTPUT(lstData14,std::vector<double> );
66         BBTK_DECLARE_OUTPUT(lstData15,std::vector<double> );
67         BBTK_PROCESS(Process);
68   void Process();
69 //===== 
70 // 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)
71 //===== 
72 };
73
74 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadColumnsDouble,bbtk::AtomicBlackBox);
75         BBTK_NAME("ReadColumnsDouble");
76         BBTK_AUTHOR("Info-Dev");
77         BBTK_DESCRIPTION("Read Columns from a text file");
78         BBTK_CATEGORY("read/write");
79         BBTK_INPUT(ReadColumnsDouble,FileName,"File name of Points",std::string,"");
80         BBTK_INPUT(ReadColumnsDouble,Dimension,"(default 1) - The number of columns of the file",int,"");
81         
82         BBTK_OUTPUT(ReadColumnsDouble,lstData1,"vector of data",std::vector<double>,"");
83         BBTK_OUTPUT(ReadColumnsDouble,lstData2,"vector of data",std::vector<double>,"");
84         BBTK_OUTPUT(ReadColumnsDouble,lstData3,"vector of data",std::vector<double>,"");
85         BBTK_OUTPUT(ReadColumnsDouble,lstData4,"vector of data",std::vector<double>,"");
86         BBTK_OUTPUT(ReadColumnsDouble,lstData5,"vector of data",std::vector<double>,"");
87         BBTK_OUTPUT(ReadColumnsDouble,lstData6,"vector of data",std::vector<double>,"");
88         BBTK_OUTPUT(ReadColumnsDouble,lstData7,"vector of data",std::vector<double>,"");
89         BBTK_OUTPUT(ReadColumnsDouble,lstData8,"vector of data",std::vector<double>,"");
90         BBTK_OUTPUT(ReadColumnsDouble,lstData9,"vector of data",std::vector<double>,"");
91         BBTK_OUTPUT(ReadColumnsDouble,lstData10,"vector of data",std::vector<double>,"");
92         BBTK_OUTPUT(ReadColumnsDouble,lstData11,"vector of data",std::vector<double>,"");
93         BBTK_OUTPUT(ReadColumnsDouble,lstData12,"vector of data",std::vector<double>,"");
94         BBTK_OUTPUT(ReadColumnsDouble,lstData13,"vector of data",std::vector<double>,"");
95         BBTK_OUTPUT(ReadColumnsDouble,lstData14,"vector of data",std::vector<double>,"");
96         BBTK_OUTPUT(ReadColumnsDouble,lstData15,"vector of data",std::vector<double>,"");
97 BBTK_END_DESCRIBE_BLACK_BOX(ReadColumnsDouble);
98 //===== 
99 // 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)
100 //===== 
101 }
102 // EO namespace bbstd
103
104 #endif // __bbstdReadColumnsDouble_h_INCLUDED__
105