|
libzypp
9.1.2
|
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. | |
| Capabilities (const sat::detail::IdType *base_r) | |
| Ctor from Id pointer (friend Solvable). | |
| Capabilities (const sat::detail::IdType *base_r, sat::detail::IdType skip_r) | |
| Ctor from Id pointer (friend Solvable). | |
| bool | empty () const |
| Whether the container is empty. | |
| size_type | size () const |
| Number of capabilities inside. | |
| const_iterator | begin () const |
| Iterator pointing to the first Capability. | |
| const_iterator | end () const |
| Iterator pointing behind the last Capability. | |
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.
Definition at line 41 of file Capabilities.h.
| zypp::Capabilities::Capabilities | ( | ) | [inline] |
Default ctor.
Definition at line 45 of file Capabilities.h.
| zypp::Capabilities::Capabilities | ( | const sat::detail::IdType * | base_r | ) | [inline, explicit] |
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.
| bool zypp::Capabilities::empty | ( | ) | const [inline] |
Number of capabilities inside.
Definition at line 45 of file Capabilities.cc.
References _begin, end(), and zypp::sat::detail::isDepMarkerId().
Referenced by zypp::operator<<().
| Capabilities::const_iterator zypp::Capabilities::begin | ( | ) | const [inline] |
Iterator pointing to the first Capability.
Definition at line 162 of file Capabilities.h.
References _begin.
Referenced by zypp::Pattern::depends(), zypp::Product::flavor(), zypp::solver::detail::helixXML(), zypp::operator<<(), zypp::sat::Solvable::providesNamespace(), zypp::sat::Solvable::valuesOfNamespace(), and zypp::sat::WhatProvides::WhatProvides().
| Capabilities::const_iterator zypp::Capabilities::end | ( | ) | const [inline] |
Iterator pointing behind the last Capability.
Definition at line 165 of file Capabilities.h.
Referenced by Capabilities(), zypp::Pattern::depends(), zypp::Product::flavor(), zypp::solver::detail::helixXML(), zypp::operator<<(), zypp::sat::Solvable::providesNamespace(), size(), zypp::sat::Solvable::valuesOfNamespace(), and zypp::sat::WhatProvides::WhatProvides().
| std::ostream & operator<< | ( | std::ostream & | str, |
| const Capabilities & | obj | ||
| ) | [related] |
Stream output
Definition at line 65 of file Capabilities.cc.
const sat::detail::IdType* zypp::Capabilities::_begin [private] |
Definition at line 78 of file Capabilities.h.
Referenced by begin(), Capabilities(), empty(), and size().
1.7.6.1