KMIME Library
#include <kmime_codec_identity.h>
Public Member Functions | |
| ~IdentityCodec () | |
| QByteArray | decode (const QByteArray &src, bool withCRLF=false) const |
| QByteArray | encode (const QByteArray &src, bool withCRLF=false) const |
| Decoder * | makeDecoder (bool withCRLF=false) const |
| Encoder * | makeEncoder (bool withCRLF=false) const |
| int | maxDecodedSizeFor (int insize, bool withCRLF) const |
| int | maxEncodedSizeFor (int insize, bool withCRLF) const |
Public Member Functions inherited from KMime::Codec | |
| virtual | ~Codec () |
| virtual bool | decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
| virtual bool | encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, bool withCRLF=false) const |
| virtual const char * | name () const =0 |
Protected Member Functions | |
| IdentityCodec () | |
Protected Member Functions inherited from KMime::Codec | |
| Codec () | |
Additional Inherited Members | |
Static Public Member Functions inherited from KMime::Codec | |
| static Codec * | codecForName (const char *name) |
| static Codec * | codecForName (const QByteArray &name) |
Detailed Description
A class representing the Identify codec.
Definition at line 48 of file kmime_codec_identity.h.
Constructor & Destructor Documentation
|
inlineprotected |
Constructs the Identity codec.
Definition at line 55 of file kmime_codec_identity.h.
|
inline |
Destroys the codec.
Definition at line 61 of file kmime_codec_identity.h.
Member Function Documentation
|
virtual |
Reimplemented from KMime::Codec.
Definition at line 104 of file kmime_codec_identity.cpp.
|
virtual |
Reimplemented from KMime::Codec.
Definition at line 98 of file kmime_codec_identity.cpp.
|
virtual |
- Returns
- a pointer to an instance of the codec's decoder.
Implements KMime::Codec.
Definition at line 77 of file kmime_codec_identity.cpp.
|
virtual |
- Returns
- a pointer to an instance of the codec's encoder.
Implements KMime::Codec.
Definition at line 72 of file kmime_codec_identity.cpp.
|
inlinevirtual |
- 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.
Reimplemented in KMime::BinaryCodec.
Definition at line 95 of file kmime_codec_identity.h.
|
inlinevirtual |
- 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.
Reimplemented in KMime::BinaryCodec.
Definition at line 82 of file kmime_codec_identity.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Jun 5 2013 12:08:46 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
Public Member Functions inherited from