]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkMHDFileInfo.h
#2913 creaVtk Feature New Normal - new box MHDFileInfo
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkMHDFileInfo.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 __bbcreaVtkMHDFileInfo_h_INCLUDED__
5 #define __bbcreaVtkMHDFileInfo_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbcreaVtk
11 {
12
13 class bbcreaVtk_EXPORT MHDFileInfo
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(MHDFileInfo,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_OUTPUT(Dim,int);
23   BBTK_DECLARE_OUTPUT(DimSize,std::vector<int>);
24   BBTK_DECLARE_OUTPUT(ElementType,std::string);
25   BBTK_DECLARE_OUTPUT(ElementSpacing,std::vector<double>);
26   BBTK_DECLARE_OUTPUT(Offset,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(HeaderSize,long int);
28   BBTK_PROCESS(Process);
29   void Process();
30 //===== 
31 // 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 //===== 
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(MHDFileInfo,bbtk::AtomicBlackBox);
36   BBTK_NAME("MHDFileInfo");
37   BBTK_AUTHOR("Info-Dev");
38   BBTK_DESCRIPTION("No Description.");
39   BBTK_CATEGORY("empty");
40
41   BBTK_INPUT(MHDFileInfo,FileName,"MHD file name",std::string,"");
42
43   BBTK_OUTPUT(MHDFileInfo,Dim,"Dimension",int,"");
44   BBTK_OUTPUT(MHDFileInfo,DimSize,"Size",std::vector<int>,"");
45   BBTK_OUTPUT(MHDFileInfo,ElementType,"Format type",std::string,"");
46   BBTK_OUTPUT(MHDFileInfo,ElementSpacing,"Spacing",std::vector<double>,"");
47   BBTK_OUTPUT(MHDFileInfo,Offset,"Offset",std::vector<double>,"");
48   BBTK_OUTPUT(MHDFileInfo,HeaderSize,"Format type",long int,"");
49
50 BBTK_END_DESCRIBE_BLACK_BOX(MHDFileInfo);
51 //===== 
52 // 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)
53 //===== 
54 }
55 // EO namespace bbcreaVtk
56
57 #endif // __bbcreaVtkMHDFileInfo_h_INCLUDED__
58