KCodecs::UUCodec

Search for usage in LXR

KCodecs::UUCodec Class Reference

#include <kcodecsuuencode.h>

Inheritance diagram for KCodecs::UUCodec:

Public Member Functions

 UUCodec ()
 
 ~UUCodec () override
 
DecodermakeDecoder (NewlineType newline=Codec::NewlineLF) const override
 
EncodermakeEncoder (NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxDecodedSizeFor (qsizetype insize, NewlineType newline=Codec::NewlineLF) const override
 
qsizetype maxEncodedSizeFor (qsizetype insize, 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 UUEncode codec.

Definition at line 32 of file kcodecsuuencode.h.

Constructor & Destructor Documentation

◆ UUCodec()

KCodecs::UUCodec::UUCodec ( )
inline

Constructs a UUEncode codec.

Definition at line 38 of file kcodecsuuencode.h.

◆ ~UUCodec()

KCodecs::UUCodec::~UUCodec ( )
inlineoverride

Destroys the codec.

Definition at line 46 of file kcodecsuuencode.h.

Member Function Documentation

◆ makeDecoder()

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 78 of file kcodecsuuencode.cpp.

◆ makeEncoder()

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 72 of file kcodecsuuencode.cpp.

◆ maxDecodedSizeFor()

qsizetype KCodecs::UUCodec::maxDecodedSizeFor ( qsizetype insize,
NewlineType newline = Codec::NewlineLF ) const
inlineoverridevirtual

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 73 of file kcodecsuuencode.h.

◆ maxEncodedSizeFor()

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

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 63 of file kcodecsuuencode.h.

◆ name()

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 54 of file kcodecsuuencode.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 Nov 29 2024 11:55:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.