|
OXY API 1.0
OXY API Library Documentation
|
Function object to set contents in a storage container in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| oid_t | operator() (IStoragePtr const &stg, contents_t const &contents) const |
Function object to set contents in a storage container in the OXY-API.
This function object provides an operator() that takes a storage container pointer and an OID, and sets the contents in the storage container. It returns the OID of the set contents. It is designed to be used in a constexpr context for compile-time evaluation of contents setting operations.
| oid_t oxy::api::set_contents_fn::operator() | ( | IStoragePtr const & | stg, |
| contents_t const & | contents ) const |
| stg | - The storage container pointer in which to set contents. |
| contents | - The contents to set in the storage container. |