Mercurial > hg > orthanc
diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2263:b9775db0fd9b
OrthancPlugins::OrthancConfiguration::LookupListOfStrings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 Feb 2017 15:27:20 +0100 |
parents | a3a65de1840f |
children | 8e5e0de75839 |
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h Fri Feb 03 09:41:05 2017 +0000 +++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h Wed Feb 08 15:27:20 2017 +0100 @@ -39,6 +39,7 @@ #include <boost/noncopyable.hpp> #include <boost/lexical_cast.hpp> #include <json/value.h> +#include <list> #if (ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER >= 2 || \ @@ -232,6 +233,9 @@ bool LookupFloatValue(float& target, const std::string& key) const; + bool LookupListOfStrings(std::list<std::string>& target, + const std::string& key) const; + std::string GetStringValue(const std::string& key, const std::string& defaultValue) const;