|
OXY API 1.0
OXY API Library Documentation
|
Function object to import contents from a file into a storage container in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| contents_t | operator() (std::filesystem::path const &file) const |
Function object to import contents from a file into a storage container in the OXY-API.
This function object provides an operator() that takes a file path and imports the contents from the specified file into the storage container. It returns the imported contents. It is designed to be used in a constexpr context for compile-time evaluation of contents import operations.
| contents_t oxy::api::import_contents_fn::operator() | ( | std::filesystem::path const & | file | ) | const |
| file | - The file path from which to import contents into the storage container. |