QKnxChar Class

The QKnxChar class is a datapoint type that encodes a character. More...

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

Public Functions

QKnxChar()
QKnxChar(unsigned char value)
bool setValue(unsigned char value)
unsigned char value() const

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnxChar(int subType, unsigned char value)

Detailed Description

The QKnxChar class is a datapoint type that encodes a character.

The encoding of the character is specified in QKnxCharASCII and QKnxChar88591 that inherit this class.

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

See also QKnxDatapointType.

Member Function Documentation

QKnxChar::QKnxChar()

Default constructs an instance of QKnxChar.

QKnxChar::QKnxChar(unsigned char value)

Default constructs an instance of QKnxChar.

[protected] QKnxChar::QKnxChar(int subType, unsigned char value)

Default constructs an instance of QKnxChar.

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

Reimplemented from QKnxDatapointType::isValid().

bool QKnxChar::setValue(unsigned char value)

See also value().

unsigned char QKnxChar::value() const

See also setValue().

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