Classes | Typedefs | Functions
stream.h File Reference
#include "rapidjson.h"
#include "encodings.h"
Include dependency graph for stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GenericInsituStringStream< Encoding >
 A read-write string stream. More...
 
class  GenericStreamWrapper< InputStream, Encoding >
 A Stream Wrapper. More...
 
struct  GenericStringStream< Encoding >
 Read-only string stream. More...
 
struct  StreamTraits< Stream >
 Provides additional information for stream. More...
 
struct  StreamTraits< GenericInsituStringStream< Encoding > >
 
struct  StreamTraits< GenericStringStream< Encoding > >
 

Typedefs

typedef GenericInsituStringStream< UTF8<> > InsituStringStream
 Insitu string stream with UTF8 encoding. More...
 
typedef GenericStringStream< UTF8<> > StringStream
 String stream with UTF8 encoding. More...
 

Functions

template<typename Stream , typename Ch >
void PutN (Stream &stream, Ch c, size_t n)
 Put N copies of a character to a stream. More...
 
template<typename Stream >
void PutReserve (Stream &stream, size_t count)
 Reserve n characters for writing to a stream. More...
 
template<typename Stream >
void PutUnsafe (Stream &stream, typename Stream::Ch c)
 Write character to a stream, presuming buffer is reserved. More...
 

Typedef Documentation

Insitu string stream with UTF8 encoding.

Definition at line 325 of file stream.h.

String stream with UTF8 encoding.

Definition at line 248 of file stream.h.

Function Documentation

template<typename Stream , typename Ch >
void PutN ( Stream &  stream,
Ch  c,
size_t  n 
)
inline

Put N copies of a character to a stream.

Definition at line 103 of file stream.h.

template<typename Stream >
void PutReserve ( Stream &  stream,
size_t  count 
)
inline

Reserve n characters for writing to a stream.

Definition at line 88 of file stream.h.

template<typename Stream >
void PutUnsafe ( Stream &  stream,
typename Stream::Ch  c 
)
inline

Write character to a stream, presuming buffer is reserved.

Definition at line 96 of file stream.h.



xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54