ZStreamW_HexStrim Class Reference

A write filter stream that takes binary data and writes hex characters to its sink strim. More...

#include <ZStream_HexStrim.h>

Inheritance diagram for ZStreamW_HexStrim:

ZStreamW List of all members.

Public Member Functions

 ZStreamW_HexStrim (const std::string &iByteSeparator, const std::string &iChunkSeparator, size_t iChunkSize, const ZStrimW &iStrimSink)
 ZStreamW_HexStrim (const std::string &iByteSeparator, const std::string &iChunkSeparator, size_t iChunkSize, bool iUseUnderscore, const ZStrimW &iStrimSink)

Detailed Description

A write filter stream that takes binary data and writes hex characters to its sink strim.


Constructor & Destructor Documentation

ZStreamW_HexStrim::ZStreamW_HexStrim ( const std::string &  iByteSeparator,
const std::string &  iChunkSeparator,
size_t  iChunkSize,
const ZStrimW iStrimSink 
)

Parameters:
iByteSeparator A UTF-8 string to be inserted between each byte that is output.
iChunkSeparator A UTF-8 string to be inserted between each chunk that is output.
iChunkSize The number of bytes to treat as a chunk.
iStrimSink The strim to which characters should be written.

ZStreamW_HexStrim::ZStreamW_HexStrim ( const std::string &  iByteSeparator,
const std::string &  iChunkSeparator,
size_t  iChunkSize,
bool  iUseUnderscore,
const ZStrimW iStrimSink 
)

Parameters:
iByteSeparator A UTF-8 string to be inserted between each byte that is output.
iChunkSeparator A UTF-8 string to be inserted between each chunk that is output.
iChunkSize The number of bytes to treat as a chunk.
iUseUnderscore If true then an underscore should be output in place of zero, if false then a zero is output. This is useful when what's being output is the hex representation of a 4 bit per pixel grayscale pixmap, in which case underscores are output for black pixels, and visually drop out somewhat.
iStrimSink The strim to which characters should be written.


The documentation for this class was generated from the following files:
Generated on Thu Jul 26 11:22:05 2007 for ZooLib by  doxygen 1.4.7