config

Defined in header: <orcus/config.hpp>

struct config

Public Types

using data_type = std::variant<csv_config>

Public Functions

config() = delete
config(const config &other)
config(format_t input_format)
~config()
config &operator=(const config &other)

Public Members

format_t input_format
bool debug

Enable or disable runtime debug output to stdout or stderr.

bool structure_check

Control whether or not to perform strict check of the structure of a stream being parsed for an XML-based format. When enabled, it throws an xml_structure_error exception when an incorrect XML structure is detected.

data_type data
struct csv_config

configuration settings specific to the CSV format. This struct must be POD.

Public Members

size_t header_row_size

Number of header rows to repeat in case of split.

bool split_to_multiple_sheets

Whether or not to split oversized source data into multiple sheets in case it spills over.

char text_qualifier

What character is used to mark start and end of a string. Only one character is allowed.

std::string delimiters

List of characters that seperate cells from each other.