SISCone 3.0.5
|
a circulator that is foreseen to take as template member either a pointer or an iterator; More...
#include <circulator.h>
Public Member Functions | |
circulator (T here, T begin, T end) | |
ctor with iniitalisation from iterators | |
circulator (const circulator< T > &other) | |
copy ctor | |
void | set_position (const circulator< T > &other) |
set just the position without resetting the begin and end elements | |
void | set_position (T pointer) |
set just the position without resetting the begin and end elements | |
T | operator() () |
get the current object | |
circulator< T > & | operator++ () |
position incrementation | |
circulator< T > & | operator-- () |
position decrementation | |
bool | operator== (const circulator &other) const |
check if the current elements are the same NB: for efficiency, this checks only the here element | |
bool | operator!= (const circulator &other) const |
check if the current elements are different NB: for efficiency, this checks only the here element | |
a circulator that is foreseen to take as template member either a pointer or an iterator;
Definition at line 36 of file circulator.h.
ctor with iniitalisation from iterators
here | the current position |
begin | the first position |
end | the last position |
Definition at line 43 of file circulator.h.
|
inline |
|
inline |
check if the current elements are different NB: for efficiency, this checks only the here element
other | the circulator to compare to the current one |
Definition at line 82 of file circulator.h.
|
inline |
get the current object
Definition at line 58 of file circulator.h.
|
inline |
position incrementation
Definition at line 61 of file circulator.h.
|
inline |
position decrementation
Definition at line 68 of file circulator.h.
|
inline |
check if the current elements are the same NB: for efficiency, this checks only the here element
other | the circulator to compare to the current one |
Definition at line 77 of file circulator.h.
|
inline |
set just the position without resetting the begin and end elements
other | the circulator to grab position from |
Definition at line 51 of file circulator.h.
set just the position without resetting the begin and end elements
pointer | the iterator to use as the new position |
Definition at line 55 of file circulator.h.