Prepend

Prepends the specified data to its input and outputs the result.

Header File

prepend.h

Description

An instance of this class is a filter object that outputs the data specified when the Prepend filter was constructed, then outputs all of the lines input to it unchanged. Note that if the last line of the data to be prepended doesn`t end with a newline then the first line of input will be appended to that last line; that is, no newline will be inserted between the last line of the prepended data and the first input line.

Constructors

Limitations

Known Bugs

Author and Copyright


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