]> Creatis software - gdcm.git/blobdiff - Example/PrintDicomDir.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / Example / PrintDicomDir.cxx
index 852ba533ccfff87269dd986668292fc99e3e03a2..c3060c9295d2424fba4370317d7580b2d6350139 100644 (file)
@@ -10,13 +10,13 @@ using namespace std;
 
 int main(int argc, char* argv[])
 {  
-   gdcmDicomDir *e1;
+   gdcm::DicomDir *e1;
    
-   ListDicomDirPatient::iterator  itPatient;
-   ListDicomDirStudy::iterator    itStudy;
-   ListDicomDirSerie::iterator    itSerie;
-   ListDicomDirImage::iterator    itImage;
-   TSKey v;
+   gdcm::ListDicomDirPatient::iterator  itPatient;
+   gdcm::ListDicomDirStudy::iterator    itStudy;
+   gdcm::ListDicomDirSerie::iterator    itSerie;
+   gdcm::ListDicomDirImage::iterator    itImage;
+   gdcm::TSKey v;
     
    std::string file; 
    if (argc > 1) 
@@ -26,7 +26,7 @@ int main(int argc, char* argv[])
       file += "/DICOMDIR";
    }
 
-   e1 = new gdcmDicomDir( file );
+   e1 = new gdcm::DicomDir( file );
 
    if (argc > 2) {
       int level = atoi(argv[2]);