Changeset 987:87f7c54892df in lemon0.x for src/lemon/default_map.h
 Timestamp:
 11/13/04 18:07:10 (16 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1377
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/lemon/default_map.h
r980 r987 34 34 /** The ArrayMap template class is graph map structure what 35 35 * automatically updates the map when a key is added to or erased from 36 * the map. This map uses the VectorMap if the Value Typeis a primitive36 * the map. This map uses the VectorMap if the Value is a primitive 37 37 * type and the ArrayMap for the other cases. 38 38 * 39 39 * The template parameter is the MapRegistry that the maps 40 * will belong to and the Value Type.40 * will belong to and the Value. 41 41 */ 42 42 … … 148 148 149 149 typedef typename Parent::Graph Graph; 150 typedef typename Parent::Value Type ValueType;150 typedef typename Parent::Value Value; 151 151 152 152 DefaultMap(const Graph& _g) : Parent(_g) {} 153 DefaultMap(const Graph& _g, const Value Type& _v) : Parent(_g, _v) {}153 DefaultMap(const Graph& _g, const Value& _v) : Parent(_g, _v) {} 154 154 }; 155 155 … … 181 181 182 182 //typedef typename Parent::Graph Graph; 183 typedef typename Parent::Value Type ValueType;183 typedef typename Parent::Value Value; 184 184 185 185 NodeMap(const Graph& _g) 186 186 : Parent(_g) {} 187 NodeMap(const Graph& _g, const Value Type& _v)187 NodeMap(const Graph& _g, const Value& _v) 188 188 : Parent(_g, _v) {} 189 189 … … 201 201 202 202 //typedef typename Parent::Graph Graph; 203 typedef typename Parent::Value Type ValueType;203 typedef typename Parent::Value Value; 204 204 205 205 EdgeMap(const Graph& _g) 206 206 : Parent(_g) {} 207 EdgeMap(const Graph& _g, const Value Type& _v)207 EdgeMap(const Graph& _g, const Value& _v) 208 208 : Parent(_g, _v) {} 209 209
Note: See TracChangeset
for help on using the changeset viewer.