Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
GenericStreamWrapper< InputStream, Encoding > Class Template Reference

A Stream Wrapper. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/internal/json/rapidjson/stream.h>

Collaboration diagram for GenericStreamWrapper< 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 GenericStreamWrapper< InputStream, Encoding >

A Stream Wrapper.

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

Note
implements Stream concept

Definition at line 120 of file stream.h.

Member Typedef Documentation

◆ Ch

template<typename InputStream, typename Encoding = UTF8<>>
typedef Encoding::Ch GenericStreamWrapper< InputStream, Encoding >::Ch

Definition at line 122 of file stream.h.

Constructor & Destructor Documentation

◆ GenericStreamWrapper()

template<typename InputStream, typename Encoding = UTF8<>>
GenericStreamWrapper< InputStream, Encoding >::GenericStreamWrapper ( InputStream & is)
inline

Definition at line 123 of file stream.h.

Member Function Documentation

◆ Flush()

template<typename InputStream, typename Encoding = UTF8<>>
void GenericStreamWrapper< InputStream, Encoding >::Flush ( )
inline

Definition at line 130 of file stream.h.

◆ GetType()

template<typename InputStream, typename Encoding = UTF8<>>
UTFType GenericStreamWrapper< InputStream, Encoding >::GetType ( ) const
inline

Definition at line 137 of file stream.h.

◆ HasBOM()

template<typename InputStream, typename Encoding = UTF8<>>
bool GenericStreamWrapper< InputStream, Encoding >::HasBOM ( ) const
inline

Definition at line 138 of file stream.h.

◆ Peek()

template<typename InputStream, typename Encoding = UTF8<>>
Ch GenericStreamWrapper< InputStream, Encoding >::Peek ( ) const
inline

Definition at line 125 of file stream.h.

◆ Peek4()

template<typename InputStream, typename Encoding = UTF8<>>
const Ch * GenericStreamWrapper< InputStream, Encoding >::Peek4 ( ) const
inline

Definition at line 134 of file stream.h.

◆ Put()

template<typename InputStream, typename Encoding = UTF8<>>
void GenericStreamWrapper< InputStream, Encoding >::Put ( Ch ch)
inline

Definition at line 129 of file stream.h.

◆ PutBegin()

template<typename InputStream, typename Encoding = UTF8<>>
Ch * GenericStreamWrapper< InputStream, Encoding >::PutBegin ( )
inline

Definition at line 128 of file stream.h.

◆ PutEnd()

template<typename InputStream, typename Encoding = UTF8<>>
size_t GenericStreamWrapper< InputStream, Encoding >::PutEnd ( Ch * ch)
inline

Definition at line 131 of file stream.h.

◆ Take()

template<typename InputStream, typename Encoding = UTF8<>>
Ch GenericStreamWrapper< InputStream, Encoding >::Take ( )
inline

Definition at line 126 of file stream.h.

◆ Tell()

template<typename InputStream, typename Encoding = UTF8<>>
size_t GenericStreamWrapper< InputStream, Encoding >::Tell ( )
inline

Definition at line 127 of file stream.h.

Member Data Documentation

◆ is_

template<typename InputStream, typename Encoding = UTF8<>>
InputStream& GenericStreamWrapper< InputStream, Encoding >::is_
protected

Definition at line 141 of file stream.h.


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