diff Plugins/Samples/Common/FullOrthancDataset.cpp @ 2278:fd5869e3ed5e

new constructors in FullOrthancDataset
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 May 2017 22:05:34 +0200
parents a3a65de1840f
children 2e7a8ce24be2
line wrap: on
line diff
--- a/Plugins/Samples/Common/FullOrthancDataset.cpp	Wed Apr 12 18:01:04 2017 +0200
+++ b/Plugins/Samples/Common/FullOrthancDataset.cpp	Wed May 17 22:05:34 2017 +0200
@@ -166,6 +166,14 @@
   }
 
 
+  FullOrthancDataset::FullOrthancDataset(const void* content,
+                                         size_t size)
+  {
+    IOrthancConnection::ParseJson(root_, content, size);
+    CheckRoot();
+  }
+
+
   bool FullOrthancDataset::GetStringValue(std::string& result,
                                           const DicomPath& path) const
   {