libzypp
13.10.6
|
Container of installed Solvable which would be obsoleted by the Solvable passed to the ctor. More...
#include <WhatObsoletes.h>
Public Types | |
typedef Solvable | value_type |
typedef unsigned | size_type |
typedef detail::WhatProvidesIterator | const_iterator |
Public Types inherited from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator > | |
typedef size_t | size_type |
typedef detail::WhatProvidesIterator | Solvable_iterator |
typedef transform_iterator < asPoolItem, Solvable_iterator > | PoolItem_iterator |
typedef transform_iterator < ui::asSelectable, UnifiedSolvable_iterator > | Selectable_iterator |
Public Member Functions | |
WhatObsoletes () | |
Default ctor. More... | |
WhatObsoletes (Solvable item_r) | |
Ctor from Solvable. More... | |
WhatObsoletes (const PoolItem &item_r) | |
Ctor from PoolItem. More... | |
WhatObsoletes (const ResObject_constPtr item_r) | |
Ctor from ResObject::constPtr. More... | |
template<class _Iterator > | |
WhatObsoletes (_Iterator begin, _Iterator end) | |
Ctor from a range of Solvable, PoolItem or ResObject::constPtr. More... | |
bool | empty () const |
Whether the container is empty. More... | |
size_type | size () const |
Number of solvables inside. More... | |
const_iterator | begin () const |
Iterator pointing to the first Solvable. More... | |
const_iterator | end () const |
Iterator pointing behind the last Solvable. More... | |
Public Member Functions inherited from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator > | |
bool | empty () const |
Whether the collection is epmty. More... | |
size_type | size () const |
Size of the collection. More... | |
bool | contains (const _Solv &solv_r) const |
Whether collection contains a specific Solvable. More... | |
Solvable_iterator | solvableBegin () const |
Solvable_iterator | solvableEnd () const |
PoolItem_iterator | poolItemBegin () const |
PoolItem_iterator | poolItemEnd () const |
Selectable_iterator | selectableBegin () const |
Selectable_iterator | selectableEnd () const |
Private Member Functions | |
void | ctorAdd (const PoolItem &item_r) |
void | ctorAdd (ResObject_constPtr item_r) |
void | ctorAdd (Solvable item_r) |
void | ctorDone () |
Private Attributes | |
const sat::detail::IdType * | _begin |
shared_ptr< void > | _private |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const WhatObsoletes &obj) |
Additional Inherited Members | |
Protected Member Functions inherited from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator > | |
SolvIterMixin () | |
SolvIterMixin (const SolvIterMixin &) | |
~SolvIterMixin () | |
void | operator= (const SolvIterMixin &) |
Static Protected Member Functions inherited from zypp::sat::detail::PoolMember | |
static PoolImpl & | myPool () |
Container of installed Solvable which would be obsoleted by the Solvable passed to the ctor.
Definition at line 36 of file WhatObsoletes.h.
Definition at line 40 of file WhatObsoletes.h.
typedef unsigned zypp::sat::WhatObsoletes::size_type |
Definition at line 41 of file WhatObsoletes.h.
Definition at line 80 of file WhatObsoletes.h.
|
inline |
Default ctor.
Definition at line 45 of file WhatObsoletes.h.
|
explicit |
Ctor from Solvable.
Definition at line 48 of file WhatObsoletes.cc.
|
explicit |
Ctor from PoolItem.
Definition at line 55 of file WhatObsoletes.cc.
|
explicit |
Ctor from ResObject::constPtr.
|
inline |
Ctor from a range of Solvable, PoolItem or ResObject::constPtr.
Definition at line 63 of file WhatObsoletes.h.
|
inline |
Whether the container is empty.
Definition at line 73 of file WhatObsoletes.h.
WhatObsoletes::size_type zypp::sat::WhatObsoletes::size | ( | ) | const |
Number of solvables inside.
Definition at line 148 of file WhatObsoletes.cc.
|
inline |
Iterator pointing to the first Solvable.
Definition at line 83 of file WhatObsoletes.h.
|
inline |
Iterator pointing behind the last Solvable.
Definition at line 87 of file WhatObsoletes.h.
|
private |
Definition at line 72 of file WhatObsoletes.cc.
|
private |
Definition at line 75 of file WhatObsoletes.cc.
|
private |
Definition at line 92 of file WhatObsoletes.cc.
|
private |
Definition at line 133 of file WhatObsoletes.cc.
|
related |
Stream output
Definition at line 166 of file WhatObsoletes.cc.
|
private |
Definition at line 97 of file WhatObsoletes.h.
|
private |
Definition at line 98 of file WhatObsoletes.h.