Rasterfarm-SDK
|
#include <circulator.h>
Public Member Functions | |
Circulator () | |
Circulator (C &container) | |
Circulator (typename C::iterator itBegin, typename C::iterator itEnd) | |
Circulator (typename C::iterator itBegin, typename C::iterator itEnd, typename C::iterator position) | |
void | setRange (C &container) |
void | setRange (C &container, typename C::iterator position) |
void | setRange (typename C::iterator itBegin, typename C::iterator itEnd) |
void | setRange (typename C::iterator itBegin, typename C::iterator itEnd, typename C::iterator position) |
void | operator= (C &container) |
void | operator= (const typename C::iterator &it) |
void | operator= (const Circulator< C > &ci) |
uint | getIndex () const |
size_t | cycleLength () const |
Circulator< C > | operator+ (uint n) const |
Circulator< C > & | operator+= (uint n) |
Circulator< C > | operator++ (int) |
Circulator< C > & | operator++ () |
Circulator< C > | operator- (uint n) const |
Circulator< C > & | operator-= (uint n) |
Circulator< C > | operator-- (int) |
Circulator< C > & | operator-- () |
Circulator< C > | prev () const |
Circulator< C > | next () const |
Public Attributes | |
C::iterator | itBegin |
C::iterator | itEnd |
A generic implementation of a circular-iterator.
Any | stl iterator with limitations on arithmetic operators depending on the container. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
C::iterator Engine::Circulator< C >::itBegin |
C::iterator Engine::Circulator< C >::itEnd |