X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fhexdump.hh;h=f43f5055467c1e7f79a7b9eb7e96aa6182f2e10b;hb=164fe477094d42463722584e527a02379ab5d985;hp=9dc94580790a4a52886a66ac0125a8d279e59974;hpb=a1a6c76a214ad1935032826713cabaf9ac57bf07;p=senf.git diff --git a/Utils/hexdump.hh b/Utils/hexdump.hh index 9dc9458..f43f505 100644 --- a/Utils/hexdump.hh +++ b/Utils/hexdump.hh @@ -23,8 +23,8 @@ /** \file \brief public header for hexdump */ -#ifndef HH_hexdump_ -#define HH_hexdump_ 1 +#ifndef HH_SENF_Utils_hexdump_ +#define HH_SENF_Utils_hexdump_ 1 // Custom includes #include @@ -34,14 +34,17 @@ namespace senf { - /** \brief Write range [ i, i_end ) to output stream in hexadecimal format - */ + /** \brief Write range [ i, i_end ) to output stream in hexadecimal format */ template void hexdump(Iterator i, Iterator i_end, std::ostream & stream, unsigned block_size=16); + + /** \brief Return quoted iterator range */ + template + std::string hexdumpQuote(Iterator i, Iterator i_end); } ///////////////////////////////hh.e//////////////////////////////////////// -//#include "hexdump.cci" +#include "hexdump.cci" #include "hexdump.ct" //#include "hexdump.cti" //#include "hexdump.mpp"