|
OXY API 1.0
OXY API Library Documentation
|
Function object to merge metadata from one context into another. More...
#include <metadata.hpp>
Public Member Functions | |
| void | operator() (context_t const &to, std::string const &from) const |
| void | operator() (context_t const &to, std::string const &from, std::string const &filter_path, std::string const &filter_schema) const |
Function object to merge metadata from one context into another.
This function object provides two operator() overloads: one that takes a destination context and a source context, and another that takes a destination context, a source context, a filter path, and a filter schema. Both overloads perform the merging of metadata from the source context into the destination context, optionally applying filters. It is designed to be used in a constexpr context for compile-time evaluation of metadata merging operations.
| void oxy::api::metadata::merge_fn::operator() | ( | context_t const & | to, |
| std::string const & | from ) const |
| to | - The destination context for merging metadata. |
| from | - The source context from which to merge metadata. |
| void oxy::api::metadata::merge_fn::operator() | ( | context_t const & | to, |
| std::string const & | from, | ||
| std::string const & | filter_path, | ||
| std::string const & | filter_schema ) const |
| to | - The destination context for merging metadata. |
| from | - The source context from which to merge metadata. |
| filter_path | - The path to the filter to apply during merging. |
| filter_schema | - The schema of the filter to apply during merging. |