Sese Framework
x.y.z
A cross-platform framework
|
CSV 流写入器 更多...
#include <CSVWriter.h>
Public 类型 | |
using | OutputStream = io::OutputStream |
工具支持的输出流 | |
using | Row = std::vector<std::string> |
行 | |
Public 成员函数 | |
CSVWriter (OutputStream *dest, char split_char=',', bool crlf=true) noexcept | |
void | write (const Row &row) noexcept |
静态 Public 属性 | |
static const char * | crlf = "\r\n" |
static const char * | lf = "\n" |
Protected 属性 | |
char | splitChar |
bool | isCRLF |
OutputStream * | dest = nullptr |
CSV 流写入器
工具支持的输出流
using sese::CSVWriter::Row = std::vector<std::string> |
行
|
explicitnoexcept |
构造函数
dest | 目的流 |
split_char | 分割字符 |
crlf | 是否使用 CRLF 作为行分隔符 |
|
noexcept |
写入流
row | 待写入行 |
|
static |
|
protected |
|
protected |
|
static |
|
protected |