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)

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.