]> Creatis software - gdcm.git/commitdiff
STYLE: Remove cout
authormalaterre <malaterre>
Thu, 27 Oct 2005 18:14:01 +0000 (18:14 +0000)
committermalaterre <malaterre>
Thu, 27 Oct 2005 18:14:01 +0000 (18:14 +0000)
src/gdcmUtil.cxx

index 7ac1484ca0683a69fb55e8ddd6c3425a4d8bffcb..4aa3619ff8b81e6b09e1f5ba95fcdab3efaed368 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmUtil.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/27 17:04:36 $
-  Version:   $Revision: 1.170 $
+  Date:      $Date: 2005/10/27 18:14:01 $
+  Version:   $Revision: 1.171 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -192,7 +192,7 @@ int Util::CountSubstring (const std::string &str,
  */
 bool Util::IsCleanString(std::string const &s)
 {
-   std::cout<< std::endl << s << std::endl;
+   //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;
@@ -1027,7 +1027,7 @@ std::ostream &binary_write(std::ostream &os, std::string const &val)
  */ 
 std::ostream &binary_write(std::ostream &os, const uint8_t *val, size_t len)
 {
-std::cout << "binary_write " << len << std::endl;
+    gdcmDebugMacro( "binary_write " << len );
    // We are writting sizeof(char) thus no need to swap bytes
    return os.write(reinterpret_cast<const char*>(val), len);
 }