|
HikoGUI
A low latency retained GUI
|
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 auto | global_functions |
| static auto | global_methods |
| static auto | global_filters = filter_table{{"id", make_identifier}, {"url", detail::url_encode}} |
|
inlinestatic |
|
inlinestatic |