eckit::CSVParser class

Base classes

class StreamParser

Public static functions

static auto decodeFile(const PathName& path, bool hasHeader) -> Value
static auto decodeString(const std::string& str, bool hasHeader) -> Value

Constructors, destructors, conversion operators

CSVParser(std::istream& in, bool hasHeader)

Public functions

auto parse() -> Value
auto header() const -> const Value&
auto peek(bool spaces = false) -> char
auto next(bool spaces = false) -> char
void consume(char)
void consume(const char*)
void expect(const char*)
void putback(char)

Function documentation

char eckit::CSVParser::peek(bool spaces = false)

char eckit::CSVParser::next(bool spaces = false)

void eckit::CSVParser::consume(char)

void eckit::CSVParser::consume(const char*)

void eckit::CSVParser::expect(const char*)

void eckit::CSVParser::putback(char)