#include <lemon/graph_writer.h>
Definition at line 149 of file graph_writer.h.
Public Member Functions | |
GraphWriter (std::ostream &_os, Graph &_graph) | |
Construct a new GraphWriter. | |
~GraphWriter () | |
Destruct the graph writer. | |
template<typename Map> | |
GraphWriter & | addNodeMap (std::string name, const Map &map) |
Add a new node map writer command for the writer. | |
template<typename Writer, typename Map> | |
GraphWriter & | addNodeMap (std::string name, const Map &map, const Writer &writer=Writer()) |
Add a new node map writer command for the writer. | |
template<typename Map> | |
GraphWriter & | addEdgeMap (std::string name, const Map &map) |
Add a new edge map writer command for the writer. | |
template<typename Writer, typename Map> | |
GraphWriter & | addEdgeMap (std::string name, const Map &map, const Writer &writer=Writer()) |
Add a new edge map writer command for the writer. | |
GraphWriter & | addNode (std::string name, const Node &node) |
Add a new labeled node writer for the writer. | |
GraphWriter & | addEdge (std::string name, const Edge &edge) |
Add a new labeled edge writer for the writer. | |
void | run () |
Executes the writer commands. |
|
Construct a new GraphWriter. It writes from the given map, it constructs the given map and it use the given writer as the default skipper. Definition at line 165 of file graph_writer.h. |
|
Destruct the graph writer. Definition at line 171 of file graph_writer.h. |
|
Add a new node map writer command for the writer. Definition at line 190 of file graph_writer.h. |
Here is the call graph for this function:
|
Add a new node map writer command for the writer. Definition at line 199 of file graph_writer.h. |
|
Add a new edge map writer command for the writer. Definition at line 212 of file graph_writer.h. |
Here is the call graph for this function:
|
Add a new edge map writer command for the writer. Definition at line 222 of file graph_writer.h. |
|
Add a new labeled node writer for the writer. Definition at line 232 of file graph_writer.h. |
|
Add a new labeled edge writer for the writer. Definition at line 240 of file graph_writer.h. |
|
Executes the writer commands. Definition at line 248 of file graph_writer.h. |