]> Creatis software - bbtk.git/blob - packages/std/src/bbstdSaveLstPoints.h
#3492 SaveLstPoints
[bbtk.git] / packages / std / src / bbstdSaveLstPoints.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 __bbstdSaveLstPoints_h_INCLUDED__
5 #define __bbstdSaveLstPoints_h_INCLUDED__
6
7 #include "bbstd_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 namespace bbstd
12 {
13
14 class bbstd_EXPORT SaveLstPoints
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(SaveLstPoints,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(FileNameBase,std::string);
23     BBTK_DECLARE_INPUT(LstX,std::vector<double>);
24     BBTK_DECLARE_INPUT(LstY,std::vector<double>);
25     BBTK_DECLARE_INPUT(LstZ,std::vector<double>);
26     BBTK_DECLARE_INPUT(LstIndexs,std::vector<int>);
27     BBTK_DECLARE_INPUT(Params,std::vector<double>);
28     BBTK_DECLARE_INPUT(Type,int);
29 //  BBTK_DECLARE_OUTPUT(Out,double);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SaveLstPoints,bbtk::AtomicBlackBox);
38   BBTK_NAME("SaveLstPoints");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(SaveLstPoints,FileNameBase,"automatic add .pnt extention",std::string,"");
44   BBTK_INPUT(SaveLstPoints,LstX,"List of points in X",std::vector<double>,"");
45   BBTK_INPUT(SaveLstPoints,LstY,"List of points in Y",std::vector<double>,"");
46   BBTK_INPUT(SaveLstPoints,LstZ,"List of points in Z",std::vector<double>,"");
47   BBTK_INPUT(SaveLstPoints,LstIndexs,"List of indexs",std::vector<int>,"");
48   BBTK_INPUT(SaveLstPoints,Params,"(default 0) 0:Param give the i-Lst to be exported",std::vector<double>,"");
49   BBTK_INPUT(SaveLstPoints,Type,"List of params",int,"");
50
51 //BBTK_OUTPUT(SaveLstPoints,Out,"First output",double,"");
52
53 BBTK_END_DESCRIBE_BLACK_BOX(SaveLstPoints);
54 //===== 
55 // 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)
56 //===== 
57 }
58 // EO namespace bbstd
59
60 #endif // __bbstdSaveLstPoints_h_INCLUDED__
61