• Skip to content
  • Skip to link menu
KDE 4.8 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

KMIME Library

  • KMime
  • Rfc2047BEncodingCodec
Public Member Functions | Protected Member Functions
KMime::Rfc2047BEncodingCodec Class Reference

#include <kmime_codec_base64.h>

Inheritance diagram for KMime::Rfc2047BEncodingCodec:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

 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:
withCRLFif 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:
insizeis the number of input characters to be decoded.
withCRLFif 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:
insizeis the number of input characters to be encoded.
withCRLFif 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:
  • kmime_codec_base64.h
  • kmime_codec_base64.cpp

KMIME Library

Skip menu "KMIME Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal