changeset 4871:55469ccfb384

added SingleValueObject::SetValue()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Jan 2022 14:35:29 +0100
parents 43e613a7756b
children b1556cefa5c6
files OrthancFramework/Sources/IDynamicObject.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/IDynamicObject.h	Tue Jan 11 11:15:42 2022 +0100
+++ b/OrthancFramework/Sources/IDynamicObject.h	Tue Jan 11 14:35:29 2022 +0100
@@ -64,5 +64,10 @@
     {
       return value_;
     }
+
+    void SetValue(const T& value)
+    {
+      value_ = value;
+    }
   };
 }