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  

unary_map_composition Class Template Reference
[Accessors, Function Objects and Iterator Adaptors]

Composition of two heavy maps, using reference semantics. More...

#include <function-adapter.h>

Collaboration diagram for unary_map_composition:

Collaboration graph
[legend]
List of all members.

Public Types

typedef M2::argument_type argument_type
typedef M1::result_type result_type
typedef M2::domain_type domain_type
typedef M1::range_type range_type

Public Methods

 unary_map_composition (M1 const &mm1, M2 const &mm2)
 this = . More...

result_type operator() (argument_type const &x) const
  . More...

domain_type const & domain () const
  . More...

range_type const & range () const
 range = m1( m1.domain()). More...


Detailed Description

template<class M1, class M2>
class unary_map_composition< M1, M2 >

Composition of two heavy maps, using reference semantics.

, model of Adaptable Unary Function.

See also:
Accessors, Function Objects and Iterator Adaptors module , compose_map , unary_fct_ref

Definition at line 80 of file function-adapter.h.


Member Typedef Documentation

template<class M1, class M2>
typedef M2::argument_type unary_map_composition::argument_type
 

Definition at line 86 of file function-adapter.h.

Referenced by operator().

template<class M1, class M2>
typedef M1::result_type unary_map_composition::result_type
 

Definition at line 87 of file function-adapter.h.

Referenced by operator().

template<class M1, class M2>
typedef M2::domain_type unary_map_composition::domain_type
 

Definition at line 88 of file function-adapter.h.

Referenced by domain.

template<class M1, class M2>
typedef M1::range_type unary_map_composition::range_type
 

Definition at line 89 of file function-adapter.h.

Referenced by range.


Constructor & Destructor Documentation

template<class M1, class M2>
unary_map_composition< M1, M2 >::unary_map_composition M1 const &    mm1,
M2 const &    mm2
[inline]
 

this = .

Definition at line 92 of file function-adapter.h.


Member Function Documentation

template<class M1, class M2>
result_type unary_map_composition< M1, M2 >::operator() argument_type const &    x const [inline]
 

.

Definition at line 95 of file function-adapter.h.

References argument_type, and result_type.

template<class M1, class M2>
domain_type const& unary_map_composition< M1, M2 >::domain   const [inline]
 

.

Only correct if , because

Definition at line 102 of file function-adapter.h.

References domain_type.

template<class M1, class M2>
range_type const& unary_map_composition< M1, M2 >::range   const [inline]
 

range = m1( m1.domain()).

Definition at line 105 of file function-adapter.h.

References range_type.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

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