OpenMiner
0.0.1a
Voxel game engine
|
#include <sol.hpp>
Public Types | |
typedef is_stack_based< handler_t > | is_stack_handler |
Public Member Functions | |
basic_protected_function ()=default | |
template<typename T , meta::enable< meta::neg< std::is_same< meta::unqualified_t< T >, basic_protected_function >>, meta::neg< std::is_base_of< proxy_base_tag, meta::unqualified_t< T >>>, meta::neg< std::is_same< base_t, stack_reference >>, meta::neg< std::is_same< lua_nil_t, meta::unqualified_t< T >>>, is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> | |
basic_protected_function (T &&r) noexcept | |
basic_protected_function (const basic_protected_function &)=default | |
basic_protected_function & | operator= (const basic_protected_function &)=default |
basic_protected_function (basic_protected_function &&)=default | |
basic_protected_function & | operator= (basic_protected_function &&)=default |
basic_protected_function (const basic_function< base_t > &b) | |
basic_protected_function (basic_function< base_t > &&b) | |
basic_protected_function (const basic_function< base_t > &b, handler_t eh) | |
basic_protected_function (basic_function< base_t > &&b, handler_t eh) | |
basic_protected_function (const stack_reference &r) | |
basic_protected_function (stack_reference &&r) | |
basic_protected_function (const stack_reference &r, handler_t eh) | |
basic_protected_function (stack_reference &&r, handler_t eh) | |
template<typename Super > | |
basic_protected_function (const proxy_base< Super > &p) | |
template<typename Super > | |
basic_protected_function (proxy_base< Super > &&p) | |
template<typename Proxy , typename Handler , meta::enable< std::is_base_of< proxy_base_tag, meta::unqualified_t< Proxy >>, meta::neg< is_lua_index< meta::unqualified_t< Handler >>>> = meta::enabler> | |
basic_protected_function (Proxy &&p, Handler &&eh) | |
template<typename T , meta::enable< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> | |
basic_protected_function (lua_State *L, T &&r) | |
template<typename T , meta::enable< is_lua_reference< meta::unqualified_t< T >>> = meta::enabler> | |
basic_protected_function (lua_State *L, T &&r, handler_t eh) | |
basic_protected_function (lua_nil_t n) | |
basic_protected_function (lua_State *L, int index=-1) | |
basic_protected_function (lua_State *L, int index, handler_t eh) | |
basic_protected_function (lua_State *L, absolute_index index) | |
basic_protected_function (lua_State *L, absolute_index index, handler_t eh) | |
basic_protected_function (lua_State *L, raw_index index) | |
basic_protected_function (lua_State *L, raw_index index, handler_t eh) | |
basic_protected_function (lua_State *L, ref_index index) | |
basic_protected_function (lua_State *L, ref_index index, handler_t eh) | |
template<typename... Args> | |
protected_function_result | operator() (Args &&... args) const |
template<typename... Ret, typename... Args> | |
decltype(auto) | operator() (types< Ret... >, Args &&... args) const |
template<typename... Ret, typename... Args> | |
decltype(auto) | call (Args &&... args) const |
Static Public Member Functions | |
static handler_t | get_default_handler (lua_State *L) |
template<typename T > | |
static void | set_default_handler (const T &ref) |
Public Attributes | |
handler_t | error_handler |
Private Member Functions | |
template<bool b> | |
call_status | luacall (std::ptrdiff_t argcount, std::ptrdiff_t resultcount, detail::protected_handler< b, handler_t > &h) const |
template<std::size_t... I, bool b, typename... Ret> | |
auto | invoke (types< Ret... >, std::index_sequence< I... >, std::ptrdiff_t n, detail::protected_handler< b, handler_t > &h) const |
template<std::size_t I, bool b, typename Ret > | |
Ret | invoke (types< Ret >, std::index_sequence< I >, std::ptrdiff_t n, detail::protected_handler< b, handler_t > &h) const |
template<std::size_t I, bool b> | |
void | invoke (types< void >, std::index_sequence< I >, std::ptrdiff_t n, detail::protected_handler< b, handler_t > &h) const |
template<bool b> | |
protected_function_result | invoke (types<>, std::index_sequence<>, std::ptrdiff_t n, detail::protected_handler< b, handler_t > &h) const |
typedef is_stack_based<handler_t> sol::basic_protected_function< base_t, aligned, handler_t >::is_stack_handler |
|
default |
|
inlinenoexcept |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
default |
|
default |
|
inlinestatic |
handler_t sol::basic_protected_function< base_t, aligned, handler_t >::error_handler |