|
OXY API 1.0
OXY API Library Documentation
|
Function object to open a storage container connection in the OXY-API. More...
#include <storage.hpp>
Public Member Functions | |
| IStoragePtr | operator() (connection_ptr const &conn) const |
| IStoragePtr | operator() (connection_ptr const &conn, std::string const §ion) const |
Function object to open a storage container connection in the OXY-API.
This function object provides two operator() overloads: one that takes a connection pointer and another that takes a connection pointer and a section name. Both overloads return an IStoragePtr representing the opened storage connection. It is designed to be used in a constexpr context for compile-time evaluation of storage opening operations.
| IStoragePtr oxy::api::open_storage_fn::operator() | ( | connection_ptr const & | conn | ) | const |
| conn | - The connection pointer to the container. |
| IStoragePtr oxy::api::open_storage_fn::operator() | ( | connection_ptr const & | conn, |
| std::string const & | section ) const |
| conn | - The connection pointer to the container. |
| section | - The name of the section to open in the container. |