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)
4 #ifndef __bbstdReadVectorFromFile_h_INCLUDED__
5 #define __bbstdReadVectorFromFile_h_INCLUDED__
6 #include "bbstd_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
14 class bbstd_EXPORT ReadVectorFromFile
16 public bbtk::AtomicBlackBox
18 BBTK_BLACK_BOX_INTERFACE(ReadVectorFromFile,bbtk::AtomicBlackBox);
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)
22 BBTK_DECLARE_INPUT(FileName,std::string);
23 BBTK_DECLARE_OUTPUT(Out,std::vector <std::vector<double> >);
24 BBTK_DECLARE_INPUT(LineLength,int);
25 BBTK_PROCESS(Process);
28 // 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)
32 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadVectorFromFile,bbtk::AtomicBlackBox);
33 BBTK_NAME("ReadVectorFromFile");
35 BBTK_DESCRIPTION("Read any Vector from a text file");
36 BBTK_CATEGORY("read/write");
37 BBTK_INPUT(ReadVectorFromFile,FileName,"3D Points file name",std::string,"");
38 BBTK_INPUT(ReadVectorFromFile,LineLength,"(default 1) - The number of columns of the file",int,"");
39 BBTK_OUTPUT(ReadVectorFromFile,Out,"vector of data",std::vector< std::vector <double> >,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(ReadVectorFromFile);
43 // 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)
49 #endif // __bbstdReadVectorFromFile_h_INCLUDED__