#include <kmime_codec_qp.h>

Public Member Functions | |
virtual | ~QuotedPrintableCodec () |
Decoder * | makeDecoder (bool withCRLF=false) const |
Encoder * | makeEncoder (bool withCRLF=false) const |
int | maxDecodedSizeFor (int insize, bool withCRLF=false) const |
int | maxEncodedSizeFor (int insize, bool withCRLF=false) const |
const char * | name () const |
Protected Member Functions | |
QuotedPrintableCodec () |
Detailed Description
A class representing the codec for QuotedPrintable as specified in RFC2045 (section 6.7).
Definition at line 58 of file kmime_codec_qp.h.
Constructor & Destructor Documentation
KMime::QuotedPrintableCodec::QuotedPrintableCodec | ( | ) | [inline, protected] |
Constructs a QuotedPrintable codec.
Definition at line 65 of file kmime_codec_qp.h.
virtual KMime::QuotedPrintableCodec::~QuotedPrintableCodec | ( | ) | [inline, virtual] |
Destroys the codec.
Definition at line 71 of file kmime_codec_qp.h.
Member Function Documentation
Decoder * KMime::QuotedPrintableCodec::makeDecoder | ( | bool | withCRLF = false | ) | const [virtual] |
Creates the decoder for the codec.
- Returns:
- a pointer to an instance of the codec's decoder.
Implements KMime::Codec.
Definition at line 246 of file kmime_codec_qp.cpp.
Encoder * KMime::QuotedPrintableCodec::makeEncoder | ( | bool | withCRLF = false | ) | const [virtual] |
Creates the encoder for the codec.
- Returns:
- a pointer to an instance of the codec's encoder.
Implements KMime::Codec.
Definition at line 241 of file kmime_codec_qp.cpp.
int KMime::QuotedPrintableCodec::maxDecodedSizeFor | ( | int | insize, |
bool | withCRLF = false |
||
) | const [virtual] |
Computes the maximum size, in characters, needed for the deccoding.
- Parameters:
-
insize is the number of input characters to be decoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns:
- the maximum number of characters in the decoding.
Implements KMime::Codec.
Definition at line 251 of file kmime_codec_qp.cpp.
int KMime::QuotedPrintableCodec::maxEncodedSizeFor | ( | int | insize, |
bool | withCRLF = false |
||
) | const [inline, virtual] |
Computes the maximum size, in characters, needed for the encoding.
- Parameters:
-
insize is the number of input characters to be encoded. withCRLF if true, make the newlines CRLF; else use LF.
- Returns:
- the maximum number of characters in the encoding.
Implements KMime::Codec.
Definition at line 84 of file kmime_codec_qp.h.
const char* KMime::QuotedPrintableCodec::name | ( | ) | const [inline, virtual] |
Returns the name of the encoding.
Guaranteed to be lowercase.
Implements KMime::Codec.
Definition at line 77 of file kmime_codec_qp.h.
The documentation for this class was generated from the following files: