CombinedEdgeMap< _ForwardMap, _BackwardMap > Class Template Reference


Detailed Description

template<typename _Graph>
template<typename _ForwardMap, typename _BackwardMap>
class lemon::UndirGraphAdaptor< _Graph >::CombinedEdgeMap< _ForwardMap, _BackwardMap >

This class adapts two original graph EdgeMap to get an edge map on the adaptor. #include <lemon/graph_adaptor.h>

List of all members.

Public Member Functions

 CombinedEdgeMap ()
 Constructor.
 CombinedEdgeMap (ForwardMap &_forward_map, BackwardMap &_backward_map)
 Constructor.
void set (const Key &e, const Value &a)
MapTraits< ForwardMap >
::ConstReturnValue 
operator[] (const Key &e) const
MapTraits< ForwardMap >
::ReturnValue 
operator[] (const Key &e)
void setForwardMap (ForwardMap &_forward_map)
 Sets the forward map.
void setBackwardMap (BackwardMap &_backward_map)
 Sets the backward map.


Constructor & Destructor Documentation

CombinedEdgeMap (  )  [inline]

Constructor

CombinedEdgeMap ( ForwardMap _forward_map,
BackwardMap _backward_map 
) [inline]

Constructor


Member Function Documentation

void set ( const Key &  e,
const Value &  a 
) [inline]

Sets the value associated with a key.

MapTraits<ForwardMap>::ConstReturnValue operator[] ( const Key &  e  )  const [inline]

Returns the value associated with a key.

MapTraits<ForwardMap>::ReturnValue operator[] ( const Key &  e  )  [inline]

Returns the value associated with a key.

void setForwardMap ( ForwardMap _forward_map  )  [inline]

Sets the forward map

void setBackwardMap ( BackwardMap _backward_map  )  [inline]

Sets the backward map


Generated on Thu Jun 4 04:04:20 2009 for LEMON by  doxygen 1.5.9