diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2823:807169f85ba9

OrthancPluginGetPeerUserProperty()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 18 Sep 2018 15:38:18 +0200
parents 473bf302d629
children dd3914a44b87
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Mon Sep 17 12:08:49 2018 +0200
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Sep 18 15:38:18 2018 +0200
@@ -553,6 +553,8 @@
     Index                 index_;
     uint32_t              timeout_;
 
+    size_t GetPeerIndex(const std::string& name) const;
+
   public:
     OrthancPeers(OrthancPluginContext* context);
 
@@ -582,6 +584,14 @@
       return index_.size();
     }
 
+    bool LookupUserProperty(std::string& value,
+                            size_t index,
+                            const std::string& key) const;
+
+    bool LookupUserProperty(std::string& value,
+                            const std::string& peer,
+                            const std::string& key) const;
+
     bool DoGet(MemoryBuffer& target,
                size_t index,
                const std::string& uri) const;