CSV::Parser::Options Struct Reference

Parsing options. More...

#include <Parser.h>

Collaboration diagram for CSV::Parser::Options:

Public Attributes

const char * commentChars = nullptr
 
uint16_t lineLength = 256
 
char fieldSeparator = ','
 
bool parseEscape = false
 Set to true to handle escape sequences (
, \t, etc.) More...
 
bool wantComments = false
 Set to true to return comment lines, otherwise they're discarded. More...
 

Detailed Description

Parsing options.

Member Data Documentation

◆ commentChars

const char* CSV::Parser::Options::commentChars = nullptr

Optional list of characters matching start of comment line

◆ fieldSeparator

char CSV::Parser::Options::fieldSeparator = ','

Single character such as ',', '\t' or '\0' for whitespace-separated fields with leading/trailing whitespace discarded

◆ lineLength

uint16_t CSV::Parser::Options::lineLength = 256

Maximum number of characters in line, including any escapes

◆ parseEscape

bool CSV::Parser::Options::parseEscape = false

Set to true to handle escape sequences (
, \t, etc.)

◆ wantComments

bool CSV::Parser::Options::wantComments = false

Set to true to return comment lines, otherwise they're discarded.


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