Path Tracer
Public Member Functions | Public Attributes | List of all members
rapidcsv::SeparatorParams Struct Reference

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.
 
bool mTrim
 specifies whether to trim leading and trailing spaces from cells read.
 
bool mHasCR
 specifies whether new documents should use CR/LF instead of LF.
 
bool mQuotedLinebreaks
 specifies whether to allow line breaks in quoted text.
 
bool mAutoQuote
 specifies whether to automatically dequote cell data.
 

Detailed Description

Datastructure holding parameters controlling how the CSV data fields are separated.

Constructor & Destructor Documentation

◆ SeparatorParams()

rapidcsv::SeparatorParams::SeparatorParams ( const char  pSeparator = ',',
const bool  pTrim = false,
const bool  pHasCR = sPlatformHasCR,
const bool  pQuotedLinebreaks = false,
const bool  pAutoQuote = true 
)
inlineexplicit

Constructor.

Parameters
pSeparatorspecifies the column separator (default ',').
pTrimspecifies whether to trim leading and trailing spaces from cells read (default false).
pHasCRspecifies 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).
pQuotedLinebreaksspecifies whether to allow line breaks in quoted text (default false)
pAutoQuotespecifies whether to automatically dequote data during read, and add quotes during write (default true).

The documentation for this struct was generated from the following file: