Blender V5.0
blender::csv_parse::CsvParseOptions Struct Reference

#include <BLI_csv_parse.hh>

Public Attributes

char delimiter = ','
char quote = '"'
Span< char > quote_escape_chars = Span<char>(StringRef("\"\\"))
int64_t chunk_size_bytes = 64 * 1024

Detailed Description

Definition at line 57 of file BLI_csv_parse.hh.

Member Data Documentation

◆ chunk_size_bytes

int64_t blender::csv_parse::CsvParseOptions::chunk_size_bytes = 64 * 1024

Approximate number of bytes per chunk that the input is split into.

Definition at line 71 of file BLI_csv_parse.hh.

◆ delimiter

char blender::csv_parse::CsvParseOptions::delimiter = ','

The character that separates fields within a row.

Definition at line 59 of file BLI_csv_parse.hh.

Referenced by blender::io::csv::import_csv_as_pointcloud().

◆ quote

char blender::csv_parse::CsvParseOptions::quote = '"'

The character that can be used to enclose fields which contain the delimiter or span multiple lines.

Definition at line 64 of file BLI_csv_parse.hh.

◆ quote_escape_chars

Span<char> blender::csv_parse::CsvParseOptions::quote_escape_chars = Span<char>(StringRef("\"\\"))

Characters that can be used to escape the quote character. By default, "" or " both represent an escaped quote.

Definition at line 69 of file BLI_csv_parse.hh.


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