41 using set_type = std::unordered_set<detail::IdType>;
42 using vector_type = std::vector<sat::detail::IdType>;
67 ctorAdd( item_r->satSolvable() );
73 {
ctorAdd( item_r->satSolvable() ); }
76 {
if ( item_r )
ctorAdd( item_r->satSolvable() ); }
86 _private.reset( (pdata =
new set_type) );
88 pdata->insert( item.
id() );
100 if ( obsoleted.
empty() )
104 set_type * pdata = (
_private ?
reinterpret_cast<set_type*
>(
_private.get() ) : 0 );
107 if ( it->isSystem() )
114 if ( obsoletes.
empty() )
118 set_type * pdata = (
_private ?
reinterpret_cast<set_type*
>(
_private.get() ) : 0 );
122 IdString ident( it->detail().name() );
126 if ( iit->isSystem() && iit->ident() == ident )
138 set_type * sdata =
reinterpret_cast<set_type*
>(
_private.get() );
140 vector_type * pdata =
new vector_type( sdata->begin(), sdata->end() );
Container of Capability (currently read only).
const_iterator begin() const
Iterator pointing to the first Capability.
const_iterator end() const
Iterator pointing behind the last Capability.
bool empty() const
Whether the container is empty.
Access to the sat-pools string space.
Combining sat::Solvable and ResStatus.
TraitsType::constPtrType constPtr
A Solvable object within the sat Pool.
IdType id() const
Expert backdoor.
bool multiversionInstall() const
Whether different versions of this package can be installed at the same time.
Capabilities dep_obsoletes() const
const_iterator end() const
Iterator pointing behind the last Solvable.
void ctorAdd(const PoolItem &item_r)
WhatObsoletes()
Default ctor.
size_type size() const
Number of solvables inside.
const sat::detail::IdType * _begin
shared_ptr< void > _private
const_iterator begin() const
Iterator pointing to the first Solvable.
Container of Solvable providing a Capability (read only).
const_iterator end() const
Iterator pointing behind the last Solvable.
bool empty() const
Whether the container is empty.
const_iterator begin() const
Iterator pointing to the first Solvable.
String related utilities and Regular expression matching.
static const IdType noId(0)
int IdType
Generic Id type.
std::ostream & operator<<(std::ostream &str, const FileConflicts &obj)
bool obsoleteUsesProvides
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpRange(std::ostream &str, TIterator begin, TIterator end, const std::string &intro="{", const std::string &pfx="\n ", const std::string &sep="\n ", const std::string &sfx="\n", const std::string &extro="}")
Print range defined by iterators (multiline style).
#define for_(IT, BEG, END)
Convenient for-loops using iterator.