]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirMeta.cxx
Oops.
[gdcm.git] / src / gdcmDicomDirMeta.cxx
index ec3d35b4d4ca69c3dcc1af5f9c7d371f2f8bd535..b6dec1c957d0535556bb00c673040b55ef22d263 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/02/01 10:29:55 $
-  Version:   $Revision: 1.27 $
+  Date:      $Date: 2005/11/03 11:08:18 $
+  Version:   $Revision: 1.29 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -20,7 +20,7 @@
 #include "gdcmDocument.h"
 #include "gdcmDocEntry.h"
 #include "gdcmGlobal.h"
-
+#include "gdcmDataEntry.h"
 namespace gdcm 
 {
 //-----------------------------------------------------------------------------
@@ -31,11 +31,15 @@ namespace gdcm
 DicomDirMeta::DicomDirMeta(bool empty):
    DicomDirObject()
 {
-   if( !empty )
+   if ( !empty )
    {
+      uint8_t fmiv[2] = {0x02,0x00};
       ListDicomDirStudyElem const &elemList = 
          Global::GetDicomDirElements()->GetDicomDirMetaElements();
       FillObject(elemList);
+
+      SetEntryBinArea(fmiv, 0x0002,0x0001, 2); 
+             
    }
 }