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 94 of file push_check.hpp.
References 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 114 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 134 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 155 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 176 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 200 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 223 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 243 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 268 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 295 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 321 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 377 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 390 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 235 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 147 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 192 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 348 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 363 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 400 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 106 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 126 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 309 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 206 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 168 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 215 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 86 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 260 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 286 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 80 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 229 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 100 of file push_check.hpp.
References 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 120 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 140 of file push_check.hpp.
References 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 161 of file push_check.hpp.
References 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 182 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 249 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 274 of file push_check.hpp.
References n.
|
inlineconstexpr |
Definition at line 49 of file push_check.hpp.
|
inlineconstexpr |
Definition at line 52 of file push_check.hpp.