MayaFlux 0.1.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 110 of file UniversalExtractor.hpp.

111 {
112 if (name == "scope") {
113 if (auto* scope = std::any_cast<ExtractionScope>(&value)) {
114 m_scope = *scope;
115 return;
116 }
117 }
118 set_extraction_parameter(name, std::move(value));
119 }
virtual void set_extraction_parameter(const std::string &name, std::any value)
Extraction-specific parameter handling (override for custom parameters)