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  

inverse_mapping Class Template Reference
[Representations for one-to-one mappings]

Represents a mapping T2 --> T1 which is the inverse of some bijective_mapping<T1,T2>. More...

#include <bijective-mapping.h>

Collaboration diagram for inverse_mapping:

Collaboration graph
[legend]
List of all members.

Public Types

typedef mapping_type::domain_type range_type
typedef mapping_type::range_type domain_type

Public Methods

 inverse_mapping (const mapping_type &tm)
const T1 & operator() (const T2 &t2) const
bool defined (const T2 &t2) const
range_type range () const
domain_type domain () const

Friends

class bijective_mapping

Detailed Description

template<class T1, class T2>
class inverse_mapping< T1, T2 >

Represents a mapping T2 --> T1 which is the inverse of some bijective_mapping<T1,T2>.

This class has reference semantics with respect to bijective_mapping.

See also:
Representations for one-to-one mappings, bijective-mapping.h

Definition at line 254 of file bijective-mapping.h.


Member Typedef Documentation

template<class T1, class T2>
typedef mapping_type::domain_type inverse_mapping::range_type
 

Definition at line 277 of file bijective-mapping.h.

template<class T1, class T2>
typedef mapping_type::range_type inverse_mapping::domain_type
 

Definition at line 279 of file bijective-mapping.h.


Constructor & Destructor Documentation

template<class T1, class T2>
inverse_mapping< T1, T2 >::inverse_mapping const mapping_type &    tm [inline]
 

Definition at line 263 of file bijective-mapping.h.


Member Function Documentation

template<class T1, class T2>
const T1& inverse_mapping< T1, T2 >::operator() const T2 &    t2 const [inline]
 

Definition at line 265 of file bijective-mapping.h.

References defined, bijective_mapping::the_inverse_map, and bijective_mapping::update_inverse.

template<class T1, class T2>
bool inverse_mapping< T1, T2 >::defined const T2 &    t2 const [inline]
 

Definition at line 272 of file bijective-mapping.h.

References bijective_mapping::the_inverse_map, and bijective_mapping::update_inverse.

Referenced by operator().

template<class T1, class T2>
inverse_mapping< T1, T2 >::range_type inverse_mapping< T1, T2 >::range   const [inline]
 

Definition at line 396 of file bijective-mapping.h.

References bijective_mapping::domain.

template<class T1, class T2>
inverse_mapping< T1, T2 >::domain_type inverse_mapping< T1, T2 >::domain   const [inline]
 

Definition at line 401 of file bijective-mapping.h.

References bijective_mapping::range.


Friends And Related Function Documentation

template<class T1, class T2>
friend class bijective_mapping [friend]
 

Definition at line 257 of file bijective-mapping.h.


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:16 2002 for Sequence by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000