Overview     Modules     Class Hierarchy     Classes     Members  

tlp::CSVInvertMatrixParser Class Reference

CSV parser used to treat rows as columns. More...

#include <CSVParser.h>

Inheritance diagram for tlp::CSVInvertMatrixParser:
Collaboration diagram for tlp::CSVInvertMatrixParser:

List of all members.

Public Member Functions


Detailed Description

CSV parser used to treat rows as columns.


Constructor & Destructor Documentation

tlp::CSVInvertMatrixParser::CSVInvertMatrixParser ( CSVParser parser  ) 
virtual tlp::CSVInvertMatrixParser::~CSVInvertMatrixParser (  )  [virtual]

Member Function Documentation

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

Function called at the beginning of the file parsing.

Implements tlp::CSVContentHandler.

void tlp::CSVInvertMatrixParser::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.

bool tlp::CSVInvertMatrixParser::parse ( CSVContentHandler handler,
tlp::PluginProgress *  progress = NULL 
) [virtual]

Parse the data and send the tokens found to the CSVContentHandler.

Notify the progression of the parsing with the progress object.

Implements tlp::CSVParser.

void tlp::CSVInvertMatrixParser::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.



Tulip Software by LaBRI Visualization Team    2001 - 2011