|
graph_analysis
|
Interface for Writer implementations that perform custom graph serialization. More...
#include <GraphIO.hpp>

Public Types | |
| typedef shared_ptr< Writer > | Ptr |
Public Member Functions | |
| virtual | ~Writer () |
| void | write (const std::string &filename, const BaseGraph &graph) const |
| virtual void | write (const std::string &filename, const BaseGraph::Ptr &graph) const |
Interface for Writer implementations that perform custom graph serialization.
| typedef shared_ptr<Writer> graph_analysis::io::Writer::Ptr |
|
inlinevirtual |
| void graph_analysis::io::Writer::write | ( | const std::string & | filename, |
| const BaseGraph & | graph | ||
| ) | const |
Write graph to a file
| filename | Filename to write to |
| graph |
|
inlinevirtual |
Subclasses have to implement this function in order to provide writing capability
Reimplemented in graph_analysis::io::GraphvizWriter, graph_analysis::io::YamlWriter, graph_analysis::io::GexfWriter, and graph_analysis::io::GraphMLWriter.
1.8.17