MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::csv::Options Struct Reference

CSV options for defining the CSV format. More...

#include <common.hpp>

Collaboration diagram for mtcore::csv::Options:

Public Member Functions

bool valid () const
 

Public Attributes

Optional< char > cr = '\r'
 
char lf = '\n'
 
char quote = '"'
 
char sep = ','
 
size_t internalIterLimit = 65536
 

Detailed Description

CSV options for defining the CSV format.

Allows for overriding newlines, quotes, separators, etc.

Definition at line 78 of file common.hpp.

Member Function Documentation

◆ valid()

bool mtcore::csv::Options::valid ( ) const
nodiscard

Member Data Documentation

◆ cr

Optional<char> mtcore::csv::Options::cr = '\r'

Definition at line 79 of file common.hpp.

◆ internalIterLimit

size_t mtcore::csv::Options::internalIterLimit = 65536

Definition at line 83 of file common.hpp.

◆ lf

char mtcore::csv::Options::lf = '\n'

Definition at line 80 of file common.hpp.

◆ quote

char mtcore::csv::Options::quote = '"'

Definition at line 81 of file common.hpp.

◆ sep

char mtcore::csv::Options::sep = ','

Definition at line 82 of file common.hpp.


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