X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDicomDir.cxx;h=1baf901ca2bc892014c5d831b438ae19f69c7bbf;hb=9b424310ddd5033481f5b95929645e9014882398;hp=6a21a08a9666bd3e502d1f45af27ae1884ef31f7;hpb=2f27193f6cbd42d1143738e40563b4a4bd4a0c8a;p=gdcm.git diff --git a/Example/PrintDicomDir.cxx b/Example/PrintDicomDir.cxx index 6a21a08a..1baf901c 100644 --- a/Example/PrintDicomDir.cxx +++ b/Example/PrintDicomDir.cxx @@ -1,12 +1,31 @@ -#include -#include "gdcm.h" +/*========================================================================= + + Program: gdcm + Module: $RCSfile: PrintDicomDir.cxx,v $ + Language: C++ + Date: $Date: 2004/12/07 09:08:45 $ + Version: $Revision: 1.8 $ + + 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 "gdcmDocument.h" #include "gdcmDicomDir.h" #include "gdcmValEntry.h" +#include "gdcmDicomDirPatient.h" +#include "gdcmDicomDirStudy.h" +#include "gdcmDicomDirSerie.h" +#include "gdcmDicomDirImage.h" +#include "gdcmTS.h" #include - -using namespace std; +#include int main(int argc, char* argv[]) { @@ -15,7 +34,7 @@ int main(int argc, char* argv[]) gdcm::ListDicomDirPatient::const_iterator itPatient; gdcm::ListDicomDirStudy::const_iterator itStudy; gdcm::ListDicomDirSerie::const_iterator itSerie; - gdcm::ListDicomDirImage::const_iterator itImage; + //gdcm::ListDicomDirImage::const_iterator itImage; gdcm::TSKey v; std::string file; @@ -73,7 +92,7 @@ int main(int argc, char* argv[]) */ - cout << std::endl << std::endl + std::cout << std::endl << std::endl << " = PATIENT/STUDY/SERIE List ==================================" << std::endl<< std::endl;