QKnxChar88591 Class

The QKnxChar88591 class is a datapoint type that encodes an ISO 8859-1 character. More...

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

Public Functions

QKnxChar88591(unsigned char character)
QKnxChar88591()
unsigned char character() const
bool setCharacter(unsigned char value)

Detailed Description

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

QKnxChar88591::QKnxChar88591(unsigned char character)

Creates a fixed size datapoint type with the character character.

QKnxChar88591::QKnxChar88591()

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

unsigned char QKnxChar88591::character() const

Returns the character stored in the datapoint type.

See also setCharacter().

bool QKnxChar88591::setCharacter(unsigned char value)

Sets the character of the datapoint type to value.

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

See also character().