]> Creatis software - gdcm.git/blobdiff - Example/PrintDocument.cxx
ENH: * Huge cleanup:
[gdcm.git] / Example / PrintDocument.cxx
index 85e4b2971b5f9a63478fcaa61fbe548cdc672bd1..02f2b33e5d373ac6679d7b3844f3fbbd28e409e2 100644 (file)
@@ -1,10 +1,28 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: PrintDocument.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/12/03 20:16:55 $
+  Version:   $Revision: 1.9 $
+                                                                                
+  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 "gdcmHeader.h"
+
 #include <iostream>
-#include "gdcm.h"
 
 int main(int argc, char* argv[])
 {
  
-   gdcmHeader *e1;
+   gdcm::Header *e1;
    std::string fileName;   
 
    if (argc != 2) {
@@ -21,7 +39,7 @@ int main(int argc, char* argv[])
       fileName += "/test.acr";
    }
    
-   e1= new gdcmHeader( fileName.c_str(), false );
+   e1= new gdcm::Header( fileName.c_str() );
 
    e1->SetPrintLevel(2);