[Gdcm-hackers] gdcm-git:Grassroots DICOM branch master updated. b83745f9fe969d16382533303a94eae3b50
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2019-04-25 10:52:09
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, master has been updated
via b83745f9fe969d16382533303a94eae3b5020a74 (commit)
from 7c60c976d09b621ebbfb02c01098244227769e63 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/b83745f9fe969d16382533303a94eae3b5020a74/
commit b83745f9fe969d16382533303a94eae3b5020a74
Author: Mathieu Malaterre <mat...@gm...>
Date: Thu Apr 25 12:49:20 2019 +0200
Remove use of typedef to define VRType
Use of typedef was required when Borland 5.5.1 (free) was used to
compile GDCM codebase. Now that strongly types enums are used, we can
safely use the new style notation.
diff --git a/Source/DataStructureAndEncodingDefinition/gdcmVR.h b/Source/DataStructureAndEncodingDefinition/gdcmVR.h
index 0fc183b99..a96268b46 100644
--- a/Source/DataStructureAndEncodingDefinition/gdcmVR.h
+++ b/Source/DataStructureAndEncodingDefinition/gdcmVR.h
@@ -54,7 +54,7 @@ namespace gdcm
class GDCM_EXPORT VR
{
public:
- typedef enum : long long {
+ enum VRType : long long {
// Warning: Do not write if ( vr & VR::INVALID ) but if ( vr == VR::INVALID )
INVALID = 0, // For Item/(Seq) Item Delimitation Item
AE = 1,
@@ -106,7 +106,7 @@ public:
VR_VM1 = AS | LT | ST | UT | SQ | OF | OL | OV | OD | OW | OB | UN, // All those VR have a VM1
VRALL = VRASCII | VRBINARY,
VR_END = UV+1 // Invalid VR, need to be max(VRType)+1
- } VRType;
+ };
static const char *GetVRString(VRType vr);
-----------------------------------------------------------------------
Summary of changes:
Source/DataStructureAndEncodingDefinition/gdcmVR.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|