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

Function object to retrieve the filesystem path associated with a given OID. More...

#include <container.hpp>

Public Member Functions

std::filesystem::path operator() (std::string const oid) const

Detailed Description

Function object to retrieve the filesystem path associated with a given OID.

This function object provides an operator() that takes an OID as a string and returns the corresponding filesystem path. It is designed to be used in a constexpr context for compile-time evaluation of path retrieval operations.

Member Function Documentation

◆ operator()()

std::filesystem::path oxy::api::container::get_path_fn::operator() ( std::string const oid) const
Parameters
oid- The OID as a string for which to retrieve the filesystem path.
Returns
The filesystem path associated with the provided OID.