diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2803:579acc5e5412

OrthancConfiguration::GetDictionary
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Aug 2018 15:14:33 +0200
parents 4df3c64402ba
children 473bf302d629
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Thu Aug 23 18:52:14 2018 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Aug 28 15:14:33 2018 +0200
@@ -41,6 +41,7 @@
 #include <json/value.h>
 #include <list>
 #include <set>
+#include <map>
 
 
 
@@ -285,6 +286,9 @@
 
     float GetFloatValue(const std::string& key,
                         float defaultValue) const;
+
+    void GetDictionary(std::map<std::string, std::string>& target,
+                       const std::string& key) const;
   };
 
   class OrthancImage : public boost::noncopyable