![]() QuantLib 0.3.7Getting startedReference manual |
stepping_iterator Class Template Reference#include <ql/Utilities/steppingiterator.hpp>
Detailed Descriptiontemplate<class RandomAccessIterator>
Iterator advancing in constant steps.
|
Public Member Functions | |
stepping_iterator (const RandomAccessIterator &it, difference_type step) | |
Dereferencing | |
reference | operator * () const |
pointer | operator-> () const |
Random access | |
reference | operator[] (difference_type i) const |
Increment and decrement | |
stepping_iterator & | operator++ () |
stepping_iterator | operator++ (int) |
stepping_iterator & | operator-- () |
stepping_iterator | operator-- (int) |
stepping_iterator & | operator+= (difference_type i) |
stepping_iterator & | operator-= (difference_type i) |
stepping_iterator | operator+ (difference_type i) |
stepping_iterator | operator- (difference_type i) |
Difference | |
difference_type | operator- (const stepping_iterator &i) |
Comparisons | |
bool | operator== (const stepping_iterator &i) |
bool | operator!= (const stepping_iterator &i) |
bool | operator< (const stepping_iterator &i) |
bool | operator> (const stepping_iterator &i) |
bool | operator<= (const stepping_iterator &i) |
bool | operator>= (const stepping_iterator &i) |
Public Attributes | |
typedef< RandomAccessIterator >::difference_type | difference_type |
typedef< RandomAccessIterator >::pointer | pointer |
typedef< RandomAccessIterator >::reference | reference |
Related Functions | |
(Note that these are not member functions.) | |
stepping_iterator< Iterator > | make_stepping_iterator (Iterator it, typename stepping_iterator< Iterator >::difference_type step) |
helper function to create stepping iterators |
QuantLib.org![]() |
Hosted by![]() |
Documentation generated by![]() |