My Project
Loading...
Searching...
No Matches
MappableBpGraphComponent< BAS >::BlueNodeMap< V > Class Template Reference

Detailed Description

template<typename BAS = BaseBpGraphComponent>
template<typename V>
class lemon::concepts::MappableBpGraphComponent< BAS >::BlueNodeMap< V >

Standard graph map for the blue nodes. It conforms to the ReferenceMap concept.

#include <lemon/concepts/graph_components.h>

+ Inheritance diagram for MappableBpGraphComponent< BAS >::BlueNodeMap< V >:

Public Member Functions

 BlueNodeMap (const MappableBpGraphComponent &graph)
 Construct a new map.
 
 BlueNodeMap (const MappableBpGraphComponent &graph, const V &value)
 Construct a new map with default value.
 
- Public Member Functions inherited from GraphMap< MappableBpGraphComponent, Node, V >
 GraphMap (const MappableBpGraphComponent &)
 Construct a new map.
 
 GraphMap (const MappableBpGraphComponent &, const Value &)
 Construct a new map with default value.
 
- Public Member Functions inherited from ReferenceMap< Node, 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< Node, V >
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< Node, V >
Value operator[] (const Key &) const
 Returns the value associated with the given key.
 
- Public Member Functions inherited from WriteMap< Node, V >
void set (const Key &, const Value &)
 Sets the value associated with the given key.
 
 WriteMap ()
 Default constructor.
 

Private Member Functions

 BlueNodeMap (const BlueNodeMap &nm)
 Copy constructor.
 
template<typename CMap >
BlueNodeMapoperator= (const CMap &)
 Assignment operator.
 

Additional Inherited Members

- Public Types inherited from GraphMap< MappableBpGraphComponent, Node, V >
typedef Node 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.
 
- Public Types inherited from ReferenceMap< Node, V, V &, const V & >
typedef True ReferenceMapTag
 Tag for reference maps.
 
typedef Node 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< Node, V >
typedef Node Key
 The key type of the map.
 
typedef V Value
 The value type of the map. (The type of objects associated with the keys).
 
- Public Types inherited from ReadMap< Node, V >
typedef Node Key
 The key type of the map.
 
typedef V Value
 The value type of the map. (The type of objects associated with the keys).
 
- Public Types inherited from WriteMap< Node, V >
typedef Node Key
 The key type of the map.
 
typedef V Value
 The value type of the map. (The type of objects associated with the keys).
 

Constructor & Destructor Documentation

◆ BlueNodeMap() [1/3]

template<typename BAS = BaseBpGraphComponent>
template<typename V >
BlueNodeMap ( const MappableBpGraphComponent & graph)
inlineexplicit

Construct a new map for the graph.

◆ BlueNodeMap() [2/3]

template<typename BAS = BaseBpGraphComponent>
template<typename V >
BlueNodeMap ( const MappableBpGraphComponent & graph,
const V & value )
inline

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

◆ BlueNodeMap() [3/3]

template<typename BAS = BaseBpGraphComponent>
template<typename V >
BlueNodeMap ( const BlueNodeMap< V > & nm)
inlineprivate

Copy Constructor.

Member Function Documentation

◆ operator=()

template<typename BAS = BaseBpGraphComponent>
template<typename V >
template<typename CMap >
BlueNodeMap & operator= ( const CMap & )
inlineprivate

Assignment operator.