Main Page Class Hierarchy Alphabetical List Compound List Examples |
#include <qp.h>
Inheritance diagram for QP::Decoder:
Public Member Functions | |
Decoder () | |
const char * | name () const |
size_t | maxlen () |
void | maxlen (size_t i) |
template<typename InIt, typename OutIt> | |
void | process (InIt bit, InIt eit, OutIt out) |
template<typename OutIt> | |
void | process (char_type ic, OutIt &out) |
template<typename OutIt> | |
void | flush (OutIt &out) |
Decoder | ( | ) | [inline] |
Constructor
const char* name | ( | ) | const [inline, virtual] |
size_t maxlen | ( | ) | [inline] |
Returns the max line length
void maxlen | ( | size_t | i | ) | [inline] |
Set the max line length. No more then i
chars will be printed on one line.
void process | ( | InIt | bit, | |
InIt | eit, | |||
OutIt | out | |||
) | [inline] |
Decodes [bit
,eit
) and write any decoded char to out
.
void process | ( | char_type | ic, | |
OutIt & | out | |||
) | [inline] |
void flush | ( | OutIt & | out | ) | [inline] |
Write to out
any buffered decoded char.