![]() QuantLib 0.3.3User manualIntroduction to QuantLibQuantLib componentsReference manual |
stepping_iterator Class Template Reference#include <steppingiterator.hpp>
Detailed Descriptiontemplate<class RandomAccessIterator>
Iterator advancing in constant steps.
|
Public Member Functions | |
stepping_iterator (const RandomAccessIterator &, difference_type step) | |
Dereferencing | |
reference | operator * () const |
pointer | operator-> () const |
Random access | |
reference | operator[] (int) const |
Increment and decrement | |
stepping_iterator & | operator++ () |
stepping_iterator | operator++ (int) |
stepping_iterator & | operator-- () |
stepping_iterator | operator-- (int) |
stepping_iterator & | operator+= (difference_type) |
stepping_iterator & | operator-= (difference_type) |
stepping_iterator< RandomAccessIterator > | operator+ (difference_type) |
stepping_iterator< RandomAccessIterator > | operator- (difference_type) |
Difference | |
difference_type | operator- (const stepping_iterator< RandomAccessIterator > &) |
Comparisons | |
bool | operator== (const stepping_iterator< RandomAccessIterator > &) |
bool | operator!= (const stepping_iterator< RandomAccessIterator > &) |
bool | operator< (const stepping_iterator< RandomAccessIterator > &) |
bool | operator> (const stepping_iterator< RandomAccessIterator > &) |
bool | operator<= (const stepping_iterator< RandomAccessIterator > &) |
bool | operator>= (const stepping_iterator< RandomAccessIterator > &) |
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![]() |