KMime::Rfc2047BEncodingCodec Class Reference

A class representing the codec for the B encoding as specified in RFC2047B. More...

#include <kmime_codec_base64.h>

Inheritance diagram for KMime::Rfc2047BEncodingCodec:

List of all members.

Public Member Functions

virtual ~Rfc2047BEncodingCodec ()
EncodermakeEncoder (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

 Rfc2047BEncodingCodec ()

Detailed Description

A class representing the codec for the B encoding as specified in RFC2047B.

Definition at line 140 of file kmime_codec_base64.h.


Constructor & Destructor Documentation

KMime::Rfc2047BEncodingCodec::Rfc2047BEncodingCodec (  )  [inline, protected]

Constructs a RFC2047B codec.

Definition at line 147 of file kmime_codec_base64.h.

virtual KMime::Rfc2047BEncodingCodec::~Rfc2047BEncodingCodec (  )  [inline, virtual]

Destroys the codec.

Definition at line 153 of file kmime_codec_base64.h.


Member Function Documentation

Encoder * KMime::Rfc2047BEncodingCodec::makeEncoder ( bool  withCRLF = false  )  const [virtual]

Creates the encoder for the codec.

Parameters:
withCRLF if true, make the newlines CRLF; else use LF.
Returns:
a pointer to an instance of the codec's encoder.

Reimplemented from KMime::Base64Codec.

Definition at line 160 of file kmime_codec_base64.cpp.

int KMime::Rfc2047BEncodingCodec::maxDecodedSizeFor ( int  insize,
bool  withCRLF = false 
) const [inline, 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.

Reimplemented from KMime::Base64Codec.

Definition at line 177 of file kmime_codec_base64.h.

int KMime::Rfc2047BEncodingCodec::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.

Reimplemented from KMime::Base64Codec.

Definition at line 166 of file kmime_codec_base64.h.

const char* KMime::Rfc2047BEncodingCodec::name (  )  const [inline, virtual]

Returns the name of the encoding. Guaranteed to be lowercase.

Reimplemented from KMime::Base64Codec.

Definition at line 159 of file kmime_codec_base64.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys