libzypp
17.35.12
|
#include <zypp-core/base/Iterable.h>
Public Types | |
using | size_type = size_t |
using | iterator_type = TIterator |
using | value_type = typename std::iterator_traits< iterator_type >::value_type |
using | difference_type = typename std::iterator_traits< iterator_type >::difference_type |
using | pointer = typename std::iterator_traits< iterator_type >::pointer |
using | reference = typename std::iterator_traits< iterator_type >::reference |
using | iterator_category = typename std::iterator_traits< iterator_type >::iterator_category |
Public Member Functions | |
Iterable () | |
Ctor taking the iterator pair. More... | |
Iterable (iterator_type begin_r, iterator_type end_r) | |
Ctor taking the iterator pair. More... | |
Iterable (std::pair< iterator_type, iterator_type > range_r) | |
Ctor taking the iterator pair. More... | |
iterator_type | begin () const |
iterator_type | end () const |
bool | empty () const |
size_type | size () const |
bool | contains (const value_type &val_r) const |
iterator_type | find (const value_type &val_r) const |
Private Attributes | |
iterator_type | _begin |
iterator_type | _end |
Related Functions | |
(Note that these are not member functions.) | |
template<class TIterator > | |
Iterable< TIterator > | makeIterable (TIterator &&begin_r, TIterator &&end_r) |
template<class TIterator > | |
Iterable< TIterator > | makeIterable (std::pair< TIterator, TIterator > &&range_r) |
Definition at line 36 of file Iterable.h.
using zypp::Iterable< TIterator >::size_type = size_t |
Definition at line 39 of file Iterable.h.
using zypp::Iterable< TIterator >::iterator_type = TIterator |
Definition at line 40 of file Iterable.h.
using zypp::Iterable< TIterator >::value_type = typename std::iterator_traits<iterator_type>::value_type |
Definition at line 41 of file Iterable.h.
using zypp::Iterable< TIterator >::difference_type = typename std::iterator_traits<iterator_type>::difference_type |
Definition at line 42 of file Iterable.h.
using zypp::Iterable< TIterator >::pointer = typename std::iterator_traits<iterator_type>::pointer |
Definition at line 43 of file Iterable.h.
using zypp::Iterable< TIterator >::reference = typename std::iterator_traits<iterator_type>::reference |
Definition at line 44 of file Iterable.h.
using zypp::Iterable< TIterator >::iterator_category = typename std::iterator_traits<iterator_type>::iterator_category |
Definition at line 45 of file Iterable.h.
|
inline |
Ctor taking the iterator pair.
Definition at line 48 of file Iterable.h.
|
inline |
Ctor taking the iterator pair.
Definition at line 52 of file Iterable.h.
|
inline |
Ctor taking the iterator pair.
Definition at line 58 of file Iterable.h.
|
inline |
Definition at line 63 of file Iterable.h.
|
inline |
Definition at line 66 of file Iterable.h.
|
inline |
Definition at line 69 of file Iterable.h.
|
inline |
Definition at line 72 of file Iterable.h.
|
inline |
Definition at line 75 of file Iterable.h.
|
inline |
Definition at line 78 of file Iterable.h.
|
related |
convenient construction.
Definition at line 88 of file Iterable.h.
|
related |
convenient construction.
Definition at line 93 of file Iterable.h.
|
private |
Definition at line 82 of file Iterable.h.
|
private |
Definition at line 83 of file Iterable.h.