]> Creatis software - gdcm.git/commitdiff
Add comment to help converting gdcm1.2 to gdcm1.3
authorjpr <jpr>
Tue, 24 Jul 2007 09:49:56 +0000 (09:49 +0000)
committerjpr <jpr>
Tue, 24 Jul 2007 09:49:56 +0000 (09:49 +0000)
Doc/Website/News.html

index 9b8e5fba7c19939da00f1d6dbcc71c11a31b71de..07d5ae731968567b711f95cdba05331eea661000 100644 (file)
@@ -276,7 +276,6 @@ new way :
 -->void FileHelper::CopyMandatoryEntry(uint16_t group, uint16_t elem, std::string value,
                                        const VRKey &vr = GDCM_VRUNKNOWN);
 </pre>
-CopyMandatoryEntry(0x0002,0x0003,sop)
 <LI> New features :
 <pre>
 For multivaluated numeric DataEntries
@@ -286,8 +285,19 @@ For multivaluated numeric DataEntries
 
 For converting 'Decimal String'
 -->bool GetDSValue(std::vector &lt;double&gt; &valueVector);  
-      </pre>
-      <LI>
+</pre>
+<LI> Avoid too many source file modifications from gdcm1.2 to gdcm1.3
+<pre>
+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!
+
+</pre>
    </UL> 
       
    <LI> Bug fixes