Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ResourceModificationJob.h @ 4205:d962a2996637
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 17:58:19 +0200 |
parents | 318c16cfccab |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4204:318c16cfccab | 4205:d962a2996637 |
---|---|
52 DicomInstanceOrigin origin_; | 52 DicomInstanceOrigin origin_; |
53 bool transcode_; | 53 bool transcode_; |
54 DicomTransferSyntax transferSyntax_; | 54 DicomTransferSyntax transferSyntax_; |
55 | 55 |
56 protected: | 56 protected: |
57 virtual bool HandleInstance(const std::string& instance); | 57 virtual bool HandleInstance(const std::string& instance) ORTHANC_OVERRIDE; |
58 | 58 |
59 public: | 59 public: |
60 explicit ResourceModificationJob(ServerContext& context); | 60 explicit ResourceModificationJob(ServerContext& context); |
61 | 61 |
62 ResourceModificationJob(ServerContext& context, | 62 ResourceModificationJob(ServerContext& context, |
93 | 93 |
94 void SetTranscode(const std::string& transferSyntaxUid); | 94 void SetTranscode(const std::string& transferSyntaxUid); |
95 | 95 |
96 void ClearTranscode(); | 96 void ClearTranscode(); |
97 | 97 |
98 virtual void Stop(JobStopReason reason) | 98 virtual void Stop(JobStopReason reason) ORTHANC_OVERRIDE |
99 { | 99 { |
100 } | 100 } |
101 | 101 |
102 virtual void GetJobType(std::string& target) | 102 virtual void GetJobType(std::string& target) ORTHANC_OVERRIDE |
103 { | 103 { |
104 target = "ResourceModification"; | 104 target = "ResourceModification"; |
105 } | 105 } |
106 | 106 |
107 virtual void GetPublicContent(Json::Value& value); | 107 virtual void GetPublicContent(Json::Value& value) ORTHANC_OVERRIDE; |
108 | 108 |
109 virtual bool Serialize(Json::Value& value); | 109 virtual bool Serialize(Json::Value& value) ORTHANC_OVERRIDE; |
110 }; | 110 }; |
111 } | 111 } |