QKnxInterfaceObjectPropertyDataType Class

This class holds information about the data type of the properties of the KNX interface object. More...

Header: #include <QKnxInterfaceObjectPropertyDataType>
qmake: QT += knx

Public Types

enum Id { Control, Char, UnsignedChar, Int, ..., Invalid }
enum Unit { Array, Single }

Public Functions

QKnxInterfaceObjectPropertyDataType()
QKnxInterfaceObjectPropertyDataType(QKnxInterfaceObjectPropertyDataType::Id id, QKnxDatapointType::Type type = QKnxDatapointType::Type::Unknown, Unit unit = Unit::Single)
QKnxInterfaceObjectPropertyDataType(const QKnxInterfaceObjectPropertyDataType &o)
~QKnxInterfaceObjectPropertyDataType()
QKnxDatapointType::Type datapointType() const
QKnxInterfaceObjectPropertyDataType::Id id() const
bool isValid() const
quint8 size(bool read = false) const
void swap(QKnxInterfaceObjectPropertyDataType &other)
QKnxInterfaceObjectPropertyDataType::Unit unit() const
QKnxInterfaceObjectPropertyDataType &operator=(const QKnxInterfaceObjectPropertyDataType &o)
QKnxInterfaceObjectPropertyDataType &operator=(QKnxInterfaceObjectPropertyDataType &&other)

Static Public Members

QVector<QKnxInterfaceObjectPropertyDataType> fromProperty(QKnxInterfaceObjectProperty p)
quint8 size(QKnxInterfaceObjectPropertyDataType::Id id, bool read = false)

Detailed Description

This class holds information about the data type of the properties of the KNX interface object.

KNX interface object holds information about the device functionalities. Different properties are storing different functionalities. The data type holds information about this property such as its

Member Type Documentation

enum QKnxInterfaceObjectPropertyDataType::Id

This enum describes the possible Ids of an interface object property.

ConstantValue
QKnxInterfaceObjectPropertyDataType::Control0x00
QKnxInterfaceObjectPropertyDataType::Char0x01
QKnxInterfaceObjectPropertyDataType::UnsignedChar0x02
QKnxInterfaceObjectPropertyDataType::Int0x03
QKnxInterfaceObjectPropertyDataType::UnsignedInt0x04
QKnxInterfaceObjectPropertyDataType::KnxFloat0x05
QKnxInterfaceObjectPropertyDataType::Date0x06
QKnxInterfaceObjectPropertyDataType::Time0x07
QKnxInterfaceObjectPropertyDataType::Long0x08
QKnxInterfaceObjectPropertyDataType::UnsignedLong0x09
QKnxInterfaceObjectPropertyDataType::Float0x0a
QKnxInterfaceObjectPropertyDataType::Double0x0b
QKnxInterfaceObjectPropertyDataType::CharBlock0x0c
QKnxInterfaceObjectPropertyDataType::PollGroupSettings0x0d
QKnxInterfaceObjectPropertyDataType::ShortCharBlock0x0e
QKnxInterfaceObjectPropertyDataType::DateTime0x0f
QKnxInterfaceObjectPropertyDataType::VariableLength0x10
QKnxInterfaceObjectPropertyDataType::Generic010x11
QKnxInterfaceObjectPropertyDataType::Generic020x12
QKnxInterfaceObjectPropertyDataType::Generic030x13
QKnxInterfaceObjectPropertyDataType::Generic040x14
QKnxInterfaceObjectPropertyDataType::Generic050x15
QKnxInterfaceObjectPropertyDataType::Generic060x16
QKnxInterfaceObjectPropertyDataType::Generic070x17
QKnxInterfaceObjectPropertyDataType::Generic080x18
QKnxInterfaceObjectPropertyDataType::Generic090x19
QKnxInterfaceObjectPropertyDataType::Generic100x1a
QKnxInterfaceObjectPropertyDataType::Generic110x1b
QKnxInterfaceObjectPropertyDataType::Generic120x1c
QKnxInterfaceObjectPropertyDataType::Generic130x1d
QKnxInterfaceObjectPropertyDataType::Generic140x1e
QKnxInterfaceObjectPropertyDataType::Generic150x1f
QKnxInterfaceObjectPropertyDataType::Generic160x20
QKnxInterfaceObjectPropertyDataType::Generic170x21
QKnxInterfaceObjectPropertyDataType::Generic180x22
QKnxInterfaceObjectPropertyDataType::Generic190x23
QKnxInterfaceObjectPropertyDataType::Generic200x24
QKnxInterfaceObjectPropertyDataType::Reserved010x25
QKnxInterfaceObjectPropertyDataType::Reserved020x26
QKnxInterfaceObjectPropertyDataType::Reserved030x27
QKnxInterfaceObjectPropertyDataType::Reserved040x28
QKnxInterfaceObjectPropertyDataType::Reserved050x29
QKnxInterfaceObjectPropertyDataType::Reserved060x2a
QKnxInterfaceObjectPropertyDataType::Reserved070x2b
QKnxInterfaceObjectPropertyDataType::Reserved080x2c
QKnxInterfaceObjectPropertyDataType::Reserved090x2d
QKnxInterfaceObjectPropertyDataType::Reserved100x2e
QKnxInterfaceObjectPropertyDataType::Utf80x2f
QKnxInterfaceObjectPropertyDataType::Version0x30
QKnxInterfaceObjectPropertyDataType::AlarmInfo0x31
QKnxInterfaceObjectPropertyDataType::BinaryInformation0x32
QKnxInterfaceObjectPropertyDataType::Bitset80x33
QKnxInterfaceObjectPropertyDataType::Bitset160x34
QKnxInterfaceObjectPropertyDataType::Enum80x35
QKnxInterfaceObjectPropertyDataType::Scaling0x36
QKnxInterfaceObjectPropertyDataType::Reserved110x37
QKnxInterfaceObjectPropertyDataType::Reserved120x38
QKnxInterfaceObjectPropertyDataType::Reserved130x39
QKnxInterfaceObjectPropertyDataType::Reserved140x3a
QKnxInterfaceObjectPropertyDataType::Reserved150x3b
QKnxInterfaceObjectPropertyDataType::NeVl0x3c
QKnxInterfaceObjectPropertyDataType::NeFl0x3d
QKnxInterfaceObjectPropertyDataType::Function0x3e
QKnxInterfaceObjectPropertyDataType::Escape0x3f
QKnxInterfaceObjectPropertyDataType::Invalid0x40

