QKnxUtf8 Class

The QKnxUtf8 class is a datapoint type for a UTF-8 string. 更多...

頭: #include <QKnxUtf8>
qmake: QT += knx
Since: Qt 5.11
繼承: QKnxUtf8String

該類在 Qt 5.11 引入。

公共函數

QKnxUtf8 (const char * string , int size = -1)
QKnxUtf8 (const QString & string )
QKnxUtf8 ()

詳細描述

This datapoint type stores a UTF-8 (Unicode Transformation Format-8) string. The data length for one character can vary from 1 to 4 octets. Each character is encoded according to UTF-8.

This is a variable sized datapoint type.

另請參閱 QKnxDatapointType , QKnxUtf8String ,和 Qt KNX Datapoint Type Classes .

成員函數文檔編製

QKnxUtf8:: QKnxUtf8 (const char * string , int size = -1)

Creates a variable sized datapoint type that stores the string string with the length size .

QKnxUtf8:: QKnxUtf8 (const QString & string )

Creates a variable sized datapoint type that stores the string string .

QKnxUtf8:: QKnxUtf8 ()

Creates a variable sized datapoint type.