18#include <zypp/APIConfig.h>
119 template<
class TFilter>
123 template<
class TFilter>
127 template<
class TFilter>
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string.
Access to the sat-pools string space.
'Language[_Country]' codes.
Combining sat::Solvable and ResStatus.
TraitsType::constPtrType constPtr
ResPool::instance().proxy();.
Store initial establish status of pseudo installed items.
A copy of the Pools initial ValidateValues of pseudo installed items.
RW_pointer< Impl > _pimpl
ChangedPseudoInstalled changedPseudoInstalled() const
Return all pseudo installed items whose current state differs from the established one.
EstablishedStates(shared_ptr< Impl > pimpl_r)
Factory: ResPool::establishedStates.
std::map< PoolItem, ResStatus::ValidateValue > ChangedPseudoInstalled
Map holding pseudo installed items where current and established status differ.
hardLockQueries_iterator hardLockQueriesBegin() const
bool isAvailableLocale(const Locale &locale_r) const
Whether this Locale is in the set of available locales.
const pool::PoolTraits::ItemContainerT & store() const
bool hardLockQueriesEmpty() const
pool::PoolTraits::HardLockQueries HardLockQueries
byName_iterator byNameEnd(const std::string &name_r) const
size_type knownRepositoriesSize() const
filter_iterator< TFilter, const_iterator > filterEnd(const TFilter &filter_r) const
ResPool(pool::PoolTraits::Impl_Ptr impl_r)
Ctor.
PoolItem find(const sat::Solvable &slv_r) const
Return the corresponding PoolItem.
Iterable< byIdent_iterator > byIdent(IdString name_r) const
static ResPool instance()
Singleton ctor.
byIdent_iterator byIdentEnd(const PoolItem &pi_r) const
Derive name and kind from PoolItem.
filter_iterator< filter::ByStatus, const_iterator > byStatusEnd(const filter::ByStatus &filter_r) const
repository_iterator knownRepositoriesBegin() const
byKind_iterator byKindEnd() const
bool eraseRequestedLocale(const Locale &locale_r)
Erase one Locale from the set of requested locales.
bool addRequestedLocale(const Locale &locale_r)
Add one Locale to the set of requested locales.
byIdent_iterator byIdentEnd(ResKind kind_r, IdString name_r) const
Repository reposFind(const std::string &alias_r) const
Find a Repository named alias_r.
byIdent_iterator byIdentBegin(IdString ident_r) const
Takes a sat::Solvable::ident string.
void setHardLockQueries(const HardLockQueries &newLocks_r)
Set a new set of queries.
Iterable< byKind_iterator > byKind() const
Iterable< byIdent_iterator > byIdent(const ResKind &kind_r, const C_Str &name_r) const
Iterable< filter_iterator< TFilter, const_iterator > > filter(const TFilter &filter_r) const
byIdent_iterator byIdentBegin(IdString name_r) const
Resolver & resolver() const
The Resolver.
ResPoolProxy proxy() const
preliminary
const LocaleSet & getAvailableLocales() const
Get the set of available locales.
byIdent_iterator byIdentBegin(const PoolItem &pi_r) const
Derive name and kind from PoolItem.
const_iterator end() const
filter_iterator< TFilter, const_iterator > filterBegin(const TFilter &filter_r) const
Iterable< hardLockQueries_iterator > hardLockQueries() const
byIdent_iterator byIdentEnd(IdString ident_r) const
Takes a sat::Solvable::ident string.
const LocaleSet & getRequestedLocales() const
Return the requested locales.
ChangedPseudoInstalled changedPseudoInstalled() const
Return all pseudo installed items whose current state differs from their initial one.
pool::PoolTraits::repository_iterator repository_iterator
Iterable< byIdent_iterator > byIdent(const C_Str &name_r) const
byKind_iterator byKindEnd(const ResKind &kind_r) const
Iterable< byName_iterator > byName(const std::string &name_r) const
repository_iterator knownRepositoriesEnd() const
byKind_iterator byKindBegin() const
byIdent_iterator byIdentBegin(const C_Str &name_r) const
void setRequestedLocales(const LocaleSet &locales_r)
Set the requested locales.
Iterable< byIdent_iterator > byIdent(const ResKind &kind_r, IdString name_r) const
pool::PoolTraits::hardLockQueries_iterator hardLockQueries_iterator
zypp::resfilter::ByName ByName
size_type hardLockQueriesSize() const
byName_iterator byNameBegin(const std::string &name_r) const
const pool::PoolTraits::Id2ItemT & id2item() const
filter_iterator< filter::ByStatus, const_iterator > byStatusBegin(const filter::ByStatus &filter_r) const
Iterable< byIdent_iterator > byIdent(IdString ident_r) const
EstablishedStates establishedStates() const
Factory for EstablishedStates.
RW_pointer< pool::PoolTraits::Impl > _pimpl
Access to implementation.
const SerialNumber & serial() const
The pools serial number.
byIdent_iterator byIdentEnd(sat::Solvable slv_r) const
Derive name and kind from sat::Solvable.
Iterable< byIdent_iterator > byIdent(sat::Solvable slv_r) const
byIdent_iterator byIdentBegin(sat::Solvable slv_r) const
Derive name and kind from sat::Solvable.
pool::PoolTraits::size_type size_type
byKind_iterator byKindBegin(const ResKind &kind_r) const
const_iterator begin() const
Iterable< byKind_iterator > byKind(const ResKind &kind_r) const
void getHardLockQueries(HardLockQueries &activeLocks_r)
Suggest a new set of queries based on the current selection.
Iterable< byIdent_iterator > byIdent(const ByIdent &ident_r) const
friend std::ostream & operator<<(std::ostream &str, const ResPool &obj)
byIdent_iterator byIdentEnd(IdString name_r) const
byIdent_iterator byIdentBegin(ResKind kind_r, IdString name_r) const
byIdent_iterator byIdentEnd(const C_Str &name_r) const
PoolItem find(const ResObject::constPtr &resolvable_r) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
byIdent_iterator byIdentBegin(ResKind kind_r, const C_Str &name_r) const
Iterable< repository_iterator > knownRepositories() const
byIdent_iterator byIdentBegin(const ByIdent &ident_r) const
byIdent_iterator byIdentEnd(const ByIdent &ident_r) const
hardLockQueries_iterator hardLockQueriesEnd() const
EstablishedStates::ChangedPseudoInstalled ChangedPseudoInstalled
Map holding pseudo installed items where current and established status differ.
bool isRequestedLocale(const Locale &locale_r) const
Whether this Locale is in the set of requested locales.
byIdent_iterator byIdentEnd(ResKind kind_r, const C_Str &name_r) const
Iterable< byIdent_iterator > byIdent(const PoolItem &pi_r) const
Iterable< filter_iterator< filter::ByStatus, const_iterator > > byStatus(const filter::ByStatus &filter_r) const
Dependency resolver interface.
Simple serial number provider.
Filter solvables according to their kind.
Filter solvables according to their status.
Main filter selecting PoolItems by name and kind.
A Solvable object within the sat Pool.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::unordered_set< Locale > LocaleSet
filter_iterator< TFilter, typename TContainer::const_iterator > make_filter_begin(TFilter f, const TContainer &c)
Convenience to create filter_iterator from container::begin().
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
filter_iterator< TFilter, typename TContainer::const_iterator > make_filter_end(TFilter f, const TContainer &c)
Convenience to create filter_iterator from container::end().
Pool internal filter skiping invalid/unwanted PoolItems.
filter_iterator< ByPoolItem, ItemContainerT::const_iterator > const_iterator
shared_ptr< PoolImpl > Impl_Ptr
sat::Pool::RepositoryIterator repository_iterator
list of known Repositories
std::unordered_multimap< sat::detail::IdType, PoolItem > Id2ItemT
ident index
ItemContainerT::size_type size_type
HardLockQueries::const_iterator hardLockQueries_iterator
std::vector< PoolItem > ItemContainerT
pure items
std::list< PoolQuery > HardLockQueries
hard locks from etc/zypp/locks
transform_iterator< Id2ItemValueSelector, Id2ItemT::const_iterator > byIdent_iterator
Select ResObject by name.
Solvable satSolvable() const
Return the corresponding sat::Solvable.