12#ifndef ZYPP_SAT_POOL_H
13#define ZYPP_SAT_POOL_H
64 size_type capacity()
const;
83 bool reposEmpty()
const;
86 size_type reposSize()
const;
89 RepositoryIterator reposBegin()
const;
92 RepositoryIterator reposEnd()
const;
96 {
return makeIterable( reposBegin(), reposEnd() ); }
113 { reposFind(
alias_r ).eraseFromPool(); }
120 {
while ( ! reposEmpty() ) reposErase( reposBegin()->alias() ); }
124 static const std::string & systemRepoAlias();
163 bool solvablesEmpty()
const;
166 size_type solvablesSize()
const;
169 SolvableIterator solvablesBegin()
const;
172 SolvableIterator solvablesEnd()
const;
176 {
return makeIterable( solvablesBegin(), solvablesEnd() ); }
181 template<
class TFilter>
183 {
return make_filter_iterator(
filter_r, solvablesBegin(), solvablesEnd() ); }
185 template<
class TFilter>
187 {
return make_filter_iterator(
filter_r, solvablesEnd(), solvablesEnd() ); }
226 const LocaleSet & getRequestedLocales()
const;
236 const LocaleSet & getAddedRequestedLocales()
const;
239 const LocaleSet & getRemovedRequestedLocales()
const;
246 const LocaleSet & getAvailableLocales()
const;
269 Queue autoInstalled()
const;
295 {
return lhs.
get() == rhs.
get(); }
299 {
return lhs.
get() != rhs.
get(); }
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
'Language[_Country]' codes.
What is known about a repository.
Simple serial number provider.
filter_iterator< TFilter, SolvableIterator > filterEnd(const TFilter &filter_r) const
Pool(const detail::PoolMember &)
Ctor from PoolMember.
Iterable< RepositoryIterator > repos() const
Iterate the repositories.
WhatProvides whatProvides(Capability cap_r) const
Conainer of all Solvable providing cap_r.
filter_iterator< TFilter, SolvableIterator > filterBegin(const TFilter &filter_r) const
void reposErase(const std::string &alias_r)
Remove a Repository named alias_r.
Iterable< SolvableIterator > solvables() const
Iterate the solvables.
void reposEraseAll()
Remove all repos from the pool.
static Pool instance()
Singleton ctor.
ZYPP_DEPRECATED bool multiversionEmpty() const
bool operator==(const Pool &lhs, const Pool &rhs)
detail::CPool * get() const
Expert backdoor.
bool operator!=(const Pool &lhs, const Pool &rhs)
Libsolv Id queue wrapper.
Solvable set wrapper to allow adding additional convenience iterators.
Define a set of Solvables by ident and provides.
A Solvable object within the sat Pool.
Container of Solvable providing a Capability (read only).
Iterate over valid Solvables in the pool.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const FileConflicts &obj)
void updateSolvFileIndex(const Pathname &solvfile_r)
Create solv file content digest for zypper bash completion.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Backlink to the associated PoolImpl.
#define ZYPP_DEPRECATED
The ZYPP_DEPRECATED macro can be used to trigger compile-time warnings with gcc >= 3....