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

Function object to convert a manifest and container OID to a record. More...

#include <container.hpp>

Public Member Functions

record_t operator() (oid_t const &container, manifest_t const &item) const

Detailed Description

Function object to convert a manifest and container OID to a record.

This function object provides an operator() that takes a container OID and a manifest_t item, and returns a record_t constructed from the provided manifest and OID.

Member Function Documentation

◆ operator()()

record_t oxy::api::container::to_record_fn::operator() ( oid_t const & container,
manifest_t const & item ) const
Parameters
container- The OID of the container.
item- The manifest_t item to convert to a record_t.
Returns
A record_t constructed from the provided container OID and manifest.