]> Creatis software - gdcm.git/commitdiff
Try to track 'FIXME' VM problem
authorjpr <jpr>
Wed, 9 Nov 2005 08:36:47 +0000 (08:36 +0000)
committerjpr <jpr>
Wed, 9 Nov 2005 08:36:47 +0000 (08:36 +0000)
src/gdcmValidator.cxx

index aa195fc9df961fdfe70231b3b9360c78290b9a66..d156d02aa418d936748c58d311c53863cb2eb565 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmValidator.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/11/07 13:58:00 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2005/11/09 08:36:47 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -99,10 +99,14 @@ DocEntry *d;
       if ( v->GetVM() != gdcm::GDCM_UNKNOWN )
          if ( !CheckVM(v) )
          {
+         if (v->GetVM() == "FIXME" )
+             std::cout << "For Tag " <<  v->GetKey() << " VM = ["
+                       << v->GetVM() << "]" << std::endl;
            std::cout << "Tag (" <<  v->GetKey() 
                      << ")-> [" << v->GetName() << "] contains an illegal VM. "
                      << "value [" << v->GetString() << "] VR :"
-                     << v->GetVR() << ", Expected VM :" << v->GetVM() << " " 
+                     << v->GetVR() << ", Expected VM : [" << v->GetVM() << "] " 
                      << std::endl;
          }