Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1734:e2675b37eb01 | 1735:a001f6226c7c |
---|---|
106 DicomToJsonFormat_Full, | 106 DicomToJsonFormat_Full, |
107 DicomToJsonFormat_Short, | 107 DicomToJsonFormat_Short, |
108 DicomToJsonFormat_Simple | 108 DicomToJsonFormat_Simple |
109 }; | 109 }; |
110 | 110 |
111 enum DicomToJsonFlags | |
112 { | |
113 DicomToJsonFlags_IncludeBinary = (1 << 0), | |
114 DicomToJsonFlags_IncludePrivateTags = (1 << 1), | |
115 DicomToJsonFlags_IncludeUnknownTags = (1 << 2), | |
116 DicomToJsonFlags_IncludePixelData = (1 << 3), | |
117 | |
118 // Some predefined combinations | |
119 DicomToJsonFlags_None = 0, | |
120 DicomToJsonFlags_Default = DicomToJsonFlags_IncludePrivateTags | DicomToJsonFlags_IncludeUnknownTags | |
121 }; | |
122 | |
111 | 123 |
112 /** | 124 /** |
113 * WARNING: Do not change the explicit values in the enumerations | 125 * WARNING: Do not change the explicit values in the enumerations |
114 * below this point. This would result in incompatible databases | 126 * below this point. This would result in incompatible databases |
115 * between versions of Orthanc! | 127 * between versions of Orthanc! |