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

491 {
492 std::vector<std::string> names;
493 names.reserve(m_rules.size());
494 std::ranges::transform(m_rules, std::back_inserter(names),
495 [](const Rule& rule) { return rule.name; });
496 return names;
497 }
std::vector< Rule > m_rules
All rules sorted by priority (highest first)

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