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(char value) | |
| QKnxCharASCII() | |
| char | character() const |
| bool | setCharacter(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
QKnxCharASCII::QKnxCharASCII(char value)
Creates a fixed size datapoint type with the character value.
QKnxCharASCII::QKnxCharASCII()
Creates a fixed size datapoint type with the value set to 0.
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().