QKnxCharASCII Class

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

头: #include <QKnxCharASCII>
qmake: QT += knx
继承: QKnxChar

公共函数

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

详细描述

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

另请参阅 QKnxChar , QKnxDatapointType ,和 Qt KNX Datapoint Type Classes .

成员函数文档编制

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.

另请参阅 setCharacter ().

bool QKnxCharASCII:: setCharacter ( char value )

Sets the character of the datapoint type to value .

返回 true if the value was set; otherwise returns false .

另请参阅 character ().