CharacterFilter

Abstract base class for filters that process their input character by character.

Header File

charfilt.h

Description

Filter classes derived from this abstract class process their input a character at a time by overriding the pure virtual function CharacterFilter::processChar(char ch) instead of a line at a time by overriding the processLine(const String &line) function. All characters in the input are passed to processChar(), including newlines.

The virtual functions beforeInput(), afterInput(), handleError(const FilterError &) and minimize() can be overridden with the usual effects. For more information on writing filter classes see the Filter Classes guide.

Constructors

Limitations

Known Bugs

Author and Copyright


Author: James MacKay
Last Updated: June 8, 1997
Copyright © 1997 James MacKay