CapMatchHelper.h File Reference

#include "zypp/base/Algorithm.h"
#include "zypp/base/Function.h"
#include "zypp/ResPool.h"

Go to the source code of this file.

Namespaces

namespace  zypp

Classes

class  zypp::MatchesCapability
 Functor testing whether argument matches a certain Capability. More...
class  zypp::ForEachMatchInPool
 Functor invoking action_r on each matching Capability in a ResPool. More...
struct  zypp::OncePerPoolItem
 Functor translating CapAndItem actions into PoolItem actions avoiding multiple invocations for the same PoolItem. More...

Functions

int zypp::forEachMatchIn (CapSet::const_iterator begin_r, CapSet::const_iterator end_r, const Capability &lhs_r, function< bool(const Capability &)> action_r)
 Algorithm invoking action_r on each CapSet entry that matches a given Capability.
int zypp::forEachMatchIn (const CapSet &capset_r, const Capability &lhs_r, function< bool(const Capability &)> action_r)
 Algorithm invoking action_r on each CapSet entry that matches a given Capability.
void zypp::forEachPoolItemMatchedBy (const ResPool &pool_r, const PoolItem &poolitem_r, const Dep &poolitemdep_r, function< bool(const CapAndItem &)> action_r)
 Find all items in a ResPool matched by a certain PoolItems dependency set.
void zypp::forEachPoolItemMatching (const ResPool &pool_r, const Dep &pooldep_r, const PoolItem &poolitem_r, function< bool(const CapAndItem &)> action_r)
 Find all items in a ResPool matching a certain PoolItem.


Detailed Description

Definition in file CapMatchHelper.h.


Generated on Tue Nov 28 16:49:35 2006 for zypp by  doxygen 1.5.0