https://github.com/mapbox/tippecanoe
Raw File
Tip revision: af69c85d2399919db0872e73549d8294868754ea authored by Eric Fischer on 20 April 2018, 07:44:13 UTC
Merge pull request #561 from mapbox/exit-status
Tip revision: af69c85
csv.hpp
#ifndef CSV_HPP
#define CSV_HPP

#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <string>
#include <map>

std::vector<std::string> csv_split(const char *s);
std::string csv_dequote(std::string s);
void readcsv(const char *fn, std::vector<std::string> &header, std::map<std::string, std::vector<std::string>> &mapping);
std::string csv_getline(FILE *f);
bool is_number(std::string const &s);

#endif
back to top