comparison OrthancServer/Internals/StoreScp.cpp @ 103:f2ecbe7d50b8

detection of dcmtk version
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Oct 2012 16:47:02 +0200
parents 7593b57dc1bf
children fe180eae201d
comparison
equal deleted inserted replaced
102:7593b57dc1bf 103:f2ecbe7d50b8
62 buffer.resize(s); 62 buffer.resize(s);
63 DcmOutputBufferStream ob(&buffer[0], s); 63 DcmOutputBufferStream ob(&buffer[0], s);
64 64
65 dataSet->transferInit(); 65 dataSet->transferInit();
66 66
67 #if 1 67 #if DCMTK_VERSION_NUMBER >= 360
68 OFCondition c = dataSet->write(ob, xfer, encodingType, NULL, 68 OFCondition c = dataSet->write(ob, xfer, encodingType, NULL,
69 /*opt_groupLength*/ EGL_recalcGL, 69 /*opt_groupLength*/ EGL_recalcGL,
70 /*opt_paddingType*/ EPD_withoutPadding); 70 /*opt_paddingType*/ EPD_withoutPadding);
71 #else 71 #else
72 OFCondition c = dataSet->write(ob, xfer, encodingType); 72 OFCondition c = dataSet->write(ob, xfer, encodingType);