\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.8.1 - STL Extensions for CGAL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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

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.

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.