All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions
MappableGraphComponent< BAS >::EdgeMap< V > Class Template Reference

Detailed Description

template<typename BAS = BaseGraphComponent>
template<typename V>
class lemon::concepts::MappableGraphComponent< BAS >::EdgeMap< V >

Standard graph map for the edges. It conforms to the ReferenceMap concept.

#include <lemon/concepts/graph_components.h>

+ Inheritance diagram for MappableGraphComponent< BAS >::EdgeMap< V >:

Public Member Functions

 EdgeMap (const MappableGraphComponent &graph)
 Construct a new map.
 
 EdgeMap (const MappableGraphComponent &graph, const V &value)
 Construct a new map with default value.
 
- Public Member Functions inherited from GraphMap< MappableGraphComponent, Edge, V >
 GraphMap (const MappableGraphComponent &)
 Construct a new map.
 
 GraphMap (const MappableGraphComponent &, const Value &)
 Construct a new map with default value.
 
- Public Member Functions inherited from ReferenceMap< Edge, V, V &, const V & >
Reference operator[] (const Key &)
 Returns a reference to the value associated with the given key.
 
ConstReference operator[] (const Key &) const
 Returns a const reference to the value associated with the given key.
 
void set (const Key &k, const Value &t)
 Sets the value associated with the given key.
 
- Public Member Functions inherited from ReadWriteMap< K, T >
Value operator[] (const Key &) const
 Returns the value associated with the given key.
 
void set (const Key &, const Value &)
 Sets the value associated with the given key.
 
- Public Member Functions inherited from ReadMap< K, T >
Value operator[] (const Key &) const
 Returns the value associated with the given key.
 
- Public Member Functions inherited from WriteMap< K, T >
void set (const Key &, const Value &)
 Sets the value associated with the given key.
 
 WriteMap ()
 Default constructor.
 

Private Member Functions

 EdgeMap (const EdgeMap &nm)
 Copy constructor.
 
template<typename CMap >
EdgeMapoperator= (const CMap &)
 

Additional Inherited Members

- Public Types inherited from GraphMap< MappableGraphComponent, Edge, V >
typedef Edge Key
 The key type of the map.
 
typedef V Value
 The value type of the map.
 
typedef ValueReference
 The reference type of the map.
 
typedef const ValueConstReference
 The const reference type of the map.
 

Constructor & Destructor Documentation

EdgeMap ( const MappableGraphComponent graph)
inlineexplicit

Construct a new map for the graph.

EdgeMap ( const MappableGraphComponent graph,
const V &  value 
)
inline

Construct a new map for the graph and initalize the values.

EdgeMap ( const EdgeMap< V > &  nm)
inlineprivate

Copy Constructor.

Member Function Documentation

EdgeMap& operator= ( const CMap &  )
inlineprivate

Assignment operator.