KCodecs::Rfc2231EncodingCodec

Search for usage in LXR

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
 
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 RFC2231.

Definition at line 169 of file kcodecsqp.h.

Constructor & Destructor Documentation

◆ Rfc2231EncodingCodec()

KCodecs::Rfc2231EncodingCodec::Rfc2231EncodingCodec ( )
inline

Constructs a RFC2231 codec.

Definition at line 175 of file kcodecsqp.h.

◆ ~Rfc2231EncodingCodec()

KCodecs::Rfc2231EncodingCodec::~Rfc2231EncodingCodec ( )
inlineoverride

Destroys the codec.

Definition at line 183 of file kcodecsqp.h.

Member Function Documentation

◆ makeDecoder()

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

Codec::makeDecoder()

Implements KCodecs::Codec.

Definition at line 295 of file kcodecsqp.cpp.

◆ makeEncoder()

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 290 of file kcodecsqp.cpp.

◆ maxDecodedSizeFor()

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

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 300 of file kcodecsqp.cpp.

◆ maxEncodedSizeFor()

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

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 200 of file kcodecsqp.h.

◆ name()

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 191 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 Mon Nov 18 2024 12:18:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.