]> Creatis software - gdcm.git/blobdiff - Example/PrintFile.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / Example / PrintFile.cxx
index 0e780d213abf6fde248bdffcdc195cdfd94bbf1f..48bc00a031d62b0068615334ddef4d6b1a956042 100644 (file)
@@ -4,8 +4,8 @@
 int main(int argc, char* argv[])
 {
  
-   gdcmHeader *e1;
-   gdcmFile   *f1;
+   gdcm::Header *e1;
+   gdcm::File   *f1;
    std::string fileName;   
    if (argc != 2) {
       std::cout << " usage : PrintDocument fileName" << std::endl;
@@ -18,9 +18,9 @@ int main(int argc, char* argv[])
       fileName += "/test.acr";
    }
    
-   e1= new gdcmHeader( fileName.c_str() );
+   e1= new gdcm::Header( fileName.c_str() );
 
-   f1 = new gdcmFile(e1);
+   f1 = new gdcm::File(e1);
 
    e1->SetPrintLevel(2);