WhatProvides iterator.
More...
#include <WhatProvides.h>
WhatProvides iterator.
Iterate a NULL terminated sat::detail::IdType array. Ctor gets the adress of a pointer to the array, and offset into the array. This is needed in case the array gets reallocated.
Definition at line 146 of file WhatProvides.h.
zypp::sat::detail::WhatProvidesIterator::WhatProvidesIterator |
( |
| ) |
|
|
inline |
zypp::sat::detail::WhatProvidesIterator::WhatProvidesIterator |
( |
const detail::IdType *const |
base_r, |
|
|
unsigned |
offset_r = 0 |
|
) |
| |
|
inlineexplicit |
Ctor with pointer to 1st elemment of an array.
Use otherwise unused base as pointer for _baseRef.
Definition at line 163 of file WhatProvides.h.
zypp::sat::detail::WhatProvidesIterator::WhatProvidesIterator |
( |
const detail::IdType *const * |
baseRef_r, |
|
|
unsigned |
offset_r |
|
) |
| |
|
inlineexplicit |
Ctor with pointer to pointer to 1st elemment of an array.
Required for arrays that might be relocated while iterating.
Definition at line 170 of file WhatProvides.h.
Copy-ctor required to keep _baseRef adjusted.
Definition at line 175 of file WhatProvides.h.
Assignment operator required to keep _baseRef adjusted.
Definition at line 182 of file WhatProvides.h.
reference zypp::sat::detail::WhatProvidesIterator::dereference |
( |
| ) |
const |
|
inlineprivate |
void zypp::sat::detail::WhatProvidesIterator::increment |
( |
| ) |
|
|
inlineprivate |
detail::IdType zypp::sat::detail::WhatProvidesIterator::getId |
( |
| ) |
const |
|
inlineprivate |
friend class boost::iterator_core_access |
|
friend |
const detail::IdType* const* zypp::sat::detail::WhatProvidesIterator::_baseRef |
|
private |
unsigned zypp::sat::detail::WhatProvidesIterator::_offset |
|
private |
The documentation for this class was generated from the following file: