Class DIterFilter (unit SDL)

Inherits from

DIterAdapter

DIterFilter adapters apply a test to underlying objects to determine if they should be part of the adapted container. Pass a test to the constructor. Then, each time an iterator is advanced or retreated, items that don't pass the test will be skipped over.

Constructors


constructor Create(var target : DIterator; test : DTest);

Construct a DIterFilter, using test as the filter to determine if a given item should be part of the filtered container.


Functions

Properties

Events

Variables


Constructors


constructor Create(var target : DIterator; test : DTest);

ParameterDescription
targetAn iterator representing the container or range to be filtered.
testThe test used to determine if an item is part of the sequence or not. Only those items that pass the test will be part of the filtered sequence.

Construct a DIterFilter, using test as the filter to determine if a given item should be part of the filtered container.


Functions


Properties


Events


Variables