- Main Page
- Modules
- Classes
- Namespaces
- Files
- Related Pages

- Class List
- Class Index
- Class Hierarchy
- Class Members

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

## Detailed Description

### template<typename BAS = BaseDigraphComponent>
template<typename V>
class lemon::concepts::MappableDigraphComponent< BAS >::ArcMap< V >

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

`#include <lemon/concepts/graph_components.h>`

Inheritance diagram for MappableDigraphComponent< BAS >::ArcMap< V >:
[legend]

## Public Member Functions
| ArcMap (const MappableDigraphComponent &digraph)
| Construct a new map. More...
| ArcMap (const MappableDigraphComponent &digraph, const V &value)
| Construct a new map with default value. More...
Public Member Functions inherited from GraphMap< MappableDigraphComponent, Arc, V >
| GraphMap (const MappableDigraphComponent &)
| Construct a new map. More...
| GraphMap (const MappableDigraphComponent &, const Value &)
| Construct a new map with default value. More...
Public Member Functions inherited from ReferenceMap< Arc, 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
| ArcMap (const ArcMap &nm)
| Copy constructor. More...
template<typename CMap >
ArcMap & | operator= (const CMap &)
| Assignment operator. More...

## Additional Inherited Members
Public Types inherited from GraphMap< MappableDigraphComponent, Arc, V >
typedef Arc | Key
| The key type of the map.
typedef V | Value
| The value type of the map.
typedef Value & | Reference
| The reference type of the map.
typedef const Value & | ConstReference
| The const reference type of the map.
Public Types inherited from ReferenceMap< Arc, V, V &, const V & >
typedef True | ReferenceMapTag
| Tag for reference maps.
typedef Arc | Key
| The key type of the map.
typedef V | Value
| The value type of the map. (The type of objects associated with the keys).
typedef V & | Reference
| The reference type of the map.
typedef const V & | ConstReference
| The const reference type of the map.
Public Types inherited from ReadWriteMap< K, T >
typedef K | Key
| The key type of the map.
typedef T | Value
| The value type of the map. (The type of objects associated with the keys).
Public Types inherited from ReadMap< K, T >
typedef K | Key
| The key type of the map.
typedef T | Value
| The value type of the map. (The type of objects associated with the keys).
Public Types inherited from WriteMap< K, T >
typedef K | Key
| The key type of the map.
typedef T | Value
| The value type of the map. (The type of objects associated with the keys).

## Constructor & Destructor Documentation

ArcMap | ( | const MappableDigraphComponent & | digraph | ) |
| inline explicit

Construct a new map for the digraph.

ArcMap | ( | const MappableDigraphComponent & | digraph,
|  | const V & | value
| ) |  |
| inline

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

ArcMap | ( | const ArcMap< V > & | nm | ) |
| inline private

Copy Constructor.

## Member Function Documentation

ArcMap& operator= | ( | const CMap & |  | ) |
| inline private

Assignment operator.