|
proxygen
|
#include <Iterators.h>
Public Types | |
| using | Super = IteratorFacade< D, V, Tag > |
| using | value_type = typename Super::value_type |
| using | iterator_category = typename Super::iterator_category |
| using | reference = typename Super::reference |
| using | pointer = typename Super::pointer |
| using | difference_type = typename Super::difference_type |
Public Types inherited from folly::detail::IteratorFacade< D, V, Tag > | |
| using | value_type = V |
| using | reference = value_type & |
| using | pointer = value_type * |
| using | difference_type = ssize_t |
| using | iterator_category = Tag |
Public Member Functions | |
| IteratorAdaptor (I base) | |
| void | increment () |
| void | decrement () |
| V & | dereference () const |
| bool | equal (D const &rhs) const |
| I const & | base () const |
| I & | base () |
Public Member Functions inherited from folly::detail::IteratorFacade< D, V, Tag > | |
| bool | operator== (D const &rhs) const |
| bool | operator!= (D const &rhs) const |
| template<class D2 > | |
| std::enable_if< std::is_convertible< D, D2 >::value, bool >::type | operator== (D2 const &rhs) const |
| template<class D2 > | |
| bool | operator!= (D2 const &rhs) const |
| V & | operator* () const |
| V * | operator-> () const |
| D & | operator++ () |
| D | operator++ (int) |
| D & | operator-- () |
| D | operator-- (int) |
Private Attributes | |
| I | base_ |
Wrap one iterator while providing an interator interface with e.g. a different value_type.
Template parameters: D: the deriving class (CRTP) I: the wrapper iterator type V: value type
Definition at line 157 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::difference_type = typename Super::difference_type |
Definition at line 164 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::iterator_category = typename Super::iterator_category |
Definition at line 161 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::pointer = typename Super::pointer |
Definition at line 163 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::reference = typename Super::reference |
Definition at line 162 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::Super = IteratorFacade<D, V, Tag> |
Definition at line 159 of file Iterators.h.
| using folly::detail::IteratorAdaptor< D, I, V, Tag >::value_type = typename Super::value_type |
Definition at line 160 of file Iterators.h.
|
inlineexplicit |
Definition at line 166 of file Iterators.h.
|
inline |
|
inline |
Definition at line 187 of file Iterators.h.
|
inline |
Definition at line 172 of file Iterators.h.
|
inline |
Definition at line 176 of file Iterators.h.
|
inline |
Definition at line 180 of file Iterators.h.
|
inline |
Definition at line 168 of file Iterators.h.
|
private |
Definition at line 192 of file Iterators.h.