RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::debug_abi::subquery_result< SubquerySpec > Struct Template Reference

Coroutine yield value that publishes one subquery result. More...

#include <querygraph.hpp>

Public Member Functions

 subquery_result (typename SubquerySpec::input_type input, typename SubquerySpec::output_type output)
 Construct a subquery input/output pair to publish.
 

Public Attributes

SubquerySpec::input_type m_input
 Input identifying the produced subquery slot.
 
SubquerySpec::output_type m_output
 Output to publish for the identified slot.
 

Detailed Description

template<subquery_spec_c SubquerySpec>
struct rpnx::querygraph::debug_abi::subquery_result< SubquerySpec >

Coroutine yield value that publishes one subquery result.

The parent handler specification must list SubquerySpec in produced_subqueries, and the subquery's parent_query must be the query implemented by that handler.

Template Parameters
SubquerySpecProduced subquery specification.

Definition at line 905 of file querygraph.hpp.

Constructor & Destructor Documentation

◆ subquery_result()

template<subquery_spec_c SubquerySpec>
rpnx::querygraph::debug_abi::subquery_result< SubquerySpec >::subquery_result ( typename SubquerySpec::input_type input,
typename SubquerySpec::output_type output )
inline

Construct a subquery input/output pair to publish.

Definition at line 914 of file querygraph.hpp.

References m_input, and m_output.

Member Data Documentation

◆ m_input

template<subquery_spec_c SubquerySpec>
SubquerySpec::input_type rpnx::querygraph::debug_abi::subquery_result< SubquerySpec >::m_input

Input identifying the produced subquery slot.

Definition at line 908 of file querygraph.hpp.

Referenced by subquery_result().

◆ m_output

template<subquery_spec_c SubquerySpec>
SubquerySpec::output_type rpnx::querygraph::debug_abi::subquery_result< SubquerySpec >::m_output

Output to publish for the identified slot.

Definition at line 910 of file querygraph.hpp.

Referenced by subquery_result().


The documentation for this struct was generated from the following file: