OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::object::intersect_fn Struct Reference

Function object to intersect objects in the container. More...

#include <object.hpp>

Public Types

using coro_t = boost::coroutines2::coroutine<oid_t>

Public Member Functions

auto operator() (connection_ptr const &conn, std::string const &filterName) const -> coro_t::pull_type

Detailed Description

Function object to intersect objects in the container.

This function object provides an operator() that takes a connection pointer and a filter name, and returns a coroutine pull type that yields the OIDs of objects that intersect with the specified filter. It is designed to be used in a coroutine-based context for efficient intersection of objects.

Member Function Documentation

◆ operator()()

auto oxy::core::object::intersect_fn::operator() ( connection_ptr const & conn,
std::string const & filterName ) const -> coro_t::pull_type
Parameters
conn- The connection pointer to the container.
filterName- The name of the filter to intersect with.
Returns
A coroutine pull type that yields the OIDs of objects that intersect with the specified filter.