Go to the documentation of this file.
41 typedef std::unordered_set<detail::IdType> set_type;
42 typedef std::vector<sat::detail::IdType> vector_type;
67 ctorAdd( item_r->satSolvable() );
76 {
if ( item_r )
ctorAdd( item_r->satSolvable() ); }
82 inline void addToSet(
Solvable item, set_type *& pdata, shared_ptr<void>& _private )
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() );
Combining sat::Solvable and ResStatus.
A Solvable object within the sat Pool.
Container of Solvable providing a Capability (read only).
WhatObsoletes()
Default ctor.
IdType id() const
Expert backdoor.
Solvable satSolvable() const
Return the corresponding sat::Solvable.
bool empty() const
Whether the container is empty.
static const IdType noId(0)
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).
const_iterator begin() const
Iterator pointing to the first Capability.
const sat::detail::IdType * _begin
bool obsoleteUsesProvides
const_iterator end() const
Iterator pointing behind the last Solvable.
shared_ptr< void > _private
TraitsType::constPtrType constPtr
const_iterator begin() const
Iterator pointing to the first Solvable.
Access to the sat-pools string space.
const_iterator end() const
Iterator pointing behind the last Capability.
bool multiversionInstall() const
Whether different versions of this package can be installed at the same time.
int IdType
Generic Id type.
std::ostream & operator<<(std::ostream &str, const FileConflicts &obj)
Easy-to use interface to the ZYPP dependency resolver.
Container of installed Solvable which would be obsoleted by the Solvable passed to the ctor.
const_iterator end() const
Iterator pointing behind the last Solvable.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.
Capabilities obsoletes() const
void ctorAdd(const PoolItem &item_r)
String related utilities and Regular expression matching.
bool empty() const
Whether the container is empty.
Container of Capability (currently read only).
const_iterator begin() const
Iterator pointing to the first Solvable.
size_type size() const
Number of solvables inside.