AttributeFilterImpl
Canonical path: Utils.ElementFilter.AttributeFilter.AttributeFilterImpl
Bases: BaseFilterObject
Filter for element attributes
Methods:
-
__call__–Execute the filtering
-
__init__–Initialize
-
__str__–String representation of the filter
-
to_info_string–String representation of the filter for info
__call__
__call__(element: BaseElementAdapter) -> bool
Execute the filtering
Parameters:
-
element(BaseElementAdapter) –element to be filtered
Returns:
-
bool–element fulfills the filter: True/False
__init__
__init__(
attribute_comparison_operator: list[str],
attribute_data: list[AttributeIdValue],
attribute_logical_operator: list[str],
)
Initialize
Parameters:
-
attribute_comparison_operator(list[str]) –attributes comparison operator
-
attribute_data(list[AttributeIdValue]) –attributes data
-
attribute_logical_operator(list[str]) –attributes logical operator
Placeholder