From 5e9427db2cf8c6c312dc88c401060ca398b694dc Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 24 Jul 2007 09:49:56 +0000 Subject: [PATCH] Add comment to help converting gdcm1.2 to gdcm1.3 --- Doc/Website/News.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Doc/Website/News.html b/Doc/Website/News.html index 9b8e5fba..07d5ae73 100644 --- a/Doc/Website/News.html +++ b/Doc/Website/News.html @@ -276,7 +276,6 @@ new way : -->void FileHelper::CopyMandatoryEntry(uint16_t group, uint16_t elem, std::string value, const VRKey &vr = GDCM_VRUNKNOWN); -CopyMandatoryEntry(0x0002,0x0003,sop)
  • New features :
     For multivaluated numeric DataEntries
    @@ -286,8 +285,19 @@ For multivaluated numeric DataEntries
     
     For converting 'Decimal String'
     -->bool GetDSValue(std::vector <double> &valueVector);  
    -      
    -
  • + +
  • Avoid too many source file modifications from gdcm1.2 to gdcm1.3 +
    +use :
    +
    +#define ValEntry              DataEntry
    +
    +#define GetEntryValue(g,e)    GetEntryString(g,e)
    +#define GetValEntry(g,e)      GetDataEntry(g,e)
    +#define GetValue()            GetString()
    +#define InsertValEntry(a,b,c) InsertEntryString(a,b,c) // warning mind the VR!
    +
    +
  • Bug fixes -- 2.45.1