WvStreams
Public Types | Protected Member Functions | List of all members
WvTypedEncoder< unsigned char, unsigned char, S > Class Template Referenceabstract

Partial template specialization for unsigned char input and output buffer types to avoid compilation errors. More...

#include <wvtypedencoder.h>

Inheritance diagram for WvTypedEncoder< unsigned char, unsigned char, S >:
Inheritance graph
[legend]

Public Types

typedef unsigned char IType
 
typedef unsigned char OType
 
typedef WvBufBase< IType > IBuffer
 
typedef WvBufBase< OType > OBuffer
 
typedef WvBufViewBase< IType > IBufferView
 
typedef WvBufViewBase< OType > OBufferView
 

Protected Member Functions

virtual bool _typedencode (IBuffer &inbuf, OBuffer &outbuf, bool flush)=0
 Typed variant of _encode().
 
virtual bool _typedfinish (OBuffer &outbuf)
 Typed variant of _finish().
 
virtual bool _encode (WvBuf &inbuf, WvBuf &outbuf, bool flush)
 Wrapper implementation of _encode().
 
virtual bool _finish (WvBuf &outbuf)
 Wrapper implementation of _finish().
 

Detailed Description

template<class S>
class WvTypedEncoder< unsigned char, unsigned char, S >

Partial template specialization for unsigned char input and output buffer types to avoid compilation errors.

Definition at line 208 of file wvtypedencoder.h.

Member Typedef Documentation

◆ IType

template<class S >
typedef unsigned char WvTypedEncoder< unsigned char, unsigned char, S >::IType

Definition at line 211 of file wvtypedencoder.h.

◆ OType

template<class S >
typedef unsigned char WvTypedEncoder< unsigned char, unsigned char, S >::OType

Definition at line 212 of file wvtypedencoder.h.

◆ IBuffer

template<class S >
typedef WvBufBase<IType> WvTypedEncoder< unsigned char, unsigned char, S >::IBuffer

Definition at line 213 of file wvtypedencoder.h.

◆ OBuffer

template<class S >
typedef WvBufBase<OType> WvTypedEncoder< unsigned char, unsigned char, S >::OBuffer

Definition at line 214 of file wvtypedencoder.h.

◆ IBufferView

template<class S >
typedef WvBufViewBase<IType> WvTypedEncoder< unsigned char, unsigned char, S >::IBufferView

Definition at line 215 of file wvtypedencoder.h.

◆ OBufferView

template<class S >
typedef WvBufViewBase<OType> WvTypedEncoder< unsigned char, unsigned char, S >::OBufferView

Definition at line 216 of file wvtypedencoder.h.

Member Function Documentation

◆ _typedencode()

template<class S >
virtual bool WvTypedEncoder< unsigned char, unsigned char, S >::_typedencode ( IBuffer inbuf,
OBuffer outbuf,
bool  flush 
)
protectedpure virtual

Typed variant of _encode().

See also
_encode(WvBuf&, WvBuf&, bool)

◆ _typedfinish()

template<class S >
virtual bool WvTypedEncoder< unsigned char, unsigned char, S >::_typedfinish ( OBuffer outbuf)
inlineprotectedvirtual

Typed variant of _finish().

See also
_finish(WvBuf&)

Definition at line 230 of file wvtypedencoder.h.

◆ _encode()

template<class S >
virtual bool WvTypedEncoder< unsigned char, unsigned char, S >::_encode ( WvBuf &  inbuf,
WvBuf &  outbuf,
bool  flush 
)
inlineprotectedvirtual

Wrapper implementation of _encode().

Definition at line 234 of file wvtypedencoder.h.

References WvTypedEncoder< IT, OT, S >::_typedencode(), and WvTypedEncoder< IT, OT, S >::flush().

◆ _finish()

template<class S >
virtual bool WvTypedEncoder< unsigned char, unsigned char, S >::_finish ( WvBuf &  outbuf)
inlineprotectedvirtual

Wrapper implementation of _finish().

Definition at line 241 of file wvtypedencoder.h.

References WvTypedEncoder< IT, OT, S >::_typedfinish().


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