このページでは

FilterElement QML Type

OPC UA の ContentFilterElement。詳細...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13
Status: Deprecated since 6.9

この型は QtOpcUa 6.9 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。

プロパティ

詳細な説明

コンテンツフィルタ要素には、演算子とオペランドが含まれます。演算子には4つの異なる種類があり、リテラル値、ノードの属性への参照、または他のコンテンツフィルタ要素への参照を含みます。

1つ以上のコンテンツフィルタ要素を組み合わせることでコンテンツフィルタが構成され、サーバーはこのコンテンツフィルタを使用して、コンテンツフィルタ要素で定義された基準に従ってデータをフィルタリングします。たとえば、イベントフィルタのwhere 句は、イベントに対して通知を生成するかどうかを決定するために使用されるコンテンツフィルタです。

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

「EventFilter」も参照してください 。

プロパティのドキュメント

firstOperand : variant

演算子とともに使用される最初のオペランド。SimpleAttributeOperand 、AttributeOperand 、LiteralOperand 、またはElementOperand のいずれかです。

operatorType : enumeration

フィルタ演算子。

OPC UA 1.05 第4部 7.7.3で規定されているFilterElement で使用可能な演算子

定数値
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

演算子とともに使用する2番目のオペランド。SimpleAttributeOperand 、AttributeOperand 、LiteralOperand 、または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.