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

◆ get_all_rule_names()

std::vector< std::string > MayaFlux::Yantra::ComputationGrammar::get_all_rule_names ( ) const
inline

Get all rule names in the grammar.

Returns
Vector of all rule names, ordered by priority

Definition at line 539 of file ComputeGrammar.hpp.

540 {
541 std::vector<std::string> names;
542 names.reserve(m_rules.size());
543 std::ranges::transform(m_rules, std::back_inserter(names),
544 [](const Rule& rule) { return rule.name; });
545 return names;
546 }
std::vector< Rule > m_rules
All rules sorted by priority (highest first)

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