Go to Overview over all GrAL packages.
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Container/mapped-value-iterator.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  std

Compounds

struct  get_first
 Get first element of pair. More...

struct  get_second
 get second element of pair. More...

class  mapped_value_const_iterator
 Forward iterator mapping the value of It::op* with F (const version). More...

class  mapped_value_iterator
 Forward iterator mapping the value of T>It::op* with F (non-const version). More...


Functions

template<class It, class F> mapped_value_const_iterator<
It, F > 
map_iter_c (It i, const F &f)
template<class It> mapped_value_const_iterator<
It, get_first< typename It::value_type > > 
get1st_c (It i)
template<class It> mapped_value_const_iterator<
It, get_second< typename
It::value_type > > 
get2nd_c (It i)
template<class It, class F> mapped_value_iterator< It, F > map_iter (It i, const F &f)
template<class It> mapped_value_iterator< It,
get_first< typename It::value_type > > 
get1st (It i)
template<class It> mapped_value_iterator< It,
get_second< typename It::value_type > > 
get2nd (It i)


Detailed Description

The class templates define iterator adaptors working on the output of operator *() of an iterator, that is, they provide a map of the iterators value_type. Examples: select a field, as in get_first / get_second below

Definition in file mapped-value-iterator.h.


Function Documentation

template<class It, class F>
mapped_value_const_iterator<It,F> map_iter_c It    i,
const F &    f
[inline]
 

Definition at line 98 of file mapped-value-iterator.h.

template<class It>
mapped_value_const_iterator<It,get_first<typename It::value_type> > get1st_c It    i [inline]
 

Definition at line 102 of file mapped-value-iterator.h.

template<class It>
mapped_value_const_iterator<It,get_second<typename It::value_type> > get2nd_c It    i [inline]
 

Definition at line 109 of file mapped-value-iterator.h.

template<class It, class F>
mapped_value_iterator<It,F> map_iter It    i,
const F &    f
[inline]
 

Definition at line 150 of file mapped-value-iterator.h.

template<class It>
mapped_value_iterator<It,get_first<typename It::value_type> > get1st It    i [inline]
 

Definition at line 154 of file mapped-value-iterator.h.

template<class It>
mapped_value_iterator<It,get_second<typename It::value_type> > get2nd It    i [inline]
 

Definition at line 161 of file mapped-value-iterator.h.


Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:15 2002 for Sequence by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000