KCodecs::Rfc2231EncodingCodec

KCodecs::Rfc2231EncodingCodec Class Reference

#include <kcodecsqp.h>

Inheritance diagram for KCodecs::Rfc2231EncodingCodec:

Public Member Functions

 Rfc2231EncodingCodec ()
 
 ~Rfc2231EncodingCodec () override
 
DecodermakeDecoder (Codec::NewlineType newline=Codec::NewlineLF) const override
 
EncodermakeEncoder (Codec::NewlineType newline=Codec::NewlineLF) const override
 
int maxDecodedSizeFor (int insize, Codec::NewlineType newline=Codec::NewlineLF) const override
 
int maxEncodedSizeFor (int insize, Codec::NewlineType newline=Codec::NewlineLF) const override
 
const char * name () const override
 
- Public Member Functions inherited from KCodecs::Codec
virtual ~Codec ()
 
virtual bool decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
virtual QByteArray decode (const QByteArray &src, NewlineType newline=NewlineLF) const
 
virtual bool encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
virtual QByteArray encode (const QByteArray &src, NewlineType newline=NewlineLF) const
 

Additional Inherited Members

- Public Types inherited from KCodecs::Codec
enum  NewlineType { NewlineLF, NewlineCRLF }
 
- Static Public Member Functions inherited from KCodecs::Codec
static CodeccodecForName (const char *name)
 
static CodeccodecForName (const QByteArray &name)
 
- Protected Member Functions inherited from KCodecs::Codec
 Codec ()
 

Detailed Description

A class representing the codec for RFC2231.

Definition at line 164 of file kcodecsqp.h.

Constructor & Destructor Documentation

KCodecs::Rfc2231EncodingCodec::Rfc2231EncodingCodec ( )
inline

Constructs a RFC2231 codec.

Definition at line 170 of file kcodecsqp.h.

KCodecs::Rfc2231EncodingCodec::~Rfc2231EncodingCodec ( )
inlineoverride

Destroys the codec.

Definition at line 177 of file kcodecsqp.h.

Member Function Documentation

Decoder * KCodecs::Rfc2231EncodingCodec::makeDecoder ( Codec::NewlineType  newline = Codec::NewlineLF) const
overridevirtual

Codec::makeDecoder()

Implements KCodecs::Codec.

Definition at line 294 of file kcodecsqp.cpp.

Encoder * KCodecs::Rfc2231EncodingCodec::makeEncoder ( Codec::NewlineType  newline = Codec::NewlineLF) const
overridevirtual

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 289 of file kcodecsqp.cpp.

int KCodecs::Rfc2231EncodingCodec::maxDecodedSizeFor ( int  insize,
Codec::NewlineType  newline = Codec::NewlineLF 
) const
overridevirtual

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 299 of file kcodecsqp.cpp.

int KCodecs::Rfc2231EncodingCodec::maxEncodedSizeFor ( int  insize,
Codec::NewlineType  newline = Codec::NewlineLF 
) const
inlineoverridevirtual

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 192 of file kcodecsqp.h.

const char* KCodecs::Rfc2231EncodingCodec::name ( ) const
inlineoverridevirtual

Codec::name()

Implements KCodecs::Codec.

Definition at line 183 of file kcodecsqp.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Jul 3 2020 22:42:43 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.