Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ExportFileAbstractBase Class Reference

Strategy base class for exporting to a file. This class provides common methods. More...

#include <ExportFileAbstractBase.h>

Inheritance diagram for ExportFileAbstractBase:
ExportFileFunctions ExportFileRelations

Public Member Functions

 ExportFileAbstractBase ()
 Single constructor.
 

Protected Member Functions

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 base class for exporting to a file. This class provides common methods.

Definition at line 24 of file ExportFileAbstractBase.h.

Constructor & Destructor Documentation

◆ ExportFileAbstractBase()

ExportFileAbstractBase::ExportFileAbstractBase ( )

Single constructor.

Definition at line 19 of file ExportFileAbstractBase.cpp.

Member Function Documentation

◆ curveSeparator()

QString ExportFileAbstractBase::curveSeparator ( const QString *  string) const
protected

Gnuplot requires, and other graphing tools probably prefer, blank lines between successive curves.

Definition at line 23 of file ExportFileAbstractBase.cpp.

◆ curvesToInclude()

QStringList ExportFileAbstractBase::curvesToInclude ( const DocumentModelExportFormat modelExportOverride,
const Document document,
const QStringList &  curvesGraphsNames,
CurveConnectAs  curveConnectAs1,
CurveConnectAs  curveConnectAs2 
) const
protected

Identify curves to include in export. The specified DocumentModelExportFormat overrides same data in Document for previewing window.

Definition at line 37 of file ExportFileAbstractBase.cpp.

◆ destroy2DArray()

void ExportFileAbstractBase::destroy2DArray ( QVector< QVector< QString * > > &  array) const
protected

Deallocate memory for array.

Definition at line 71 of file ExportFileAbstractBase.cpp.

◆ gnuplotComment()

QString ExportFileAbstractBase::gnuplotComment ( ) const
protected

Gnuplot comment delimiter.

Definition at line 84 of file ExportFileAbstractBase.cpp.

◆ insertLineSeparator()

void ExportFileAbstractBase::insertLineSeparator ( bool &  isFirst,
ExportHeader  exportHeader,
QTextStream &  str 
) const
protected

Insert line(s) between successive sets of curves.

Definition at line 89 of file ExportFileAbstractBase.cpp.


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