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

A Stream Wrapper. More...

#include <stream.h>

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

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

 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
 

Protected Attributes

InputStream & is_
 

Detailed Description

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

A Stream Wrapper.

string stream is a wrapper for any stream by just forwarding any message to the origin stream.

Note
implements Stream concept

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