18 Oct
2007
18 Oct
'07
7:11 p.m.
Hi David, On Oct 15, 2007, at 9:22 AM, David Angelo wrote:
I am using the BGL and now I want to serialize the graph. Serialization of the vertices and edges works fine, but how do I serialize the vertex|edge properties? [snip] typedef property
CVertexId; typedef property CVertexShape; typedef property CVertexAttribute; typedef property
CEdgeColor; typedef property CEdgeAttribute; typedef adjacency_list
Graph; </code> How must the serialize functions for CVertexAttribute and CEdgeAttribute look like?
The serialization code for property<...> types is in boost/pending/ property_serialize.hpp, which is already included by the BGL serialization code for adjacency lists. Are you running into some kind of compilation error? - Doug