QOpcUaAttributeOperand Class
El tipo de AttributeOperand de OPC UA. Más...
| Cabecera: | #include <QOpcUaAttributeOperand> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| 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) |
| operator QVariant() const | |
| QOpcUaAttributeOperand & | operator=(const QOpcUaAttributeOperand &rhs) |
No miembros relacionados
(since 6.7) bool | operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs) |
(since 6.7) bool | operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs) |
Descripción detallada
El AttributeOperand se define en OPC UA 1.05 parte 4, 7.7.4.4. Tiene la misma finalidad que QOpcUaSimpleAttributeOperand pero dispone de más opciones configurables.
Documentación de la función miembro
QOpcUaAttributeOperand::QOpcUaAttributeOperand()
Default construye un operando de atributo sin parámetros establecidos.
QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
Construye un operando de atributo a partir de rhs.
QString QOpcUaAttributeOperand::alias() const
Devuelve el alias para este QAttributeOperand.
Véase también setAlias().
QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const
Devuelve el id de un atributo del nodo al que apunta browsePath.
Véase también setAttributeId().
QList<QOpcUaRelativePathElement> QOpcUaAttributeOperand::browsePath() const
Devuelve la ruta de navegación.
Véase también setBrowsePath().
QList<QOpcUaRelativePathElement> &QOpcUaAttributeOperand::browsePathRef()
Devuelve una referencia a la ruta de navegación.
Véase también browsePath().
QString QOpcUaAttributeOperand::indexRange() const
Devuelve la cadena del rango de índices.
Véase también setIndexRange().
QString QOpcUaAttributeOperand::nodeId() const
Devuelve el id de nodo del nodo de definición de tipo.
Véase también setNodeId().
void QOpcUaAttributeOperand::setAlias(const QString &alias)
Establece el alias en alias. Esto permite utilizar esta instancia como operando para otras operaciones en el filtro.
Véase también alias().
void QOpcUaAttributeOperand::setAttributeId(QOpcUa::NodeAttribute attributeId)
Establece el atributo id en attributeId.
Véase también attributeId().
void QOpcUaAttributeOperand::setBrowsePath(const QList<QOpcUaRelativePathElement> &browsePath)
Establece la ruta relativa de un nodo a partir de nodeId() a browsePath.
Véase también browsePath().
void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)
Establece la cadena de rango de índice utilizada para identificar un único valor o subconjunto del valor del atributo en indexRange.
Véase también indexRange().
void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)
Establece el id del nodo de definición de tipo en nodeId.
Véase también nodeId().
QOpcUaAttributeOperand::operator QVariant() const
Convierte este operando de atributo en QVariant.
QOpcUaAttributeOperand &QOpcUaAttributeOperand::operator=(const QOpcUaAttributeOperand &rhs)
Establece los valores de rhs en este operando de atributo.
No miembros relacionados
[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
Devuelve true si lhs tiene un valor diferente de rhs.
Esta función se introdujo en Qt 6.7.
[noexcept, since 6.7] bool operator==(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
Devuelve true si lhs tiene el mismo valor que rhs.
Esta función se introdujo en Qt 6.7.
© 2026 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.