]> Creatis software - gdcm.git/blobdiff - Testing/TestAllReadCompareDicom.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / Testing / TestAllReadCompareDicom.cxx
index 3f1116581bcd9514ddfa5183842818246a99dbc1..7ed852ec505544a1fc3ed0521ff6fb06405cf758 100644 (file)
@@ -8,7 +8,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile
 {
       std::cout << "   Testing: " << filename << std::endl;
 
-      gdcmFile* tested = new gdcmFile( filename );
+      gdcm::File* tested = new gdcm::File( filename );
       if( !tested->GetHeader()->IsReadable() )
       {
         std::cout << "      Image not gdcm compatible:"
@@ -44,7 +44,7 @@ int InternalTest(std::string const & filename, std::string const & referenceFile
 
       ////// When reference file is not gdcm readable test is failed:
   
-      gdcmFile* reference = new gdcmFile( referenceFileName );
+      gdcm::File* reference = new gdcm::File( referenceFileName );
       if( !reference->GetHeader()->IsReadable() )
       {
          std::cout << "      Reference image " << std::endl