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

◆ set_parameter()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
void MayaFlux::Yantra::UniversalExtractor< InputType, OutputType >::set_parameter ( const std::string &  name,
std::any  value 
)
inlineoverridevirtual

Type-safe parameter management with extraction-specific defaults.

Implements MayaFlux::Yantra::ComputeOperation< InputType, OutputType >.

Definition at line 115 of file UniversalExtractor.hpp.

116 {
117 if (name == "scope") {
118 if (auto result = safe_any_cast<ExtractionScope>(value)) {
119 m_scope = *result.value;
120 return;
121 }
122 }
123 set_extraction_parameter(name, std::move(value));
124 }
virtual void set_extraction_parameter(const std::string &name, std::any value)
Extraction-specific parameter handling (override for custom parameters)