svcore
1.9
|
#include <CSVFileWriter.h>
Public Member Functions | |
CSVFileWriter (QString path, Model *model, QString delimiter=",", DataExportOptions options=DataExportDefaults) | |
CSVFileWriter (QString path, Model *model, ProgressReporter *reporter, QString delimiter=",", DataExportOptions options=DataExportDefaults) | |
virtual | ~CSVFileWriter () |
virtual bool | isOK () const |
virtual QString | getError () const |
virtual void | write () |
virtual void | writeSelection (MultiSelection selection) |
Protected Attributes | |
QString | m_path |
Model * | m_model |
QString | m_error |
QString | m_delimiter |
DataExportOptions | m_options |
ProgressReporter * | m_reporter = nullptr |
Detailed Description
Definition at line 28 of file CSVFileWriter.h.
Constructor & Destructor Documentation
CSVFileWriter::CSVFileWriter | ( | QString | path, |
Model * | model, | ||
QString | delimiter = "," , |
||
DataExportOptions | options = DataExportDefaults |
||
) |
Definition at line 33 of file CSVFileWriter.cpp.
|
inline |
Definition at line 38 of file CSVFileWriter.h.
References getError(), isOK(), m_reporter, write(), writeSelection(), and ~CSVFileWriter().
|
virtual |
Definition at line 45 of file CSVFileWriter.cpp.
Referenced by CSVFileWriter().
Member Function Documentation
|
virtual |
|
virtual |
|
virtual |
Definition at line 62 of file CSVFileWriter.cpp.
References MultiSelection::addSelection(), Model::getEndFrame(), Model::getStartFrame(), m_model, and writeSelection().
Referenced by CSVFileWriter().
|
virtual |
Definition at line 74 of file CSVFileWriter.cpp.
References DataExportIncludeHeader, MultiSelection::getExtents(), Model::getStringExportHeaders(), TempWriteFile::getTemporaryFilename(), Model::isSparse(), StringBits::joinDelimited(), m_delimiter, m_error, m_model, m_options, m_path, m_reporter, TempWriteFile::moveToTarget(), FileOperationFailed::what(), and CSVStreamWriter::writeInChunks().
Referenced by CSVFileWriter(), and write().
Member Data Documentation
|
protected |
Definition at line 56 of file CSVFileWriter.h.
Referenced by writeSelection().
|
protected |
Definition at line 57 of file CSVFileWriter.h.
Referenced by write(), and writeSelection().
|
protected |
Definition at line 58 of file CSVFileWriter.h.
Referenced by getError(), isOK(), and writeSelection().
|
protected |
Definition at line 59 of file CSVFileWriter.h.
Referenced by writeSelection().
|
protected |
Definition at line 60 of file CSVFileWriter.h.
Referenced by writeSelection().
|
protected |
Definition at line 61 of file CSVFileWriter.h.
Referenced by CSVFileWriter(), and writeSelection().
The documentation for this class was generated from the following files:
Generated by 1.8.11