12#ifndef ZYPP_RESFILTERS_H
13#define ZYPP_RESFILTERS_H
160 return p->name() ==
_name;
179 return p->repoInfo().alias() ==
_alias;
197 template<
class TCompare = CompareByEQ<Edition> >
215 template<
class TCompare>
220 template<
class TCompare>
237 template<
class TCompare = CompareByEQ<Arch> >
255 template<
class TCompare>
260 template<
class TCompare>
278 return p.status().isInstalled();
287 return p.status().isUninstalled();
296 return p.status().transacts();
305 return p.status().isLocked();
314 return p.status().isKept();
323 return p.status().isRecommended();
332 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()(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