]> Creatis software - gdcm.git/blobdiff - Example/FindTags.cxx
COMP: Fix comp on gcc295
[gdcm.git] / Example / FindTags.cxx
index 46aea14bc2f47702e5c01afe4bd4fbbec585fbac..7bd9c00eaa1190cd9bb81c3d62a2b5d6091448c9 100644 (file)
@@ -1,20 +1,37 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: FindTags.cxx,v $
+  Language:  C++
+  Date:      $Date: 2004/11/16 04:26:17 $
+  Version:   $Revision: 1.5 $
+                                                                                
+  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 <iostream>
-//#include <glib.h>
 #include "gdcm.h"
 #include "math.h"
+#include <stdio.h>
 
 int main(int argc, char* argv[]) {  
 
    std::string toto, titi;
 
-   gdcmFile  * f1;
+   gdcm::File  * f1;
 
    if(argc > 1 )
-      f1 = new gdcmFile(argv[1]);
+      f1 = new gdcm::File(argv[1]);
    else  {
       toto = GDCM_DATA_ROOT;
       toto += "/test.acr";
-      f1 = new gdcmFile(toto);
+      f1 = new gdcm::File(toto);
    }
 
    std::string ManufacturerName="SIEMENS ";