libzypp  17.24.1
zypp::resfilter Namespace Reference

Classes

struct  ByArch
 Select ResObject by Arch using TCompare functor. More...
 
struct  ByEdition
 Select ResObject by Edition using TCompare functor. More...
 
struct  ByInstalled
 Select PoolItem by installed. More...
 
struct  ByKeep
 Select PoolItem by keep. More...
 
struct  ByLock
 Select PoolItem by lock. More...
 
struct  ByName
 Select ResObject by name. More...
 
struct  ByRecommended
 PoolItem which is recommended. More...
 
struct  ByRepository
 Select ResObject by repository or repository alias. More...
 
struct  BySuggested
 PoolItem which is suggested. More...
 
struct  ByTransact
 Select PoolItem by transact. More...
 
struct  ByUninstalled
 Select PoolItem by uninstalled. More...
 

Typedefs

typedef std::unary_function< ResObject::constPtr, boolResObjectFilterFunctor
 
typedef boost::function< bool(ResObject::constPtr)> ResFilter
 
typedef std::unary_function< PoolItem, boolPoolItemFilterFunctor
 

Functions

template<class TRes >
filter::ByKind byKind ()
 
template<class TCompare >
ByEdition< TCompare > byEdition (const Edition &edition_r, TCompare cmp_r)
 
template<class TCompare >
ByEdition< TCompare > byEdition (const Edition &edition_r)
 
template<class TCompare >
ByArch< TCompare > byArch (const Arch &arch_r, TCompare cmp_r)
 
template<class TCompare >
ByArch< TCompare > byArch (const Arch &arch_r)
 

Typedef Documentation

◆ ResObjectFilterFunctor

Definition at line 151 of file ResFilters.h.

◆ ResFilter

typedef boost::function<bool ( ResObject::constPtr )> zypp::resfilter::ResFilter

Definition at line 152 of file ResFilters.h.

◆ PoolItemFilterFunctor

typedef std::unary_function<PoolItem, bool> zypp::resfilter::PoolItemFilterFunctor

Definition at line 285 of file ResFilters.h.

Function Documentation

◆ byKind()

template<class TRes >
filter::ByKind zypp::resfilter::byKind ( )
related

Definition at line 156 of file ResFilters.h.

◆ byEdition() [1/2]

template<class TCompare >
ByEdition<TCompare> zypp::resfilter::byEdition ( const Edition edition_r,
TCompare  cmp_r 
)

Definition at line 227 of file ResFilters.h.

◆ byEdition() [2/2]

template<class TCompare >
ByEdition<TCompare> zypp::resfilter::byEdition ( const Edition edition_r)

Definition at line 232 of file ResFilters.h.

◆ byArch() [1/2]

template<class TCompare >
ByArch<TCompare> zypp::resfilter::byArch ( const Arch arch_r,
TCompare  cmp_r 
)

Definition at line 267 of file ResFilters.h.

◆ byArch() [2/2]

template<class TCompare >
ByArch<TCompare> zypp::resfilter::byArch ( const Arch arch_r)

Definition at line 272 of file ResFilters.h.