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).

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.