QOpcUaContentFilterElement#

The OPC UA ContentFilterElement. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaContentFilterElement

Synopsis#

Functions#

Detailed Description#

A content filter element contains an operator and a list of 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.

class PySide6.QtOpcUa.QOpcUaContentFilterElement#

PySide6.QtOpcUa.QOpcUaContentFilterElement(arg__1)

Parameters

arg__1PySide6.QtOpcUa.QOpcUaContentFilterElement

Constructs a content filter element from rhs.

PySide6.QtOpcUa.QOpcUaContentFilterElement.FilterOperator#

FilterOperator enumerates all possible operators for a ContentFilterElement that are specified in OPC-UA part 4, Tables 115 and 116.

Constant

Description

QOpcUaContentFilterElement.Equals

QOpcUaContentFilterElement.IsNull

QOpcUaContentFilterElement.GreaterThan

QOpcUaContentFilterElement.LessThan

QOpcUaContentFilterElement.GreaterThanOrEqual

QOpcUaContentFilterElement.LessThanOrEqual

QOpcUaContentFilterElement.Like

QOpcUaContentFilterElement.Not

QOpcUaContentFilterElement.Between

QOpcUaContentFilterElement.InList

QOpcUaContentFilterElement.And

QOpcUaContentFilterElement.Or

QOpcUaContentFilterElement.Cast

QOpcUaContentFilterElement.InView

QOpcUaContentFilterElement.OfType

QOpcUaContentFilterElement.RelatedTo

QOpcUaContentFilterElement.BitwiseAnd

QOpcUaContentFilterElement.BitwiseOr

PySide6.QtOpcUa.QOpcUaContentFilterElement.filterOperands()#
Return type

Returns the operands of the filter element.

PySide6.QtOpcUa.QOpcUaContentFilterElement.filterOperandsRef()#
Return type

Returns a reference to the filter operands.

See also

filterOperands()

PySide6.QtOpcUa.QOpcUaContentFilterElement.filterOperator()#
Return type

FilterOperator

Returns the filter operator.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__lshift__(op)#
Parameters

opFilterOperator

Return type

PySide6.QtOpcUa.QOpcUaContentFilterElement

Sets filter operator op in this content filter element. If multiple operators are streamed into one content filter element, only the last operator is used. All others are discarded.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__lshift__(op)
Parameters

opPySide6.QtOpcUa.QOpcUaAttributeOperand

Return type

PySide6.QtOpcUa.QOpcUaContentFilterElement

Adds the attribute operand op to the operands list of this content filter element.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__lshift__(op)
Parameters

opPySide6.QtOpcUa.QOpcUaElementOperand

Return type

PySide6.QtOpcUa.QOpcUaContentFilterElement

Adds the element operand op to the operands list of this content filter element.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__lshift__(op)
Parameters

opPySide6.QtOpcUa.QOpcUaLiteralOperand

Return type

PySide6.QtOpcUa.QOpcUaContentFilterElement

Adds the literal operand op to the operands list of this content filter element.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__lshift__(op)
Parameters

opPySide6.QtOpcUa.QOpcUaSimpleAttributeOperand

Return type

PySide6.QtOpcUa.QOpcUaContentFilterElement

Adds the simple attribute operand op to the operands list of this content filter element.

PySide6.QtOpcUa.QOpcUaContentFilterElement.__eq__(rhs)#
Parameters

rhsPySide6.QtOpcUa.QOpcUaContentFilterElement

Return type

bool

Returns true if this content filter element has the same value as rhs.

PySide6.QtOpcUa.QOpcUaContentFilterElement.setFilterOperands(filterOperands)#
Parameters

filterOperands

Sets the filter operands for this content filter element to filterOperands. Supported classes are QOpcUaElementOperand , QOpcUaLiteralOperand , QOpcUaSimpleAttributeOperand and QOpcUaAttributeOperand .

See also

filterOperands()

PySide6.QtOpcUa.QOpcUaContentFilterElement.setFilterOperator(filterOperator)#
Parameters

filterOperatorFilterOperator

Sets the operator that is applied to the filter operands to filterOperator.

See also

filterOperator()