Boost logo

Boost Users :

From: Ananth Durbha (Ananth.Durbha_at_[hidden])
Date: 2008-05-13 22:18:19


Hi,

   I am trying to modify a set of file parser callback functions (for a
custom file format) to populate a Boost graph. The callbacks provide a
(void*) pointer style parameter passing. But Boost graph method
add_vertex(graph) will return a vertex descriptor. How do I obtain the
pointer information for this newly added vertex so that the pointer can
be cast as (void*) and passed to the appropriate call back?

 

Thanks,

Ananth



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net