#include <filereader.h>
Public Types | |
enum | Version { _1_0, _1_1 } |
Possible version number of the GEXF format. | |
Public Member Functions | |
FileReader (const std::string &filepath, const Version v=_1_1) | |
Constructor with init. | |
FileReader (const FileReader &orig) | |
Copy constructor. | |
libgexf::GEXF | getGEXFCopy () |
Get a duplicated instance of the internal GEXF data. | |
void | init (const std::string &filepath, const Version v=_1_1) |
Initialize the file reader. | |
void | slurp () |
Read the given file in one pass. |
libgexf::FileReader::FileReader | ( | const std::string & | filepath, | |
const Version | v = _1_1 | |||
) | [explicit] |
Constructor with init.
filepath | : Path to the written file | |
v | : version number of the GEXF format |
GEXF libgexf::FileReader::getGEXFCopy | ( | ) |
void libgexf::FileReader::init | ( | const std::string & | filepath, | |
const Version | v = _1_1 | |||
) |