graph_analysis
GexfWriter.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_ANALYSIS_IO_GEXF_WRITER_HPP
2 #define GRAPH_ANALYSIS_IO_GEXF_WRITER_HPP
3 
4 #include "../GraphIO.hpp"
5 
6 namespace graph_analysis {
7 namespace io {
8 
15 class GexfWriter : public Writer
16 {
17 public:
23  void write(const std::string& filename, const BaseGraph& graph) const;
29  void write(const std::string& filename, const BaseGraph::Ptr& graph) const;
30 };
31 
32 } // end namespace io
33 } // end namespace graph_analysis
34 #endif // GRAPH_ANALYSIS_IO_GEXF_WRITER_HPP
35 
graph_analysis::BaseGraph
General Graph template that should be implemented to wrap specific graph library functionality We ass...
Definition: BaseGraph.hpp:27
graph_analysis::io::Writer
Interface for Writer implementations that perform custom graph serialization.
Definition: GraphIO.hpp:30
graph_analysis
Main namespace of the graph analysis library.
Definition: BFS.cpp:3
graph_analysis::BaseGraph::Ptr
shared_ptr< BaseGraph > Ptr
Definition: BaseGraph.hpp:34
graph_analysis::io::GexfWriter::write
void write(const std::string &filename, const BaseGraph &graph) const
outputs the given graph to the given file
Definition: GexfWriter.cpp:14
graph_analysis::io::GexfWriter
exports a given base graph to a given file in GEXF format
Definition: GexfWriter.hpp:15