FilterElement QML Type
El elemento ContentFilterElement de OPC UA. Más...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Este tipo está obsoleto desde QtOpcUa 6.9. Desaconsejamos su uso en código nuevo.
Propiedades
- firstOperand : variant
- operatorType : enumeration
- secondOperand : variant
Descripción detallada
Un elemento de filtro de contenido contiene un operador y operandos. Existen cuatro tipos de operadores diferentes que contienen valores literales, referencias a atributos de nodos o a otros elementos de filtro de contenido.
La combinación de uno o varios elementos de filtro de contenido constituye un filtro de contenido que el servidor utiliza para filtrar datos según los criterios definidos por los elementos de filtro de contenido. Por ejemplo, la cláusula where de un filtro de eventos es un filtro de contenido que se utiliza para decidir si se genera una notificación para un evento.
QtOpcUa.FilterElement { operator: QtOpcUa.FilterElement.GreaterThanOrEqual firstOperand: QtOpcUa.SimpleAttributeOperand { ... } secondOperand: QtOpcUa.LiteralOperand { ... } }
Véase también EventFilter.
Documentación de propiedades
firstOperand : variant
Primer operando a utilizar con el operador. Puede ser uno de los siguientes: SimpleAttributeOperand, AttributeOperand, LiteralOperand o ElementOperand.
operatorType : enumeration
El operador de filtro.
Posibles operadores para un FilterElement que se especifican en OPC UA 1.05 parte 4, 7.7.3
| Constante | Valor |
|---|---|
FilterElement.Equals | |
FilterElement.IsNull | |
FilterElement.GreaterThan | |
FilterElement.LessThan | |
FilterElement.GreaterThanOrEqual | |
FilterElement.LessThanOrEqual | |
FilterElement.Like | |
FilterElement.Not | |
FilterElement.Between | |
FilterElement.InList | |
FilterElement.And | |
FilterElement.Or | |
FilterElement.Cast | |
FilterElement.InView | |
FilterElement.OfType | |
FilterElement.RelatedTo | |
FilterElement.BitwiseAnd | |
FilterElement.BitwiseOr |
secondOperand : variant
Segundo operando a utilizar con el operador. Puede ser uno de los siguientes: SimpleAttributeOperand, AttributeOperand, LiteralOperand o ElementOperand.
© 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.