QEUInformation Class

(QOpcUa::QEUInformation)
Header: #include <QEUInformation>
qmake: QT += opcua

Public Functions

QEUInformation()
QEUInformation(QString p_namespaceUri, qint32 p_unitId, QLocalizedText p_displayName, QLocalizedText p_description)
bool operator==(const QEUInformation &other) const

Public Variables

QLocalizedText description
QLocalizedText displayName
QString namespaceUri
qint32 unitId

Detailed Description

This is the QtOpcUa representation for the OPC UA EUInformation type defined in OPC-UA part 8, 5.6.3. EUInformation values contain information about units and are mostly used as property of a node with a numeric value attribute. The information can e. g. be used to add text and tooltips to GUI elements.

Member Function Documentation

QEUInformation::QEUInformation()

Default constructs an instance of QEUInformation.

QEUInformation::QEUInformation(QString p_namespaceUri, qint32 p_unitId, QLocalizedText p_displayName, QLocalizedText p_description)

Default constructs an instance of QEUInformation.

bool QEUInformation::operator==(const QEUInformation &other) const

Compares this QEUInformation to other.

Member Variable Documentation

QLocalizedText QEUInformation::description

The description of the unit, e. g. "degree Celsius".

QLocalizedText QEUInformation::displayName

The displayName of the unit, e. g. °C

QString QEUInformation::namespaceUri

The namespace URI of the unit.

qint32 QEUInformation::unitId

A machine readable identifier for the unit.

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