]> Creatis software - gdcm.git/commitdiff
Comments
authorjpr <jpr>
Fri, 4 Nov 2005 15:33:35 +0000 (15:33 +0000)
committerjpr <jpr>
Fri, 4 Nov 2005 15:33:35 +0000 (15:33 +0000)
src/gdcmDicomDirMeta.cxx
src/gdcmDocument.cxx

index 88125c700aaa12b5f59d1ee82f3ecb33b77c8067..0d450d0b979c7a7a0ad36b32fc9a1e5a1923a13a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/03 17:40:22 $
-  Version:   $Revision: 1.33 $
+  Date:      $Date: 2005/11/04 15:33:35 $
+  Version:   $Revision: 1.34 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -59,7 +59,8 @@ void DicomDirMeta::WriteContent(std::ofstream *fp, FileType filetype)
 {  
    // 'File Meta Information Version'
    
-   uint8_t fmiv[2] = {0x02,0x00};      
+   uint8_t fmiv[2] = {0x02,0x00};
+   // FIXME : the following doesn't make the job (?!?)      
    //SetEntryBinArea(fmiv, 0x0002,0x0001, 2); 
    DataEntry *e00002_0001 = GetDataEntry(0x0002,0x0001);
    e00002_0001->CopyBinArea(fmiv, 2);
index 0707e2b97c8617304c39580f184ff9996a37d3c1..dbeb89c48896adaa8015f07f721f06e0fc55983b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/03 14:55:24 $
-  Version:   $Revision: 1.323 $
+  Date:      $Date: 2005/11/04 15:33:35 $
+  Version:   $Revision: 1.324 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -341,7 +341,7 @@ bool Document::IsReadable()
 {
    if ( Filetype == Unknown )
    {
-      gdcmErrorMacro( "Wrong filetype");
+      gdcmErrorMacro( "Wrong filetype for " << GetFileName());
       return false;
    }