Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 3858:3ab2d48c8f69 c-get
integration mainline->c-get
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 Apr 2020 16:37:25 +0200 |
parents | 4f78da5613a1 ee0a1211419f |
children | 7a7d18875985 |
comparison
equal
deleted
inserted
replaced
3818:4f78da5613a1 | 3858:3ab2d48c8f69 |
---|---|
81 if (dicomFile.size() > 0) | 81 if (dicomFile.size() > 0) |
82 { | 82 { |
83 DicomInstanceToStore toStore; | 83 DicomInstanceToStore toStore; |
84 toStore.SetOrigin(DicomInstanceOrigin::FromDicomProtocol | 84 toStore.SetOrigin(DicomInstanceOrigin::FromDicomProtocol |
85 (remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str())); | 85 (remoteIp.c_str(), remoteAet.c_str(), calledAet.c_str())); |
86 toStore.SetBuffer(dicomFile); | 86 toStore.SetBuffer(dicomFile.c_str(), dicomFile.size()); |
87 toStore.SetSummary(dicomSummary); | 87 toStore.SetSummary(dicomSummary); |
88 toStore.SetJson(dicomJson); | 88 toStore.SetJson(dicomJson); |
89 | 89 |
90 std::string id; | 90 std::string id; |
91 context_.Store(id, toStore); | 91 context_.Store(id, toStore); |