|
Wt examples
3.3.0
|
#include <fstream>#include <boost/tokenizer.hpp>#include <boost/lexical_cast.hpp>#include <Wt/WAbstractItemModel>#include <Wt/WStandardItemModel>#include <Wt/WString>#include "CsvUtil.h"Go to the source code of this file.
Functions | |
| Wt::WStandardItemModel * | csvToModel (const std::string &csvFile, Wt::WObject *parent) |
| void | readFromCsv (std::istream &f, Wt::WAbstractItemModel *model, int numRows, bool firstLineIsHeaders) |
| Utility function that reads a model from a CSV file. More... | |
| Wt::WStandardItemModel* csvToModel | ( | const std::string & | csvFile, |
| Wt::WObject * | parent | ||
| ) |
1.8.4