]> Creatis software - gdcm.git/blobdiff - src/gdcmGlobal.cxx
* vtk/vtkGdcmWriter.[h|cxx] : now can write stack of images.
[gdcm.git] / src / gdcmGlobal.cxx
index d875390a31a8c121edd37b003aaba4f5981e43e3..8df156b59d369ce511207d72463ab45a0bd4435a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmGlobal.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/12 04:35:46 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2004/12/03 20:16:58 $
+  Version:   $Revision: 1.7 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 =========================================================================*/
 
 #include "gdcmGlobal.h"
+
 #include "gdcmDebug.h"
+#include "gdcmVR.h"
+#include "gdcmTS.h"
+#include "gdcmDictSet.h"
+#include "gdcmDicomDirElement.h"
 
 namespace gdcm 
 {
@@ -63,6 +68,7 @@ Global::Global()
    if (ValRes || TranSyn || Dicts || ddElem)
    {
       dbg.Verbose(0, "Global::Global : VR or TS or Dicts already allocated");
+      return;
    }
    Dicts   = new DictSet();
    ValRes  = new VR();