FilterElement QML Type

The OPC UA ContentFilterElement. More...

Import Statement: import QtOpcUa .
Since: QtOpcUa 5.13

Properties

Detailed Description

A content filter element contains an operator and operands. There are four different operator types which contain literal values, references to attributes of nodes or to other content filter elements.

A combination of one or more content filter elements makes a content filter which is used by the server to filter data for the criteria defined by the content filter elements. For example, the where clause of an event filter is a content filter which is used to decide if a notification is generated for an event.

 QtOpcUa.FilterElement {
     operator: QtOpcUa.FilterElement.GreaterThanOrEqual
     firstOperand: QtOpcUa.SimpleAttributeOperand { ... }
     secondOperand: QtOpcUa.LiteralOperand { ... }
 }

See also EventFilter.

Property Documentation

firstOperand : variant

First operand to be used with the operator. This can be one of SimplateAttributeOperand, AttributeOperand, LiteralOperal or ElementOperand.


operatorType : FilterElement::FilterOperator

The filter operator.


secondOperand : variant

Second operand to be used with the operator. This can be one of SimplateAttributeOperand, AttributeOperand, LiteralOperal or ElementOperand.