MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ extract_structured_composite()

template<typename T >
requires detail::is_composite_operation_data_v<T>
static std::pair< std::reference_wrapper< const Kakshya::CompositeArray >, DataStructureInfo > MayaFlux::Yantra::OperationHelper::extract_structured_composite ( const T &  compute_data)
inlinestatic

Borrow Composite records together with their row axis and field layout.

Note
The returned array reference remains valid only while the source does.

Definition at line 114 of file OperationHelper.hpp.

115 {
116 return { std::cref(extract_composite_data(compute_data)),
117 get_structure_info(compute_data) };
118 }
static const Kakshya::CompositeArray & extract_composite_data(const Kakshya::CompositeArray &data) noexcept
Borrow an owning Composite array without converting its fields.
static DataStructureInfo get_structure_info(const T &compute_data)
Populate DataStructureInfo from a Datum without extracting spans.