Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/Operations/StringOperationValue.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 |
---|---|
20 **/ | 20 **/ |
21 | 21 |
22 | 22 |
23 #pragma once | 23 #pragma once |
24 | 24 |
25 #include "JobOperationValue.h" | 25 #include "IJobOperationValue.h" |
26 | 26 |
27 #include "../../Compatibility.h" // For ORTHANC_OVERRIDE | 27 #include "../../Compatibility.h" // For ORTHANC_OVERRIDE |
28 | 28 |
29 #include <string> | 29 #include <string> |
30 | 30 |
31 namespace Orthanc | 31 namespace Orthanc |
32 { | 32 { |
33 class ORTHANC_PUBLIC StringOperationValue : public JobOperationValue | 33 class ORTHANC_PUBLIC StringOperationValue : public IJobOperationValue |
34 { | 34 { |
35 private: | 35 private: |
36 std::string content_; | 36 std::string content_; |
37 | 37 |
38 public: | 38 public: |
39 explicit StringOperationValue(const std::string& content); | 39 explicit StringOperationValue(const std::string& content); |
40 | 40 |
41 virtual Type GetType() const ORTHANC_OVERRIDE; | 41 virtual Type GetType() const ORTHANC_OVERRIDE; |
42 | 42 |
43 virtual JobOperationValue* Clone() const ORTHANC_OVERRIDE; | 43 virtual IJobOperationValue* Clone() const ORTHANC_OVERRIDE; |
44 | 44 |
45 const std::string& GetContent() const; | 45 const std::string& GetContent() const; |
46 | 46 |
47 virtual void Serialize(Json::Value& target) const ORTHANC_OVERRIDE; | 47 virtual void Serialize(Json::Value& target) const ORTHANC_OVERRIDE; |
48 }; | 48 }; |