Duncan Mac-Vicar P. schrieb:
Klaus Kaempf wrote:
* Stefan Schubert
[Mar 28. 2008 09:51]: Are there iterators available like 'eachRecommended()' ?
A good point.....
;-)
I'd like to reduce (to zero, actually) any loops 'over pool' in zypp applications.
Then why do you recommend a iterator? On what do you want to iterate on then?
( actually, in pool the iterator exists, but needs to be constructed using filter iterator and status filter, this could be wrapped each recommended I think )
Duncan
I had thought on a new ResFilter kind: ByRecommended and BySuggested -- ******************************************************************************* Stefan Schubert SUSE LINUX GmbH - Maxfeldstrasse 5 - D-90409 Nuernberg, Germany e-mail: schubi@suse.de ------------------------------------------------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org