Sese Framework
x.y.z
A cross-platform framework
|
CSV 流读取器 更多...
#include <CSVReader.h>
Public 类型 | |
using | InputStream = io::InputStream |
工具支持的输入流 | |
using | Row = std::vector<std::string> |
行 | |
Public 成员函数 | |
CSVReader (InputStream *source, char split_char=',') noexcept | |
Row | read () noexcept |
Protected 属性 | |
char | splitChar |
InputStream * | source = nullptr |
CSV 流读取器
工具支持的输入流
using sese::CSVReader::Row = std::vector<std::string> |
行
|
explicitnoexcept |
构造函数
source | 读取的流 |
split_char | 分割字符 |
|
noexcept |
从流中读取一行
引用了 sese::text::AbstractStringBuffer::clear(), sese::text::AbstractStringBuffer::empty(), sese::io::InputStream::read(), source, splitChar , 以及 sese::text::AbstractStringBuffer::toString().
|
protected |
被这些函数引用 read().
|
protected |
被这些函数引用 read().