Torque3D Documentation / _generateds / CursorStreamWrapper

CursorStreamWrapper

Engine/source/persistence/rapidjson/cursorstreamwrapper.h

Cursor stream wrapper for counting line and column number if error exists.

More...

Public Types

Encoding::Ch
Ch 

Private Attributes

size_t

Current Column.

size_t

Current Line.

Public Functions

CursorStreamWrapper(InputStream & is)
size_t

Get the error column number, if error exists.

size_t

Get the error line number, if error exists.

Take()

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()