// $Id$
//
-// Copyright (C) 2008
+// Copyright (C) 2008
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
#include "hexdump.ih"
// Custom includes
-#include <iomanip>
+#include <iomanip>
//#include "hexdump.mpp"
#define prefix_
-///////////////////////////////cc.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef DOXYGEN
prefix_ void senf::detail::HexDumper::operator()(unsigned char ch)
ascii_ = "";
}
os_ << " "
- << std::hex << std::setw(4) << std::setfill('0')
+ << std::hex << std::setw(4) << std::setfill('0') << std::right
<< offset_ << ' ';
} else if ((offset_ % block_size_) == block_size_/2) {
os_ << " ";
}
}
-#endif
-///////////////////////////////cc.e////////////////////////////////////////
+#endif
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#undef prefix_
//#include "hexdump.mpp"