summaryrefslogtreecommitdiffstats
path: root/tests/hawd/formatter.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-07 18:43:03 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-07 18:43:03 +0200
commitb6e7be78f3e13275a8f217a4e01b304d97538641 (patch)
treeace45830fa61a930aecb4d73051fcbdc1a99559c /tests/hawd/formatter.h
parenta6959d8414da1efbe90e7dbc364bffb6658bba74 (diff)
downloadsink-b6e7be78f3e13275a8f217a4e01b304d97538641.tar.gz
sink-b6e7be78f3e13275a8f217a4e01b304d97538641.zip
HAWD::Formatter to print dataset
Diffstat (limited to 'tests/hawd/formatter.h')
-rw-r--r--tests/hawd/formatter.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/hawd/formatter.h b/tests/hawd/formatter.h
new file mode 100644
index 0000000..6a53bb2
--- /dev/null
+++ b/tests/hawd/formatter.h
@@ -0,0 +1,37 @@
1/*
2 * Copyright (C) 2015 Christian Mollekopf <mollekopf@kolabsys.com>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) version 3, or any
8 * later version accepted by the membership of KDE e.V. (or its
9 * successor approved by the membership of KDE e.V.), which shall
10 * act as a proxy defined in Section 6 of version 3 of the license.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23#include "hawd_export.h"
24#include "state.h"
25#include "dataset.h"
26
27namespace HAWD
28{
29
30class HAWD_EXPORT Formatter
31{
32public:
33 static void print(const QString &datasetName, const QStringList &cols, State &state);
34 static void print(Dataset &dataset, const QStringList &cols = QStringList());
35};
36
37}