14#include <QXmlStreamWriter>
63 m_curveNamesNotExported (document.modelExport().curveNamesNotExported()),
64 m_pointsSelectionFunctions (document.modelExport().pointsSelectionFunctions()),
65 m_pointsIntervalFunctions (document.modelExport().pointsIntervalFunctions()),
66 m_pointsIntervalUnitsFunctions (document.modelExport().pointsIntervalUnitsFunctions()),
67 m_pointsSelectionRelations (document.modelExport().pointsSelectionRelations()),
68 m_pointsIntervalRelations (document.modelExport().pointsIntervalRelations()),
69 m_pointsIntervalUnitsRelations (document.modelExport().pointsIntervalUnitsRelations()),
70 m_layoutFunctions (document.modelExport().layoutFunctions()),
71 m_delimiter (document.modelExport().delimiter()),
72 m_extrapolateOutsideEndpoints (document.modelExport().extrapolateOutsideEndpoints()),
73 m_overrideCsvTsv (document.modelExport().overrideCsvTsv()),
74 m_header (document.modelExport().header()),
75 m_xLabel (document.modelExport().xLabel())
80 m_curveNamesNotExported (
other.curveNamesNotExported()),
81 m_pointsSelectionFunctions (
other.pointsSelectionFunctions()),
82 m_pointsIntervalFunctions (
other.pointsIntervalFunctions()),
83 m_pointsIntervalUnitsFunctions (
other.pointsIntervalUnitsFunctions()),
84 m_pointsSelectionRelations (
other.pointsSelectionRelations()),
85 m_pointsIntervalRelations (
other.pointsIntervalRelations()),
86 m_pointsIntervalUnitsRelations (
other.pointsIntervalUnitsRelations()),
87 m_layoutFunctions (
other.layoutFunctions()),
88 m_delimiter (
other.delimiter()),
89 m_extrapolateOutsideEndpoints (
other.extrapolateOutsideEndpoints()),
90 m_overrideCsvTsv (
other.overrideCsvTsv()),
91 m_header (
other.header()),
92 m_xLabel (
other.xLabel ())
98 m_curveNamesNotExported =
other.curveNamesNotExported();
99 m_pointsSelectionFunctions =
other.pointsSelectionFunctions();
100 m_pointsIntervalFunctions =
other.pointsIntervalFunctions();
101 m_pointsIntervalUnitsFunctions =
other.pointsIntervalUnitsFunctions();
102 m_pointsSelectionRelations =
other.pointsSelectionRelations();
103 m_pointsIntervalRelations =
other.pointsIntervalRelations();
104 m_pointsIntervalUnitsRelations =
other.pointsIntervalUnitsRelations();
105 m_layoutFunctions =
other.layoutFunctions();
106 m_delimiter =
other.delimiter();
107 m_extrapolateOutsideEndpoints =
other.extrapolateOutsideEndpoints();
108 m_overrideCsvTsv =
other.overrideCsvTsv();
109 m_header =
other.header();
110 m_xLabel =
other.xLabel();
117 return m_curveNamesNotExported;
127 return m_extrapolateOutsideEndpoints;
137 return m_layoutFunctions;
201 while (
tokenType == QXmlStreamReader::StartElement) {
213 while ((
reader.tokenType() != QXmlStreamReader::EndElement) ||
225 reader.raiseError (QObject::tr (
"Cannot read export data"));
231 return m_overrideCsvTsv;
236 return m_pointsIntervalFunctions;
241 return m_pointsIntervalRelations;
246 return m_pointsIntervalUnitsFunctions;
251 return m_pointsIntervalUnitsRelations;
256 return m_pointsSelectionFunctions;
261 return m_pointsSelectionRelations;
272 QStringList::const_iterator
itr;
273 for (
itr = m_curveNamesNotExported.begin ();
itr != m_curveNamesNotExported.end();
itr++) {
281 str <<
indentation <<
"pointsIntervalFunctions=" << m_pointsIntervalFunctions <<
"\n";
286 str <<
indentation <<
"pointsIntervalRelations=" << m_pointsIntervalRelations <<
"\n";
291 str <<
indentation <<
"exportExtrapolateOutsideEndpoints=" << (m_extrapolateOutsideEndpoints ?
"yes" :
"no") <<
"\n";
292 str <<
indentation <<
"overrideCsvTsv=" << (m_overrideCsvTsv ?
"true" :
"false") <<
"\n";
326 QStringList::const_iterator
itr;
327 for (
itr = m_curveNamesNotExported.begin ();
itr != m_curveNamesNotExported.end ();
itr++) {
const int INNER_RADIUS_MIN
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_SELECTION_RELATIONS
const QString DOCUMENT_SERIALIZE_EXPORT_X_LABEL
const QString DOCUMENT_SERIALIZE_EXPORT_EXTRAPOLATE_OUTSIDE_ENDPOINTS
const QString DOCUMENT_SERIALIZE_EXPORT_DELIMITER
const QString DOCUMENT_SERIALIZE_EXPORT_CURVE_NAMES_NOT_EXPORTED
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_INTERVAL_FUNCTIONS
const QString DOCUMENT_SERIALIZE_EXPORT_CURVE_NAME_NOT_EXPORTED_NAME
const QString DOCUMENT_SERIALIZE_EXPORT
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_SELECTION_FUNCTIONS
const QString DOCUMENT_SERIALIZE_EXPORT_DELIMITER_STRING
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_INTERVAL_UNITS_FUNCTIONS
const QString DOCUMENT_SERIALIZE_EXPORT_CURVE_NAME_NOT_EXPORTED
const QString DOCUMENT_SERIALIZE_EXPORT_DELIMITER_OVERRIDE_CSV_TSV
const QString DOCUMENT_SERIALIZE_EXPORT_HEADER
const QString DOCUMENT_SERIALIZE_EXPORT_LAYOUT_FUNCTIONS
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_SELECTION_FUNCTIONS_STRING
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_INTERVAL_RELATIONS
const QString DOCUMENT_SERIALIZE_EXPORT_LAYOUT_FUNCTIONS_STRING
const QString DOCUMENT_SERIALIZE_EXPORT_HEADER_STRING
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_INTERVAL_UNITS_RELATIONS
const QString DOCUMENT_SERIALIZE_BOOL_TRUE
const QString DOCUMENT_SERIALIZE_BOOL_FALSE
const QString DOCUMENT_SERIALIZE_EXPORT_POINTS_SELECTION_RELATIONS_STRING
QString exportDelimiterToString(ExportDelimiter exportDelimiter)
ExportDelimiter
Delimiter values that may or may not be overridden by DOCUMENT_SERIALIZE_EXPORT_DELIMITER_OVERRIDE_CS...
QString exportLayoutFunctionsToString(ExportLayoutFunctions exportLayoutFunctions)
@ EXPORT_LAYOUT_ALL_PER_LINE
QString exportPointsIntervalUnitsToString(ExportPointsIntervalUnits exportPointsIntervalUnits)
ExportPointsIntervalUnits
@ EXPORT_POINTS_INTERVAL_UNITS_SCREEN
QString exportPointsSelectionFunctionsToString(ExportPointsSelectionFunctions exportPointsSelectionFunctions)
ExportPointsSelectionFunctions
@ EXPORT_POINTS_SELECTION_FUNCTIONS_INTERPOLATE_ALL_CURVES
QString exportPointsSelectionRelationsToString(ExportPointsSelectionRelations exportPointsSelectionRelations)
ExportPointsSelectionRelations
@ EXPORT_POINTS_SELECTION_RELATIONS_INTERPOLATE
log4cpp::Category * mainCat
const QString INDENTATION_DELTA
const QString SETTINGS_EXPORT_POINTS_INTERVAL_UNITS_RELATIONS
const QString SETTINGS_EXPORT_POINTS_SELECTION_FUNCTIONS
const QString SETTINGS_ENGAUGE
const QString SETTINGS_EXPORT_POINTS_INTERVAL_FUNCTIONS
const QString SETTINGS_EXPORT_X_LABEL
const QString SETTINGS_EXPORT_CURVE_NAMES_NOT_EXPORTED
const QString SETTINGS_EXPORT_DELIMITER
const QString SETTINGS_GROUP_EXPORT
const QString SETTINGS_EXPORT_POINTS_INTERVAL_RELATIONS
const QString SETTINGS_EXPORT_LAYOUT_FUNCTIONS
const QString SETTINGS_EXPORT_POINTS_SELECTION_RELATIONS
const QString SETTINGS_EXPORT_EXTRAPOLATE_OUTSIDE_ENDPOINTS
const QString SETTINGS_EXPORT_HEADER
const QString SETTINGS_EXPORT_POINTS_INTERVAL_UNITS_FUNCTIONS
const QString SETTINGS_EXPORT_DELIMITER_OVERRIDE_CSV_TSV
const QString SETTINGS_DIGITIZER
QXmlStreamReader::TokenType loadNextFromReader(QXmlStreamReader &reader)
Load next token from xml reader.
Storage of one imported image and the data attached to that image.
#define LOG4CPP_INFO_S(logger)