]> Creatis software - gdcm.git/blobdiff - src/gdcmCommon.h
* Rename the NO_SEQ, NO_SHADOW, NO_SHADOWSEQ to
[gdcm.git] / src / gdcmCommon.h
index 3fb05d9f0b9db55cf80dd4f5c82219c51998f444..6b0330cdbf955cc55eab3755d73d6184ff493d68 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmCommon.h,v $
   Language:  C++
-  Date:      $Date: 2005/08/30 08:05:50 $
-  Version:   $Revision: 1.86 $
+  Date:      $Date: 2005/08/30 14:40:32 $
+  Version:   $Revision: 1.87 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -196,6 +196,23 @@ enum CompOperators {
    GDCM_LESS,
    GDCM_LESSOREQUAL
 };
+
+// Loading mode
+#define GDCM_LD_ALL         0x00000000
+#define GDCM_LD_NOSEQ       0x00000001
+#define GDCM_LD_NOSHADOW    0x00000002
+#define GDCM_LD_NOSHADOWSEQ 0x00000004
+
+enum LodModeType
+{
+   LD_ALL         = GDCM_LD_ALL, // Load all
+   LD_NOSEQ       = GDCM_LD_NOSEQ, // Don't load odd groups
+   LD_NOSHADOW    = GDCM_LD_NOSHADOW, // Don't load Sequences
+   LD_NOSHADOWSEQ = GDCM_LD_NOSHADOWSEQ // Don't load Sequences if they belong 
+                                                   // to an odd group
+                                                   // (*exclusive* from LD_NOSEQ and LD_NOSHADOW)
+};
+
 /**
  * \brief structure, for internal use only
  */