X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestMakeDicomDir.cxx;h=c560f1b0fe3293990608d961bd89c6c214b4896d;hb=ab9b96bb7b0c77c1beaee820985debe75f04b831;hp=d42e8741ca30a3df3dea81cccc29ce5f9d8cd270;hpb=c4fa2e74a4ce56a0a8db54e4a70d404bec9fc8dd;p=gdcm.git diff --git a/Testing/TestMakeDicomDir.cxx b/Testing/TestMakeDicomDir.cxx index d42e8741..c560f1b0 100644 --- a/Testing/TestMakeDicomDir.cxx +++ b/Testing/TestMakeDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestMakeDicomDir.cxx,v $ Language: C++ - Date: $Date: 2005/08/30 14:40:30 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/08/31 09:29:11 $ + Version: $Revision: 1.9 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -64,9 +64,9 @@ int TestMakeDicomDir(int argc, char *argv[]) // new style (user is allowed no to load Sequences an/or Shadow Groups) dcmdir = new gdcm::DicomDir( ); - // dcmdir->SetLoadMode(GDCM_LD_NOSEQ | GDCM_LD_NOSHADOW); + // dcmdir->SetLoadMode(gdcm::LD_NOSEQ | gdcm::LD_NOSHADOW); // some images have a wrong length for element 0x0000 of private groups - dcmdir->SetLoadMode(GDCM_LD_NOSEQ); + dcmdir->SetLoadMode(gdcm::LD_NOSEQ); dcmdir->SetDirectoryName(dirName); dcmdir->Load( ); @@ -83,7 +83,7 @@ int TestMakeDicomDir(int argc, char *argv[]) } // Create the corresponding DicomDir - dcmdir->WriteDicomDir("NewDICOMDIR"); + dcmdir->Write("NewDICOMDIR"); delete dcmdir; // Read from disc the just written DicomDir