]> Creatis software - gdcm.git/blobdiff - Example/AnonymizeNoLoad.cxx
* Rename the NO_SEQ, NO_SHADOW, NO_SHADOWSEQ to
[gdcm.git] / Example / AnonymizeNoLoad.cxx
index 6ffea195f9019c58e35a15ae63d51d1b8ffddb66..cf6f22ee5d80c7035ac8ca9cf5dd0077de3d916b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: AnonymizeNoLoad.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/08/28 17:26:31 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2005/08/30 14:40:28 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -75,15 +75,15 @@ int main(int argc, char *argv[])
        return 0;
  }
  
-   int loadMode = 0x00000000;
+   int loadMode = GDCM_LD_ALL;
    if ( am->ArgMgrDefined("noshadowseq") )
-      loadMode |= NO_SHADOWSEQ;
+      loadMode |= GDCM_LD_NOSHADOWSEQ;
    else 
    {
    if ( am->ArgMgrDefined("noshadow") )
-         loadMode |= NO_SHADOW;
+         loadMode |= GDCM_LD_NOSHADOW;
       if ( am->ArgMgrDefined("noseq") )
-         loadMode |= NO_SEQ;
+         loadMode |= GDCM_LD_NOSEQ;
    }
 
    int rubOutNb;