Public Types |
typedef detail::SolvableIterator | SolvableIterator |
typedef
zypp::detail::RepositoryIterator | RepositoryIterator |
typedef detail::size_type | size_type |
Public Member Functions |
| Pool (const detail::PoolMember &) |
| Ctor from PoolMember.
|
size_type | capacity () const |
| Internal array size for stats only.
|
const SerialNumber & | serial () const |
| Housekeeping data serial number.
|
void | prepare () const |
| Update housekeeping data if necessary (e.g.
|
void | prepareForSolving () const |
| prepare plus some expensive checks done before solving only.
|
bool | reposEmpty () const |
| Whether Pool contains repos.
|
size_type | reposSize () const |
| Number of repos in Pool.
|
RepositoryIterator | reposBegin () const |
| Iterator to the first Repository.
|
RepositoryIterator | reposEnd () const |
| Iterator behind the last Repository.
|
Repository | reposInsert (const std::string &alias_r) |
| Return a Repository named alias_r .
|
Repository | reposFind (const std::string &alias_r) const |
| Find a Repository named alias_r .
|
void | reposErase (const std::string &alias_r) |
| Remove a Repository named alias_r .
|
Repository | findSystemRepo () const |
| Return the system repository if it is on the pool.
|
Repository | systemRepo () |
| Return the system repository, create it if missing.
|
Repository | addRepoSolv (const Pathname &file_r, const std::string &name_r) |
| Load Solvables from a solv-file into a Repository named name_r .
|
Repository | addRepoSolv (const Pathname &file_r) |
Repository | addRepoSolv (const Pathname &file_r, const RepoInfo &info_r) |
Repository | addRepoHelix (const Pathname &file_r, const std::string &name_r) |
| Load Solvables from a helix-file into a Repository named name_r .
|
Repository | addRepoHelix (const Pathname &file_r) |
Repository | addRepoHelix (const Pathname &file_r, const RepoInfo &info_r) |
bool | solvablesEmpty () const |
| Whether Pool contains solvables.
|
size_type | solvablesSize () const |
| Number of solvables in Pool.
|
SolvableIterator | solvablesBegin () const |
| Iterator to the first Solvable.
|
SolvableIterator | solvablesEnd () const |
| Iterator behind the last Solvable.
|
WhatProvides | whatProvides (Capability cap_r) const |
| Conainer of all Solvable providing cap_r .
|
::_Pool * | get () const |
| Expert backdoor.
|
|
template<class _Filter > |
filter_iterator< _Filter,
SolvableIterator > | filterBegin (const _Filter &filter_r) const |
template<class _Filter > |
filter_iterator< _Filter,
SolvableIterator > | filterEnd (const _Filter &filter_r) const |
|
void | setTextLocale (const Locale &locale_r) |
| Set the default language for retrieving translated texts.
|
void | setRequestedLocales (const LocaleSet &locales_r) |
| Set the requested locales.
|
bool | addRequestedLocale (const Locale &locale_r) |
| Add one Locale to the set of requested locales.
|
bool | eraseRequestedLocale (const Locale &locale_r) |
| Erase one Locale from the set of requested locales.
|
const LocaleSet & | getRequestedLocales () const |
| Return the requested locales.
|
bool | isRequestedLocale (const Locale &locale_r) const |
| Wheter this Locale is in the set of requested locales.
|
const LocaleSet & | getAvailableLocales () const |
| Get the set of available locales.
|
bool | isAvailableLocale (const Locale &locale_r) const |
| Wheter this Locale is in the set of available locales.
|
Static Public Member Functions |
static Pool | instance () |
| Singleton ctor.
|
static const std::string & | systemRepoAlias () |
| Reserved system repository alias .
|
Private Member Functions |
| Pool () |
| Default ctor.
|
Related Functions |
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const Pool &obj) |
bool | operator== (const Pool &lhs, const Pool &rhs) |
bool | operator!= (const Pool &lhs, const Pool &rhs) |
Multiversion install. |
Ident list of all packages that can be installed in different version at the same time.
(
- See also:
- ZConfig::multiversionSpec)
|
typedef IdStringSet::const_iterator | MultiversionIterator |
bool | multiversionEmpty () const |
size_t | multiversionSize () const |
MultiversionIterator | multiversionBegin () const |
MultiversionIterator | multiversionEnd () const |
bool | isMultiversion (IdString ident_r) const |
Installed on behalf of a user request hint. |
This is a hint guessed by evaluating an available install history.
|
typedef IdStringSet::const_iterator | OnSystemByUserIterator |
bool | onSystemByUserEmpty () const |
size_t | onSystemByUserSize () const |
OnSystemByUserIterator | onSystemByUserBegin () const |
OnSystemByUserIterator | onSystemByUserEnd () const |
bool | isOnSystemByUser (IdString ident_r) const |
Global sat-pool.
Explicitly shared singleton Pool::instance.
Definition at line 42 of file Pool.h.