• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KMIME Library

  • KMime
  • Base64Codec
Public Member Functions | Protected Member Functions | List of all members
KMime::Base64Codec Class Reference

#include <kmime_codec_base64.h>

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

Public Member Functions

virtual ~Base64Codec ()
 
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
 
- 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 QByteArray decode (const QByteArray &src, 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 QByteArray encode (const QByteArray &src, bool withCRLF=false) const
 

Protected Member Functions

 Base64Codec ()
 
- 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 codec for Base64 as specified in RFC2045.

Definition at line 64 of file kmime_codec_base64.h.

Constructor & Destructor Documentation

KMime::Base64Codec::Base64Codec ( )
inlineprotected

Constructs a Base64 codec.

Definition at line 71 of file kmime_codec_base64.h.

virtual KMime::Base64Codec::~Base64Codec ( )
inlinevirtual

Destroys the codec.

Definition at line 77 of file kmime_codec_base64.h.

Member Function Documentation

Decoder * KMime::Base64Codec::makeDecoder ( bool  withCRLF = false) const
virtual

Codec::makeDecoder()

Implements KMime::Codec.

Definition at line 155 of file kmime_codec_base64.cpp.

Encoder * KMime::Base64Codec::makeEncoder ( bool  withCRLF = false) const
virtual

Codec::makeEncoder()

Implements KMime::Codec.

Reimplemented in KMime::Rfc2047BEncodingCodec.

Definition at line 150 of file kmime_codec_base64.cpp.

int KMime::Base64Codec::maxDecodedSizeFor ( int  insize,
bool  withCRLF = false 
) const
inlinevirtual

Codec::maxDecodedSizeFor()

Implements KMime::Codec.

Reimplemented in KMime::Rfc2047BEncodingCodec.

Definition at line 106 of file kmime_codec_base64.h.

int KMime::Base64Codec::maxEncodedSizeFor ( int  insize,
bool  withCRLF = false 
) const
inlinevirtual

Codec::maxEncodedSizeFor()

Implements KMime::Codec.

Reimplemented in KMime::Rfc2047BEncodingCodec.

Definition at line 90 of file kmime_codec_base64.h.

const char* KMime::Base64Codec::name ( ) const
inlinevirtual

Codec::name()

Implements KMime::Codec.

Reimplemented in KMime::Rfc2047BEncodingCodec.

Definition at line 83 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal