Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2802:c48ddc902e3e | 2803:579acc5e5412 |
---|---|
39 #include <boost/noncopyable.hpp> | 39 #include <boost/noncopyable.hpp> |
40 #include <boost/lexical_cast.hpp> | 40 #include <boost/lexical_cast.hpp> |
41 #include <json/value.h> | 41 #include <json/value.h> |
42 #include <list> | 42 #include <list> |
43 #include <set> | 43 #include <set> |
44 #include <map> | |
44 | 45 |
45 | 46 |
46 | 47 |
47 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) | 48 #if !defined(ORTHANC_PLUGINS_VERSION_IS_ABOVE) |
48 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \ | 49 #define ORTHANC_PLUGINS_VERSION_IS_ABOVE(major, minor, revision) \ |
283 bool GetBooleanValue(const std::string& key, | 284 bool GetBooleanValue(const std::string& key, |
284 bool defaultValue) const; | 285 bool defaultValue) const; |
285 | 286 |
286 float GetFloatValue(const std::string& key, | 287 float GetFloatValue(const std::string& key, |
287 float defaultValue) const; | 288 float defaultValue) const; |
289 | |
290 void GetDictionary(std::map<std::string, std::string>& target, | |
291 const std::string& key) const; | |
288 }; | 292 }; |
289 | 293 |
290 class OrthancImage : public boost::noncopyable | 294 class OrthancImage : public boost::noncopyable |
291 { | 295 { |
292 private: | 296 private: |