QKnxVarString Class

The QKnxVarString class is a datapoint type for a variable length character string. More...

Header: #include <QKnxVarString>
qmake: QT += knx
Inherits: QKnxVariableSizeDatapointType

Public Functions

QKnxVarString()
QKnxVarString(QLatin1String string)
QKnxVarString(const char *string, int size = -1)
bool setString(QLatin1String string)
bool setString(const char *string, int size = -1)
QLatin1String string() const

Reimplemented Public Functions

virtual bool isValid() const override

Protected Functions

QKnxVarString(int subType, const char *string, int size)

Detailed Description

The QKnxVarString class is a datapoint type for a variable length character string.

This is a variable sized datapoint type.

See also QKnxDatapointType.

Member Function Documentation

QKnxVarString::QKnxVarString()

Default constructs an instance of QKnxVarString.

QKnxVarString::QKnxVarString(QLatin1String string)

Default constructs an instance of QKnxVarString.

QKnxVarString::QKnxVarString(const char *string, int size = -1)

Default constructs an instance of QKnxVarString.

[protected] QKnxVarString::QKnxVarString(int subType, const char *string, int size)

Default constructs an instance of QKnxVarString.

[override virtual] bool QKnxVarString::isValid() const

bool QKnxVarString::setString(QLatin1String string)

See also string().

bool QKnxVarString::setString(const char *string, int size = -1)

QLatin1String QKnxVarString::string() const

See also setString().

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