bm::decoder_little_endian Class Reference

Search Toolkit Book for bm::decoder_little_endian

#include <encoding.h>

Inheritance diagram for bm::decoder_little_endian:

Inheritance graph
[legend]
Collaboration diagram for bm::decoder_little_endian:

Collaboration graph
[legend]
List of all members.

Detailed Description

Class for decoding data from memory buffer.

Properly handles aligment issues with integer data types. Converts data to little endian architecture (presumed it was encoded as big endian)

Definition at line 124 of file encoding.h.

Public Member Functions

 decoder_little_endian (const unsigned char *buf)
bm::short_t get_16 ()
bm::word_t get_32 ()
void get_32 (bm::word_t *w, unsigned count)
void get_16 (bm::short_t *s, unsigned count)


Constructor & Destructor Documentation

bm::decoder_little_endian::decoder_little_endian const unsigned char *  buf  )  [inline]
 

Definition at line 795 of file encoding.h.


Member Function Documentation

void bm::decoder_little_endian::get_16 bm::short_t s,
unsigned  count
[inline]
 

Definition at line 835 of file encoding.h.

References buf, bm::decoder_base::buf_, and bm::decoder_base::seek().

bm::short_t bm::decoder_little_endian::get_16  )  [inline]
 

Definition at line 800 of file encoding.h.

References bm::decoder_base::buf_.

void bm::decoder_little_endian::get_32 bm::word_t w,
unsigned  count
[inline]
 

Definition at line 815 of file encoding.h.

References buf, bm::decoder_base::buf_, and bm::decoder_base::seek().

bm::word_t bm::decoder_little_endian::get_32  )  [inline]
 

Definition at line 807 of file encoding.h.

References bm::decoder_base::buf_.


The documentation for this class was generated from the following file:
Generated on Wed Dec 9 08:16:17 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:20:18 2009 by modify_doxy.py rev. 173732