GenericStreamWrapper< InputStream, Encoding > Class Template Reference#
GenericStreamWrapper< InputStream, Encoding > Class Template Reference
A Stream Wrapper. More...
#include <stream.h>
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
Member Typedef Documentation
◆ Ch
template<typename InputStream , typename Encoding = UTF8<>>
typedef Encoding::Ch GenericStreamWrapper< InputStream, Encoding >::Ch |
Constructor & Destructor Documentation
◆ GenericStreamWrapper()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
Member Function Documentation
◆ Flush()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ GetType()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ HasBOM()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ Peek()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ Peek4()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ Put()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ PutBegin()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ PutEnd()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ Take()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
◆ Tell()
template<typename InputStream , typename Encoding = UTF8<>>
|
inline |
Member Data Documentation
◆ is_
template<typename InputStream , typename Encoding = UTF8<>>
|
protected |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/rapidjson/stream.h