QEUInformation Class


The OPC UA EURange type. More...

Header: #include <QtOpcUa/qopcuatype.h>
qmake: QT += opcua

Public Functions

QEUInformation(const QOpcUa::QEUInformation &rhs)
QEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUa::QLocalizedText &displayName, const QOpcUa::QLocalizedText &description)
QOpcUa::QLocalizedText description() const
QOpcUa::QLocalizedText displayName() const
QString namespaceUri() const
void setDescription(const QOpcUa::QLocalizedText &description)
void setDisplayName(const QOpcUa::QLocalizedText &displayName)
void setNamespaceUri(const QString &namespaceUri)
void setUnitId(qint32 unitId)
qint32 unitId() const
QVariant operator QVariant() const
QOpcUa::QEUInformation &operator=(const QOpcUa::QEUInformation &rhs)
bool operator==(const QOpcUa::QEUInformation &rhs) const

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


Default constructs an instance of QEUInformation.

QEUInformation::QEUInformation(const QOpcUa::QEUInformation &rhs)

Constructs a EUinformation from rhs.

QEUInformation::QEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUa::QLocalizedText &displayName, const QOpcUa::QLocalizedText &description)

Constructs a EUinformation with namespace URI namespaceUri, unit id unitId, display name displayName and description description.


Destroys the instance of QEUInformation.

QOpcUa::QLocalizedText QEUInformation::description() const

Returns the description of the unit, for example degree Celsius.

See also setDescription().

QOpcUa::QLocalizedText QEUInformation::displayName() const

Returns the display name of the unit, for example °C.

See also setDisplayName().

QString QEUInformation::namespaceUri() const

Returns the namespace URI of the unit.

See also setNamespaceUri().

void QEUInformation::setDescription(const QOpcUa::QLocalizedText &description)

Sets the description if the unit to description.

See also description().

void QEUInformation::setDisplayName(const QOpcUa::QLocalizedText &displayName)

Sets the display name of the unit to displayName.

See also displayName().

void QEUInformation::setNamespaceUri(const QString &namespaceUri)

Sets the namespace URI of the unit to namespaceUri.

See also namespaceUri().

void QEUInformation::setUnitId(qint32 unitId)

Sets the machine-readable identifier for the unit to unitId.

See also unitId().

qint32 QEUInformation::unitId() const

Returns the machine-readable identifier for the unit.

See also setUnitId().

QVariant QEUInformation::operator QVariant() const

Converts this EUinformation to QVariant.

QOpcUa::QEUInformation &QEUInformation::operator=(const QOpcUa::QEUInformation &rhs)

Sets the values from rhs in this EUinformation.

bool QEUInformation::operator==(const QOpcUa::QEUInformation &rhs) const

Returns true if this EUinformation has the same value as rhs.

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