]> Creatis software - gdcm.git/blobdiff - src/gdcmDefaultDicts.cxx.in
Try to explain better what SwapCode means
[gdcm.git] / src / gdcmDefaultDicts.cxx.in
index 727be345d11c302182a8fa5ae868de5d45ca9925..6c3c53d571ca025a73f463d5630771decb7e5164 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDefaultDicts.cxx.in,v $
   Language:  C++
-  Date:      $Date: 2004/11/03 20:52:13 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2005/01/07 12:29:17 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -32,9 +32,9 @@ typedef struct
 {
   uint16_t group;
   uint16_t element;
-  char *vr;
-  char *fourth;
-  char *name;
+  const char *vr;
+  const char *vm;
+  const char *name;
 } DICT_ENTRY;
 
 static DICT_ENTRY datadir[] = {
@@ -47,7 +47,7 @@ void FillDefaultDataDict(Dict *d)
   DICT_ENTRY n = datadir[i];
   while( n.name != 0 )
     {
-    const DictEntry e( n.group, n.element, n.vr, n.fourth, n.name);
+    const DictEntry e( n.group, n.element, n.vr, n.vm, n.name);
     d->AddNewEntry( e );
     n = datadir[++i];
     }
@@ -65,10 +65,10 @@ void FillDefaultVRDict(VRHT & vr)
 
 typedef struct
 {
-  char *type;
+  const char *type;
   unsigned short group;
   unsigned short element;
-  char *value;
+  const char *value;
 } ELEMENT;
 
 static ELEMENT dataelement[] = {