Return the current line number within the input stream.

Synopsis

Declared in <balxml_utf8readerwrapper.h>

virtual
int
getLineNumber() const override;

Description

The current line is the last line for which the reader has not yet seen a newline. Lines are counted starting at one from the time a stream is provided to open. Return 0 if not available. Note that a derived‐class implementation is not required to count lines and may just return 0.

Return Value

the current line number, or 0 if not available

Created with MrDocs