|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Wrapper that provides uniform interface for STL iterators. More...
#include <ah-zip-utils.H>
Public Types | |
| using | value_type = typename std::decay_t< Container >::value_type |
Public Member Functions | |
| StlIteratorWrapper (const Container &c) | |
| bool | has_curr () const noexcept |
| bool | completed () const noexcept |
| auto | get_curr () const |
| void | next () noexcept |
| void | next_ne () noexcept |
Advance without checking; same as next(), which does not check. | |
Private Attributes | |
| std::decay_t< Container >::const_iterator | curr_ |
| std::decay_t< Container >::const_iterator | end_ |
Wrapper that provides uniform interface for STL iterators.
Definition at line 130 of file ah-zip-utils.H.
| using Aleph::uni_zip_detail::StlIteratorWrapper< Container >::value_type = typename std::decay_t<Container>::value_type |
Definition at line 136 of file ah-zip-utils.H.
|
inlineexplicit |
Definition at line 138 of file ah-zip-utils.H.
|
inlinenoexcept |
Definition at line 142 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::StlIteratorWrapper< Container >::curr_, and Aleph::uni_zip_detail::StlIteratorWrapper< Container >::end_.
|
inline |
Definition at line 143 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::StlIteratorWrapper< Container >::curr_.
|
inlinenoexcept |
Definition at line 141 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::StlIteratorWrapper< Container >::curr_, and Aleph::uni_zip_detail::StlIteratorWrapper< Container >::end_.
|
inlinenoexcept |
Definition at line 144 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::StlIteratorWrapper< Container >::curr_.
Referenced by Aleph::uni_zip_detail::StlIteratorWrapper< Container >::next_ne().
|
inlinenoexcept |
Advance without checking; same as next(), which does not check.
Provided so the adaptor satisfies AlephIterator and works in generic code that advances with next_ne() under a has_curr() guard.
Definition at line 151 of file ah-zip-utils.H.
References Aleph::uni_zip_detail::StlIteratorWrapper< Container >::next().
|
private |
Definition at line 132 of file ah-zip-utils.H.
Referenced by Aleph::uni_zip_detail::StlIteratorWrapper< Container >::completed(), Aleph::uni_zip_detail::StlIteratorWrapper< Container >::get_curr(), Aleph::uni_zip_detail::StlIteratorWrapper< Container >::has_curr(), and Aleph::uni_zip_detail::StlIteratorWrapper< Container >::next().
|
private |
Definition at line 133 of file ah-zip-utils.H.
Referenced by Aleph::uni_zip_detail::StlIteratorWrapper< Container >::completed(), and Aleph::uni_zip_detail::StlIteratorWrapper< Container >::has_curr().