libzypp
13.10.6
|
Container of Capability (currently read only). More...
#include <Capabilities.h>
Classes | |
class | const_iterator |
Capabilities iterator. More... | |
Public Types | |
enum | Mode { SKIP_TO_INTERNAL } |
typedef Capability | value_type |
typedef unsigned | size_type |
Public Member Functions | |
Capabilities () | |
Default ctor. More... | |
Capabilities (const sat::detail::IdType *base_r) | |
Ctor from Id pointer (friend Solvable). More... | |
Capabilities (const sat::detail::IdType *base_r, sat::detail::IdType skip_r) | |
Ctor from Id pointer (friend Solvable). More... | |
bool | empty () const |
Whether the container is empty. More... | |
size_type | size () const |
Number of capabilities inside. More... | |
const_iterator | begin () const |
Iterator pointing to the first Capability. More... | |
const_iterator | end () const |
Iterator pointing behind the last Capability. More... | |
Private Attributes | |
const sat::detail::IdType * | _begin |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const Capabilities &obj) |
Container of Capability (currently read only).
Definition at line 35 of file Capabilities.h.
Definition at line 38 of file Capabilities.h.
typedef unsigned zypp::Capabilities::size_type |
Definition at line 39 of file Capabilities.h.
Enumerator | |
---|---|
SKIP_TO_INTERNAL |
Definition at line 41 of file Capabilities.h.
|
inline |
Default ctor.
Definition at line 45 of file Capabilities.h.
|
inlineexplicit |
Ctor from Id pointer (friend Solvable).
Definition at line 51 of file Capabilities.h.
zypp::Capabilities::Capabilities | ( | const sat::detail::IdType * | base_r, |
sat::detail::IdType | skip_r | ||
) |
Ctor from Id pointer (friend Solvable).
Jump behind skip_r (e.g. behind prereqMarker).
Definition at line 23 of file Capabilities.cc.
|
inline |
Whether the container is empty.
Definition at line 62 of file Capabilities.h.
Capabilities::size_type zypp::Capabilities::size | ( | ) | const |
Number of capabilities inside.
Definition at line 45 of file Capabilities.cc.
|
inline |
Iterator pointing to the first Capability.
Definition at line 162 of file Capabilities.h.
|
inline |
Iterator pointing behind the last Capability.
Definition at line 165 of file Capabilities.h.
|
related |
Stream output
Definition at line 65 of file Capabilities.cc.
|
private |
Definition at line 78 of file Capabilities.h.