34 #ifndef GRAPH_GRAPH_GWRITER_H
35 #define GRAPH_GRAPH_GWRITER_H
43 #include <soma-io/writer/awriter.h>
73 const HelperSet& helpers = HelperSet());
76 const HelperSet& helpers = HelperSet());
137 std::map<const Vertex*, int> _serializer;
The abstract base class for all types of edges; edges are created and managed by Graphs.
To write a Graph to a file.
virtual void write(const Vertex &vertex)
write a Vertex to a file
GraphWriter(const carto::SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
virtual void write(const Graph &graph)
write a Graph to a file
virtual void write(const Edge &edge)
write an Edge to a file
GraphWriter(const std::string &filename, const carto::SyntaxSet &syntax, const HelperSet &helpers=HelperSet())
The base class for graphs.
Vertices are created and managed by Graphs.
GRAPH_API GraphWriter & operator<<(GraphWriter &writer, const Graph &graph)
Save a graph to a file using a GraphWriter.
std::map< std::string, Syntax > SyntaxSet