Public Member Functions

IdMap< GR, K >::InverseMap Class Reference


Detailed Description

template<typename GR, typename K>
class lemon::IdMap< GR, K >::InverseMap

This class represents the inverse of its owner (IdMap).

See also:
inverse()

#include <lemon/maps.h>

List of all members.

Public Member Functions

 InverseMap (const Graph &graph)
 Constructor.
 InverseMap (const IdMap &map)
 Constructor.
Item operator[] (int id) const

Constructor & Destructor Documentation

InverseMap ( const Graph graph) [inline, explicit]

Constructor for creating an id-to-item map.

InverseMap ( const IdMap map) [inline, explicit]

Constructor for creating an id-to-item map.


Member Function Documentation

Item operator[] ( int  id) const [inline]

Gives back the given item from its id.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines