CSV stream writer.
More...
#include <CSVWriter.h>
|
static const char * | crlf = "\r\n" |
|
static const char * | lf = "\n" |
|
◆ OutputStream
Output stream supported by the utility.
◆ Row
◆ CSVWriter()
sese::CSVWriter::CSVWriter |
( |
OutputStream * | dest, |
|
|
char | split_char = ',', |
|
|
bool | crlf = true ) |
|
explicitnoexcept |
Constructor
- Parameters
-
dest | The destination stream |
split_char | The delimiter character |
crlf | Whether to use CRLF as the line separator |
◆ write()
void sese::CSVWriter::write |
( |
const Row & | row | ) |
|
|
noexcept |
Write to the stream
- Parameters
-
◆ crlf
const char * sese::CSVWriter::crlf = "\r\n" |
|
static |
◆ dest
◆ isCRLF
bool sese::CSVWriter::isCRLF |
|
protected |
◆ lf
const char * sese::CSVWriter::lf = "\n" |
|
static |
◆ splitChar
char sese::CSVWriter::splitChar |
|
protected |
The documentation for this class was generated from the following files: