• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KMIME Library

KMime::UUCodec

KMime::UUCodec Class Reference

#include <kmime_codec_uuencode.h>

Inheritance diagram for KMime::UUCodec:

Inheritance graph
[legend]

List of all members.


Detailed Description

A class representing the UUEncode codec.

Definition at line 48 of file kmime_codec_uuencode.h.


Public Member Functions

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

Protected Member Functions

 UUCodec ()

Constructor & Destructor Documentation

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

Constructs a UUEncode codec.

Definition at line 55 of file kmime_codec_uuencode.h.

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

Destroys the codec.

Definition at line 61 of file kmime_codec_uuencode.h.


Member Function Documentation

Decoder * KMime::UUCodec::makeDecoder ( 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.

Implements KMime::Codec.

Definition at line 81 of file kmime_codec_uuencode.cpp.

Encoder * KMime::UUCodec::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.

Implements KMime::Codec.

Definition at line 76 of file kmime_codec_uuencode.cpp.

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

Implements KMime::Codec.

Definition at line 84 of file kmime_codec_uuencode.h.

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

Implements KMime::Codec.

Definition at line 74 of file kmime_codec_uuencode.h.

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

Returns the name of the encoding.

Guaranteed to be lowercase.

Implements KMime::Codec.

Definition at line 67 of file kmime_codec_uuencode.h.


The documentation for this class was generated from the following files:
  • kmime_codec_uuencode.h
  • kmime_codec_uuencode.cpp

KMIME Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.6
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