CGAL 5.1 - STL Extensions for CGAL
|
#include <CGAL/iterator.h>
The class Join_input_iterator_1
joins an iterator and a creator function object. The result is again an iterator (of the same iterator category type as the original iterator) that reads an object from the stream and applies a creator function object to that object.
InputIterator
CGAL::Creator_1<Arg, Result>
Types | |
typedef Creator::result_type | value_type |
Creation | |
Join_input_iterator_1 (Iterator i, const Creator &creator) | |
creates a join iterator from the given iterator i and the functor creator . More... | |
Join_input_iterator_1 (Iterator i) | |
creates a join iterator from the given iterator i and a default constructed instance of Creator . More... | |
typedef Creator::result_type CGAL::Join_input_iterator_1< Iterator, Creator >::value_type |
CGAL::Join_input_iterator_1< Iterator, Creator >::Join_input_iterator_1 | ( | Iterator | i, |
const Creator & | creator | ||
) |
creates a join iterator from the given iterator i
and the functor creator
.
Applies creator
to each item read from i
.
CGAL::Join_input_iterator_1< Iterator, Creator >::Join_input_iterator_1 | ( | Iterator | i | ) |
creates a join iterator from the given iterator i
and a default constructed instance of Creator
.
The latter instance is applied to each item read from i
.