QKnxVariableSizeDatapointType Class

The QKnxVariableSizeDatapointType is a base class for datapoint types with a variable size. More...

Header: #include <QKnxVariableSizeDatapointType>
qmake: QT += knx
Inherits: QKnxDatapointType
Inherited By:

QKnxUtf8String and QKnxVarString

Public Functions

QKnxVariableSizeDatapointType(quint16 mainType, quint16 subType, int size)
QKnxVariableSizeDatapointType(const QString &dptId, int size)
QKnxVariableSizeDatapointType(QKnxDatapointType::Type type, int size)

Reimplemented Public Functions

virtual bool setBytes(const QKnxByteArray &bytesToSet, quint16 index, quint16 count) override

Detailed Description

See also Type.

Member Function Documentation

QKnxVariableSizeDatapointType::QKnxVariableSizeDatapointType(quint16 mainType, quint16 subType, int size)

Creates a variable size datapoint type with the main type mainType, subtype subType, and the size size.

QKnxVariableSizeDatapointType::QKnxVariableSizeDatapointType(const QString &dptId, int size)

Creates a variable size datapoint type with the identifier dptId and the size size.

QKnxVariableSizeDatapointType::QKnxVariableSizeDatapointType(QKnxDatapointType::Type type, int size)

Creates a variable size datapoint type with the type type and the size size.

[override virtual] bool QKnxVariableSizeDatapointType::setBytes(const QKnxByteArray &bytesToSet, quint16 index, quint16 count)

Reimplements: QKnxDatapointType::setBytes(const QKnxByteArray &bytesToSet, quint16 index, quint16 count).