diff OrthancServer/ServerEnumerations.h @ 2309:4dc313b9a20a issue-46-anonymization

Argument "DicomVersion" in URIs "/{...}/{...}/anonymization"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 12 Jul 2017 13:40:02 +0200
parents cc92410cbed2
children d19e716b79fa
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Wed Jul 12 09:12:12 2017 +0200
+++ b/OrthancServer/ServerEnumerations.h	Wed Jul 12 13:40:02 2017 +0200
@@ -135,6 +135,13 @@
     IdentifierConstraintType_Wildcard        /* Case sensitive, "*" or "?" are the only allowed wildcards */
   };
 
+  enum DicomVersion
+  {
+    DicomVersion_2008,
+    DicomVersion_2011,
+    DicomVersion_2017c
+  };
+
 
   /**
    * WARNING: Do not change the explicit values in the enumerations
@@ -230,7 +237,11 @@
 
   const char* EnumerationToString(TransferSyntax syntax);
 
+  const char* EnumerationToString(DicomVersion version);
+
   ModalityManufacturer StringToModalityManufacturer(const std::string& manufacturer);
 
+  DicomVersion StringToDicomVersion(const std::string& version);
+
   bool IsUserMetadata(MetadataType type);
 }