]> Creatis software - creaImageIO.git/blob - bbtk/src/bbcreaImageIOGetDicomAttributesFromMaps.h
2188 creaImageIO Feature New Normal ImagesChooserDialog Box return DICOM tags maps
[creaImageIO.git] / bbtk / src / bbcreaImageIOGetDicomAttributesFromMaps.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 __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__
5 #define __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__
6 #include "bbcreaImageIO_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 namespace bbcreaImageIO
11 {
12
13 typedef std::map <std::string, std::string> mapString;
14
15 class bbcreaImageIO_EXPORT GetDicomAttributesFromMaps
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(GetDicomAttributesFromMaps,bbtk::AtomicBlackBox);
20 //===== 
21 // 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 //===== 
23   BBTK_DECLARE_INPUT(In,std::vector< mapString > );
24   BBTK_DECLARE_INPUT(KeyDicom, std::string);
25   BBTK_DECLARE_OUTPUT(Out,std::vector <std::string>);
26   BBTK_PROCESS(Process);
27   void Process();
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 };
32
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetDicomAttributesFromMaps,bbtk::AtomicBlackBox);
34 BBTK_NAME("GetDicomAttributesFromMaps");
35 BBTK_AUTHOR("Info-Dev, Eduardo DAVIL");
36 BBTK_DESCRIPTION("eduardo.davila[at]creatis.insa-lyon.fr -");
37 BBTK_CATEGORY("empty");
38   BBTK_INPUT(GetDicomAttributesFromMaps,In,"Vector of maps with DICOM attributes",std::vector< mapString >,"");
39   BBTK_INPUT(GetDicomAttributesFromMaps,KeyDicom,"Key DICOM",std::string ,"");
40   BBTK_OUTPUT(GetDicomAttributesFromMaps,Out,"Vector of the attribute asked.",std::vector <std::string>,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(GetDicomAttributesFromMaps);
42 //===== 
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)
44 //===== 
45 }
46 // EO namespace bbcreaImageIO
47
48 #endif // __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__
49