12#ifndef ZYPP_RESFILTERS_H
13#define ZYPP_RESFILTERS_H
160 return p->name() ==
_name;
170 :
_alias( repository_r.info().alias() )
179 return p->repoInfo().alias() ==
_alias;
197 template<
class TCompare = CompareByEQ<Edition> >
215 template<
class TCompare>
220 template<
class TCompare>
222 {
return byEdition( edition_r, TCompare() ); }
237 template<
class TCompare = CompareByEQ<Arch> >
255 template<
class TCompare>
260 template<
class TCompare>
262 {
return byArch( arch_r, TCompare() ); }
Edition represents [epoch:]version[-release]
Combining sat::Solvable and ResStatus.
ResStatus & status() const
Returns the current status.
TraitsType::constPtrType constPtr
bool isRecommended() const
bool isUninstalled() const
Filter solvables according to their kind.
ByEdition< TCompare > byEdition(const Edition &edition_r, TCompare cmp_r)
ByArch< TCompare > byArch(const Arch &arch_r, TCompare cmp_r)
Easy-to use interface to the ZYPP dependency resolver.
Select ResObject by Arch using TCompare functor.
ByArch(const Arch &arch_r, TCompare cmp_r)
bool operator()(ResObject::constPtr p) const
Select ResObject by Edition using TCompare functor.
ByEdition(const Edition &edition_r, TCompare cmp_r)
bool operator()(ResObject::constPtr p) const
Select PoolItem by installed.
bool operator()(const PoolItem &p) const
bool operator()(const PoolItem &p) const
bool operator()(const PoolItem &p) const
Select ResObject by name.
ByName(const std::string &name_r)
bool operator()(ResObject::constPtr p) const
PoolItem which is recommended.
bool operator()(const PoolItem &p) const
Select ResObject by repository or repository alias.
ByRepository(const std::string &alias_r)
ByRepository(Repository repository_r)
bool operator()(ResObject::constPtr p) const
PoolItem which is suggested.
bool operator()(const PoolItem &p) const
Select PoolItem by transact.
bool operator()(const PoolItem &p) const
Select PoolItem by uninstalled.
bool operator()(const PoolItem &p) const