QOpcUaAttributeOperand Class
El tipo «AttributeOperand» de OPC UA. Más información...
| Encabezado: | #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) |
Elementos 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, apartado 7.7.4.4. Tiene la misma finalidad que un QOpcUaSimpleAttributeOperand, pero ofrece más opciones de configuración.
Documentación de la función de miembro
QOpcUaAttributeOperand::QOpcUaAttributeOperand()
«Default» crea un operando de atributo sin parámetros definidos.
QOpcUaAttributeOperand::QOpcUaAttributeOperand(const QOpcUaAttributeOperand &rhs)
Crea un operando de atributo a partir de rhs.
QString QOpcUaAttributeOperand::alias() const
Devuelve el alias de este QAttributeOperand.
Véase también setAlias().
QOpcUa::NodeAttribute QOpcUaAttributeOperand::attributeId() const
Devuelve el identificador 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 que representa el rango de índices.
Véase también setIndexRange().
QString QOpcUaAttributeOperand::nodeId() const
Devuelve el identificador 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 a un nodo, partiendo de nodeId() hasta browsePath.
Véase también browsePath().
void QOpcUaAttributeOperand::setIndexRange(const QString &indexRange)
Establece la cadena de rango de índices utilizada para identificar un valor único o un subconjunto del valor del atributo en indexRange.
Véase también ` indexRange()`.
void QOpcUaAttributeOperand::setNodeId(const QString &nodeId)
Establece el identificador 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.
Elementos no miembros relacionados
[noexcept, since 6.7] bool operator!=(const QOpcUaAttributeOperand &lhs, const QOpcUaAttributeOperand &rhs)
Devuelve « true » si « lhs » tiene un valor diferente al 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.