rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvASCIIHexEncoder Class Reference

ASCII Hex encoder class. More...

#include <ilviews/util/psencode.h>

Inheritance diagram for IlvASCIIHexEncoder:
IlvPostScriptEncoder

List of all members.

Public Member Functions

 IlvASCIIHexEncoder (ostream *stream=0, IlBoolean flush=((IlBoolean) 1))
void consumeByte (IlUChar byte)
 Consumes a byte.
void flush ()
 Flushes the processed data to the output.
const char * getPostScriptDecoderName () const
 Returns a string containing the PostScript decoding filter name.
void init ()
 Initializes or reinitializes the instance.

Detailed Description

ASCII Hex encoder class.

Library: display

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.

See also IlvPostScriptEncoder, IlvRunLengthEncoder, IlvASCII85Encoder, IlvPSDevice, IlvPSColorDevice


Constructor & Destructor Documentation

IlvASCIIHexEncoder::IlvASCIIHexEncoder ( ostream *  stream = 0,
IlBoolean  flush = ((IlBoolean) 1) 
)

Constructor. Initializes a new instance of IlvASCIIHexEncoder.

Parameters:
stream The output stream used by this instance.
flush The character >>/code> is generated when flushing.

Member Function Documentation

void IlvASCIIHexEncoder::consumeByte ( IlUChar  byte  )  [virtual]

Consumes a byte.

Parameters:
byte The received byte.

Implements IlvPostScriptEncoder.

const char* IlvASCIIHexEncoder::getPostScriptDecoderName (  )  const [virtual]

Returns a string containing the PostScript decoding filter name.

Returns:
The string "/ASCIIHexDecode".

Implements IlvPostScriptEncoder.


© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.