|
libzypp
9.1.2
|
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 Member Functions | |
| WhatObsoletes () | |
| Default ctor. | |
| WhatObsoletes (Solvable item_r) | |
| Ctor from Solvable. | |
| WhatObsoletes (const PoolItem &item_r) | |
| Ctor from PoolItem. | |
| WhatObsoletes (const ResObject_constPtr item_r) | |
| Ctor from ResObject::constPtr. | |
| template<class _Iterator > | |
| WhatObsoletes (_Iterator begin, _Iterator end) | |
| Ctor from a range of Solvable, PoolItem or ResObject::constPtr. | |
| bool | empty () const |
| Whether the container is empty. | |
| size_type | size () const |
| Number of solvables inside. | |
| const_iterator | begin () const |
| Iterator pointing to the first Solvable. | |
| const_iterator | end () const |
| Iterator pointing behind the last Solvable. | |
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) |
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 |
Reimplemented from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator >.
Definition at line 41 of file WhatObsoletes.h.
Definition at line 80 of file WhatObsoletes.h.
| zypp::sat::WhatObsoletes::WhatObsoletes | ( | ) | [inline] |
Default ctor.
Definition at line 45 of file WhatObsoletes.h.
| zypp::sat::WhatObsoletes::WhatObsoletes | ( | Solvable | item_r | ) | [explicit] |
Ctor from Solvable.
Definition at line 44 of file WhatObsoletes.cc.
References ctorAdd(), and ctorDone().
| zypp::sat::WhatObsoletes::WhatObsoletes | ( | const PoolItem & | item_r | ) | [explicit] |
Ctor from PoolItem.
Definition at line 51 of file WhatObsoletes.cc.
References ctorAdd(), and ctorDone().
| zypp::sat::WhatObsoletes::WhatObsoletes | ( | const ResObject_constPtr | item_r | ) | [explicit] |
Ctor from ResObject::constPtr.
| zypp::sat::WhatObsoletes::WhatObsoletes | ( | _Iterator | begin, |
| _Iterator | end | ||
| ) | [inline] |
Ctor from a range of Solvable, PoolItem or ResObject::constPtr.
Definition at line 63 of file WhatObsoletes.h.
References ctorAdd(), ctorDone(), and for_.
| bool zypp::sat::WhatObsoletes::empty | ( | ) | const [inline] |
Whether the container is empty.
Reimplemented from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator >.
Definition at line 73 of file WhatObsoletes.h.
References _begin.
Number of solvables inside.
Reimplemented from zypp::sat::SolvIterMixin< WhatObsoletes, detail::WhatProvidesIterator >.
Definition at line 144 of file WhatObsoletes.cc.
Referenced by zypp::sat::operator<<().
| const_iterator zypp::sat::WhatObsoletes::begin | ( | ) | const [inline] |
Iterator pointing to the first Solvable.
Definition at line 83 of file WhatObsoletes.h.
References _begin.
Referenced by zypp::sat::operator<<(), zypp::solver::detail::InstallOrder::rdfsvisit(), and zypp::Product::replacedProducts().
| const_iterator zypp::sat::WhatObsoletes::end | ( | ) | const [inline] |
Iterator pointing behind the last Solvable.
Definition at line 87 of file WhatObsoletes.h.
Referenced by zypp::sat::operator<<(), zypp::solver::detail::InstallOrder::rdfsvisit(), zypp::Product::replacedProducts(), and size().
| void zypp::sat::WhatObsoletes::ctorAdd | ( | const PoolItem & | item_r | ) | [private] |
Definition at line 68 of file WhatObsoletes.cc.
References zypp::PoolItem::satSolvable().
Referenced by ctorAdd(), and WhatObsoletes().
| void zypp::sat::WhatObsoletes::ctorAdd | ( | ResObject_constPtr | item_r | ) | [private] |
Definition at line 71 of file WhatObsoletes.cc.
References ctorAdd().
| void zypp::sat::WhatObsoletes::ctorAdd | ( | Solvable | item_r | ) | [private] |
Definition at line 88 of file WhatObsoletes.cc.
References for_, zypp::sat::Solvable::multiversionInstall(), zypp::sat::Solvable::obsoletes(), and zypp::sat::obsoleteUsesProvides.
| void zypp::sat::WhatObsoletes::ctorDone | ( | ) | [private] |
Definition at line 129 of file WhatObsoletes.cc.
References _begin, and zypp::sat::detail::noId().
Referenced by WhatObsoletes().
| std::ostream & operator<< | ( | std::ostream & | str, |
| const WhatObsoletes & | obj | ||
| ) | [related] |
Stream output
Definition at line 162 of file WhatObsoletes.cc.
const sat::detail::IdType* zypp::sat::WhatObsoletes::_begin [private] |
Definition at line 97 of file WhatObsoletes.h.
Referenced by begin(), ctorDone(), empty(), and size().
shared_ptr<void> zypp::sat::WhatObsoletes::_private [private] |
Definition at line 98 of file WhatObsoletes.h.
1.7.6.1