QEUInformation Class

(QOpcUa::QEUInformation)

The OPC UA EURange type More...

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

The OPC UA EURange type

This is the Qt OPC UA 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)

Constructs a QEUInformation with namespace URI p_namespaceUri, unit id p_unitId, display name p_displayName and description p_description.

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

Returns true if this QEUInformation has the same value as 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.