rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
Public Member Functions | List of all members
rexlib::type_rule_descriptor Class Reference

Type erased form of an operand_type_rule. More...

#include <rexlib/core/operation/type_rule/type_rule_descriptor.hpp>

Public Member Functions

 type_rule_descriptor (span< const type_pivot_descriptor > pivots, span< const type_slot_descriptor > output_slots, span< const type_slot_descriptor > input_slots) noexcept
 Construct a type rule descriptor.
 
span< const type_pivot_descriptor > get_pivots () const noexcept
 Get the pivots.
 
span< const type_slot_descriptor > get_output_slots () const noexcept
 Get the slot of every output.
 
span< const type_slot_descriptor > get_input_slots () const noexcept
 Get the slot of every input.
 

Detailed Description

Type erased form of an operand_type_rule.

See also
operand_type_rule

Constructor & Destructor Documentation

◆ type_rule_descriptor()

rexlib::type_rule_descriptor::type_rule_descriptor ( span< const type_pivot_descriptor >  pivots,
span< const type_slot_descriptor >  output_slots,
span< const type_slot_descriptor >  input_slots 
)
noexcept

Construct a type rule descriptor.

Nothing is owned: every table must outlive the descriptor.

Parameters
pivotsThe pivots.
output_slotsThe slot of every output, in signature order.
input_slotsThe slot of every input, in signature order.

Member Function Documentation

◆ get_input_slots()

span< const type_slot_descriptor > rexlib::type_rule_descriptor::get_input_slots ( ) const
noexcept

Get the slot of every input.

Returns
span<const type_slot_descriptor> One entry per input.

◆ get_output_slots()

span< const type_slot_descriptor > rexlib::type_rule_descriptor::get_output_slots ( ) const
noexcept

Get the slot of every output.

Returns
span<const type_slot_descriptor> One entry per output.

◆ get_pivots()

span< const type_pivot_descriptor > rexlib::type_rule_descriptor::get_pivots ( ) const
noexcept

Get the pivots.

Returns
span<const type_pivot_descriptor> The pivots.

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