diff OrthancFramework/Sources/Toolbox.h @ 4938:f630796a59b1 more-tags

ExpandResource now able to return computed tags (like ModalitiesInStudies)
author Alain Mazy <am@osimis.io>
date Mon, 14 Mar 2022 16:44:00 +0100
parents 8422e4f99a18
children 96a3e81eba90
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.h	Mon Mar 14 13:13:29 2022 +0100
+++ b/OrthancFramework/Sources/Toolbox.h	Mon Mar 14 16:44:00 2022 +0100
@@ -185,6 +185,14 @@
                                const std::string& source,
                                char separator);
 
+    static void JoinStrings(std::string& result,
+                            std::set<std::string>& source,
+                            const char* separator);
+
+    static void JoinStrings(std::string& result,
+                            std::vector<std::string>& source,
+                            const char* separator);
+
     // returns true if all element of 'needles' are found in 'haystack'
     template <typename T> static bool IsSetInSet(const std::set<T>& needles, const std::set<T>& haystack)
     {