CursorStreamWrapper
Engine/source/persistence/rapidjson/cursorstreamwrapper.h
Cursor stream wrapper for counting line and column number if error exists.
Public Types
Encoding::Ch
Ch
Public Functions
CursorStreamWrapper(InputStream & is)
size_t
Get the error column number, if error exists.
size_t
GetLine()
Get the error line number, if error exists.
Detailed Description
Cursor stream wrapper for counting line and column number if error exists.
Parameters:
InputStream | Any stream that implements Stream Concept |
Public Types
typedef Encoding::Ch Ch
Private Attributes
size_t col_
Current Column.
size_t line_
Current Line.
Public Functions
CursorStreamWrapper(InputStream & is)
GetColumn()
Get the error column number, if error exists.
GetLine()
Get the error line number, if error exists.
Take()