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

Function object to set an entry in the storage container in the OXY-API. More...

#include <storage.hpp>

Public Member Functions

void operator() (IStoragePtr const &stg, std::string const &name, entry_t const &entry) const

Detailed Description

Function object to set an entry in the storage container in the OXY-API.

This function object provides an operator() that takes a storage container pointer, an entry name, and an entry, and sets the entry in the storage container. It is designed to be used in a constexpr context for compile-time evaluation of entry setting operations.

Member Function Documentation

◆ operator()()

void oxy::api::set_entry_fn::operator() ( IStoragePtr const & stg,
std::string const & name,
entry_t const & entry ) const
Parameters
stg- The storage container pointer in which to set the entry.
name- The name of the entry to set in the storage container.