|
SISCone
2.0.6
|
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 More... | |
| circulator (const circulator< T > &other) | |
| copy ctor More... | |
| void | set_position (const circulator< T > &other) |
| set just the position without resetting the begin and end elements More... | |
| void | set_position (T pointer) |
| set just the position without resetting the begin and end elements More... | |
| 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 More... | |
| bool | operator!= (const circulator &other) const |
| check if the current elements are different NB: for efficiency, this checks only the here element More... | |
a circulator that is foreseen to take as template member either a pointer or an iterator;
Definition at line 36 of file circulator.h.
|
inline |
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 |
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.
|
inline |
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.