KCodecs::EightBitCodec

Search for usage in LXR

KCodecs::EightBitCodec Class Reference

#include <kcodecsidentity.h>

Inheritance diagram for KCodecs::EightBitCodec:

Public Member Functions

 EightBitCodec ()
 
 ~EightBitCodec () override
 
const char * name () const override
 
- Public Member Functions inherited from KCodecs::IdentityCodec
 IdentityCodec ()
 
 ~IdentityCodec () override
 
virtual bool decode (const char *&scursor, const char *const send, char *&dcursor, const char *const dend, NewlineType newline=NewlineLF) const
 
QByteArray decode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override
 
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
 
QByteArray encode (const QByteArray &src, Codec::NewlineType newline=Codec::NewlineLF) const override
 
virtual QByteArray encode (const QByteArray &src, NewlineType newline=NewlineLF) const
 
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 eight-bit-text.

Definition at line 140 of file kcodecsidentity.h.

Constructor & Destructor Documentation

◆ EightBitCodec()

KCodecs::EightBitCodec::EightBitCodec ( )
inline

Constructs the 8-bit codec.

Definition at line 146 of file kcodecsidentity.h.

◆ ~EightBitCodec()

KCodecs::EightBitCodec::~EightBitCodec ( )
inlineoverride

Destroys the codec.

Definition at line 154 of file kcodecsidentity.h.

Member Function Documentation

◆ name()

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 162 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-2022 The KDE developers.
Generated on Tue Dec 6 2022 04:02:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.