Remove selected items from a tag list.
Source position: utility.pas line 173
function FilterTagItems( |
TagList: PTagItem; |
FilterArray: PTag; |
Logic: LongWord |
):LongWord; |
TagList |
|
input list of tag items which is to be filtered by having selected items changed to TAG_IGNORE. |
FilterArray |
|
An array of tag values, terminated by TAG_DONE, as specified in the documentation for TagInArray(). |
Logic |
|
Apecification whether items in 'tagArray' are to be included or excluded in the filtered result. |
Number of valid items left in resulting filtered list.
Removes tag items from a tag list (by changing ti_Data to TAG_IGNORETAG_IGNORE) depending on whether its ti_Data value is found in an array of tag values.
If the 'logic' parameter is TAGFILTER_ANDTAGFILTER_AND, then all items not appearing in 'tagArray' are excluded from 'tagList'.
If 'logic' is TAGFILTER_NOTTAGFILTER_NOT, then items not found in 'tagArray' are preserved, and the ones in the array are cast out.
|
Check if a tag value appears in an array of tag values. |