]> Creatis software - gdcm.git/commitdiff
New 'quicker' code releases some BinEntries :-(
authorjpr <jpr>
Wed, 7 Sep 2005 10:39:45 +0000 (10:39 +0000)
committerjpr <jpr>
Wed, 7 Sep 2005 10:39:45 +0000 (10:39 +0000)
Revert to old one

src/gdcmVR.cxx

index f42fec4184e1698f187fb926fe7a61fe7c94cd8c..5cac6be39821e3d28e6d4957e8324259e98b138e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmVR.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/06 15:36:02 $
-  Version:   $Revision: 1.38 $
+  Date:      $Date: 2005/09/07 10:39:45 $
+  Version:   $Revision: 1.39 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -115,7 +115,7 @@ bool VR::IsVROfBinaryRepresentable(VRKey const &tested)
 bool VR::IsVROfStringRepresentable(VRKey const &tested)
 {
 
-/*
+
    return tested == "AE" ||
           tested == "AS" ||
           tested == "CS" ||
@@ -134,15 +134,15 @@ bool VR::IsVROfStringRepresentable(VRKey const &tested)
           tested == "UL" ||
           tested == "US" ||
           tested == "UT";
-*/
-   // Should be quicker 
 
+   // Should be quicker --> But it doesn't work : revert to old code
+/*
    return tested != "FL" &&
           tested != "FD" &&
           tested != "OB" &&
           tested != "OW" &&
           tested != "SQ" ;
-
+*/
 }
 
 //-----------------------------------------------------------------------------