From: jpr Date: Wed, 13 Feb 2008 18:55:28 +0000 (+0000) Subject: Data Elements of any length are now rewritten X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4a301cb7dd6feb87518b533d892dadd74b8a5de7;p=gdcm.git Data Elements of any length are now rewritten --- diff --git a/Example/ReWrite.cxx b/Example/ReWrite.cxx index ebf50a24..8be2d7c9 100644 --- a/Example/ReWrite.cxx +++ b/Example/ReWrite.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: ReWrite.cxx,v $ Language: C++ - Date: $Date: 2007/09/14 08:23:34 $ - Version: $Revision: 1.33 $ + Date: $Date: 2008/02/13 18:55:28 $ + Version: $Revision: 1.34 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -154,11 +154,10 @@ int main(int argc, char *argv[]) // ----------- End Arguments Manager --------- GDCM_NAME_SPACE::File *f = GDCM_NAME_SPACE::File::New(); - f->SetMaxSizeLoadEntry(0x7fff); - + f->SetMaxSizeLoadEntry(0x7fffffff); f->SetLoadMode( loadMode ); - f->SetFileName( fileName ); + bool res = f->Load(); if ( !res ) {