tlp::CSVSimpleParser Class Reference
#include <CSVParser.h>
List of all members.
Public Member Functions
Protected Member Functions
- virtual std::string treatToken (const std::string &token, int row, int column)
Constructor & Destructor Documentation
tlp::CSVSimpleParser::CSVSimpleParser |
( |
const std::string & |
fileName, |
|
|
const std::string & |
separator = std::string(";") , |
|
|
char |
= '"' , |
|
|
const std::string & |
fileEncoding = std::string("UTF-8") | |
|
) |
| | |
virtual tlp::CSVSimpleParser::~CSVSimpleParser |
( |
|
) |
[virtual] |
Member Function Documentation
bool tlp::CSVSimpleParser::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.
virtual std::string tlp::CSVSimpleParser::treatToken |
( |
const std::string & |
token, |
|
|
int |
row, |
|
|
int |
column | |
|
) |
| | [protected, virtual] |
|