comparison Resources/GenerateTransferSyntaxesDcmtk.mustache @ 3769:eb044cc49d51

compatibility with DCMTK 3.6.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Mar 2020 16:36:14 +0100
parents 33c19a6643e1
children
comparison
equal deleted inserted replaced
3768:6110a4995ace 3769:eb044cc49d51
43 {{#DCMTK}} 43 {{#DCMTK}}
44 {{#SinceDCMTK}} 44 {{#SinceDCMTK}}
45 #if DCMTK_VERSION_NUMBER >= {{SinceDCMTK}} 45 #if DCMTK_VERSION_NUMBER >= {{SinceDCMTK}}
46 {{/SinceDCMTK}} 46 {{/SinceDCMTK}}
47 case DicomTransferSyntax_{{Value}}: 47 case DicomTransferSyntax_{{Value}}:
48 {{#DCMTK360}}
49 # if DCMTK_VERSION_NUMBER <= 360
50 target = {{DCMTK360}};
51 # else
48 target = {{DCMTK}}; 52 target = {{DCMTK}};
53 # endif
54 {{/DCMTK360}}
55 {{^DCMTK360}}
56 target = {{DCMTK}};
57 {{/DCMTK360}}
49 return true; 58 return true;
50 {{#SinceDCMTK}} 59 {{#SinceDCMTK}}
51 #endif 60 #endif
52 {{/SinceDCMTK}} 61 {{/SinceDCMTK}}
53 62
67 {{#Syntaxes}} 76 {{#Syntaxes}}
68 {{#DCMTK}} 77 {{#DCMTK}}
69 {{#SinceDCMTK}} 78 {{#SinceDCMTK}}
70 #if DCMTK_VERSION_NUMBER >= {{SinceDCMTK}} 79 #if DCMTK_VERSION_NUMBER >= {{SinceDCMTK}}
71 {{/SinceDCMTK}} 80 {{/SinceDCMTK}}
81 {{#DCMTK360}}
82 # if DCMTK_VERSION_NUMBER <= 360
83 case {{DCMTK360}}:
84 # else
72 case {{DCMTK}}: 85 case {{DCMTK}}:
86 # endif
87 {{/DCMTK360}}
88 {{^DCMTK360}}
89 case {{DCMTK}}:
90 {{/DCMTK360}}
73 target = DicomTransferSyntax_{{Value}}; 91 target = DicomTransferSyntax_{{Value}};
74 return true; 92 return true;
75 {{#SinceDCMTK}} 93 {{#SinceDCMTK}}
76 #endif 94 #endif
77 {{/SinceDCMTK}} 95 {{/SinceDCMTK}}