KCodecs::UUCodec

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
 
int maxDecodedSizeFor (int insize, NewlineType newline=Codec::NewlineLF) const override
 
int maxEncodedSizeFor (int 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
 
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
 
virtual QByteArray encode (const QByteArray &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 (const char *name)
 
static CodeccodecForName (const QByteArray &name)
 
- Protected Member Functions inherited from KCodecs::Codec
 Codec ()
 

Detailed Description

A class representing the UUEncode codec.

Definition at line 33 of file kcodecsuuencode.h.

Constructor & Destructor Documentation

KCodecs::UUCodec::UUCodec ( )
inline

Constructs a UUEncode codec.

Definition at line 39 of file kcodecsuuencode.h.

KCodecs::UUCodec::~UUCodec ( )
inlineoverride

Destroys the codec.

Definition at line 46 of file kcodecsuuencode.h.

Member Function Documentation

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 77 of file kcodecsuuencode.cpp.

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

Codec::makeEncoder()

Implements KCodecs::Codec.

Definition at line 71 of file kcodecsuuencode.cpp.

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

Codec::maxDecodedSizeFor()

Implements KCodecs::Codec.

Definition at line 71 of file kcodecsuuencode.h.

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

Codec::maxEncodedSizeFor()

Implements KCodecs::Codec.

Definition at line 61 of file kcodecsuuencode.h.

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

Codec::name()

Implements KCodecs::Codec.

Definition at line 52 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-2020 The KDE developers.
Generated on Wed May 27 2020 23:00:40 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.