diff OrthancServer/ServerIndex.h @ 306:326d5a4a5af3

modification of instances
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Dec 2012 16:44:50 +0100
parents 4eea080e6e7a
children 6ab6cdeedf4e
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Thu Dec 20 13:01:46 2012 +0100
+++ b/OrthancServer/ServerIndex.h	Thu Dec 20 16:44:50 2012 +0100
@@ -146,5 +146,15 @@
     void GetChildInstances(std::list<std::string>& result,
                            const std::string& publicId);
 
+    void SetMetadata(const std::string& publicId,
+                     MetadataType type,
+                     const std::string& value);
+
+    bool LookupMetadata(std::string& target,
+                        const std::string& publicId,
+                        MetadataType type);
+
+    bool LookupParent(std::string& target,
+                      const std::string& publicId);
   };
 }