zypp::MatchesCapability Class Reference
[Filters and FunctorsFilter functors operating on Capability.]

Functor testing whether argument matches a certain Capability. More...

#include <CapMatchHelper.h>

List of all members.

Public Member Functions

 MatchesCapability (const Capability &lhs_r)
bool operator() (const CapAndItem &capitem_r) const
bool operator() (const Capability &rhs_r) const

Private Attributes

const Capability_lhs


Detailed Description

Functor testing whether argument matches a certain Capability.

Definition at line 27 of file CapMatchHelper.h.


Constructor & Destructor Documentation

zypp::MatchesCapability::MatchesCapability ( const Capability lhs_r  )  [inline]

Definition at line 30 of file CapMatchHelper.h.


Member Function Documentation

bool zypp::MatchesCapability::operator() ( const CapAndItem capitem_r  )  const [inline]

Definition at line 34 of file CapMatchHelper.h.

References zypp::CapAndItem::cap.

bool zypp::MatchesCapability::operator() ( const Capability rhs_r  )  const [inline]

Definition at line 37 of file CapMatchHelper.h.

References _lhs, zypp::Capability::matches(), and zypp::CapMatch::yes.


Member Data Documentation

const Capability& zypp::MatchesCapability::_lhs [private]

Definition at line 41 of file CapMatchHelper.h.

Referenced by operator()().


The documentation for this class was generated from the following file:
Generated on Tue Sep 25 19:23:14 2007 for libzypp by  doxygen 1.5.3