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

◆ RuleBuilder()

MayaFlux::Yantra::ComputationGrammar::RuleBuilder::RuleBuilder ( ComputationGrammar grammar,
std::string  name 
)
inlineexplicit

Constructs a RuleBuilder for the specified grammar.

Parameters
grammarParent grammar that will receive the built rule
nameUnique name for the rule being built

Definition at line 330 of file ComputeGrammar.hpp.

331 : m_grammar(grammar)
332 {
333 m_rule.name = std::move(name);
334 }
ComputationGrammar * m_grammar
Reference to parent grammar.
std::string name
Unique identifier for this rule.

References MayaFlux::Yantra::ComputationGrammar::Rule::name.