libgexf::FileReader Class Reference

Read a GEXF file. More...

#include <filereader.h>

List of all members.

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.


Detailed Description

Read a GEXF file.

Constructor & Destructor Documentation

libgexf::FileReader::FileReader ( const std::string &  filepath,
const Version  v = _1_1 
) [explicit]

Constructor with init.

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


Member Function Documentation

GEXF libgexf::FileReader::getGEXFCopy (  ) 

Get a duplicated instance of the internal GEXF data.

Returns:
GEXF instance

void libgexf::FileReader::init ( const std::string &  filepath,
const Version  v = _1_1 
)

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:

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