ASCII Hex encoder class. More...
#include <ilviews/util/psencode.h>
Public Member Functions | |
IlvASCIIHexEncoder (std::ostream *stream=0, IlBoolean flush=IlTrue) | |
Initializes a new IlvASCIIHexEncoder instance. More... | |
virtual void | consumeByte (IlUChar byte) |
Consumes a byte. More... | |
virtual void | flush () |
Flushes the processed data to the output. | |
virtual const char * | getPostScriptDecoderName () const |
Returns a string containing the PostScript decoding filter name. More... | |
virtual void | init () |
Initializes or reinitializes the instance. | |
Public Member Functions inherited from IlvPostScriptEncoder | |
virtual void | consumeBytes (IlUInt count, IlUChar const *bytes) |
Consumes an array of bytes. More... | |
virtual void | emitByte (IlUChar byte) |
Emits a byte. More... | |
virtual void | emitBytes (IlUInt count, IlUChar const *bytes) |
Emits an array of bytes. More... | |
IlvPostScriptEncoder * | getEmitter () const |
Return the emitter. More... | |
std::ostream * | getStream () const |
Return the stream used by this instance. More... | |
void | setEmitter (IlvPostScriptEncoder *emitter) |
Sets the emitter for this encoder. More... | |
virtual void | setStream (std::ostream *stream) |
Sets the output stream used by this instance. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from IlvPostScriptEncoder | |
static IlString | GetFullDecoderString (const IlvPostScriptEncoder *pse) |
Returns the full string for an encoder. More... | |
Protected Member Functions inherited from IlvPostScriptEncoder | |
IlvPostScriptEncoder (std::ostream *stream=0) | |
Initializes a new instance IlvPostScriptEncoder instance. More... | |
ASCII Hex encoder class.
Library: xviews or winviews or mviews (mutually exclusive)
This class allows you to encode binary data to data in ASCII hexadecimal representation. This format implies an expansion factor of 2 for the encoded data.
Initializes a new IlvASCIIHexEncoder
instance.
stream | The output stream used by this instance. |
flush | The character \> is generated when flushing. |
|
virtual |
|
virtual |
Returns a string containing the PostScript decoding filter name.
Implements IlvPostScriptEncoder.