Take

Outputs only the first n lines input to it.

Header File

take.h

Description

An instance of this class is a filter object that outputs the first n lines passed to it as input. The number of lines n to output is specified when the Take filter is constructed. If n is zero then no input lines are output; if there are fewer than n lines input to a Take filter then all of the lines input to it are output.

Constructors

Limitations

Known Bugs

Author and Copyright


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