25#ifndef FILTER_READER_H_
26#define FILTER_READER_H_
55 return reader.LineNumber();
87 return reader.LineNumber();
const wxString & GetSource() const override
Returns the name of the source of the lines in an abstract sense.
char * ReadLine() override
Read a line of text into the buffer and increments the line number counter.
FILTER_READER(LINE_READER &aReader)
Does not take ownership over aReader so will not destroy it.
unsigned LineNumber() const override
Return the line number of the last line read from this LINE_READER.
LINE_READER(unsigned aMaxLineLength=LINE_READER_LINE_DEFAULT_MAX)
Build a line reader and fixes the length of the maximum supported line length to aMaxLineLength.
WHITESPACE_FILTER_READER(LINE_READER &aReader)
Do not take ownership over aReader, so will not destroy it.
const wxString & GetSource() const override
Returns the name of the source of the lines in an abstract sense.
unsigned LineNumber() const override
Return the line number of the last line read from this LINE_READER.
char * ReadLine() override
Read a line of text into the buffer and increments the line number counter.
~WHITESPACE_FILTER_READER()