|
OXY API 1.0
OXY API Library Documentation
|
Function object to create an entry in the storage container in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| entry_t | operator() (oid_t const &oid, mime_t const &mime, metadata_t const &metadata) const |
Function object to create an entry in the storage container in the OXY-API.
This function object provides an operator() that takes an OID, MIME type, and metadata, and creates an entry in the storage container. It returns the created entry. It is designed to be used in a constexpr context for compile-time evaluation of entry creation operations.
| entry_t oxy::api::make_entry_fn::operator() | ( | oid_t const & | oid, |
| mime_t const & | mime, | ||
| metadata_t const & | metadata ) const |
| oid | - The OID of the entry to create in the storage container. |
| mime | - The MIME type of the entry to create in the storage container. |
| metadata | - The metadata associated with the entry to create in the storage container. |