WhatProvides iterator.
More...
#include <sat/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 154 of file WhatProvides.h.
◆ WhatProvidesIterator() [1/4]
zypp::sat::detail::WhatProvidesIterator::WhatProvidesIterator |
( |
| ) |
|
|
inline |
◆ WhatProvidesIterator() [2/4]
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 171 of file WhatProvides.h.
◆ WhatProvidesIterator() [3/4]
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 178 of file WhatProvides.h.
◆ WhatProvidesIterator() [4/4]
Copy-ctor required to keep _baseRef adjusted.
Definition at line 183 of file WhatProvides.h.
◆ operator=()
Assignment operator required to keep _baseRef adjusted.
Definition at line 190 of file WhatProvides.h.
◆ dereference()
reference zypp::sat::detail::WhatProvidesIterator::dereference |
( |
| ) |
const |
|
inlineprivate |
◆ equal()
◆ increment()
void zypp::sat::detail::WhatProvidesIterator::increment |
( |
| ) |
|
|
inlineprivate |
◆ getId()
detail::IdType zypp::sat::detail::WhatProvidesIterator::getId |
( |
| ) |
const |
|
inlineprivate |
◆ boost::iterator_core_access
friend class boost::iterator_core_access |
|
friend |
◆ operator<<
◆ _baseRef
const detail::IdType* const* zypp::sat::detail::WhatProvidesIterator::_baseRef |
|
private |
◆ _offset
unsigned zypp::sat::detail::WhatProvidesIterator::_offset |
|
private |
The documentation for this class was generated from the following file: