16#ifndef RAPIDJSON_CURSORSTREAMWRAPPER_H_
17#define RAPIDJSON_CURSORSTREAMWRAPPER_H_
23RAPIDJSON_DIAG_OFF(effc++)
26#if defined(_MSC_VER) && _MSC_VER <= 1800
28RAPIDJSON_DIAG_OFF(4702)
29RAPIDJSON_DIAG_OFF(4512)
39template <
typename InputStream,
typename Encoding = UTF8<> >
42 typedef typename Encoding::Ch Ch;
49 Ch ch = this->is_.Take();
69#if defined(_MSC_VER) && _MSC_VER <= 1800
Cursor stream wrapper for counting line and column number if error exists.
size_t line_
Current Line.
size_t col_
Current Column.
size_t GetLine() const
Get the error line number, if error exists.
size_t GetColumn() const
Get the error column number, if error exists.
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)