Overview     Modules     Class Hierarchy     Classes     Members  

tlp::CSVGraphImport Class Reference

Manage all the CSV import process. Use the mapping object to find the graph element in function of the row and the propertiesManager to find the property corresponding to the column. The import parameters are used to filter the rows and the columns to import. More...

#include <CSVGraphImport.h>

Inheritance diagram for tlp::CSVGraphImport:
Collaboration diagram for tlp::CSVGraphImport:

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Manage all the CSV import process. Use the mapping object to find the graph element in function of the row and the propertiesManager to find the property corresponding to the column. The import parameters are used to filter the rows and the columns to import.


Constructor & Destructor Documentation

tlp::CSVGraphImport::CSVGraphImport ( CSVToGraphDataMapping mapping,
CSVImportColumnToGraphPropertyMapping propertiesManager,
const CSVImportParameters importParameters 
)
virtual tlp::CSVGraphImport::~CSVGraphImport (  )  [virtual]

Member Function Documentation

void tlp::CSVGraphImport::begin (  )  [virtual]

Function called at the beginning of the file parsing.

Implements tlp::CSVContentHandler.

void tlp::CSVGraphImport::end ( unsigned int  rowNumber,
unsigned int  columnNumber 
) [virtual]

Function called at the end of the parsing.

Parameters:
rowNumber the number of row read in the file.
columnNumber The column number for the line with the greatest column number.

Implements tlp::CSVContentHandler.

void tlp::CSVGraphImport::token ( unsigned int  row,
unsigned int  column,
const std::string &  token 
) [virtual]

Function called for each tokens found in the file.

Parameters:
row The row position of the token.
column The column position of the token.
token The token.

Implements tlp::CSVContentHandler.


Member Data Documentation



Tulip Software by LaBRI Visualization Team    2001 - 2011