HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields | Static Public Attributes
tt::formula_post_process_context Struct Reference

Public Types

using filter_type = std::function<std::string(std::string_view)>
 
using filter_table = std::unordered_map<std::string,filter_type>
 
using function_type = std::function<datum(formula_evaluation_context&, datum::vector_type const &)>
 
using function_table = std::unordered_map<std::string,function_type>
 
using function_stack = std::vector<function_type>
 
using method_type = std::function<datum(formula_evaluation_context&, datum &, datum::vector_type const &)>
 
using method_table = std::unordered_map<std::string,method_type>
 

Public Member Functions

function_type get_function (std::string const &name) const noexcept
 
function_type set_function (std::string const &name, function_type func) noexcept
 
void push_super (function_type func) noexcept
 
void pop_super (void) noexcept
 
filter_type get_filter (std::string const &name) const noexcept
 
method_type get_method (std::string const &name) const noexcept
 

Data Fields

function_table functions
 
function_stack super_stack
 

Static Public Attributes

static function_table global_functions
 
static method_table global_methods
 
static filter_table global_filters
 

The documentation for this struct was generated from the following file: