Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CSVStateMachineOptions Struct Reference
Collaboration diagram for duckdb::CSVStateMachineOptions:

Public Member Functions

 CSVStateMachineOptions (string delimiter_p, char quote_p, char escape_p, char comment_p, NewLineIdentifier new_line_p, bool strict_mode_p)
 
bool operator== (const CSVStateMachineOptions &other) const
 

Public Attributes

CSVOption< string > delimiter {","}
 Delimiter to separate columns within each line.
 
CSVOption< charquote = '\"'
 Quote used for columns that contain reserved characters, e.g '.
 
CSVOption< charescape = '\0'
 Escape character to escape quote character.
 
CSVOption< charcomment = '\0'
 Comment character to skip a line.
 
CSVOption< NewLineIdentifier > new_line = NewLineIdentifier::NOT_SET
 New Line separator.
 
CSVOption< bool > strict_mode = true
 How Strict the parser should be.
 

Detailed Description

Struct that holds the configuration of a CSV State Machine Basically which char, quote and escape were used to generate it.

Constructor & Destructor Documentation

◆ CSVStateMachineOptions() [1/2]

duckdb::CSVStateMachineOptions::CSVStateMachineOptions ( )
inline
46394{};

◆ CSVStateMachineOptions() [2/2]

duckdb::CSVStateMachineOptions::CSVStateMachineOptions ( string  delimiter_p,
char  quote_p,
char  escape_p,
char  comment_p,
NewLineIdentifier  new_line_p,
bool  strict_mode_p 
)
inline
46397 : delimiter(std::move(delimiter_p)), quote(quote_p), escape(escape_p), comment(comment_p), new_line(new_line_p),
46398 strict_mode(strict_mode_p) {};
CSVOption< string > delimiter
Delimiter to separate columns within each line.
Definition duckdb.hpp:46401
CSVOption< char > comment
Comment character to skip a line.
Definition duckdb.hpp:46407
CSVOption< NewLineIdentifier > new_line
New Line separator.
Definition duckdb.hpp:46409
CSVOption< char > quote
Quote used for columns that contain reserved characters, e.g '.
Definition duckdb.hpp:46403
CSVOption< bool > strict_mode
How Strict the parser should be.
Definition duckdb.hpp:46411
CSVOption< char > escape
Escape character to escape quote character.
Definition duckdb.hpp:46405

Member Function Documentation

◆ operator==()

bool duckdb::CSVStateMachineOptions::operator== ( const CSVStateMachineOptions other) const
inline
46413 {
46414 return delimiter == other.delimiter && quote == other.quote && escape == other.escape &&
46415 new_line == other.new_line && comment == other.comment && strict_mode == other.strict_mode;
46416 }

Member Data Documentation

◆ delimiter

CSVOption<string> duckdb::CSVStateMachineOptions::delimiter {","}

Delimiter to separate columns within each line.

46401{","};

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