Functions | |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, lua_index_raw > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, lua_index_raw > | lua_to_or_default (lua_State *L, int n, const T &) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, void > | lua_push (lua_State *L, lua_index_raw n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string >, std::string > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string >, std::string > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string >, void > | lua_push (lua_State *L, const T &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string_view >, std::string_view > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string_view >, std::string_view > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, std::string_view >, void > | lua_push (lua_State *L, const T &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, config >, config > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, config >, config > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, config >, void > | lua_push (lua_State *L, const config &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, vconfig >, vconfig > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, vconfig >, vconfig > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, vconfig >, void > | lua_push (lua_State *L, const vconfig &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, map_location >, map_location > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, map_location >, map_location > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, map_location >, void > | lua_push (lua_State *L, const map_location &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, t_string >, t_string > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, t_string >, void > | lua_push (lua_State *L, const t_string &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, gui2::widget >, void > | lua_push (lua_State *L, gui2::widget &val) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, bool >, bool > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, bool >, bool > | lua_to_or_default (lua_State *L, int n, const T &) |
| template<typename T > | |
| std::enable_if_t< std::is_same_v< T, bool >, void > | lua_push (lua_State *L, bool val) |
| template<typename T > | |
| std::enable_if_t< std::is_floating_point_v< T >, T > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_floating_point_v< T >, T > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_floating_point_v< T >, void > | lua_push (lua_State *L, T val) |
| template<typename T > | |
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, T > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, T > | lua_to_or_default (lua_State *L, int n, const T &def) |
| template<typename T > | |
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, void > | lua_push (lua_State *L, T val) |
| template<typename T > | |
| std::enable_if_t< is_pair< T >::value &&!std::is_const_v< typename T::first_type >, T > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< is_pair< T >::value &&!std::is_const_v< typename T::first_type >, void > | lua_push (lua_State *L, const T &val) |
| template<typename T > | |
| std::enable_if_t< is_container< T >::value &&!std::is_same_v< T, std::string > &&!std::is_same_v< T, std::string_view >, T > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< is_container< T >::value &&!std::is_same_v< T, std::string > &&!std::is_same_v< T, std::string_view > &&!is_map< T >::value, void > | lua_push (lua_State *L, const T &list) |
| template<typename T > | |
| std::enable_if_t< is_map< T >::value, void > | lua_push (lua_State *L, const T &map) |
| template<typename T > | |
| T::type | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< is_instance_of_v< T, utils::optional >, T > | lua_check (lua_State *L, int n) |
| template<typename T > | |
| std::enable_if_t< is_instance_of_v< T, utils::optional >, void > | lua_push (lua_State *L, const T &opt) |
Variables | |
| template<class T , template< class > class U> | |
| constexpr bool | is_instance_of_v = std::false_type{} |
| template<template< class > class U, class V > | |
| constexpr bool | is_instance_of_v< U< V >, U > = std::true_type{} |
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, lua_index_raw > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
| std::enable_if_t< std::is_same_v< T, std::string >, std::string > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 95 of file push_check.hpp.
References luaW_tostring(), and n.
| std::enable_if_t< std::is_same_v< T, std::string_view >, std::string_view > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 115 of file push_check.hpp.
References luaW_tostring(), and n.
| std::enable_if_t< std::is_same_v< T, config >, config > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 135 of file push_check.hpp.
References luaW_checkconfig(), and n.
| std::enable_if_t< std::is_same_v< T, vconfig >, vconfig > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 156 of file push_check.hpp.
References luaW_checkvconfig(), and n.
| std::enable_if_t< std::is_same_v< T, map_location >, map_location > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 177 of file push_check.hpp.
References luaW_checklocation(), and n.
| std::enable_if_t< std::is_same_v< T, t_string >, t_string > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 201 of file push_check.hpp.
References luaW_checktstring(), and n.
| std::enable_if_t< std::is_same_v< T, bool >, bool > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 224 of file push_check.hpp.
References luaW_toboolean(), and n.
| std::enable_if_t< std::is_floating_point_v< T >, T > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 244 of file push_check.hpp.
References n.
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, T > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 269 of file push_check.hpp.
References n.
| std::enable_if_t< is_pair< T >::value &&!std::is_const_v< typename T::first_type >, T > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 314 of file push_check.hpp.
References n.
| std::enable_if_t< is_container< T >::value &&!std::is_same_v< T, std::string > &&!std::is_same_v< T, std::string_view >, T > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 340 of file push_check.hpp.
References i, lua_check(), and n.
| T::type lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 396 of file push_check.hpp.
References n.
| std::enable_if_t< is_instance_of_v< T, utils::optional >, T > lua_check_impl::lua_check | ( | lua_State * | L, |
| int | n | ||
| ) |
Definition at line 409 of file push_check.hpp.
References n.
| std::enable_if_t< std::is_same_v< T, bool >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| bool | val | ||
| ) |
Definition at line 236 of file push_check.hpp.
| std::enable_if_t< std::is_same_v< T, config >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const config & | val | ||
| ) |
Definition at line 148 of file push_check.hpp.
References luaW_pushconfig().
| std::enable_if_t< std::is_same_v< T, map_location >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const map_location & | val | ||
| ) |
Definition at line 193 of file push_check.hpp.
References luaW_pushlocation().
| std::enable_if_t< is_container< T >::value &&!std::is_same_v< T, std::string > &&!std::is_same_v< T, std::string_view > &&!is_map< T >::value, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | list | ||
| ) |
Definition at line 367 of file push_check.hpp.
References i.
| std::enable_if_t< is_map< T >::value, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | map | ||
| ) |
Definition at line 382 of file push_check.hpp.
| std::enable_if_t< is_instance_of_v< T, utils::optional >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | opt | ||
| ) |
Definition at line 419 of file push_check.hpp.
| std::enable_if_t< std::is_same_v< T, std::string >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | val | ||
| ) |
Definition at line 107 of file push_check.hpp.
| std::enable_if_t< std::is_same_v< T, std::string_view >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | val | ||
| ) |
Definition at line 127 of file push_check.hpp.
| std::enable_if_t< is_pair< T >::value &&!std::is_const_v< typename T::first_type >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const T & | val | ||
| ) |
Definition at line 328 of file push_check.hpp.
| std::enable_if_t< std::is_same_v< T, t_string >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const t_string & | val | ||
| ) |
Definition at line 207 of file push_check.hpp.
References luaW_pushtstring().
| std::enable_if_t< std::is_same_v< T, vconfig >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| const vconfig & | val | ||
| ) |
Definition at line 169 of file push_check.hpp.
References luaW_pushvconfig().
| std::enable_if_t< std::is_same_v< T, gui2::widget >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| gui2::widget & | val | ||
| ) |
Definition at line 216 of file push_check.hpp.
References luaW_pushwidget().
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| lua_index_raw | n | ||
| ) |
Definition at line 87 of file push_check.hpp.
References n.
| std::enable_if_t< std::is_floating_point_v< T >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| T | val | ||
| ) |
Definition at line 261 of file push_check.hpp.
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, void > lua_check_impl::lua_push | ( | lua_State * | L, |
| T | val | ||
| ) |
Definition at line 305 of file push_check.hpp.
| std::enable_if_t< std::is_same_v< T, lua_index_raw >, lua_index_raw > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | |||
| ) |
Definition at line 81 of file push_check.hpp.
References n.
| std::enable_if_t< std::is_same_v< T, bool >, bool > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | |||
| ) |
Definition at line 230 of file push_check.hpp.
References luaW_toboolean(), and n.
| std::enable_if_t< std::is_same_v< T, std::string >, std::string > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 101 of file push_check.hpp.
References luaW_tostring_or_default(), and n.
| std::enable_if_t< std::is_same_v< T, std::string_view >, std::string_view > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 121 of file push_check.hpp.
References luaW_tostring_or_default(), and n.
| std::enable_if_t< std::is_same_v< T, config >, config > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 141 of file push_check.hpp.
References cfg, luaW_toconfig(), and n.
| std::enable_if_t< std::is_same_v< T, vconfig >, vconfig > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 162 of file push_check.hpp.
References cfg, luaW_tovconfig(), n, and vconfig::unconstructed_vconfig().
| std::enable_if_t< std::is_same_v< T, map_location >, map_location > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 183 of file push_check.hpp.
References luaW_tolocation(), and n.
| std::enable_if_t< std::is_floating_point_v< T >, T > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 250 of file push_check.hpp.
| std::enable_if_t< std::is_integral_v< T > &&!std::is_same_v< T, bool >, T > lua_check_impl::lua_to_or_default | ( | lua_State * | L, |
| int | n, | ||
| const T & | def | ||
| ) |
Definition at line 293 of file push_check.hpp.
References n.
|
inlineconstexpr |
Definition at line 50 of file push_check.hpp.
|
inlineconstexpr |
Definition at line 53 of file push_check.hpp.