libgexf::LegacyWriter Class Reference

Write a GEXF 1.0 file (Gephi 0.6). More...

#include <legacywriter.h>

List of all members.

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.


Detailed Description

Write a GEXF 1.0 file (Gephi 0.6).

Constructor & Destructor Documentation

libgexf::LegacyWriter::LegacyWriter ( const std::string &  filepath,
GEXF gexf 
)

Constructor with init.

Parameters:
filepath : Path to the written file
gexf : reference to a GEXF object


Member Function Documentation

GEXF libgexf::LegacyWriter::getGEXFCopy (  ) 

Get a duplicated instance of the internal GEXF data.

Returns:
GEXF instance

void libgexf::LegacyWriter::init ( const std::string &  filepath,
libgexf::GEXF gexf 
)

Initialize the file writer.

Parameters:
filepath : Path to the GEXF file
gexf : reference to a GEXF object


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

Generated on Fri Dec 11 00:33:34 2009 for libgexf by  doxygen 1.5.6