dlvhex  2.5.0
bm::decoder_base Class Reference

Base class for all decoding functionality. More...

#include <vs10/bm/encoding.h>

Inheritance diagram for bm::decoder_base:

Public Member Functions

 decoder_base (const unsigned char *buf)
BMFORCEINLINE unsigned char get_8 ()
 Reads character from the decoding buffer.
BMFORCEINLINE unsigned size () const
 Returns size of the current decoding stream.
BMFORCEINLINE void seek (int delta)
 change current position
 decoder_base (const unsigned char *buf)
BMFORCEINLINE unsigned char get_8 ()
 Reads character from the decoding buffer.
BMFORCEINLINE unsigned size () const
 Returns size of the current decoding stream.
BMFORCEINLINE void seek (int delta)
 change current position

Protected Attributes

const unsigned char * buf_
const unsigned char * start_

Detailed Description

Base class for all decoding functionality.

Definition at line 74 of file encoding.h.


Constructor & Destructor Documentation

bm::decoder_base::decoder_base ( const unsigned char *  buf) [inline]

Definition at line 77 of file encoding.h.

References buf_, and start_.

bm::decoder_base::decoder_base ( const unsigned char *  buf) [inline]

Definition at line 77 of file encoding.h.

References buf_, and start_.


Member Function Documentation

BMFORCEINLINE unsigned char bm::decoder_base::get_8 ( ) [inline]

Reads character from the decoding buffer.

Definition at line 79 of file encoding.h.

References buf_.

Referenced by bm::operation_deserializer< BV >::deserialize(), and bm::deserialize().

BMFORCEINLINE unsigned char bm::decoder_base::get_8 ( ) [inline]

Reads character from the decoding buffer.

Definition at line 79 of file encoding.h.

References buf_.

BMFORCEINLINE void bm::decoder_base::seek ( int  delta) [inline]

change current position

Definition at line 85 of file encoding.h.

References buf_.

BMFORCEINLINE void bm::decoder_base::seek ( int  delta) [inline]

change current position

Definition at line 85 of file encoding.h.

References buf_.

Referenced by bm::decoder::get_16(), bm::decoder_little_endian::get_16(), bm::decoder::get_32(), and bm::decoder_little_endian::get_32().

BMFORCEINLINE unsigned bm::decoder_base::size ( ) const [inline]

Returns size of the current decoding stream.

Definition at line 82 of file encoding.h.

References buf_, and start_.

BMFORCEINLINE unsigned bm::decoder_base::size ( ) const [inline]

Returns size of the current decoding stream.

Definition at line 82 of file encoding.h.

References buf_, and start_.


Field Documentation

const unsigned char * bm::decoder_base::start_ [protected]

Definition at line 88 of file encoding.h.

Referenced by decoder_base(), and size().


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