quoted-printable decoder
More...
#include <qp.h>
|
| | 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) |
| |
| virtual double | codeSizeMultiplier () const |
| |
|
|
typedef buffered_codec_type_tag | codec_type |
| |
|
typedef unsigned char | char_type |
| |
quoted-printable decoder
- See also
- encode decode
◆ Decoder()
◆ flush()
| void flush |
( |
OutIt & |
out | ) |
|
|
inline |
Write to out any buffered decoded char.
◆ maxlen() [1/2]
Returns the max line length
◆ maxlen() [2/2]
Set the max line length. No more then i chars will be printed on one line.
◆ name()
| const char* name |
( |
| ) |
const |
|
inlinevirtual |
Returns the name of the codec ("Quoted-Printable")
Implements codec.
◆ process() [1/2]
| void process |
( |
InIt |
bit, |
|
|
InIt |
eit, |
|
|
OutIt |
out |
|
) |
| |
|
inline |
◆ process() [2/2]
| void process |
( |
char_type |
ic, |
|
|
OutIt & |
out |
|
) |
| |
|
inline |
Decodes ic and write any decoded output char to out.
- Warning
- You must call flush() when all chars have been processed by the code(...) funcion.
while( (c = getchar()) != EOF )
qp.process(c, out);
qp.flush();
- See also
- flush()
The documentation for this class was generated from the following file: