MayaFlux 0.4.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 494 of file ComputeGrammar.hpp.

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

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