comparison Orthanc/Core/Enumerations.h @ 69:fe8dab5c051f

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Aug 2015 21:23:42 +0200
parents 15acbf5e7545
children f2f8f8714dcc
comparison
equal deleted inserted replaced
68:45da32410346 69:fe8dab5c051f
74 ErrorCode_IncompatibleImageSize, 74 ErrorCode_IncompatibleImageSize,
75 ErrorCode_SharedLibrary, 75 ErrorCode_SharedLibrary,
76 ErrorCode_Plugin 76 ErrorCode_Plugin
77 }; 77 };
78 78
79 enum LogLevel
80 {
81 LogLevel_Error,
82 LogLevel_Warning,
83 LogLevel_Info,
84 LogLevel_Trace
85 };
86
79 87
80 /** 88 /**
81 * {summary}{The memory layout of the pixels (resp. voxels) of a 2D (resp. 3D) image.} 89 * {summary}{The memory layout of the pixels (resp. voxels) of a 2D (resp. 3D) image.}
82 **/ 90 **/
83 enum PixelFormat 91 enum PixelFormat
328 336
329 const char* EnumerationToString(Encoding encoding); 337 const char* EnumerationToString(Encoding encoding);
330 338
331 const char* EnumerationToString(PhotometricInterpretation photometric); 339 const char* EnumerationToString(PhotometricInterpretation photometric);
332 340
341 const char* EnumerationToString(LogLevel level);
342
333 Encoding StringToEncoding(const char* encoding); 343 Encoding StringToEncoding(const char* encoding);
334 344
335 ResourceType StringToResourceType(const char* type); 345 ResourceType StringToResourceType(const char* type);
336 346
337 ImageFormat StringToImageFormat(const char* format); 347 ImageFormat StringToImageFormat(const char* format);
348
349 LogLevel StringToLogLevel(const char* format);
338 350
339 unsigned int GetBytesPerPixel(PixelFormat format); 351 unsigned int GetBytesPerPixel(PixelFormat format);
340 352
341 bool GetDicomEncoding(Encoding& encoding, 353 bool GetDicomEncoding(Encoding& encoding,
342 const char* specificCharacterSet); 354 const char* specificCharacterSet);