comparison OrthancFramework/Sources/JobsEngine/Operations/JobOperationValue.h @ 4304:50b0c69b653a

continued abi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 06 Nov 2020 16:33:52 +0100
parents 2d5209153b32
children
comparison
equal deleted inserted replaced
4303:44b53a2c0a13 4304:50b0c69b653a
37 Type_DicomInstance, 37 Type_DicomInstance,
38 Type_Null, 38 Type_Null,
39 Type_String 39 Type_String
40 }; 40 };
41 41
42 private:
43 Type type_;
44
45 protected:
46 explicit JobOperationValue(Type type) :
47 type_(type)
48 {
49 }
50
51 public:
52 virtual ~JobOperationValue() 42 virtual ~JobOperationValue()
53 { 43 {
54 } 44 }
55 45
56 Type GetType() const 46 virtual Type GetType() const = 0;
57 {
58 return type_;
59 }
60 47
61 virtual JobOperationValue* Clone() const = 0; 48 virtual JobOperationValue* Clone() const = 0;
62 49
63 virtual void Serialize(Json::Value& target) const = 0; 50 virtual void Serialize(Json::Value& target) const = 0;
64 }; 51 };