config

Defined in header: <orcus/config.hpp>

struct config

Public Types

using data_type = std::variant<csv_config>

Public Functions

config(format_t input_format)

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 xml structure of a stream being parsed. 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.