graph_analysis
Public Member Functions | List of all members
graph_analysis::io::GexfReader Class Reference

Imports a base graph from a given GEXF file. More...

#include <GexfReader.hpp>

Inheritance diagram for graph_analysis::io::GexfReader:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::io::GexfReader:
Collaboration graph
[legend]

Public Member Functions

void read (const std::string &filename, BaseGraph::Ptr graph)
 reads the graph from the given file and stores it to the provided graph argument More...
 
- Public Member Functions inherited from graph_analysis::io::Reader
virtual ~Reader ()
 
void read (const std::string &filename, BaseGraph &graph)
 
void setUuid (const GraphElement::Ptr &element, const std::string &uuid) const
 

Additional Inherited Members

- Public Types inherited from graph_analysis::io::Reader
typedef shared_ptr< Reader > Ptr
 

Detailed Description

Imports a base graph from a given GEXF file.

Parses an input gexf file to the requested target graph (forms a base graph)

Member Function Documentation

◆ read()

void graph_analysis::io::GexfReader::read ( const std::string &  filename,
BaseGraph::Ptr  graph 
)
virtual

reads the graph from the given file and stores it to the provided graph argument

Parameters
filenameprovided input filename
graphtarget graph to store the parsed graph

Retrieve GEXF data

Retrieve GEXF data

Reimplemented from graph_analysis::io::Reader.


The documentation for this class was generated from the following files: