charfilt.h
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.
CharacterFilter()
- default constructor
CharacterFilter(const CharacterFilter &f)
- copy constructor