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

◆ safe_copy_data_variant_to_span()

std::span< const double > MayaFlux::Kakshya::safe_copy_data_variant_to_span ( const DataVariant input,
std::vector< double > &  output 
)
inline

Safely copy data from a DataVariant to a span of doubles.

Parameters
inputSource DataVariant.
outputDestination span of doubles.
Exceptions
std::runtime_errorif complex types are involved.

Definition at line 547 of file DataUtils.hpp.

548{
549 return extract_from_variant(input, output);
550}
Core::GlobalInputConfig input
Definition Config.cpp:36
std::span< T > extract_from_variant(const DataVariant &variant, std::vector< T > &storage, ComplexConversionStrategy strategy=ComplexConversionStrategy::MAGNITUDE)
Get typed span from DataVariant using concepts.

References extract_from_variant(), and input.

+ Here is the call graph for this function: