12#ifndef ZYPP_SAT_POOL_H 
   13#define ZYPP_SAT_POOL_H 
   64        size_type capacity() 
const;
 
   79        void rootDir( 
const Pathname & root_r );
 
   83        bool reposEmpty() 
const;
 
   86        size_type reposSize() 
const;
 
   89        RepositoryIterator reposBegin() 
const;
 
   92        RepositoryIterator reposEnd() 
const;
 
  102        Repository reposInsert( 
const std::string & alias_r );
 
  107        Repository reposFind( 
const std::string & alias_r ) 
const;
 
  113        { 
reposFind( alias_r ).eraseFromPool(); }
 
 
  124        static const std::string & systemRepoAlias();
 
  163        bool solvablesEmpty() 
const;
 
  166        size_type solvablesSize() 
const;
 
  169        SolvableIterator solvablesBegin() 
const;
 
  172        SolvableIterator solvablesEnd() 
const;
 
  181        template<
class TFilter>
 
  185        template<
class TFilter>
 
  205        void setTextLocale( 
const Locale & locale_r );
 
  211        void setRequestedLocales( 
const LocaleSet & locales_r );
 
  216        bool addRequestedLocale( 
const Locale & locale_r );
 
  221        bool eraseRequestedLocale( 
const Locale & locale_r );
 
  226        const LocaleSet & getRequestedLocales() 
const;
 
  229        bool isRequestedLocale( 
const Locale & locale_r ) 
const;
 
  233        void initRequestedLocales( 
const LocaleSet & locales_r );
 
  236        const LocaleSet & getAddedRequestedLocales() 
const;
 
  239        const LocaleSet & getRemovedRequestedLocales() 
const;
 
  246        const LocaleSet & getAvailableLocales() 
const;
 
  249        bool isAvailableLocale( 
const Locale & locale_r ) 
const;
 
  269        Queue autoInstalled() 
const;
 
  271        void setAutoInstalled( 
const Queue & autoInstalled_r );
 
  278        void setNeedrebootSpec( sat::SolvableSpec needrebootSpec_r );
 
 
  295    { 
return lhs.
get() == rhs.
get(); }
 
 
  299    { 
return lhs.
get() != rhs.
get(); }
 
 
An iterator over the subset of elements of some sequence which satisfy a given predicate.
Iterable< TIterator > makeIterable(TIterator &&begin_r, TIterator &&end_r)
convenient construction.
'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.
RepositoryIterator reposEnd() const
Iterator behind the last Repository.
detail::SolvableIterator SolvableIterator
const MultiversionList & multiversion() const
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.
SolvableIterator solvablesEnd() const
Iterator behind the last Solvable.
Iterable< SolvableIterator > solvables() const
Iterate the solvables.
SolvableSet MultiversionList
detail::size_type size_type
RepositoryIterator reposBegin() const
Iterator to the first Repository.
Repository reposFind(const std::string &alias_r) const
Find a Repository named alias_r.
void reposEraseAll()
Remove all repos from the pool.
static Pool instance()
Singleton ctor.
ZYPP_DEPRECATED bool multiversionEmpty() const
zypp::detail::RepositoryIterator RepositoryIterator
SolvableIterator solvablesBegin() const
Iterator to the first Solvable.
bool operator==(const Pool &lhs, const Pool &rhs)
detail::CPool * get() const
Expert backdoor.
bool reposEmpty() const
Whether Pool contains repos.
bool operator!=(const Pool &lhs, const Pool &rhs)
Libsolv Id queue wrapper.
Solvable set wrapper to allow adding additional convenience iterators.
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.
::s_Pool CPool
Wrapped libsolv C data type exposed as backdoor.
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....