X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDefaultDicts.cxx.in;h=6c3c53d571ca025a73f463d5630771decb7e5164;hb=6be82e2c1c1600494b0adfab5e14a584c858ea32;hp=727be345d11c302182a8fa5ae868de5d45ca9925;hpb=559c3639fc5b255b36a951f352db1addead9f78f;p=gdcm.git diff --git a/src/gdcmDefaultDicts.cxx.in b/src/gdcmDefaultDicts.cxx.in index 727be345..6c3c53d5 100644 --- a/src/gdcmDefaultDicts.cxx.in +++ b/src/gdcmDefaultDicts.cxx.in @@ -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[] = {