rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvASCII85Encoder Class Reference

ASCII85 encoder class. More...

#include <ilviews/util/psencode.h>

Inheritance diagram for IlvASCII85Encoder:
IlvPostScriptEncoder

List of all members.

Public Member Functions

 IlvASCII85Encoder (ostream *stream=0)
 ~IlvASCII85Encoder ()
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

ASCII85 encoder class.

Library: display

This class allows you to encode binary data to data in ASCII characters representation. For every 4 bytes of input data, 5 bytes are generated. This encoding uses an ASCII 85 base, generating characters in the range ! through u.

See also IlvPostScriptEncoder, IlvASCIIHexEncoder, IlvRunLengthEncoder, IlvPSDevice, IlvPSColorDevice


Constructor & Destructor Documentation

IlvASCII85Encoder::IlvASCII85Encoder ( ostream *  stream = 0  ) 

Constructor. Initializes a new instance of IlvASCII85Encoder.

Parameters:
stream The output stream used by this instance.
IlvASCII85Encoder::~IlvASCII85Encoder (  ) 

Destructor.


Member Function Documentation

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

Consumes a byte.

Parameters:
byte The received byte.

Implements IlvPostScriptEncoder.

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

Returns a string containing the PostScript decoding filter name.

Returns:
The string "/ASCII85Decode".

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.