pops-core
0.9
PoPS (Pest or Pathogen Spread) Model Core C++ library
|
A const iterator which encapsulates either forward or reverse iterator. More...
#include <network_kernel.hpp>
Public Member Functions | |
ConstEitherWayIterator (typename Container::const_iterator it) | |
ConstEitherWayIterator (typename Container::const_reverse_iterator it) | |
ConstEitherWayIterator & | operator++ () |
const Container::value_type & | operator* () const |
bool | operator!= (const ConstEitherWayIterator &other) |
A const iterator which encapsulates either forward or reverse iterator.
Uses the iterator was passed in the constructor, but it can contain either forward or reverse iterator, so it allows writing direction agnostic code where the direction is determined in the runtime.
Definition at line 437 of file network_kernel.hpp.
|
inline |
Definition at line 440 of file network_kernel.hpp.
|
inline |
Definition at line 443 of file network_kernel.hpp.
|
inline |
Definition at line 460 of file network_kernel.hpp.
|
inline |
Definition at line 454 of file network_kernel.hpp.
|
inline |
Definition at line 446 of file network_kernel.hpp.