X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestDicomDir.cxx;h=a855b871da90c0b5cc27e1a494f3e795e2c491a7;hb=ba78e6c6d47d6db1528e8e88e5ebde7296a26692;hp=e0ca32abd003007b3ff8d3b32cd37f6d7399a4ff;hpb=1d69b92978803204089d270599133917d944c651;p=gdcm.git diff --git a/Testing/TestDicomDir.cxx b/Testing/TestDicomDir.cxx index e0ca32ab..a855b871 100644 --- a/Testing/TestDicomDir.cxx +++ b/Testing/TestDicomDir.cxx @@ -1,6 +1,27 @@ -#include "gdcm.h" +/*========================================================================= + + Program: gdcm + Module: $RCSfile: TestDicomDir.cxx,v $ + Language: C++ + Date: $Date: 2004/12/03 20:16:56 $ + Version: $Revision: 1.22 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ #include "gdcmDocEntry.h" #include "gdcmDicomDir.h" +#include "gdcmDicomDirPatient.h" +#include "gdcmDicomDirStudy.h" +#include "gdcmDicomDirSerie.h" +#include "gdcmDicomDirImage.h" +#include "gdcmTS.h" #include #include @@ -9,10 +30,10 @@ int TestDicomDir(int argc, char* argv[]) { gdcm::DicomDir *e1; - gdcm::ListDicomDirPatient::iterator itPatient; - gdcm::ListDicomDirStudy::iterator itStudy; - gdcm::ListDicomDirSerie::iterator itSerie; - gdcm::ListDicomDirImage::iterator itImage; + gdcm::ListDicomDirPatient::const_iterator itPatient; + gdcm::ListDicomDirStudy::const_iterator itStudy; + gdcm::ListDicomDirSerie::const_iterator itSerie; + gdcm::ListDicomDirImage::const_iterator itImage; gdcm::TSKey v; std::string file;