KItinerary

extractorpostprocessor.h
1 /*
2  SPDX-FileCopyrightText: 2017 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef EXTRACTORPOSTPROCESSOR_H
8 #define EXTRACTORPOSTPROCESSOR_H
9 
10 #include "kitinerary_export.h"
11 
12 #include <QVariant>
13 #include <QVector>
14 
15 #include <memory>
16 
17 namespace KItinerary {
18 
19 class ExtractorPostprocessorPrivate;
20 
62 class KITINERARY_EXPORT ExtractorPostprocessor
63 {
64 public:
69 
73  void process(const QVector<QVariant> &data);
74 
78  QVector<QVariant> result() const;
79 
85  void setContextDate(const QDateTime &dt);
86 
94  void setValidationEnabled(bool validate);
95 
96 private:
97  std::unique_ptr<ExtractorPostprocessorPrivate> d;
98 };
99 
100 }
101 
102 #endif // EXTRACTORPOSTPROCESSOR_H
Classes for reservation/travel data models, data extraction and data augmentation.
Post-process extracted data to filter out garbage and augment data from other sources.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 23:18:09 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.