Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

WvTypedEncoder< IT, unsigned char, S > Class Template Reference

#include <wvtypedencoder.h>

Inherits S.

Collaboration diagram for WvTypedEncoder< IT, unsigned char, S >:

[legend]
List of all members.

Detailed Description

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

Partial template specialization for unsigned char output buffer type to avoid compilation errors.

"IType" is the input buffer datatype

Definition at line 130 of file wvtypedencoder.h.

Public Types

typedef IT IType
typedef unsigned char OType
typedef WvBufBase< ITypeIBuffer
typedef WvBufBase< OTypeOBuffer
typedef WvBufViewBase< ITypeIBufferView
typedef WvBufViewBase< OTypeOBufferView

Public Member Functions

bool encode (IBuffer &inbuf, OBuffer &outbuf, bool flush=false, bool finish=false)
 Typed variant of encode().

bool flush (IBuffer &inbuf, OBuffer &outbuf, bool finish=false)
 Typed variant of flush().

bool encode (WvBuf &inbuf, WvBuf &outbuf, bool flush=false, bool finish=false)
bool flush (WvBuf &inbuf, WvBuf &outbuf, bool finish=false)

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().


Member Typedef Documentation

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

Definition at line 135 of file wvtypedencoder.h.

Referenced by encode(), and flush().

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

Definition at line 137 of file wvtypedencoder.h.

Referenced by _encode().

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

Definition at line 133 of file wvtypedencoder.h.

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

Definition at line 136 of file wvtypedencoder.h.

Referenced by _typedfinish(), encode(), and flush().

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

Definition at line 138 of file wvtypedencoder.h.

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

Definition at line 134 of file wvtypedencoder.h.


Member Function Documentation

template<class IT, class S>
virtual bool WvTypedEncoder< IT, unsigned char, S >::_encode WvBuf inbuf,
WvBuf outbuf,
bool  flush
[inline, protected, virtual]
 

Wrapper implementation of _encode().

Definition at line 188 of file wvtypedencoder.h.

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

template<class IT, class S>
virtual bool WvTypedEncoder< IT, unsigned char, S >::_finish WvBuf outbuf  )  [inline, protected, virtual]
 

Wrapper implementation of _finish().

Definition at line 196 of file wvtypedencoder.h.

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

template<class IT, class S>
virtual bool WvTypedEncoder< IT, unsigned char, S >::_typedencode IBuffer inbuf,
OBuffer outbuf,
bool  flush
[protected, pure virtual]
 

Typed variant of _encode().

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

template<class IT, class S>
virtual bool WvTypedEncoder< IT, unsigned char, S >::_typedfinish OBuffer outbuf  )  [inline, protected, virtual]
 

Typed variant of _finish().

See also:
_finish(WvBuf&)

Definition at line 184 of file wvtypedencoder.h.

References OBuffer.

template<class IT, class S>
bool WvTypedEncoder< IT, unsigned char, S >::encode WvBuf inbuf,
WvBuf outbuf,
bool  flush = false,
bool  finish = false
[inline]
 

Definition at line 161 of file wvtypedencoder.h.

References WvBuf.

template<class IT, class S>
bool WvTypedEncoder< IT, unsigned char, S >::encode IBuffer inbuf,
OBuffer outbuf,
bool  flush = false,
bool  finish = false
[inline]
 

Typed variant of encode().

See also:
encode(WvBuf&, WvBuf&, bool, bool)

Definition at line 144 of file wvtypedencoder.h.

References IBuffer, OBuffer, and WvBufView.

template<class IT, class S>
bool WvTypedEncoder< IT, unsigned char, S >::flush WvBuf inbuf,
WvBuf outbuf,
bool  finish = false
[inline]
 

Definition at line 166 of file wvtypedencoder.h.

References WvBuf.

template<class IT, class S>
bool WvTypedEncoder< IT, unsigned char, S >::flush IBuffer inbuf,
OBuffer outbuf,
bool  finish = false
[inline]
 

Typed variant of flush().

See also:
flush(WvBuf, WvBuf, bool)

Definition at line 155 of file wvtypedencoder.h.

References IBuffer, OBuffer, and WvBufView.


The documentation for this class was generated from the following file:
Generated on Sat Feb 21 21:07:10 2004 for WvStreams by doxygen 1.3.5