libzypp
13.10.6
|
Container of Solvable providing a Capability (read only). More...
#include <WhatProvides.h>
Classes | |
class | Impl |
WhatProvides implementation date. More... | |
Public Types | |
typedef Solvable | value_type |
typedef unsigned | size_type |
typedef detail::WhatProvidesIterator | const_iterator |
Public Types inherited from zypp::sat::SolvIterMixin< WhatProvides, 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 | |
WhatProvides () | |
Default ctor. More... | |
WhatProvides (Capability cap_r) | |
Ctor from Capability. More... | |
WhatProvides (Capabilities caps_r) | |
Ctor collecting all providers of capabilities in caps_r . More... | |
WhatProvides (const CapabilitySet &caps_r) | |
Ctor collecting all providers of capabilities in caps_r . 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< WhatProvides, 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 Attributes | |
RW_pointer< Impl > | _pimpl |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const WhatProvides &obj) |
Additional Inherited Members | |
Protected Member Functions inherited from zypp::sat::SolvIterMixin< WhatProvides, 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 Solvable providing a Capability (read only).
isSystem
set true
, although there should never be a Solvable::noSolvable returned with isSystem
set false
. If so, please file a bugreport. Definition at line 87 of file WhatProvides.h.
Definition at line 91 of file WhatProvides.h.
typedef unsigned zypp::sat::WhatProvides::size_type |
Definition at line 92 of file WhatProvides.h.
Definition at line 118 of file WhatProvides.h.
zypp::sat::WhatProvides::WhatProvides | ( | ) |
Default ctor.
Definition at line 94 of file WhatProvides.cc.
|
explicit |
Ctor from Capability.
Definition at line 97 of file WhatProvides.cc.
|
explicit |
Ctor collecting all providers of capabilities in caps_r
.
Definition at line 107 of file WhatProvides.cc.
|
explicit |
Ctor collecting all providers of capabilities in caps_r
.
Definition at line 118 of file WhatProvides.cc.
bool zypp::sat::WhatProvides::empty | ( | ) | const |
Whether the container is empty.
Definition at line 129 of file WhatProvides.cc.
WhatProvides::size_type zypp::sat::WhatProvides::size | ( | ) | const |
Number of solvables inside.
Definition at line 134 of file WhatProvides.cc.
WhatProvides::const_iterator zypp::sat::WhatProvides::begin | ( | ) | const |
Iterator pointing to the first Solvable.
Definition at line 145 of file WhatProvides.cc.
|
inline |
Iterator pointing behind the last Solvable.
Definition at line 226 of file WhatProvides.h.
|
related |
Stream output
Definition at line 162 of file WhatProvides.cc.
|
private |
Definition at line 127 of file WhatProvides.h.