libgexf  0.1.3
Public Member Functions | List of all members
libgexf::FileReader Class Reference

Read a GEXF file. More...

#include <filereader.h>

Public Member Functions

 FileReader (const std::string &filepath)
 Constructor with init. More...
 
 FileReader (const FileReader &orig)
 Copy constructor.
 
libgexf::GEXF getGEXFCopy ()
 Get a duplicated instance of the internal GEXF data. More...
 
void init (const std::string &filepath)
 Initialize the file reader. More...
 
void slurp ()
 Read the given file in one pass.
 

Detailed Description

Read a GEXF file.

Constructor & Destructor Documentation

◆ FileReader()

libgexf::FileReader::FileReader ( const std::string &  filepath)
explicit

Constructor with init.

Parameters
filepath: Path to the written file
v: version number of the GEXF format

Member Function Documentation

◆ getGEXFCopy()

GEXF libgexf::FileReader::getGEXFCopy ( )

Get a duplicated instance of the internal GEXF data.

Returns
GEXF instance

◆ init()

void libgexf::FileReader::init ( const std::string &  filepath)

Initialize the file reader.

Parameters
filepath: Path to the GEXF file
v: version number of the GEXF format

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