Rune Caster 1.0.0
Modern C++ Text Processing Framework
|
Functions | |
template<typename Lambda> | |
auto | make_spell (Lambda &&lambda, std::string name="CustomSpell", std::string description="Custom transformation") |
Create a spell from a lambda. | |
template<typename RuneTransform> | |
auto | per_rune_spell (RuneTransform &&rune_transform, std::string name="PerRuneSpell", std::string description="Per-rune transformation") |
Create a spell that applies a transformation to each rune. | |
template<typename Predicate> | |
auto | filter_spell (Predicate &&predicate, std::string name="FilterSpell", std::string description="Rune filtering") |
Create a spell that filters runes based on a predicate. |
auto rune_caster::spell_factory::filter_spell | ( | Predicate && | predicate, |
std::string | name = "FilterSpell", | ||
std::string | description = "Rune filtering" ) |
Create a spell that filters runes based on a predicate.
predicate | Function that returns true for runes to keep |
name | Optional name |
description | Optional description |
Definition at line 246 of file spell_unified.hpp.
auto rune_caster::spell_factory::make_spell | ( | Lambda && | lambda, |
std::string | name = "CustomSpell", | ||
std::string | description = "Custom transformation" ) |
Create a spell from a lambda.
lambda | The lambda function |
name | Optional name |
description | Optional description |
Definition at line 211 of file spell_unified.hpp.
auto rune_caster::spell_factory::per_rune_spell | ( | RuneTransform && | rune_transform, |
std::string | name = "PerRuneSpell", | ||
std::string | description = "Per-rune transformation" ) |
Create a spell that applies a transformation to each rune.
rune_transform | Function that transforms individual runes |
name | Optional name |
description | Optional description |
Definition at line 225 of file spell_unified.hpp.