X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestDicomDir.cxx;h=5690f519dfdd3f6644e5608bde555b476b96a54e;hb=da22c7c2f2831169a938cde3fb146047041dd636;hp=478ed7588db1d80a1b55f38dc37076b977127e03;hpb=672fdd02ec4d8f1fa7b15f438c96cbf3f52b64e6;p=gdcm.git diff --git a/Testing/TestDicomDir.cxx b/Testing/TestDicomDir.cxx index 478ed758..5690f519 100644 --- a/Testing/TestDicomDir.cxx +++ b/Testing/TestDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDicomDir.cxx,v $ Language: C++ - Date: $Date: 2007/03/23 15:03:01 $ - Version: $Revision: 1.44 $ + Date: $Date: 2007/04/12 13:06:02 $ + Version: $Revision: 1.45 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -105,6 +105,9 @@ int TestDicomDir(int argc, char *argv[]) file += "/DICOMDIR"; } + std::cout << "DicomDir we're going to deal with : ["<< file << "]" + << std::endl; + dicomdir = gdcm::DicomDir::New(); dicomdir->SetFileName(file); dicomdir->Load(); @@ -178,12 +181,22 @@ int TestDicomDir(int argc, char *argv[]) pa1 = dicomdir->GetNextPatient(); } +/* +// this one is *really* too much verbose! + std::cout << std::endl << std::endl << " = DICOMDIR full content ====================================" << std::endl<< std::endl; - // dicomdir->Print(); - + dicomdir->Print(); + std::cout << std::endl << std::endl + << " = end of DICOMDIR full content ====================================" + << std::endl<< std::endl; +*/ // ------------------------- second stage --------------------------- + + + gdcm::Debug::DebugOn(); + // Write on disc what we read dicomdir->Write("NewDICOMDIR");