Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerJobs/DicomMoveScuJob.h @ 4205:d962a2996637
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 17:58:19 +0200 |
parents | 05b8fd21089c |
children | d9473bd5ed43 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerJobs/DicomMoveScuJob.h Thu Sep 17 16:18:01 2020 +0200 +++ b/OrthancServer/Sources/ServerJobs/DicomMoveScuJob.h Thu Sep 17 17:58:19 2020 +0200 @@ -59,7 +59,7 @@ void Retrieve(const DicomMap& findAnswer); public: - DicomMoveScuJob(ServerContext& context) : + explicit DicomMoveScuJob(ServerContext& context) : context_(context), query_(Json::arrayValue) { @@ -91,15 +91,15 @@ void SetTargetAet(const std::string& aet); - virtual void Stop(JobStopReason reason); + virtual void Stop(JobStopReason reason) ORTHANC_OVERRIDE; - virtual void GetJobType(std::string& target) + virtual void GetJobType(std::string& target) ORTHANC_OVERRIDE { target = "DicomMoveScu"; } - virtual void GetPublicContent(Json::Value& value); + virtual void GetPublicContent(Json::Value& value) ORTHANC_OVERRIDE; - virtual bool Serialize(Json::Value& target); + virtual bool Serialize(Json::Value& target) ORTHANC_OVERRIDE; }; }