15 #ifndef RAPIDJSON_CURSORSTREAMWRAPPER_H_ 16 #define RAPIDJSON_CURSORSTREAMWRAPPER_H_ 22 RAPIDJSON_DIAG_OFF(effc++)
25 #if defined(_MSC_VER) && _MSC_VER <= 1800 27 RAPIDJSON_DIAG_OFF(4702)
28 RAPIDJSON_DIAG_OFF(4512)
38 template <
typename InputStream,
typename Encoding = UTF8<> >
41 typedef typename Encoding::Ch Ch;
48 Ch ch = this->is_.Take();
68 #if defined(_MSC_VER) && _MSC_VER <= 1800 78 #endif // RAPIDJSON_CURSORSTREAMWRAPPER_H_ A Stream Wrapper.
Definition: stream.h:119
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:121
size_t GetLine() const
Get the error line number, if error exists.
Definition: cursorstreamwrapper.h:59
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:124
size_t GetColumn() const
Get the error column number, if error exists.
Definition: cursorstreamwrapper.h:61
Cursor stream wrapper for counting line and column number if error exists.
Definition: cursorstreamwrapper.h:39