comparison Core/Enumerations.h @ 3731:e7ff4f9b34bd storage-commitment

integration mainline->storage-commitment
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Mar 2020 17:19:45 +0100
parents adb6d8b49283 ae31ba2b09a6
children f29843323daf
comparison
equal deleted inserted replaced
3718:922c56b76edc 3731:e7ff4f9b34bd
242 ErrorCode_NoStorageCommitmentHandler = 2043 /*!< No request handler factory for DICOM N-ACTION SCP (storage commitment) */, 242 ErrorCode_NoStorageCommitmentHandler = 2043 /*!< No request handler factory for DICOM N-ACTION SCP (storage commitment) */,
243 ErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */, 243 ErrorCode_UnsupportedMediaType = 3000 /*!< Unsupported media type */,
244 ErrorCode_START_PLUGINS = 1000000 244 ErrorCode_START_PLUGINS = 1000000
245 }; 245 };
246 246
247 // This enumeration is autogenerated by the script
248 // "Resources/GenerateTransferSyntaxes.py"
249 enum DicomTransferSyntax
250 {
251 DicomTransferSyntax_LittleEndianImplicit /*!< Implicit VR Little Endian */,
252 DicomTransferSyntax_LittleEndianExplicit /*!< Explicit VR Little Endian */,
253 DicomTransferSyntax_DeflatedLittleEndianExplicit /*!< Deflated Explicit VR Little Endian */,
254 DicomTransferSyntax_BigEndianExplicit /*!< Explicit VR Big Endian */,
255 DicomTransferSyntax_JPEGProcess1 /*!< JPEG Baseline (process 1, lossy) */,
256 DicomTransferSyntax_JPEGProcess2_4 /*!< JPEG Extended Sequential (processes 2 & 4) */,
257 DicomTransferSyntax_JPEGProcess3_5 /*!< JPEG Extended Sequential (lossy, 8/12 bit), arithmetic coding */,
258 DicomTransferSyntax_JPEGProcess6_8 /*!< JPEG Spectral Selection, Nonhierarchical (lossy, 8/12 bit) */,
259 DicomTransferSyntax_JPEGProcess7_9 /*!< JPEG Spectral Selection, Nonhierarchical (lossy, 8/12 bit), arithmetic coding */,
260 DicomTransferSyntax_JPEGProcess10_12 /*!< JPEG Full Progression, Nonhierarchical (lossy, 8/12 bit) */,
261 DicomTransferSyntax_JPEGProcess11_13 /*!< JPEG Full Progression, Nonhierarchical (lossy, 8/12 bit), arithmetic coding */,
262 DicomTransferSyntax_JPEGProcess14 /*!< JPEG Lossless, Nonhierarchical with any selection value (process 14) */,
263 DicomTransferSyntax_JPEGProcess15 /*!< JPEG Lossless with any selection value, arithmetic coding */,
264 DicomTransferSyntax_JPEGProcess16_18 /*!< JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit) */,
265 DicomTransferSyntax_JPEGProcess17_19 /*!< JPEG Extended Sequential, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
266 DicomTransferSyntax_JPEGProcess20_22 /*!< JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit) */,
267 DicomTransferSyntax_JPEGProcess21_23 /*!< JPEG Spectral Selection, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
268 DicomTransferSyntax_JPEGProcess24_26 /*!< JPEG Full Progression, Hierarchical (lossy, 8/12 bit) */,
269 DicomTransferSyntax_JPEGProcess25_27 /*!< JPEG Full Progression, Hierarchical (lossy, 8/12 bit), arithmetic coding */,
270 DicomTransferSyntax_JPEGProcess28 /*!< JPEG Lossless, Hierarchical */,
271 DicomTransferSyntax_JPEGProcess29 /*!< JPEG Lossless, Hierarchical, arithmetic coding */,
272 DicomTransferSyntax_JPEGProcess14SV1 /*!< JPEG Lossless, Nonhierarchical, First-Order Prediction (Processes 14 [Selection Value 1]) */,
273 DicomTransferSyntax_JPEGLSLossless /*!< JPEG-LS (lossless) */,
274 DicomTransferSyntax_JPEGLSLossy /*!< JPEG-LS (lossy or near-lossless) */,
275 DicomTransferSyntax_JPEG2000LosslessOnly /*!< JPEG 2000 (lossless) */,
276 DicomTransferSyntax_JPEG2000 /*!< JPEG 2000 (lossless or lossy) */,
277 DicomTransferSyntax_JPEG2000MulticomponentLosslessOnly /*!< JPEG 2000 part 2 multicomponent extensions (lossless) */,
278 DicomTransferSyntax_JPEG2000Multicomponent /*!< JPEG 2000 part 2 multicomponent extensions (lossless or lossy) */,
279 DicomTransferSyntax_JPIPReferenced /*!< JPIP Referenced */,
280 DicomTransferSyntax_JPIPReferencedDeflate /*!< JPIP Referenced Deflate */,
281 DicomTransferSyntax_MPEG2MainProfileAtMainLevel /*!< MPEG2 Main Profile at Main Level */,
282 DicomTransferSyntax_MPEG2MainProfileAtHighLevel /*!< MPEG2 Main Profile at High Level */,
283 DicomTransferSyntax_MPEG4HighProfileLevel4_1 /*!< MPEG4 High Profile / Level 4.1 */,
284 DicomTransferSyntax_MPEG4BDcompatibleHighProfileLevel4_1 /*!< MPEG4 BD-compatible High Profile / Level 4.1 */,
285 DicomTransferSyntax_MPEG4HighProfileLevel4_2_For2DVideo /*!< MPEG4 High Profile / Level 4.2 For 2D Video */,
286 DicomTransferSyntax_MPEG4HighProfileLevel4_2_For3DVideo /*!< MPEG4 High Profile / Level 4.2 For 3D Video */,
287 DicomTransferSyntax_MPEG4StereoHighProfileLevel4_2 /*!< 1.2.840.10008.1.2.4.106 */,
288 DicomTransferSyntax_HEVCMainProfileLevel5_1 /*!< HEVC/H.265 Main Profile / Level 5.1 */,
289 DicomTransferSyntax_HEVCMain10ProfileLevel5_1 /*!< HEVC/H.265 Main 10 Profile / Level 5.1 */,
290 DicomTransferSyntax_RLELossless /*!< RLE - Run Length Encoding (lossless) */,
291 DicomTransferSyntax_RFC2557MimeEncapsulation /*!< RFC 2557 MIME Encapsulation */,
292 DicomTransferSyntax_XML /*!< XML Encoding */
293 };
294
247 enum LogLevel 295 enum LogLevel
248 { 296 {
249 LogLevel_Error, 297 LogLevel_Error,
250 LogLevel_Warning, 298 LogLevel_Warning,
251 LogLevel_Info, 299 LogLevel_Info,
829 bool IsBinaryValueRepresentation(ValueRepresentation vr); 877 bool IsBinaryValueRepresentation(ValueRepresentation vr);
830 878
831 Encoding GetDefaultDicomEncoding(); 879 Encoding GetDefaultDicomEncoding();
832 880
833 void SetDefaultDicomEncoding(Encoding encoding); 881 void SetDefaultDicomEncoding(Encoding encoding);
882
883 const char* GetTransferSyntaxUid(DicomTransferSyntax syntax);
884
885 bool IsRetiredTransferSyntax(DicomTransferSyntax syntax);
886
887 bool LookupTransferSyntax(DicomTransferSyntax& target,
888 const std::string& uid);
834 } 889 }