QOpcUaAttributeOperand Class

Der OPC UA AttributeOperand Typ. Mehr...

Kopfzeile: #include <QOpcUaAttributeOperand>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Öffentliche Funktionen

QOpcUaAttributeOperand()
QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
QString alias() const
QOpcUa::NodeAttribute attributeId() const
QList<QOpcUaRelativePathElement> browsePath() const
QList<QOpcUaRelativePathElement> &browsePathRef()
QString indexRange() const
QString nodeId() const
void setAlias(const QString &alias)
void setAttributeId(QOpcUa::NodeAttribute attributeId)
void setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)
void setIndexRange(const QString &indexRange)
void setNodeId(const QString &nodeId)
QVariant operator QVariant() const
QOpcUaAttributeOperand &operator=(const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
(since 6.7) bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

Detaillierte Beschreibung

Die AttributeOperand ist in OPC UA 1.05 Teil 4, 7.7.4.4 definiert. Sie hat den gleichen Zweck wie QOpcUaSimpleAttributeOperand, bietet aber mehr konfigurierbare Optionen.

Dokumentation der Mitgliedsfunktionen

QOpcUaAttributeOperand::QOpcUaAttributeOperand()

Default konstruiert einen Attribut-Operanden ohne Parameter.

QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)

Konstruiert einen Attributoperanden aus rhs.

QString QOpcUaAttributeOperand::alias() const

Gibt den Alias für diesen QAttributeOperand zurück.

Siehe auch setAlias().

QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const

Gibt die Attribut-ID für ein Attribut des Knotens zurück, auf den browsePath zeigt.

Siehe auch setAttributeId().

QList<QOpcUaRelativePathElement> QOpcUaAttributeOperand::browsePath() const

Gibt den Suchpfad zurück.

Siehe auch setBrowsePath().

QList<QOpcUaRelativePathElement> &QOpcUaAttributeOperand::browsePathRef()

Gibt einen Verweis auf den Suchpfad zurück.

Siehe auch browsePath().

QString QOpcUaAttributeOperand::indexRange() const

Gibt die Zeichenkette des Indexbereichs zurück.

Siehe auch setIndexRange().

QString QOpcUaAttributeOperand::nodeId() const

Gibt die Knoten-ID des Typdefinitionsknotens zurück.

Siehe auch setNodeId().

void QOpcUaAttributeOperand::setAlias(const QString &alias)

Setzt den Alias auf alias. Dies ermöglicht die Verwendung dieser Instanz als Operand für andere Operationen im Filter.

Siehe auch alias().

void QOpcUaAttributeOperand::setAttributeId(QOpcUa::NodeAttribute attributeId)

Setzt das Attribut id auf attributeId.

Siehe auch attributeId().

void QOpcUaAttributeOperand::setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)

Setzt den relativen Pfad zu einem Knoten, der von nodeId() ausgeht, auf browsePath.

Siehe auch browsePath().

void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)

Setzt die Indexbereichszeichenkette, die zur Identifizierung eines einzelnen Wertes oder einer Teilmenge des Attributwerts verwendet wird, auf indexRange.

Siehe auch indexRange().

void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)

Setzt die Knoten-ID des Typdefinitionsknotens auf nodeId.

Siehe auch nodeId().

QVariant QOpcUaAttributeOperand::operator QVariant() const

Wandelt diesen Attributoperanden in QVariant um.

QOpcUaAttributeOperand &QOpcUaAttributeOperand::operator=(const QOpcUaAttributeOperand &rhs)

Legt die Werte von rhs in diesem Attributoperanden fest.

Verwandte Nicht-Mitglieder

[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

Gibt true zurück, wenn lhs einen anderen Wert als rhs hat.

Diese Funktion wurde in Qt 6.7 eingeführt.

[noexcept, since 6.7] bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)

Gibt true zurück, wenn lhs den gleichen Wert wie rhs hat.

Diese Funktion wurde in Qt 6.7 eingeführt.

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