![]() |
CUSP
|
#include <join_iterator.h>
Public Types | |
| typedef TransformIterator | iterator |
| The type of the join_iterator. | |
Public Methods | |
| join_iterator (const SizesTuple &t1, const Tuple &t2) | |
This constructor builds a join_iterator from a tuple of sizes and a tuple of iterators. | |
| iterator | begin (void) const |
| This method returns an iterator pointing to the beginning of this joined sequence of permuted entries. | |
| iterator | end (void) const |
| This method returns an iterator pointing to one element past the last of this joined sequence of permuted entries. | |
| reference | operator[] (size_type n) const |
| Subscript access to the data contained in this iterator. | |
RandomAccessIterator for access to array entries from two concatenated iterators.
| Iterator1 | The iterator type used to encapsulate the first set of entries. |
| Iterator2 | The iterator type used to encapsulate the second set of entries. |
| Iterator3 | The iterator type used to order concatenated entries from two separate iterators. |
join_iterator is an iterator which represents a pointer into a concatenated range of entries from two underlying arrays. This iterator is useful for creating a single range of permuted entries from two different iterators.join_iterator whose value_type is int and whose values are gather from a counting_iterator and a constant_iterator.Definition at line 144 of file join_iterator.h.
| typedef TransformIterator cusp::join_iterator< Tuple >::iterator |
The type of the join_iterator.
Definition at line 188 of file join_iterator.h.
|
inline |
This constructor builds a join_iterator from a tuple of sizes and a tuple of iterators.
| t1 | Tuple of cumulative sizes for each range. |
| t2 | Tuple of iterators for each range. |
Definition at line 194 of file join_iterator.h.
|
inline |
This method returns an iterator pointing to the beginning of this joined sequence of permuted entries.
Definition at line 200 of file join_iterator.h.
|
inline |
This method returns an iterator pointing to one element past the last of this joined sequence of permuted entries.
Definition at line 209 of file join_iterator.h.
|
inline |
Subscript access to the data contained in this iterator.
| n | The index of the element for which data should be accessed. |
This operator allows for easy, array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
Definition at line 222 of file join_iterator.h.