![]() QuantLib 0.3.7Getting startedReference manual |
combining_iterator Class Template Reference#include <ql/Utilities/combiningiterator.hpp>
Detailed Descriptiontemplate<class Iterator, class Function>
Iterator mapping a function to a set of underlying sequences.
|
Public Types | |
typedef Function::result_type | value_type |
typedef const Function::result_type * | pointer |
typedef const Function::result_type & | reference |
Public Member Functions | |
template<class IteratorCollectionIterator> | combining_iterator (IteratorCollectionIterator it1, IteratorCollectionIterator it2, Function f) |
Dereferencing | |
reference | operator * () const |
pointer | operator-> () const |
Random access | |
value_type | operator[] (difference_type n) const |
Increment and decrement | |
combining_iterator & | operator++ () |
combining_iterator | operator++ (int) |
combining_iterator & | operator-- () |
combining_iterator | operator-- (int) |
combining_iterator & | operator+= (difference_type n) |
combining_iterator & | operator-= (difference_type n) |
combining_iterator | operator+ (difference_type n) const |
combining_iterator | operator- (difference_type n) const |
Difference | |
difference_type | operator- (const combining_iterator< Iterator, Function > &rhs) const |
Comparisons | |
bool | operator== (const combining_iterator< Iterator, Function > &rhs) const |
bool | operator!= (const combining_iterator< Iterator, Function > &rhs) const |
Public Attributes | |
typedef< Iterator >::difference_type | difference_type |
Related Functions | |
(Note that these are not member functions.) | |
combining_iterator< typename 1< It >::value_type, Function > | make_combining_iterator (It it1, It it2, Function f) |
helper function to create combining iterators |
QuantLib.org![]() |
Hosted by![]() |
Documentation generated by![]() |