OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::api::export_contents_fn Struct Reference

Function object to export contents from a storage container to a file in the oxy API. More...

#include <storage.hpp>

Public Member Functions

void operator() (contents_t const &contents, std::filesystem::path const &file) const

Detailed Description

Function object to export contents from a storage container to a file in the oxy API.

This function object provides an operator() that takes contents and a file path, and exports the contents to the specified file. It is designed to be used in a constexpr context for compile-time evaluation of contents export operations.

Member Function Documentation

◆ operator()()

void oxy::api::export_contents_fn::operator() ( contents_t const & contents,
std::filesystem::path const & file ) const
Parameters
contents- The contents to export from the storage container.
file- The file path to which the contents will be exported.