src/hugo/graph_wrapper.h
changeset 876 26c573ca6a99
parent 870 9bde6cd8e3da
child 877 66dd225ca128
equal deleted inserted replaced
35:9d614445f6a3 36:41ad209cc725
   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) { }
   232 //       NodeMap(const NodeMap<T>& map) : Parent(map) { }
   233       template<typename Map>
   233 //       template<typename Map>
   234       NodeMap(const Map& map) :  Parent(map) { }
   234 //       NodeMap(const Map& map) :  Parent(map) { }
   235     };
   235     };
   236 
   236 
   237     template<typename T> class EdgeMap : public Graph::template EdgeMap<T> { 
   237     template<typename T> class EdgeMap : public Graph::template EdgeMap<T> { 
   238       typedef typename Graph::template EdgeMap<T> Parent;
   238       typedef typename Graph::template EdgeMap<T> Parent;
   239     public:
   239     public:
   240       EdgeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { }
   240       EdgeMap(const GraphWrapper<Graph>& gw) : Parent(*(gw.graph)) { }
   241       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) { }
   242 //       EdgeMap(const EdgeMap<T>& map) : Parent(map) { }
   243       template<typename Map>
   243 //       template<typename Map>
   244       EdgeMap(const Map& map) :  Parent(map) { }
   244 //       EdgeMap(const Map& map) :  Parent(map) { }
   245     };
   245     };
   246   };
   246   };
   247 
   247 
   248 
   248 
   249 
   249