diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2266:a344e47e9c9a

OrthancConfiguration::LookupSetOfStrings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 14 Feb 2017 16:03:18 +0100
parents e46b0ee6c19d
children ce5c13b95dac
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Feb 14 15:59:19 2017 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Feb 14 16:03:18 2017 +0100
@@ -40,6 +40,7 @@
 #include <boost/lexical_cast.hpp>
 #include <json/value.h>
 #include <list>
+#include <set>
 
 
 #if (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER >= 2 ||   \
@@ -253,6 +254,10 @@
                              const std::string& key,
                              bool allowSingleString) const;
 
+    bool LookupSetOfStrings(std::set<std::string>& target,
+                            const std::string& key,
+                            bool allowSingleString) const;
+
     std::string GetStringValue(const std::string& key,
                                const std::string& defaultValue) const;