9 #ifndef _d5ecacb8_04ff_48b0_8026_570c9b2ae360
10 #define _d5ecacb8_04ff_48b0_8026_570c9b2ae360
12 #include <dcmtk/config/osconfig.h>
13 #include <dcmtk/dcmdata/dctk.h>
15 #include "dcmtkpp/DataSet.h"
16 #include "dcmtkpp/Element.h"
17 #include "dcmtkpp/Tag.h"
18 #include "dcmtkpp/VR.h"
24 DcmEVR convert(VR vr);
27 VR convert(DcmEVR evr);
30 DcmTagKey convert(Tag
const & tag);
33 Tag convert(DcmTagKey
const & tag);
36 DcmElement * convert(Tag
const & tag, Element
const & source);
39 template<
typename TSourceType,
typename TDestinationType>
41 Element
const & source, DcmElement * destination,
42 TSourceType
const & (Element::*getter)()
const);
45 Element convert(DcmElement * source);
48 template<
typename TSourceType>
50 Element
const & source, DcmElement * destination,
51 TSourceType
const & (Element::*getter)()
const);
54 void convert(Element
const & source, DcmOtherByteOtherWord * destination);
57 void convert(Element
const & source, DcmOtherFloat * destination);
60 template<
typename TSourceType,
typename TDestinationType>
62 DcmElement * source, Element & destination,
63 TDestinationType & (Element::*getter)());
66 DcmItem * convert(DataSet
const & source,
bool as_data_set=
true);
69 DataSet convert(DcmItem * source);
73 #include <dcmtkpp/conversion.txx>
75 #endif // _d5ecacb8_04ff_48b0_8026_570c9b2ae360
Definition: Association.cpp:22