12#ifndef ZYPP_RESFILTERS_H
13#define ZYPP_RESFILTERS_H
162 return p->name() ==
_name;
181 return p->repoInfo().alias() ==
_alias;
199 template<
class TCompare = CompareByEQ<Edition> >
217 template<
class TCompare>
222 template<
class TCompare>
239 template<
class TCompare = CompareByEQ<Arch> >
257 template<
class TCompare>
262 template<
class TCompare>
280 return p.status().isInstalled();
289 return p.status().isUninstalled();
298 return p.status().transacts();
307 return p.status().isLocked();
316 return p.status().isKept();
325 return p.status().isRecommended();
334 return p.status().isSuggested();
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Edition represents [epoch:]version[-release]
Combining sat::Solvable and ResStatus.
TraitsType::constPtrType constPtr
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()(const ResObject::constPtr &p) const
Select ResObject by Edition using TCompare functor.
bool operator()(const ResObject::constPtr &p) const
ByEdition(Edition edition_r, TCompare cmp_r)
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(std::string name_r)
bool operator()(const ResObject::constPtr &p) const
PoolItem which is recommended.
bool operator()(const PoolItem &p) const
Select ResObject by repository or repository alias.
ByRepository(Repository repository_r)
bool operator()(const ResObject::constPtr &p) const
ByRepository(std::string alias_r)
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