t8-mod/deps/rapidcsv/doc/rapidcsv_SeparatorParams.md
2024-02-15 15:46:47 -05:00

24 lines
1.1 KiB
Markdown

## class rapidcsv::SeparatorParams
Datastructure holding parameters controlling how the CSV data fields are separated.
---
```c++
SeparatorParams (const char pSeparator = ',', const bool pTrim = false, const bool pHasCR = sPlatformHasCR, const bool pQuotedLinebreaks = false, const bool pAutoQuote = true, const char pQuoteChar = '"')
```
Constructor.
**Parameters**
- `pSeparator` specifies the column separator (default ',').
- `pTrim` specifies whether to trim leading and trailing spaces from cells read (default false).
- `pHasCR` specifies whether a new document (i.e. not an existing document read) should use CR/LF instead of only LF (default is to use standard behavior of underlying platforms - CR/LF for Win, and LF for others).
- `pQuotedLinebreaks` specifies whether to allow line breaks in quoted text (default false)
- `pAutoQuote` specifies whether to automatically dequote data during read, and add quotes during write (default true).
- `pQuoteChar` specifies the quote character (default '"').
---
###### API documentation generated using [Doxygenmd](https://github.com/d99kris/doxygenmd)