kaddressbook
#include <qcsvreader.h>
Public Member Functions | |
virtual | ~QCsvBuilderInterface () |
virtual void | begin ()=0 |
virtual void | beginLine ()=0 |
virtual void | end ()=0 |
virtual void | endLine ()=0 |
virtual void | error (const QString &errorMsg)=0 |
virtual void | field (const QString &data, uint row, uint column)=0 |
Detailed Description
An interface to build data structures from a CSV file.
This class provides an abstract interface that can be used to build up data structures from a comma separated value file that is parsed with QCsvReader.
Definition at line 36 of file qcsvreader.h.
Constructor & Destructor Documentation
|
virtual |
This method is called on the destruction of the interface.
Definition at line 28 of file qcsvreader.cpp.
Member Function Documentation
|
pure virtual |
This method is called on start of the parsing.
Implemented in QCsvStandardBuilder, and CsvParser.
|
pure virtual |
This method is called whenever a new line starts.
Implemented in QCsvStandardBuilder, and CsvParser.
|
pure virtual |
This method is called at the end of parsing.
Implemented in QCsvStandardBuilder, and CsvParser.
|
pure virtual |
This method is called whenever a line ends.
Implemented in QCsvStandardBuilder, and CsvParser.
|
pure virtual |
This method is called whenever an error occurs during parsing.
- Parameters
-
errorMsg The error message.
Implemented in QCsvStandardBuilder, and CsvParser.
|
pure virtual |
This method is called for every parsed field.
- Parameters
-
data The data of the field. row The row of the field. column The column of the field.
Implemented in QCsvStandardBuilder, and CsvParser.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.