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

KMIME Library

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

#include <kmime_codec_identity.h>

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

List of all members.

Public Member Functions

 ~BinaryCodec ()
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::IdentityCodec
 ~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
- 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

Protected Member Functions

 BinaryCodec ()
- Protected Member Functions inherited from KMime::IdentityCodec
 IdentityCodec ()
- Protected Member Functions inherited from KMime::Codec
 Codec ()

Detailed Description

A class representing the codec for eight-bit-binary.

Definition at line 175 of file kmime_codec_identity.h.


Constructor & Destructor Documentation

KMime::BinaryCodec::BinaryCodec ( )
inlineprotected

Constructs the 8-bit-binary codec.

Definition at line 182 of file kmime_codec_identity.h.

KMime::BinaryCodec::~BinaryCodec ( )
inline

Destroys the codec.

Definition at line 188 of file kmime_codec_identity.h.


Member Function Documentation

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

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::IdentityCodec.

Definition at line 208 of file kmime_codec_identity.h.

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

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::IdentityCodec.

Definition at line 201 of file kmime_codec_identity.h.

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

Guaranteed to be lowercase.

Implements KMime::Codec.

Definition at line 194 of file kmime_codec_identity.h.


The documentation for this class was generated from the following file:
  • kmime_codec_identity.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:03:11 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMIME Library

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

kdepimlibs-4.9.1 API Reference

Skip menu "kdepimlibs-4.9.1 API Reference"
  • 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
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