]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.cxx
In order to allow to use current version (1.3) of gdcm *and* ITK (that includes
[gdcm.git] / src / gdcmFile.cxx
index da9c7a8c937eae0d88b0000e5f100b6e62fc9bf4..576f5e89960f0b418a605dc9fab3872c398ee0b5 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/04/12 13:22:49 $
-  Version:   $Revision: 1.329 $
+  Date:      $Date: 2007/05/23 14:18:10 $
+  Version:   $Revision: 1.330 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #include <stdio.h>  //sscanf
 #include <stdlib.h> // for atoi
 
-namespace gdcm
+namespace GDCM_NAME_SPACE
 {
 
 //-----------------------------------------------------------------------------
@@ -1636,7 +1636,7 @@ void File::AnonymizeNoLoad()
 {
    std::fstream *fp = new std::fstream(Filename.c_str(), 
                               std::ios::in | std::ios::out | std::ios::binary); 
-   gdcm::DocEntry *d;
+   GDCM_NAME_SPACE::DocEntry *d;
    uint32_t offset;
    uint32_t lgth;
    uint32_t valLgth = 0;
@@ -1715,7 +1715,7 @@ bool File::AnonymizeFile()
    }
    else
    {
-      gdcm::DocEntry *d;
+      GDCM_NAME_SPACE::DocEntry *d;
       for (ListElements::iterator it = UserAnonymizeList.begin();  
                                   it != UserAnonymizeList.end();
                                 ++it)