Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QStringConverter::Interface Struct Reference

#include <qstringconverter_base.h>

+ Collaboration diagram for QStringConverter::Interface:

Public Types

using DecoderFn = QChar * (*)(QChar *out, QByteArrayView in, State *state)
 
using LengthFn = qsizetype (*)(qsizetype inLength)
 
using EncoderFn = char * (*)(char *out, QStringView in, State *state)
 

Public Attributes

const char * name = nullptr
 
DecoderFn toUtf16 = nullptr
 
LengthFn toUtf16Len = nullptr
 
EncoderFn fromUtf16 = nullptr
 
LengthFn fromUtf16Len = nullptr
 

Detailed Description

Definition at line 119 of file qstringconverter_base.h.

Member Typedef Documentation

◆ DecoderFn

◆ EncoderFn

Definition at line 123 of file qstringconverter_base.h.

◆ LengthFn

Definition at line 122 of file qstringconverter_base.h.

Member Data Documentation

◆ fromUtf16

EncoderFn QStringConverter::Interface::fromUtf16 = nullptr

Definition at line 127 of file qstringconverter_base.h.

Referenced by QStringEncoder::appendToBuffer().

◆ fromUtf16Len

LengthFn QStringConverter::Interface::fromUtf16Len = nullptr

Definition at line 128 of file qstringconverter_base.h.

Referenced by QStringEncoder::requiredSpace().

◆ name

const char* QStringConverter::Interface::name = nullptr

Definition at line 124 of file qstringconverter_base.h.

Referenced by QStringConverter::name().

◆ toUtf16

DecoderFn QStringConverter::Interface::toUtf16 = nullptr

Definition at line 125 of file qstringconverter_base.h.

Referenced by QStringDecoder::appendToBuffer().

◆ toUtf16Len

LengthFn QStringConverter::Interface::toUtf16Len = nullptr

Definition at line 126 of file qstringconverter_base.h.

Referenced by QStringDecoder::requiredSpace().


The documentation for this struct was generated from the following file: