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

324 : m_grammar(grammar)
325 {
326 m_rule.name = std::move(name);
327 }
ComputationGrammar * m_grammar
Reference to parent grammar.
std::string name
Unique identifier for this rule.

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