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_slot_descriptor Class Reference

Type erased form of a type_slot. More...

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

Public Member Functions

 type_slot_descriptor (std::size_t pivot_index, const type_transform &transform) noexcept
 Construct a slot descriptor.
 
std::size_t get_pivot_index () const noexcept
 Get the index of the pivot the operand derives from.
 
const type_transform & get_transform () const noexcept
 Get the transform applied to the pivot type.
 

Detailed Description

Type erased form of a type_slot.

See also
type_slot

Constructor & Destructor Documentation

◆ type_slot_descriptor()

rexlib::type_slot_descriptor::type_slot_descriptor ( std::size_t  pivot_index,
const type_transform &  transform 
)
noexcept

Construct a slot descriptor.

Parameters
pivot_indexIndex of the pivot the operand derives from.
transformTransform applied to the pivot type.

Member Function Documentation

◆ get_pivot_index()

std::size_t rexlib::type_slot_descriptor::get_pivot_index ( ) const
noexcept

Get the index of the pivot the operand derives from.

Returns
std::size_t The index.

◆ get_transform()

const type_transform & rexlib::type_slot_descriptor::get_transform ( ) const
noexcept

Get the transform applied to the pivot type.

Returns
const type_transform& The transform.

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