19 #ifndef RAPIDJSON_CURSORSTREAMWRAPPER_H_ 20 #define RAPIDJSON_CURSORSTREAMWRAPPER_H_ 26 RAPIDJSON_DIAG_OFF(effc++)
29 #if defined(_MSC_VER) && _MSC_VER <= 1800 31 RAPIDJSON_DIAG_OFF(4702)
32 RAPIDJSON_DIAG_OFF(4512)
41 template <
typename InputStream,
typename Encoding = UTF8<>>
44 typedef typename Encoding::Ch
Ch;
51 Ch ch = this->
is_.Take();
71 #if defined(_MSC_VER) && _MSC_VER <= 1800 81 #endif // RAPIDJSON_CURSORSTREAMWRAPPER_H_ Cursor stream wrapper for counting line and column number if error exists.
CursorStreamWrapper(InputStream &is)
size_t line_
Current Line.
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
size_t GetLine() const
Get the error line number, if error exists.
size_t GetColumn() const
Get the error column number, if error exists.
size_t col_
Current Column.