]> Creatis software - gdcm.git/blobdiff - Example/PrintDicomDir.cxx
ENH: update for the gdcmDebug changes
[gdcm.git] / Example / PrintDicomDir.cxx
index 257823e89c6caed0781d69efb04b1a57e281755b..1baf901ca2bc892014c5d831b438ae19f69c7bbf 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PrintDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/16 04:26:17 $
-  Version:   $Revision: 1.6 $
+  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
      PURPOSE.  See the above copyright notices for more information.
                                                                                 
 =========================================================================*/
-#include <iostream>
-#include "gdcm.h"
 #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 <fstream>
-
-using namespace std;
+#include <iostream>
 
 int main(int argc, char* argv[])
 {  
@@ -32,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; 
@@ -90,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;