Class ADT.CritBit.IPv4Tree()->_get_iterator

Description

Iterator class for IPv4Tree trees. Supports iterating over ranges with arbitrary stepping and direction.

This is used by default when calling foreach on an object of IPv4Tree. In foreach the iterator runs over all elements from the first to the last.

See also

Iterator for a description of the interface.


Method create

ADT.CritBit.IPv4Tree._get_iterator ADT.CritBit.IPv4Tree._get_iterator(void|int step, void|mixed start, void|mixed stop)

Description

Returns an iterator object that runs from start to stop using a stepsize of step. The arguments default to 1, tree->first() and tree->last(), respectively.