Wt examples 4.5.0
CsvUtil.h
Go to the documentation of this file.
1// This may look like C code, but it's really -*- C++ -*-
2/*
3 * Copyright (C) 2008 Emweb bv, Herent, Belgium.
4 *
5 * See the LICENSE file for terms of use.
6 */
7#ifndef CSV_UTIL_H_
8#define CSV_UTIL_H_
9
10#include <iostream>
11
12namespace Wt {
13 class WAbstractItemModel;
14}
15
20
23extern void readFromCsv(std::istream& f, Wt::WAbstractItemModel *model,
24 int numRows = -1, bool firstLineIsHeaders = true);
25
28#endif // CSV_UTIL_H_
void readFromCsv(std::istream &f, Wt::WAbstractItemModel *model, int numRows=-1, bool firstLineIsHeaders=true)
Utility function that reads a model from a CSV file.
Definition: CsvUtil.C:15
Definition: ChartConfig.h:13

Generated on Fri Aug 27 2021 for the C++ Web Toolkit (Wt) by doxygen 1.9.2