|
| ConstCirculator ()=default |
| Default construct. More...
|
|
| ConstCirculator (const Container &obj) |
| Construct from begin/end of a container. More...
|
|
| ConstCirculator (const typename Container::const_iterator &begin, const typename Container::const_iterator &end) |
| Construct from two iterators. More...
|
|
| ConstCirculator (const ConstCirculator< Container > &rhs)=default |
| Copy construct. More...
|
|
ConstCirculator< Container > & | operator= (const ConstCirculator< Container > &rhs)=default |
| Copy assignment. More...
|
|
| CirculatorIters () |
| Default construct. More...
|
|
| CirculatorIters (const iterator &begin, const iterator &end) |
| Construct from begin/end iterators. More...
|
|
| CirculatorIters (const CirculatorIters< Container, Const > &rhs) |
| Copy construct. More...
|
|
bool | empty () const |
| True if begin/end iterators are identical. More...
|
|
size_type | size () const |
| Return the range of the iterator pair. More...
|
|
difference_type | nRotations () const |
| The distance between the iterator and the fulcrum. More...
|
|
bool | circulate (const CirculatorBase::direction dir=CirculatorBase::NONE) |
|
void | setFulcrumToIterator () |
| Set the fulcrum to the current position of the iterator. More...
|
|
void | setIteratorToFulcrum () |
| Set the iterator to the current position of the fulcrum. More...
|
|
reference | curr () const |
| Dereference the current iterator. More...
|
|
reference | next () const |
| Dereference the next iterator. More...
|
|
reference | prev () const |
| Dereference the previous iterator. More...
|
|
void | operator= (const CirculatorIters< Container, Const > &rhs) |
|
CirculatorIters< Container, Const > & | operator++ () |
| Prefix increment the iterator. More...
|
|
CirculatorIters< Container, Const > | operator++ (int) |
| Postfix increment the iterator. More...
|
|
CirculatorIters< Container, Const > & | operator-- () |
| Prefix decrement the iterator. More...
|
|
CirculatorIters< Container, Const > | operator-- (int) |
| Postfix decrement the iterator. More...
|
|
bool | operator== (const CirculatorIters< Container, Const > &) const |
|
bool | operator!= (const CirculatorIters< Container, Const > &) const |
|
reference | operator* () const |
| Dereference the iterator. Same as curr() More...
|
|
reference | operator() () const |
| Dereference the iterator. Same as curr() More...
|
|
difference_type | operator- (const CirculatorIters< Container, Const > &) const |
|
| CirculatorBase ()=default |
| Default construct. More...
|
|
template<class Container>
class Foam::ConstCirculator< Container >
Like Foam::Circulator, but with const-access iterators.
Definition at line 323 of file Circulator.H.