KCodecs::Rfc2047QEncodingCodec

Search for usage in LXR

KCodecs::Rfc2047QEncodingCodec Class Reference

#include <kcodecsqp.h>

Inheritance diagram for KCodecs::Rfc2047QEncodingCodec:

Public Member Functions

 Rfc2047QEncodingCodec ()
 
 ~Rfc2047QEncodingCodec () override
 
DecodermakeDecoder (Codec::NewlineType newline=Codec::NewlineLF) const override
 
EncodermakeEncoder (Codec::NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxDecodedSizeFor (qsizetype insize, Codec::NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxEncodedSizeFor (qsizetype 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
 
QByteArray decode (QByteArrayView 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
 
QByteArray encode (QByteArrayView 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 (QByteArrayView name)
 
- Protected Member Functions inherited from KCodecs::Codec
 Codec ()
 

Detailed Description

A class representing the codec for the Q encoding as specified in RFC2047Q.

Definition at line 107 of file kcodecsqp.h.

Constructor & Destructor Documentation

◆ Rfc2047QEncodingCodec()

KCodecs::Rfc2047QEncodingCodec::Rfc2047QEncodingCodec ( )
inline

Constructs a RFC2047Q codec.

Definition at line 113 of file kcodecsqp.h.

◆ ~Rfc2047QEncodingCodec()

KCodecs::Rfc2047QEncodingCodec::~Rfc2047QEncodingCodec ( )
inlineoverride

Destroys the codec.

Definition at line 121 of file kcodecsqp.h.

Member Function Documentation

◆ makeDecoder()

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

Codec::makeDecoder()

Implements KCodecs::Codec.

Definition at line 280 of file kcodecsqp.cpp.

◆ makeEncoder()

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 275 of file kcodecsqp.cpp.

◆ maxDecodedSizeFor()

qsizetype KCodecs::Rfc2047QEncodingCodec::maxDecodedSizeFor ( qsizetype insize,
Codec::NewlineType newline = Codec::NewlineLF ) const
overridevirtual

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 285 of file kcodecsqp.cpp.

◆ maxEncodedSizeFor()

qsizetype KCodecs::Rfc2047QEncodingCodec::maxEncodedSizeFor ( qsizetype insize,
Codec::NewlineType newline = Codec::NewlineLF ) const
inlineoverridevirtual

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 138 of file kcodecsqp.h.

◆ name()

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 129 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-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:59:17 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.