SymMap Class Template Reference
[Graphmaps]

#include <sym_map.h>

List of all members.


Detailed Description

template<template< typename, typename > class DynMap, typename MapRegistry, typename Value>
class lemon::SymMap< DynMap, MapRegistry, Value >

The SymMap template class is graph map structure what wraps an other map structure to use as symmetric map structure.

The template parameter is the MapRegistry that the maps will belong to and the ValueType.

Definition at line 87 of file sym_map.h.

Public Types

typedef MapRegistry::Graph Graph
 The graph type of the maps.

Public Member Functions

 SymMap (const Graph &g, MapRegistry &r)
 SymMap (const Graph &g, MapRegistry &r, const Value &v)
 SymMap (const SymMap &copy)
SymMapoperator= (const SymMap &copy)
void add (const KeyType &key)
void erase (const KeyType &key)


Constructor & Destructor Documentation

SymMap const Graph g,
MapRegistry r
[inline]
 

Graph and Registry initialized map constructor. Definition at line 105 of file sym_map.h.

References SymMap::Graph.

SymMap const Graph g,
MapRegistry r,
const Value &  v
[inline]
 

Constructor to use default value to initialize the map. Definition at line 109 of file sym_map.h.

References SymMap::Graph.

SymMap const SymMap< DynMap, MapRegistry, Value > &  copy  )  [inline]
 

Constructor to copy a map of the same map type. Definition at line 114 of file sym_map.h.


Member Function Documentation

SymMap& operator= const SymMap< DynMap, MapRegistry, Value > &  copy  )  [inline]
 

Assign operator to copy a map of the same map type. Definition at line 119 of file sym_map.h.

void add const KeyType &  key  )  [inline]
 

Add a new key to the map. It called by the map registry. Definition at line 126 of file sym_map.h.

void erase const KeyType &  key  )  [inline]
 

Erase a key from the map. It called by the map registry. Definition at line 134 of file sym_map.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 30 12:18:39 2004 for LEMON by doxygen 1.3.8