diff OrthancServer/ServerJobs/DicomMoveScuJob.h @ 3303:a215182a0c2f

"DicomMoveScu" jobs provide the associated C-FIND answer in their "Query" public field
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 24 Feb 2019 10:03:02 +0100
parents beeeb6096f27
children 94f4a18a79cc
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/DicomMoveScuJob.h	Sun Feb 24 09:30:13 2019 +0100
+++ b/OrthancServer/ServerJobs/DicomMoveScuJob.h	Sun Feb 24 10:03:02 2019 +0100
@@ -53,12 +53,14 @@
     std::string                         targetAet_;
     RemoteModalityParameters            remote_;
     std::auto_ptr<DicomUserConnection>  connection_;
+    Json::Value                         query_;
 
     void Retrieve(const DicomMap& findAnswer);
     
   public:
     DicomMoveScuJob(ServerContext& context) :
-      context_(context)
+      context_(context),
+      query_(Json::arrayValue)
     {
     }