Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.cpp @ 2849:c67b5d80b758
fix build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 01 Oct 2018 13:05:07 +0200 |
parents | dd3914a44b87 |
children | 859e880ac9a8 |
comparison
equal
deleted
inserted
replaced
2848:dd3914a44b87 | 2849:c67b5d80b758 |
---|---|
229 std::string s = writer.write(tags); | 229 std::string s = writer.write(tags); |
230 | 230 |
231 Check(OrthancPluginCreateDicom(context_, &buffer_, s.c_str(), NULL, flags)); | 231 Check(OrthancPluginCreateDicom(context_, &buffer_, s.c_str(), NULL, flags)); |
232 } | 232 } |
233 | 233 |
234 void MemoreyBuffer::CreateDicom(const Json::Value& tags, | 234 void MemoryBuffer::CreateDicom(const Json::Value& tags, |
235 const OrthancPluginImage& pixelData, | 235 const OrthancImage& pixelData, |
236 OrthancPluginCreateDicomFlags flags) | 236 OrthancPluginCreateDicomFlags flags) |
237 { | 237 { |
238 Clear(); | 238 Clear(); |
239 | 239 |
240 Json::FastWriter writer; | 240 Json::FastWriter writer; |
241 std::string s = writer.write(tags); | 241 std::string s = writer.write(tags); |