diff OrthancFramework/Sources/Enumerations.cpp @ 4469:5ffa4e14e4bd

move old enum TransferSyntax from OrthancFramework to OrthancServer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Jan 2021 18:12:59 +0100
parents f77ee6e6cf47
children 350a22c094f2
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.cpp	Mon Jan 25 15:18:34 2021 +0100
+++ b/OrthancFramework/Sources/Enumerations.cpp	Mon Jan 25 18:12:59 2021 +0100
@@ -856,40 +856,6 @@
   }
 
 
-  const char* EnumerationToString(TransferSyntax syntax)
-  {
-    switch (syntax)
-    {
-      case TransferSyntax_Deflated:
-        return "Deflated";
-
-      case TransferSyntax_Jpeg:
-        return "JPEG";
-
-      case TransferSyntax_Jpeg2000:
-        return "JPEG2000";
-
-      case TransferSyntax_JpegLossless:
-        return "JPEG Lossless";
-
-      case TransferSyntax_Jpip:
-        return "JPIP";
-
-      case TransferSyntax_Mpeg2:
-        return "MPEG2";
-
-      case TransferSyntax_Mpeg4:
-        return "MPEG4";
-
-      case TransferSyntax_Rle:
-        return "RLE";
-
-      default: 
-        throw OrthancException(ErrorCode_ParameterOutOfRange);
-    }
-  }
-
-
   const char* EnumerationToString(DicomVersion version)
   {
     switch (version)