From: jpr Date: Wed, 7 Sep 2005 10:39:45 +0000 (+0000) Subject: New 'quicker' code releases some BinEntries :-( X-Git-Tag: Version1.2.bp~100 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=038511d7b58612fbd10dfac36683b23e17560e42;p=gdcm.git New 'quicker' code releases some BinEntries :-( Revert to old one --- diff --git a/src/gdcmVR.cxx b/src/gdcmVR.cxx index f42fec41..5cac6be3 100644 --- a/src/gdcmVR.cxx +++ b/src/gdcmVR.cxx @@ -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" ; - +*/ } //-----------------------------------------------------------------------------