rapidjson::CursorStreamWrapper< InputStream, Encoding > Class Template Reference

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

#include <cursorstreamwrapper.h>

Inheritance diagram for rapidjson::CursorStreamWrapper< InputStream, Encoding >:
rapidjson::GenericStreamWrapper< InputStream, Encoding >

Public Types

typedef Encoding::Ch Ch
 
- Public Types inherited from rapidjson::GenericStreamWrapper< InputStream, Encoding >
typedef Encoding::Ch Ch
 

Public Member Functions

 CursorStreamWrapper (InputStream &is)
 
Ch Take ()
 
size_t GetLine () const
 Get the error line number, if error exists.
 
size_t GetColumn () const
 Get the error column number, if error exists.
 
- Public Member Functions inherited from rapidjson::GenericStreamWrapper< InputStream, Encoding >
 GenericStreamWrapper (InputStream &is)
 
Ch Peek () const
 
Ch Take ()
 
size_t Tell ()
 
Ch * PutBegin ()
 
void Put (Ch ch)
 
void Flush ()
 
size_t PutEnd (Ch *ch)
 
const Ch * Peek4 () const
 
UTFType GetType () const
 
bool HasBOM () const
 

Additional Inherited Members

- Protected Attributes inherited from rapidjson::GenericStreamWrapper< InputStream, Encoding >
InputStream & is_
 

Detailed Description

template<typename InputStream, typename Encoding = UTF8<>>
class rapidjson::CursorStreamWrapper< InputStream, Encoding >

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

Template Parameters
InputStreamAny stream that implements Stream Concept

The documentation for this class was generated from the following file: