KCodecs::SevenBitCodec

KCodecs::SevenBitCodec Class Reference

#include <kcodecsidentity.h>

Inheritance diagram for KCodecs::SevenBitCodec:

Public Member Functions

 SevenBitCodec ()
 
 ~SevenBitCodec () override
 
const char * name () const override
 
- Public Member Functions inherited from KCodecs::IdentityCodec
 IdentityCodec ()
 
 ~IdentityCodec () override
 
QByteArray decode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override
 
QByteArray encode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override
 
DecodermakeDecoder (Codec::NewlineType newline=Codec::NewlineCRLF) const override
 
EncodermakeEncoder (Codec::NewlineType newline=Codec::NewlineCRLF) const override
 
int maxDecodedSizeFor (int insize, Codec::NewlineType newline) const override
 
int maxEncodedSizeFor (int insize, Codec::NewlineType newline=Codec::NewlineLF) 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 bool encode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, 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 seven-bit-text.

Definition at line 106 of file kcodecsidentity.h.

Constructor & Destructor Documentation

KCodecs::SevenBitCodec::SevenBitCodec ( )
inline

Constructs the 7-bit codec.

Definition at line 112 of file kcodecsidentity.h.

KCodecs::SevenBitCodec::~SevenBitCodec ( )
inlineoverride

Destroys the codec.

Definition at line 119 of file kcodecsidentity.h.

Member Function Documentation

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 125 of file kcodecsidentity.h.


The documentation for this class was generated from the following file:
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.