31 const QStringList &curvesGraphsNames,
41 QStringList::const_iterator itr;
42 for (itr = curvesGraphsNames.begin(); itr != curvesGraphsNames.end(); itr++) {
44 QString curvesGraphName = *itr;
67 int colCount = array.count();
68 int rowCount = array [0].count();
69 for (
int row = 0; row < rowCount; row++) {
70 for (
int col = 0; col < colCount; col++) {
71 delete array [col] [row];
78 return QString (
"# ");
83 QTextStream &str)
const
96 const QPointF &posGraphBefore,
97 const QPointF &posGraph)
const
102 double s = (xThetaLinearized - posGraphBefore.x()) / (posGraph.x() - posGraphBefore.x());
104 double yRadiusLinearized = (1.0 - s) * posGraphBefore.y() + s * posGraph.y();
106 return yRadiusLinearized;
110 const QString &valueString)
const
112 QString newValueString = valueString;
115 (valueString.indexOf (
",") >= 0)) {
118 newValueString = QString (
"\"%1\"").arg (valueString);
121 return newValueString;
#define ENGAUGE_CHECK_PTR(ptr)
Drop in replacement for Q_CHECK_PTR.
log4cpp::Category * mainCat
LineStyle lineStyle() const
Get method for LineStyle.
Container for one set of digitized Points.
CurveStyle curveStyle() const
Return the curve style.
Storage of one imported image and the data attached to that image.
const Curve * curveForCurveName(const QString &curveName) const
See CurvesGraphs::curveForCurveNames, although this also works for AXIS_CURVE_NAME.
void destroy2DArray(QVector< QVector< QString * > > &array) const
Deallocate memory for array.
double linearlyInterpolateYRadiusFromTwoPoints(double xThetaLinearized, const QPointF &posGraphBefore, const QPointF &posGraph) const
Interpolate (if xThetaValue is between posGraphBefore.x() and posGraph.x()) or extrapolate (if xTheta...
virtual ~ExportFileAbstractBase()
QString wrapInDoubleQuotesIfNeeded(const DocumentModelExportFormat &modelExportOverride, const QString &valueString) const
RFC 4180 says if values are delimited by a comma AND a value has commas in it (for locale like Englis...
QString gnuplotComment() const
Gnuplot comment delimiter.
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 ...
ExportFileAbstractBase()
Single constructor.
void insertLineSeparator(bool isFirst, ExportHeader exportHeader, QTextStream &str) const
Insert line(s) between successive sets of curves.
CurveConnectAs curveConnectAs() const
Get method for connect type.
#define LOG4CPP_INFO_S(logger)