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
namespace  zypp::capmatch_detail

Classes

class  zypp::MatchesCapability
 Functor testing whether argument matches a certain Capability. More...
class  zypp::ForEachMatchInCapSet
 Functor invoking action_r on each matching Capability in a CapSet. More...
struct  zypp::capmatch_detail::AlwaysFalse
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.
int zypp::forEachMatchIn (const CapSet &lhs_r, const CapSet &rhs_r, function< bool(const Capability &, const Capability &)> action_r)
 Invoke action_r on each matching pair of Capabilities within two CapSets.
bool zypp::hasMatches (const CapSet &lhs_r, const Capability &rhs_r)
 Return true if the CapSet contains at least one Capabilitiy that matches.
bool zypp::hasMatches (const CapSet &lhs_r, const CapSet &rhs_r)
 Return true if the CapSets contain at least one pair of Capabilities that match.
int 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.
int 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 Sep 25 19:23:11 2007 for libzypp by  doxygen 1.5.3