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

◆ matches_custom()

RuleBuilder & MayaFlux::Yantra::ComputationGrammar::RuleBuilder::matches_custom ( UniversalMatcher::MatcherFunc  matcher)
inline

Sets a custom matcher function.

Parameters
matcherCustom matcher function
Returns
Reference to this builder for method chaining

Allows for complex matching logic based on data content, context parameters, or combinations of multiple criteria. Use this when simple type matching is insufficient.

Definition at line 391 of file ComputeGrammar.hpp.

392 {
393 m_rule.matcher = std::move(matcher);
394 return *this;
395 }
UniversalMatcher::MatcherFunc matcher
Function that determines if rule applies.

References MayaFlux::Yantra::ComputationGrammar::Rule::matcher.