diff OrthancServer/ServerEnumerations.h @ 1735:a001f6226c7c

primitives for flags in dicom-to-json conversions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 21 Oct 2015 16:25:09 +0200
parents 7e0b5e413c7c
children b953c6eef28d
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.h	Wed Oct 21 14:28:57 2015 +0200
+++ b/OrthancServer/ServerEnumerations.h	Wed Oct 21 16:25:09 2015 +0200
@@ -108,6 +108,18 @@
     DicomToJsonFormat_Simple
   };
 
+  enum DicomToJsonFlags
+  {
+    DicomToJsonFlags_IncludeBinary      = (1 << 0),
+    DicomToJsonFlags_IncludePrivateTags = (1 << 1),
+    DicomToJsonFlags_IncludeUnknownTags = (1 << 2),
+    DicomToJsonFlags_IncludePixelData   = (1 << 3),
+
+    // Some predefined combinations
+    DicomToJsonFlags_None               = 0,
+    DicomToJsonFlags_Default            = DicomToJsonFlags_IncludePrivateTags | DicomToJsonFlags_IncludeUnknownTags
+  };
+
 
   /**
    * WARNING: Do not change the explicit values in the enumerations