]> Creatis software - gdcm.git/blobdiff - Doc/Website/News.html
Update
[gdcm.git] / Doc / Website / News.html
index 07d5ae731968567b711f95cdba05331eea661000..7003fa8b6f7926e4d9830d6015c9923b22bb432c 100644 (file)
@@ -286,16 +286,32 @@ For multivaluated numeric DataEntries
 For converting 'Decimal String'
 -->bool GetDSValue(std::vector <double> &valueVector);  
 </pre>
+
 <LI> Avoid too many source file modifications from gdcm1.2 to gdcm1.3
 <pre>
 use :
 
-#define ValEntry              DataEntry
+#define ValEntry                      DataEntry
+#define BinEntry                      DataEntry
+
+#define GetEntryValue(g,e)            GetEntryString(g,e)
+#define GetEntryForcedAsciiValue(g,e) GetEntryString(g,e)
+
+#define GetValEntry(g,e)              GetDataEntry(g,e)
+#define GetBinEntry(g,e)              GetDataEntry(g,e)
+#define GetValue()                    GetString()
+
+#define InsertValEntry(v,g,e,vr)      InsertEntryString(v,g,e,vr) // warning mind the VR!
+#define InsertBinEntry(b,l,g,e,vr)    InsertEntryBinArea(b,l,g,e,vr)
+
+#define SetValEntry(c,g,e)            SetEntryString(c,g,e)  | !!
+#define SetValEntry(c,en)             SetEntryString(c,en)   | !!
+
+#define SetBinEntry(c,l,en)           SetEntryBinArea(c,l,en)   | !!
+#define SetBinEntry(c,l,g,e)          SetEntryBinArea(c,l,g,e)  | !!
 
-#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!
+#define NewValEntry(g,e,vr)           NewDataEntry(g,e,vr)
+#define NewBinEntry(g,e,vr)           NewDataEntry(g,e,vr)       
 
 </pre>
    </UL>