Qt
Widgets
pqDelimitedTextParser.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef pqDelimitedTextParser_h
6
#define pqDelimitedTextParser_h
7
8
#include "pqWidgetsModule.h"
9
#include <QObject>
10
11
class
QIODevice;
12
26
class
PQWIDGETS_EXPORT
pqDelimitedTextParser
:
public
QObject
27
{
28
Q_OBJECT
29
30
public
:
31
enum
SeriesT
32
{
36
COLUMN_SERIES
37
};
38
43
pqDelimitedTextParser
(
SeriesT
series,
char
delimiter);
44
48
void
parse(
const
QString& path);
49
50
Q_SIGNALS:
54
void
startParsing();
58
void
parseSeries(
const
QStringList&);
62
void
finishParsing();
63
64
private
:
65
const
SeriesT
Series;
66
const
char
Delimiter;
67
68
void
parseColumns(QIODevice& stream);
69
};
70
71
#endif
pqDelimitedTextParser::SeriesT
SeriesT
Definition:
pqDelimitedTextParser.h:31
pqDelimitedTextParser
Parses a delimited text file (e.g.
Definition:
pqDelimitedTextParser.h:26
Generated by
1.8.13 on Tue Jan 21 2025