Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
ExportFileRelations Class Reference

Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler. More...

#include <ExportFileRelations.h>

Inheritance diagram for ExportFileRelations:
ExportFileAbstractBase

Public Member Functions

 ExportFileRelations ()
 Single constructor.
 
void exportToFile (const DocumentModelExportFormat &modelExportOverride, const Document &document, const Transformation &transformation, QTextStream &str) const
 Export Document points according to the settings. More...
 
- Public Member Functions inherited from ExportFileAbstractBase
 ExportFileAbstractBase ()
 Single constructor.
 

Additional Inherited Members

- Protected Member Functions inherited from ExportFileAbstractBase
QString curveSeparator (const QString *string) const
 Gnuplot requires, and other graphing tools probably prefer, blank lines between successive curves.
 
QStringList curvesToInclude (const DocumentModelExportFormat &modelExportOverride, const Document &document, const QStringList &curvesGraphsNames, CurveConnectAs curveConnectAs1, CurveConnectAs curveConnectAs2) const
 Identify curves to include in export. The specified DocumentModelExportFormat overrides same data in Document for previewing window.
 
void destroy2DArray (QVector< QVector< QString * > > &array) const
 Deallocate memory for array.
 
QString gnuplotComment () const
 Gnuplot comment delimiter.
 
void insertLineSeparator (bool &isFirst, ExportHeader exportHeader, QTextStream &str) const
 Insert line(s) between successive sets of curves.
 

Detailed Description

Strategy class for exporting to a file. This strategy is external to the Document class so that class is simpler.

Definition at line 17 of file ExportFileRelations.h.

Member Function Documentation

void ExportFileRelations::exportToFile ( const DocumentModelExportFormat modelExportOverride,
const Document document,
const Transformation transformation,
QTextStream &  str 
) const

Export Document points according to the settings.

The DocumentModelExportFormat inside the Document is ignored so DlgSettingsExport can supply its own DocumentModelExportFormat when previewing what would be exported.

Definition at line 85 of file ExportFileRelations.cpp.


The documentation for this class was generated from the following files: