QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QgsOgrProxyTextCodec Class Reference

A QTextCodec implementation which relies on OGR to do the text conversion. More...

#include <qgsogrproxytextcodec.h>

Inheritance diagram for QgsOgrProxyTextCodec:
Inheritance graph
[legend]

Public Member Functions

 QgsOgrProxyTextCodec (const QByteArray &name)
 Constructor for QgsOgrProxyTextCodec, for the specified encoding name.
 
 ~QgsOgrProxyTextCodec () override=default
 
QList< QByteArray > aliases () const override
 
QByteArray convertFromUnicode (const QChar *in, int length, ConverterState *state) const override
 
QString convertToUnicode (const char *in, int length, ConverterState *state) const override
 
int mibEnum () const override
 
QByteArray name () const override
 

Static Public Member Functions

static QStringList supportedCodecs ()
 Returns a list of supported text codecs.
 

Detailed Description

A QTextCodec implementation which relies on OGR to do the text conversion.

Note
not available in Python bindings
Since
QGIS 3.14

Definition at line 32 of file qgsogrproxytextcodec.h.

Constructor & Destructor Documentation

◆ QgsOgrProxyTextCodec()

QgsOgrProxyTextCodec::QgsOgrProxyTextCodec ( const QByteArray &  name)

Constructor for QgsOgrProxyTextCodec, for the specified encoding name.

Definition at line 21 of file qgsogrproxytextcodec.cpp.

◆ ~QgsOgrProxyTextCodec()

QgsOgrProxyTextCodec::~QgsOgrProxyTextCodec ( )
overridedefault

Member Function Documentation

◆ aliases()

QList< QByteArray > QgsOgrProxyTextCodec::aliases ( ) const
override

Definition at line 70 of file qgsogrproxytextcodec.cpp.

◆ convertFromUnicode()

QByteArray QgsOgrProxyTextCodec::convertFromUnicode ( const QChar *  in,
int  length,
ConverterState *  state 
) const
override

Definition at line 44 of file qgsogrproxytextcodec.cpp.

◆ convertToUnicode()

QString QgsOgrProxyTextCodec::convertToUnicode ( const char *  in,
int  length,
ConverterState *  state 
) const
override

Definition at line 27 of file qgsogrproxytextcodec.cpp.

◆ mibEnum()

int QgsOgrProxyTextCodec::mibEnum ( ) const
override

Definition at line 75 of file qgsogrproxytextcodec.cpp.

◆ name()

QByteArray QgsOgrProxyTextCodec::name ( ) const
override

Definition at line 65 of file qgsogrproxytextcodec.cpp.

◆ supportedCodecs()

QStringList QgsOgrProxyTextCodec::supportedCodecs ( )
static

Returns a list of supported text codecs.

Definition at line 81 of file qgsogrproxytextcodec.cpp.


The documentation for this class was generated from the following files: