libgexf::FileWriter Class Reference

Write a GEXF 1.1 file (Gephi 0.7+). More...

#include <filewriter.h>

List of all members.

Public Types

enum  ElemType { NODE, EDGE }
 Possible type of element.

Public Member Functions

 FileWriter (const std::string &filepath, GEXF *gexf)
 Constructor with init.
 FileWriter (const FileWriter &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.1 file (Gephi 0.7+).

Constructor & Destructor Documentation

libgexf::FileWriter::FileWriter ( 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::FileWriter::getGEXFCopy (  ) 

Get a duplicated instance of the internal GEXF data.

Returns:
GEXF instance

void libgexf::FileWriter::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:33 2009 for libgexf by  doxygen 1.5.6