libzypp 17.25.10
Collection solvable filter functors.

All functors should be able to process Solvable as well as PoolItem.

All functors should be able to process Solvable as well as PoolItem.

// The same filter...
// ...can be used to iterate the sat::Pool...
for_( it, satpool.filterBegin(f), satpool.filterEnd(f) )
{
MIL << *it << endl; // prints sat::Solvable
}
// ...as well as the ResPool.
for_( it, pool.filterBegin(f), pool.filterEnd(f) )
{
MIL << *it << endl; // prints PoolItem
}
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
Definition: Easy.h:28
#define MIL
Definition: Logger.h:91
'Language[_Country]' codes.
Definition: Locale.h:50
Global ResObject pool.
Definition: ResPool.h:61
static ResPool instance()
Singleton ctor.
Definition: ResPool.cc:37
Filter solvables according to their locale support.
Definition: Filter.h:63
Global sat-pool.
Definition: Pool.h:47
static Pool instance()
Singleton ctor.
Definition: Pool.h:55