X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbcreaImageIOGetDicomAttributesFromMaps.h;fp=bbtk%2Fsrc%2FbbcreaImageIOGetDicomAttributesFromMaps.h;h=3b98bfd948d83aeb2d7f43046ccf9ce5adce64ae;hb=c6ff4e54b4cbc10949278782648adbbca203fa6e;hp=0000000000000000000000000000000000000000;hpb=aa095c927358b5bd78f6145dfd06368dc065349c;p=creaImageIO.git diff --git a/bbtk/src/bbcreaImageIOGetDicomAttributesFromMaps.h b/bbtk/src/bbcreaImageIOGetDicomAttributesFromMaps.h new file mode 100644 index 0000000..3b98bfd --- /dev/null +++ b/bbtk/src/bbcreaImageIOGetDicomAttributesFromMaps.h @@ -0,0 +1,49 @@ +//===== +// 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) +//===== +#ifndef __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__ +#define __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__ +#include "bbcreaImageIO_EXPORT.h" +#include "bbtkAtomicBlackBox.h" +#include "iostream" + +namespace bbcreaImageIO +{ + +typedef std::map mapString; + +class bbcreaImageIO_EXPORT GetDicomAttributesFromMaps + : + public bbtk::AtomicBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(GetDicomAttributesFromMaps,bbtk::AtomicBlackBox); +//===== +// 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) +//===== + BBTK_DECLARE_INPUT(In,std::vector< mapString > ); + BBTK_DECLARE_INPUT(KeyDicom, std::string); + BBTK_DECLARE_OUTPUT(Out,std::vector ); + BBTK_PROCESS(Process); + void Process(); +//===== +// 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) +//===== +}; + +BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetDicomAttributesFromMaps,bbtk::AtomicBlackBox); +BBTK_NAME("GetDicomAttributesFromMaps"); +BBTK_AUTHOR("Info-Dev, Eduardo DAVIL"); +BBTK_DESCRIPTION("eduardo.davila[at]creatis.insa-lyon.fr -"); +BBTK_CATEGORY("empty"); + BBTK_INPUT(GetDicomAttributesFromMaps,In,"Vector of maps with DICOM attributes",std::vector< mapString >,""); + BBTK_INPUT(GetDicomAttributesFromMaps,KeyDicom,"Key DICOM",std::string ,""); + BBTK_OUTPUT(GetDicomAttributesFromMaps,Out,"Vector of the attribute asked.",std::vector ,""); +BBTK_END_DESCRIBE_BLACK_BOX(GetDicomAttributesFromMaps); +//===== +// 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) +//===== +} +// EO namespace bbcreaImageIO + +#endif // __bbcreaImageIOGetDicomAttributesFromMaps_h_INCLUDED__ +