15 #ifndef BORNAGAIN_GUI2_DATALOADER_DATALOADER_TYPES_H
16 #define BORNAGAIN_GUI2_DATALOADER_DATALOADER_TYPES_H
18 #include "darefl_export.h"
28 std::string m_header_prefix =
"#";
29 std::string m_separator =
" ";
39 double multiplier{0.0};
49 using line_splitter_t = std::function<std::vector<std::string>(
const std::string& line)>;
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
std::function< bool(const std::string &line)> accept_string_t
Function to define if given string should be accepted for further consideration.
std::function< bool(int)> accept_int_t
Function to define if given index satisfies criteria.
std::function< std::vector< std::string >(const std::string &line)> line_splitter_t
Function to define line splitter according to some criteria.
Info about the column as defined by the user via ImportTableWidget.
Parser options to process multi column ASCII files.
std::string m_skip_index_pattern
pattern denoting line to skip (i.e. '1,10-12,42')