MayaFlux 0.1.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 387 of file ComputeGrammar.hpp.

388 {
389 m_rule.matcher = std::move(matcher);
390 return *this;
391 }
UniversalMatcher::MatcherFunc matcher
Function that determines if rule applies.

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