227 template<typename T> class NodeMap : public Graph::template NodeMap<T> { |
227 template<typename T> class NodeMap : public Graph::template NodeMap<T> { |
228 typedef typename Graph::template NodeMap<T> Parent; |
228 typedef typename Graph::template NodeMap<T> Parent; |
229 public: |
229 public: |
230 NodeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { } |
230 NodeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { } |
231 NodeMap(const GraphWrapper<Graph>& gw, T a) : Parent(*(gw.graph), a) { } |
231 NodeMap(const GraphWrapper<Graph>& gw, T a) : Parent(*(gw.graph), a) { } |
|
232 // NodeMap(const NodeMap<T>& map) : Parent(map) { } |
|
233 // template<typename Map> |
|
234 // NodeMap(const Map& map) : Parent(map) { } |
232 }; |
235 }; |
233 |
236 |
234 template<typename T> class EdgeMap : public Graph::template EdgeMap<T> { |
237 template<typename T> class EdgeMap : public Graph::template EdgeMap<T> { |
235 typedef typename Graph::template EdgeMap<T> Parent; |
238 typedef typename Graph::template EdgeMap<T> Parent; |
236 public: |
239 public: |
237 EdgeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { } |
240 EdgeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { } |
238 EdgeMap(const GraphWrapper<Graph>& gw, T a) : Parent(*(gw.graph), a) { } |
241 EdgeMap(const GraphWrapper<Graph>& gw, T a) : Parent(*(gw.graph), a) { } |
|
242 // EdgeMap(const EdgeMap<T>& map) : Parent(map) { } |
|
243 // template<typename Map> |
|
244 // EdgeMap(const Map& map) : Parent(map) { } |
239 }; |
245 }; |
240 }; |
246 }; |
241 |
247 |
242 |
248 |
243 |
249 |