Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/Operations/DicomInstanceOperationValue.h @ 4310:2ae905070221
renaming pure interface JobOperationValue as IJobOperationValue
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 09 Nov 2020 14:40:51 +0100 |
parents | 8992faf451fc |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4309:73de065622ec | 4310:2ae905070221 |
---|---|
32 | 32 |
33 | 33 |
34 #pragma once | 34 #pragma once |
35 | 35 |
36 #include "../../../../OrthancFramework/Sources/Compatibility.h" // For ORTHANC_OVERRIDE | 36 #include "../../../../OrthancFramework/Sources/Compatibility.h" // For ORTHANC_OVERRIDE |
37 #include "../../../../OrthancFramework/Sources/JobsEngine/Operations/JobOperationValue.h" | 37 #include "../../../../OrthancFramework/Sources/JobsEngine/Operations/IJobOperationValue.h" |
38 | 38 |
39 namespace Orthanc | 39 namespace Orthanc |
40 { | 40 { |
41 class ServerContext; | 41 class ServerContext; |
42 | 42 |
43 class DicomInstanceOperationValue : public JobOperationValue | 43 class DicomInstanceOperationValue : public IJobOperationValue |
44 { | 44 { |
45 private: | 45 private: |
46 ServerContext& context_; | 46 ServerContext& context_; |
47 std::string id_; | 47 std::string id_; |
48 | 48 |
69 return id_; | 69 return id_; |
70 } | 70 } |
71 | 71 |
72 void ReadDicom(std::string& dicom) const; | 72 void ReadDicom(std::string& dicom) const; |
73 | 73 |
74 virtual JobOperationValue* Clone() const ORTHANC_OVERRIDE | 74 virtual IJobOperationValue* Clone() const ORTHANC_OVERRIDE |
75 { | 75 { |
76 return new DicomInstanceOperationValue(context_, id_); | 76 return new DicomInstanceOperationValue(context_, id_); |
77 } | 77 } |
78 | 78 |
79 virtual void Serialize(Json::Value& target) const ORTHANC_OVERRIDE | 79 virtual void Serialize(Json::Value& target) const ORTHANC_OVERRIDE |