Skip to main content

CSVIntervalSaverOptions

CSVIntervalSaverOptions

Options for saving DigitalIntervalSeries data to a CSV file. More…

#include <Digital_Interval_Series_CSV.hpp>

Public Attributes

Name
std::string filename
std::string parent_dir
std::string delimiter
std::string line_delim
bool save_header
std::string header

Detailed Description

struct CSVIntervalSaverOptions;

Options for saving DigitalIntervalSeries data to a CSV file.

The CSV will typically have two columns: Start and End for each interval.

Public Attributes Documentation

variable filename

std::string filename = "intervals_output.csv";

The name of the file to save the data to (e.g., “intervals.csv”).

variable parent_dir

std::string parent_dir = ".";

The directory where the file will be saved. Defaults to “.”.

variable delimiter

std::string delimiter = ",";

The delimiter to use between columns. Defaults to “,”.

variable line_delim

std::string line_delim = "\n";

The line delimiter to use. Defaults to “”.

variable save_header

bool save_header = true;

Whether to save a header row. Defaults to true.

variable header

std::string header = "Start,End";

The header string to use if save_header is true. Defaults to “Start,End”.


Updated on 2026-11-13 at 20:25:39 +0000