Parser.h
Go to the documentation of this file.
bool readRow(IDataSourceStream &source)
Read a single data row using data from provided DataSourceStream.
bool push(const char *data, size_t length, size_t &offset)
Read a single data row, taking data if required from provided buffer.
bool push(Stream &source)
Read a single data row, taking data if required from provided Stream.
const Cursor & getCursor() const
Get cursor position for current row.
Definition: Parser.h:181
unsigned getStreamPos() const
Get stream position where next record will be read from.
Definition: Parser.h:189
Class to manage a double null-terminated list of strings, such as "one\0two\0three\0".
Definition: CStringArray.h:22
Definition: Parser.h:27
Contains location details of the current record in the source stream.
Definition: Parser.h:31
size_t length() const
Get number of source characters in record data.
Definition: Parser.h:38
bool wantComments
Set to true to return comment lines, otherwise they're discarded.
Definition: Parser.h:107
bool parseEscape
Set to true to handle escape sequences ( , \t, etc.)
Definition: Parser.h:103
1.9.1