X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDicomDirMeta.cxx;h=b6dec1c957d0535556bb00c673040b55ef22d263;hb=5a3f5987606019da462e19f84565f6713e3ec801;hp=ec3d35b4d4ca69c3dcc1af5f9c7d371f2f8bd535;hpb=d1c68c2c2ae9fadf927053150f7fbc625a7c7366;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.cxx b/src/gdcmDicomDirMeta.cxx index ec3d35b4..b6dec1c9 100644 --- a/src/gdcmDicomDirMeta.cxx +++ b/src/gdcmDicomDirMeta.cxx @@ -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); + } }