diff OrthancFramework/Resources/CodeGeneration/GenerateTransferSyntaxesEnumerations.mustache @ 4468:9c070a34de18

IApplicationEntityFilter::GetAcceptedTransferSyntaxes()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Jan 2021 15:18:34 +0100
parents d9473bd5ed43
children 68f52897c119
line wrap: on
line diff
--- a/OrthancFramework/Resources/CodeGeneration/GenerateTransferSyntaxesEnumerations.mustache	Thu Jan 21 19:06:00 2021 +0100
+++ b/OrthancFramework/Resources/CodeGeneration/GenerateTransferSyntaxesEnumerations.mustache	Mon Jan 25 15:18:34 2021 +0100
@@ -71,4 +71,13 @@
     {{/Syntaxes}}
     return false;
   }
+
+
+  void GetAllTransferSyntaxes(std::set<DicomTransferSyntax>& target)
+  {
+    target.clear();
+    {{#Syntaxes}}
+    target.insert(DicomTransferSyntax_{{Value}});
+    {{/Syntaxes}}
+  }
 }