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 ().