|
OXY API 1.0
OXY API Library Documentation
|
Function object to get a commit. More...
#include <commit.hpp>
Public Member Functions | |
| maybe< commit_t > | operator() (const connection_ptr &conn, const object_t &obj) const |
| maybe< commit_t > | operator() (const connection_ptr &conn, const oid_t &oid) const |
| maybe< commit_t > | operator() (const connection_ptr &conn, const reference_t &ref) const |
Function object to get a commit.
This functor provides an interface to retrieve a commit from a container using its OID, an object, or a reference.
| maybe< commit_t > oxy::core::get_commit_fn::operator() | ( | const connection_ptr & | conn, |
| const object_t & | obj ) const |
| conn | - A pointer to the database (container) connection from which to retrieve the commit. |
| obj | - The object representing the commit to retrieve. |
| maybe< commit_t > oxy::core::get_commit_fn::operator() | ( | const connection_ptr & | conn, |
| const oid_t & | oid ) const |
| conn | - A pointer to the database (container) connection from which to retrieve the commit. |
| oid | - The OID of the commit to retrieve. |
| maybe< commit_t > oxy::core::get_commit_fn::operator() | ( | const connection_ptr & | conn, |
| const reference_t & | ref ) const |
| conn | - A pointer to the database (container) connection from which to retrieve the commit. |
| ref | - The reference representing the commit to retrieve. |