Constructor
new VDataSignalFilter()
The constructor of the filter.
Methods
getPrefixes()
Get the set of signal prefixes to match on.
Returns:
Set.
getSignalNames()
Get an ordered list of signal names that is same as the order of the signal name filter.
Returns:
list of names
getSignals() → {Set.<string>}
Get the set of signal names to filter on.
Returns:
- Type
- Set.<string>
hasNameFilterOnly() → {boolean}
True if the filter only applies on exact signal name and no prefix matching, False otherwise.
Returns:
- Type
- boolean
isEmpty() → {boolean}
True if no filter at all, otherwise False.
Returns:
- Type
- boolean
setPrefixes(prefixes)
Set the list of signal prefixes to match on.
Parameters:
Name | Type | Description |
---|---|---|
prefixes |
Array.<string> | signal prefixes |
setSignals(signals)
Set the list of signal names to filter on.
Parameters:
Name | Type | Description |
---|---|---|
signals |
Array.<string> | signal names |