#include <csvloader.hh>
Public Member Functions | |
| std::vector< Column * > | read_file (std::string &filename) |
| read a csv file and autodetect separator | |
| std::vector< Column * > | read_file (std::string &filename, char separator) |
| read a csv file with a specific separator | |
Protected Member Functions | |
| token_type | _get_next_token (std::ifstream &ifs, char separator) |
| get next token | |
| bool | _is_eol (char c, std::ifstream &ifs) const |
| is a eol token | |
| bool | _convert_float (const char *buffer) const |
| return true when the string is a float | |
| bool | _convert_int (const char *buffer) const |
| return true when the string is a int | |
| std::string | _trim (const std::string &str) |
| remove ' ' character in front of and behinde the string | |
| char | _detect_csv (std::string &filename) |
| detect csv separator | |
Protected Attributes | |
| char | _buffer [MAX_LINE_SIZE] |
Definition at line 46 of file csvloader.hh.
1.3.2