Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::writers::ExportBundleWriter Class Reference

Packages scientific analysis outputs into a structured ZIP archive or categorized folder. More...

#include <ExportBundleWriter.hpp>

Static Public Member Functions

static std::expected< void, std::string > writeBundle (const std::filesystem::path &zip_path, const correlation::analysis::DistributionFunctions &dists, const ExportBundleOptions &options={})
 Writes a consolidated ZIP bundle from DistributionFunctions.
static std::expected< void, std::string > writeFolder (const std::filesystem::path &dest_dir, const correlation::analysis::DistributionFunctions &dists, const ExportBundleOptions &options={})
 Writes analysis outputs categorized into subfolders within a directory.

Detailed Description

Packages scientific analysis outputs into a structured ZIP archive or categorized folder.

Member Function Documentation

◆ writeBundle()

std::expected< void, std::string > correlation::writers::ExportBundleWriter::writeBundle ( const std::filesystem::path & zip_path,
const correlation::analysis::DistributionFunctions & dists,
const ExportBundleOptions & options = {} )
static

Writes a consolidated ZIP bundle from DistributionFunctions.

Parameters
zip_pathDestination path for the .zip archive.
distsThe DistributionFunctions containing computed analysis data.
optionsBundle configuration options.
Returns
std::expected<void, std::string> Success or descriptive error message.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeFolder()

std::expected< void, std::string > correlation::writers::ExportBundleWriter::writeFolder ( const std::filesystem::path & dest_dir,
const correlation::analysis::DistributionFunctions & dists,
const ExportBundleOptions & options = {} )
static

Writes analysis outputs categorized into subfolders within a directory.

Parameters
dest_dirDestination directory path.
distsThe DistributionFunctions containing computed analysis data.
optionsBundle configuration options.
Returns
std::expected<void, std::string> Success or descriptive error message.
Here is the caller graph for this function:

The documentation for this class was generated from the following files: