#include <legacywriter.h>
Public Types | |
enum | ElemType { NODE, EDGE } |
Possible type of element. | |
Public Member Functions | |
LegacyWriter (const std::string &filepath, GEXF *gexf) | |
Constructor with init. | |
LegacyWriter (const LegacyWriter &orig) | |
Copy constructor. | |
libgexf::GEXF | getGEXFCopy () |
Get a duplicated instance of the internal GEXF data. | |
void | init (const std::string &filepath, libgexf::GEXF *gexf) |
Initialize the file writer. | |
void | write () |
Write the file. |
libgexf::LegacyWriter::LegacyWriter | ( | const std::string & | filepath, | |
GEXF * | gexf | |||
) |
Constructor with init.
filepath | : Path to the written file | |
gexf | : reference to a GEXF object |
GEXF libgexf::LegacyWriter::getGEXFCopy | ( | ) |
void libgexf::LegacyWriter::init | ( | const std::string & | filepath, | |
libgexf::GEXF * | gexf | |||
) |