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

Function object to copy metadata from one context to another. More...

#include <metadata.hpp>

Public Member Functions

void operator() (context_t const &from, std::string const &filter, std::string const &to) const

Detailed Description

Function object to copy metadata from one context to another.

This function object provides an operator() that takes a source context, a filter string, and a destination context, and performs the copying of metadata from the source context to the destination context, applying the specified filter. It is designed to be used in a constexpr context for compile-time evaluation of metadata copying operations.

Member Function Documentation

◆ operator()()

void oxy::api::metadata::copy_fn::operator() ( context_t const & from,
std::string const & filter,
std::string const & to ) const
Parameters
from- The source context from which to copy metadata.
filter- The filter string to apply during copying.
to- The destination context to which metadata will be copied.