]> Creatis software - gdcm.git/blobdiff - src/gdcmUtil.cxx
//DICOM PS 3-5 7.8.1 a) states that those
[gdcm.git] / src / gdcmUtil.cxx
index 0038698f6d20ab310a92b2e1cc8725eabd0189ca..c836cb4c75dacf14991d265e93231a5badb59b39 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmUtil.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/08/31 15:54:50 $
-  Version:   $Revision: 1.161 $
+  Date:      $Date: 2005/09/06 15:28:49 $
+  Version:   $Revision: 1.163 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -189,7 +189,7 @@ bool Util::IsCleanString(std::string const &s)
   std::cout<< std::endl << s << std::endl;
    for(unsigned int i=0; i<s.size(); i++)
    {
-      std::cout<< std::endl << i << " : " << (unsigned char)s[i] << std::endl;
+      //std::cout<< std::endl << i << " : " << (unsigned char)s[i] << std::endl;
       if (!isprint((unsigned char)s[i]) )
       {
          return false;
@@ -218,8 +218,7 @@ bool Util::IsCleanArea(uint8_t *s, int l)
 /**
  * \brief  Weed out a string from the non-printable characters (in order
  *         to avoid corrupting the terminal of invocation when printing)
- * @param s area to check (uint8_t is just for prototyping. feel free to cast)
- * @param l area length to check
+ * @param s string to check (uint8_t is just for prototyping. feel free to cast)
  */
 std::string Util::CreateCleanString(std::string const &s)
 {
@@ -269,7 +268,6 @@ std::string Util::CreateCleanString(uint8_t *s, int l)
       }
    }
 
-
    return str;
 }
 /**