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

◆ supports_method()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
virtual bool MayaFlux::Yantra::UniversalAnalyzer< InputType, OutputType >::supports_method ( const std::string &  method) const
inlinevirtual

Check if a specific analysis method is supported.

Parameters
methodMethod name to check
Returns
True if method is supported

Reimplemented in MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >, and MayaFlux::Yantra::EnergyAnalyzer< InputType, std::vector< Kakshya::DataVariant > >.

Definition at line 170 of file UniversalAnalyzer.hpp.

171 {
172 auto methods = get_available_methods();
173 return std::find(methods.begin(), methods.end(), method) != methods.end();
174 }
virtual std::vector< std::string > get_available_methods() const
Get available analysis methods for this analyzer.