bes  Updated for version 3.20.6
AutoUTFOutputStream< CharType, OutputByteStream > Class Template Reference

Output stream wrapper with dynamically bound encoding and automatic encoding detection. More...

#include <encodedstream.h>

Collaboration diagram for AutoUTFOutputStream< CharType, OutputByteStream >:
Collaboration graph

Public Types

typedef CharType Ch
 
typedef CharType Ch
 

Public Member Functions

 AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM)
 Constructor. More...
 
 AutoUTFOutputStream (OutputByteStream &os, UTFType type, bool putBOM)
 Constructor. More...
 
void Flush ()
 
void Flush ()
 
UTFType GetType () const
 
UTFType GetType () const
 
Ch Peek () const
 
Ch Peek () const
 
void Put (Ch c)
 
void Put (Ch c)
 
Ch * PutBegin ()
 
Ch * PutBegin ()
 
size_t PutEnd (Ch *)
 
size_t PutEnd (Ch *)
 
Ch Take ()
 
Ch Take ()
 
size_t Tell () const
 
size_t Tell () const
 

Detailed Description

template<typename CharType, typename OutputByteStream>
class AutoUTFOutputStream< CharType, OutputByteStream >

Output stream wrapper with dynamically bound encoding and automatic encoding detection.

Template Parameters
CharTypeType of character for writing.
OutputByteStreamtype of output byte stream to be wrapped.

Definition at line 233 of file cmr_module/rapidjson/encodedstream.h.

Constructor & Destructor Documentation

◆ AutoUTFOutputStream() [1/2]

template<typename CharType , typename OutputByteStream >
AutoUTFOutputStream< CharType, OutputByteStream >::AutoUTFOutputStream ( OutputByteStream &  os,
UTFType  type,
bool  putBOM 
)
inline

Constructor.

Parameters
osoutput stream to be wrapped.
typeUTF encoding type.
putBOMWhether to write BOM at the beginning of the stream.

Definition at line 244 of file cmr_module/rapidjson/encodedstream.h.

◆ AutoUTFOutputStream() [2/2]

template<typename CharType , typename OutputByteStream >
AutoUTFOutputStream< CharType, OutputByteStream >::AutoUTFOutputStream ( OutputByteStream &  os,
UTFType  type,
bool  putBOM 
)
inline

Constructor.

Parameters
osoutput stream to be wrapped.
typeUTF encoding type.
putBOMWhether to write BOM at the beginning of the stream.

Definition at line 244 of file dmrpp_module/xml2json/include/rapidjson/encodedstream.h.


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