Public Types | Public Member Functions | Protected Attributes | List of all members
GenericStreamWrapper< InputStream, Encoding > Class Template Reference

A Stream Wrapper. More...

#include <stream.h>

Inheritance diagram for GenericStreamWrapper< InputStream, Encoding >:
Inheritance graph
[legend]

Public Types

typedef Encoding::Ch Ch
 

Public Member Functions

void Flush ()
 
 GenericStreamWrapper (InputStream &is)
 
UTFType GetType () const
 
bool HasBOM () const
 
Ch Peek () const
 
const ChPeek4 () const
 
void Put (Ch ch)
 
ChPutBegin ()
 
size_t PutEnd (Ch *ch)
 
Ch Take ()
 
size_t Tell ()
 

Protected Attributes

InputStream & is_
 

Detailed Description

template<typename InputStream, typename Encoding = UTF8<>>
class 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

Definition at line 125 of file stream.h.

Member Typedef Documentation

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

Definition at line 127 of file stream.h.

Constructor & Destructor Documentation

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

Definition at line 128 of file stream.h.

Member Function Documentation

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

Definition at line 135 of file stream.h.

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

Definition at line 142 of file stream.h.

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

Definition at line 143 of file stream.h.

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

Definition at line 130 of file stream.h.

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

Definition at line 139 of file stream.h.

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

Definition at line 134 of file stream.h.

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

Definition at line 133 of file stream.h.

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

Definition at line 136 of file stream.h.

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

Definition at line 131 of file stream.h.

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

Definition at line 132 of file stream.h.

Member Data Documentation

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

Definition at line 146 of file stream.h.


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


livox_ros_driver
Author(s): Livox Dev Team
autogenerated on Mon Mar 15 2021 02:40:46