![]() QuantLib 0.3.8Getting startedReference manual |
coupling_iterator Class Template Reference#include <ql/Utilities/couplingiterator.hpp>
Detailed Descriptiontemplate<class Iterator1, class Iterator2, class Function>
Iterator mapping a function to a pair 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 | |
| coupling_iterator (Iterator1 it1, Iterator2 it2, Function f) | |
Dereferencing | |
| reference | operator * () const |
| pointer | operator-> () const |
Random access | |
| value_type | operator[] (difference_type n) const |
Increment and decrement | |
| coupling_iterator & | operator++ () |
| coupling_iterator | operator++ (int) |
| coupling_iterator & | operator-- () |
| coupling_iterator | operator-- (int) |
| coupling_iterator & | operator+= (difference_type n) |
| coupling_iterator & | operator-= (difference_type n) |
| coupling_iterator | operator+ (difference_type n) const |
| coupling_iterator | operator- (difference_type n) const |
Difference | |
| difference_type | operator- (const coupling_iterator &rhs) const |
Comparisons | |
| bool | operator== (const coupling_iterator &rhs) const |
| bool | operator!= (const coupling_iterator &rhs) const |
Public Attributes | |
| typedef< Iterator1 >::difference_type | difference_type |
Related Functions | |
| (Note that these are not member functions.) | |
|
coupling_iterator< It1, It2, Function > | make_coupling_iterator (It1 it1, It2 it2, Function f) |
| helper function to create combining iterators | |
QuantLib.org
|
Hosted by |
Documentation generated by
|