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  

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

Represents the range (image) of a bijective mapping . More...

#include <bijective-mapping.h>

Collaboration diagram for range_of_bijective_mapping:

Collaboration graph
[legend]
List of all members.

Public Types

typedef bijective_mapping<
T1, T2 > 
mapping_type
typedef mapping_type::map_table_type map_table_type
typedef map_table_type::value_type base_value_type
typedef map_table_type::const_iterator base_iter_type
typedef mapped_value_const_iterator<
base_iter_type, get_second<
base_value_type > > 
const_iterator
typedef T2 value_type

Public Methods

 range_of_bijective_mapping (const mapping_type &tm)
unsigned size () const
bool is_member (const value_type &x) const
const_iterator begin () const
const_iterator end () const
T2 const & front () const

Detailed Description

template<class T1, class T2>
class range_of_bijective_mapping< T1, T2 >

Represents the range (image) of a bijective mapping .

This class allows STL-style iteration over the items of type 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 344 of file bijective-mapping.h.


Member Typedef Documentation

template<class T1, class T2>
typedef bijective_mapping<T1,T2> range_of_bijective_mapping::mapping_type
 

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

template<class T1, class T2>
typedef mapping_type::map_table_type range_of_bijective_mapping::map_table_type
 

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

template<class T1, class T2>
typedef map_table_type::value_type range_of_bijective_mapping::base_value_type
 

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

template<class T1, class T2>
typedef map_table_type::const_iterator range_of_bijective_mapping::base_iter_type
 

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

template<class T1, class T2>
typedef mapped_value_const_iterator<base_iter_type, get_second<base_value_type> > range_of_bijective_mapping::const_iterator
 

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

Referenced by front.

template<class T1, class T2>
typedef T2 range_of_bijective_mapping::value_type
 

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


Constructor & Destructor Documentation

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

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


Member Function Documentation

template<class T1, class T2>
unsigned range_of_bijective_mapping< T1, T2 >::size   const [inline]
 

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

template<class T1, class T2>
bool range_of_bijective_mapping< T1, T2 >::is_member const value_type   x const [inline]
 

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

References bijective_mapping::the_map.

template<class T1, class T2>
const_iterator range_of_bijective_mapping< T1, T2 >::begin   const [inline]
 

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

template<class T1, class T2>
const_iterator range_of_bijective_mapping< T1, T2 >::end   const [inline]
 

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

template<class T1, class T2>
T2 const& range_of_bijective_mapping< T1, T2 >::front   const [inline]
 

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

References const_iterator, and bijective_mapping::the_map.


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