CSVIntervalLoaderOptions
CSVIntervalLoaderOptions
Options for loading DigitalIntervalSeries data from a CSV file. More…
#include <Digital_Interval_Series_CSV.hpp>
Public Attributes
| Name | |
|---|---|
| std::string | filepath |
| std::string | delimiter |
| bool | has_header |
| int | start_column |
| int | end_column |
Detailed Description
struct CSVIntervalLoaderOptions;Options for loading DigitalIntervalSeries data from a CSV file.
The CSV should have two columns: Start and End for each interval.
Public Attributes Documentation
variable filepath
std::string filepath;The path to the CSV file to load.
variable delimiter
std::string delimiter = ",";The delimiter used between columns. Defaults to “,”.
variable has_header
bool has_header = false;Whether the file has a header row that should be skipped. Defaults to false.
variable start_column
int start_column = 0;The column index (0-based) for the start time values. Defaults to 0.
variable end_column
int end_column = 1;The column index (0-based) for the end time values. Defaults to 1.
Updated on 2026-11-13 at 20:25:39 +0000