QKnx8BitSet Class

The QKnx8BitSet class is a datapoint type with binary-coded values in all fields. More...

Header: #include <QKnx8BitSet>
qmake: QT += knx
Inherits: QKnxFixedSizeDatapointType

Public Functions

QKnx8BitSet()
QKnx8BitSet(quint8 value)
bool bit(int index) const
quint8 byte() const
void setBit(bool value, int index)
bool setByte(quint8 value)

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnx8BitSet(int subType, quint8 value)

Detailed Description

The QKnx8BitSet class is a datapoint type with binary-coded values in all fields.

This is a fixed size datapoint type with the length of 1 byte.

See also QKnxDatapointType.

Member Function Documentation

QKnx8BitSet::QKnx8BitSet()

Default constructs an instance of QKnx8BitSet.

QKnx8BitSet::QKnx8BitSet(quint8 value)

Default constructs an instance of QKnx8BitSet.

[protected] QKnx8BitSet::QKnx8BitSet(int subType, quint8 value)

Default constructs an instance of QKnx8BitSet.

bool QKnx8BitSet::bit(int index) const

See also setBit().

quint8 QKnx8BitSet::byte() const

See also setByte().

[override virtual] bool QKnx8BitSet::isValid() const

Reimplemented from QKnxDatapointType::isValid().

void QKnx8BitSet::setBit(bool value, int index)

See also bit().

bool QKnx8BitSet::setByte(quint8 value)

See also byte().

© 2017 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.