diff OrthancServer/Sources/ServerContext.h @ 4935:acd3f72e2a21 more-tags

split ExpandResource in 2: read from DB and serialize to json. This will allow us to merge requested tags from both the DB and the file system
author Alain Mazy <am@osimis.io>
date Thu, 10 Mar 2022 19:00:43 +0100
parents 309fb4f02704
children 8422e4f99a18
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Thu Mar 10 09:03:24 2022 +0100
+++ b/OrthancServer/Sources/ServerContext.h	Thu Mar 10 19:00:43 2022 +0100
@@ -539,5 +539,11 @@
     bool IsUnknownSopClassAccepted();
 
     void SetUnknownSopClassAccepted(bool accepted);
+
+    bool ExpandResource(Json::Value& target,
+                        const std::string& publicId,
+                        ResourceType level,
+                        DicomToJsonFormat format);
+
   };
 }