Datastructure holding parameters controlling how the CSV data fields are separated. More...
#include <rapidcsv.hpp>
Public Member Functions | |
SeparatorParams (const char pSeparator=',', const bool pTrim=false, const bool pHasCR=sPlatformHasCR, const bool pQuotedLinebreaks=false, const bool pAutoQuote=true) | |
Constructor. More... | |
Public Attributes | |
char | mSeparator |
specifies the column separator. More... | |
bool | mTrim |
specifies whether to trim leading and trailing spaces from cells read. More... | |
bool | mHasCR |
specifies whether new documents should use CR/LF instead of LF. More... | |
bool | mQuotedLinebreaks |
specifies whether to allow line breaks in quoted text. More... | |
bool | mAutoQuote |
specifies whether to automatically dequote cell data. More... | |
Datastructure holding parameters controlling how the CSV data fields are separated.
Definition at line 307 of file rapidcsv.hpp.
|
inlineexplicit |
Constructor.
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). |
Definition at line 321 of file rapidcsv.hpp.
bool rapidcsv::SeparatorParams::mAutoQuote |
specifies whether to automatically dequote cell data.
Definition at line 355 of file rapidcsv.hpp.
bool rapidcsv::SeparatorParams::mHasCR |
specifies whether new documents should use CR/LF instead of LF.
Definition at line 345 of file rapidcsv.hpp.
bool rapidcsv::SeparatorParams::mQuotedLinebreaks |
specifies whether to allow line breaks in quoted text.
Definition at line 350 of file rapidcsv.hpp.
char rapidcsv::SeparatorParams::mSeparator |
specifies the column separator.
Definition at line 335 of file rapidcsv.hpp.
bool rapidcsv::SeparatorParams::mTrim |
specifies whether to trim leading and trailing spaces from cells read.
Definition at line 340 of file rapidcsv.hpp.