CGAL 5.2 - STL Extensions for CGAL
CGAL::Join_input_iterator_1< Iterator, Creator > Class Template Reference

#include <CGAL/iterator.h>

Definition

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.

Is Model Of:
InputIterator
See also
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...
 

Constructor & Destructor Documentation

◆ Join_input_iterator_1() [1/2]

template<typename Iterator , typename Creator >
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.

◆ Join_input_iterator_1() [2/2]

template<typename Iterator , typename Creator >
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.