enum QKnxInterfaceObjectPropertyDataType::Unit

This enum describes the possible units of an interface object property.

ConstantValue
QKnxInterfaceObjectPropertyDataType::Array0
QKnxInterfaceObjectPropertyDataType::Single1

Member Function Documentation

QKnxInterfaceObjectPropertyDataType::QKnxInterfaceObjectPropertyDataType()

Default constructs an instance of QKnxInterfaceObjectPropertyDataType.

QKnxInterfaceObjectPropertyDataType::QKnxInterfaceObjectPropertyDataType(QKnxInterfaceObjectPropertyDataType::Id id, QKnxDatapointType::Type type = QKnxDatapointType::Type::Unknown, Unit unit = Unit::Single)

Default constructs an instance of QKnxInterfaceObjectPropertyDataType.

QKnxInterfaceObjectPropertyDataType::QKnxInterfaceObjectPropertyDataType(const QKnxInterfaceObjectPropertyDataType &o)

Copy constructor.

QKnxInterfaceObjectPropertyDataType::~QKnxInterfaceObjectPropertyDataType()

Destroys the instance of QKnxInterfaceObjectPropertyDataType.

QKnxDatapointType::Type QKnxInterfaceObjectPropertyDataType::datapointType() const

[static] QVector<QKnxInterfaceObjectPropertyDataType> QKnxInterfaceObjectPropertyDataType::fromProperty(QKnxInterfaceObjectProperty p)

QKnxInterfaceObjectPropertyDataType::Id QKnxInterfaceObjectPropertyDataType::id() const

bool QKnxInterfaceObjectPropertyDataType::isValid() const

quint8 QKnxInterfaceObjectPropertyDataType::size(bool read = false) const

[static] quint8 QKnxInterfaceObjectPropertyDataType::size(QKnxInterfaceObjectPropertyDataType::Id id, bool read = false)

void QKnxInterfaceObjectPropertyDataType::swap(QKnxInterfaceObjectPropertyDataType &other)

QKnxInterfaceObjectPropertyDataType::Unit QKnxInterfaceObjectPropertyDataType::unit() const

QKnxInterfaceObjectPropertyDataType &QKnxInterfaceObjectPropertyDataType::operator=(const QKnxInterfaceObjectPropertyDataType &o)

Copy-assignment operator.

QKnxInterfaceObjectPropertyDataType &QKnxInterfaceObjectPropertyDataType::operator=(QKnxInterfaceObjectPropertyDataType &&other)

Move-assignment operator.

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