![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
#include "lib/iter-cursor.hpp"
implementation for a "gear switching" iterator, based on STL container iterators.
Definition at line 49 of file iter-cursor.hpp.
Public Types | |
| using | pointer = meta::ValueTypeBinding< IT >::pointer |
| using | reference = meta::ValueTypeBinding< IT >::reference |
| using | value_type = std::remove_reference< reference >::type |
Public Member Functions | |
| CursorGear () | |
| CursorGear (IT &&begin, IT &&end) | |
| void | reverse (bool backwards) |
| void | reverse () |
| bool | checkPoint () const |
| reference | yield () const |
| void | iterNext () |
Friends | |
| bool | operator== (CursorGear const &g1, CursorGear const &g2) |
Private Attributes | |
| bool | backwards_ {false} |
| const IT | start_ |
| const IT | end_ |
| IT | pos_ |
|
inline |
Definition at line 64 of file iter-cursor.hpp.
|
inline |
Definition at line 70 of file iter-cursor.hpp.
| using pointer = meta::ValueTypeBinding<IT>::pointer |
Definition at line 59 of file iter-cursor.hpp.
| using reference = meta::ValueTypeBinding<IT>::reference |
Definition at line 60 of file iter-cursor.hpp.
| using value_type = std::remove_reference<reference>::type |
Definition at line 61 of file iter-cursor.hpp.
|
inline |
Definition at line 80 of file iter-cursor.hpp.
References CursorGear< IT >::backwards_, and CursorGear< IT >::reverse().
Here is the call graph for this function:
|
inline |
Definition at line 86 of file iter-cursor.hpp.
References CursorGear< IT >::backwards_, CursorGear< IT >::end_, CursorGear< IT >::pos_, and CursorGear< IT >::start_.
Referenced by CursorGear< IT >::reverse().
Here is the caller graph for this function:
|
inline |
Definition at line 104 of file iter-cursor.hpp.
References CursorGear< IT >::backwards_, CursorGear< IT >::end_, CursorGear< IT >::pos_, and CursorGear< IT >::start_.
|
inline |
Definition at line 111 of file iter-cursor.hpp.
References CursorGear< IT >::backwards_, and CursorGear< IT >::pos_.
|
inline |
Definition at line 118 of file iter-cursor.hpp.
References CursorGear< IT >::backwards_, and CursorGear< IT >::pos_.
|
private |
Definition at line 51 of file iter-cursor.hpp.
Referenced by CursorGear< IT >::checkPoint(), CursorGear< IT >::iterNext(), CursorGear< IT >::reverse(), CursorGear< IT >::reverse(), and CursorGear< IT >::yield().
|
private |
Definition at line 52 of file iter-cursor.hpp.
Referenced by CursorGear< IT >::checkPoint(), and CursorGear< IT >::reverse().
|
private |
Definition at line 53 of file iter-cursor.hpp.
Referenced by CursorGear< IT >::checkPoint(), and CursorGear< IT >::reverse().
|
private |
Definition at line 55 of file iter-cursor.hpp.
Referenced by CursorGear< IT >::checkPoint(), CursorGear< IT >::iterNext(), CursorGear< IT >::reverse(), and CursorGear< IT >::yield().
|
friend |
Definition at line 128 of file iter-cursor.hpp.
Collaboration diagram for CursorGear< IT >: