Sese Framework
2.3.0
A cross-platform framework
|
CSV stream reader. More...
#include <CSVReader.h>
Public Types | |
using | InputStream = io::InputStream |
Input stream supported by the utility. | |
using | Row = std::vector<std::string> |
Public Member Functions | |
CSVReader (InputStream *source, char split_char=',') noexcept | |
Row | read () noexcept |
Protected Attributes | |
char | splitChar |
InputStream * | source = nullptr |
CSV stream reader.
Input stream supported by the utility.
using sese::CSVReader::Row = std::vector<std::string> |
|
explicitnoexcept |
Constructor
source | The input stream to read from |
split_char | The delimiter character |
|
noexcept |
Reads a line from the stream
References sese::text::AbstractStringBuffer::clear(), sese::text::AbstractStringBuffer::empty(), sese::io::InputStream::read(), source, splitChar, and sese::text::AbstractStringBuffer::toString().
|
protected |
Referenced by read().
|
protected |
Referenced by read().