QKnxCharASCII Class

The QKnxCharASCII class is a datapoint type that encodes an ASCII character. More...

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

Public Functions

QKnxCharASCII()
QKnxCharASCII(char value)
char character() const
bool setCharacter(char value)

Additional Inherited Members

Detailed Description

The QKnxCharASCII class is a datapoint type that encodes an ASCII character.

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

See also QKnxChar, QKnxDatapointType, and Qt KNX Datapoint Type Classes.

Member Function Documentation

QKnxCharASCII::QKnxCharASCII()

Creates a fixed size datapoint type with the value set to 0.

QKnxCharASCII::QKnxCharASCII(char value)

Creates a fixed size datapoint type with the character value.

char QKnxCharASCII::character() const

Returns the character stored in the datapoint type.

See also setCharacter().

bool QKnxCharASCII::setCharacter(char value)

Sets the character of the datapoint type to value.

Returns true if the value was set; otherwise returns false.

See also character().

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