Classes | Typedefs | Functions | Variables
sol::stack::stack_detail Namespace Reference

Classes

struct  basic_check
 
struct  copy_code_units_utf
 
struct  count_code_units_utf
 
struct  metatable_setup
 
struct  push_function
 
struct  strip
 
struct  strip< non_null< T > >
 
struct  strip< std::reference_wrapper< T > >
 
struct  strip< user< T > >
 
struct  undefined_metatable
 
struct  uu_pusher
 

Typedefs

template<typename T >
using strip_t = typename strip< T >::type
 
using undefined_method_func = void(*)(stack_reference)
 

Functions

template<bool checkargs = detail::default_safe_function_calls, std::size_t... I, typename R , typename... Args, typename Fx , typename... FxArgs>
decltype(auto) call (types< R >, types< Args... > ta, std::index_sequence< I... > tai, lua_State *L, int start, Fx &&fx, FxArgs &&...args)
 
template<typename Function , typename Handler >
bool check_function_pointer (lua_State *L, int index, Handler &&handler, record &tracking) noexcept
 
template<typename T , bool poptable = true>
bool check_metatable (lua_State *L, int index=-2)
 
template<typename Handler >
bool check_types (lua_State *, int, Handler &&, record &)
 
template<typename T , typename... Args, typename Handler >
bool check_types (lua_State *L, int firstargument, Handler &&handler, record &tracking)
 
template<typename... Args, typename Handler >
bool check_types (types< Args... >, lua_State *L, int index, Handler &&handler, record &tracking)
 
template<typename Ch , typename F >
void convert (const char *strb, const char *stre, F &&f)
 
template<typename Fx , typename... Args>
static decltype(auto) eval (types<>, std::index_sequence<>, lua_State *, int, record &, Fx &&fx, Args &&...args)
 
template<typename Fx , typename Arg , typename... Args, std::size_t I, std::size_t... Is, typename... FxArgs>
static decltype(auto) eval (types< Arg, Args... >, std::index_sequence< I, Is... >, lua_State *L, int start, record &tracking, Fx &&fx, FxArgs &&...fxargs)
 
template<typename T >
std::pair< T, int > get_as_upvalues (lua_State *L, int index=2)
 
template<typename T >
std::pair< T, int > get_as_upvalues_using_function (lua_State *L, int function_index=-1)
 
template<typename Function >
Function * get_function_pointer (lua_State *, int, record &) noexcept
 
template<typename BaseCh , typename S >
get_into (lua_State *L, int index, record &tracking)
 
template<typename C >
static int get_size_hint (C &c)
 
template<typename V , typename Al >
static int get_size_hint (const std::forward_list< V, Al > &)
 
bool impl_check_metatable (lua_State *L, int index, const std::string &metakey, bool poptable)
 
template<typename T >
bool integer_value_fits (const T &value)
 
template<typename T , typename Handler >
bool interop_check (lua_State *L, int index, type index_type, Handler &&handler, record &tracking)
 
template<typename T >
decltype(auto) interop_get (lua_State *L, int index, void *unadjusted_pointer, record &tracking)
 
template<typename T >
int msvc_is_ass_with_if_constexpr_push_enum (std::true_type, lua_State *L, const T &value)
 
template<typename T >
int msvc_is_ass_with_if_constexpr_push_enum (std::false_type, lua_State *, const T &)
 
template<typename T >
int push_as_upvalues (lua_State *L, T &item)
 
template<typename T , typename Arg , typename... Args>
int push_reference (lua_State *L, Arg &&arg, Args &&...args)
 
template<typename T >
void set_undefined_methods_on (stack_reference)
 
template<typename T >
decltype(auto) unchecked_get (lua_State *L, int index, record &tracking)
 
template<typename T >
decltype(auto) unchecked_unqualified_get (lua_State *L, int index, record &tracking)
 
template<typename T , typename Handler >
bool unqualified_interop_check (lua_State *L, int index, type index_type, Handler &&handler, record &tracking)
 
template<typename T >
decltype(auto) unqualified_interop_get (lua_State *L, int index, void *unadjusted_pointer, record &tracking)
 

Variables

constexpr const char * not_enough_stack_space = "not enough space left on Lua stack"
 
constexpr const char * not_enough_stack_space_environment = "not enough space left on Lua stack to retrieve environment"
 
constexpr const char * not_enough_stack_space_floating = "not enough space left on Lua stack for a floating point number"
 
constexpr const char * not_enough_stack_space_generic = "not enough space left on Lua stack to push valuees"
 
constexpr const char * not_enough_stack_space_integral = "not enough space left on Lua stack for an integral number"
 
constexpr const char * not_enough_stack_space_meta_function_name = "not enough space left on Lua stack for the name of a meta_function"
 
constexpr const char * not_enough_stack_space_string = "not enough space left on Lua stack for a string"
 
constexpr const char * not_enough_stack_space_userdata = "not enough space left on Lua stack to create a sol3 userdata"
 

Typedef Documentation

template<typename T >
using sol::stack::stack_detail::strip_t = typedef typename strip<T>::type

Definition at line 10429 of file sol.hpp.

Definition at line 2299 of file sol.hpp.

Function Documentation

template<bool checkargs = detail::default_safe_function_calls, std::size_t... I, typename R , typename... Args, typename Fx , typename... FxArgs>
decltype(auto) sol::stack::stack_detail::call ( types< R >  ,
types< Args... >  ta,
std::index_sequence< I... >  tai,
lua_State L,
int  start,
Fx &&  fx,
FxArgs &&...  args 
)
inline

Definition at line 15045 of file sol.hpp.

template<typename Function , typename Handler >
bool sol::stack::stack_detail::check_function_pointer ( lua_State L,
int  index,
Handler &&  handler,
record tracking 
)
noexcept

Definition at line 18836 of file sol.hpp.

template<typename T , bool poptable = true>
bool sol::stack::stack_detail::check_metatable ( lua_State L,
int  index = -2 
)
inline

Definition at line 11189 of file sol.hpp.

template<typename Handler >
bool sol::stack::stack_detail::check_types ( lua_State ,
int  ,
Handler &&  ,
record  
)

Definition at line 10831 of file sol.hpp.

template<typename T , typename... Args, typename Handler >
bool sol::stack::stack_detail::check_types ( lua_State L,
int  firstargument,
Handler &&  handler,
record tracking 
)

Definition at line 10836 of file sol.hpp.

template<typename... Args, typename Handler >
bool sol::stack::stack_detail::check_types ( types< Args... >  ,
lua_State L,
int  index,
Handler &&  handler,
record tracking 
)

Definition at line 10843 of file sol.hpp.

template<typename Ch , typename F >
void sol::stack::stack_detail::convert ( const char *  strb,
const char *  stre,
F &&  f 
)
inline

Definition at line 12205 of file sol.hpp.

template<typename Fx , typename... Args>
static decltype(auto) sol::stack::stack_detail::eval ( types<>  ,
std::index_sequence<>  ,
lua_State ,
int  ,
record ,
Fx &&  fx,
Args &&...  args 
)
static

Definition at line 15027 of file sol.hpp.

template<typename Fx , typename Arg , typename... Args, std::size_t I, std::size_t... Is, typename... FxArgs>
static decltype(auto) sol::stack::stack_detail::eval ( types< Arg, Args... >  ,
std::index_sequence< I, Is... >  ,
lua_State L,
int  start,
record tracking,
Fx &&  fx,
FxArgs &&...  fxargs 
)
static

Definition at line 15032 of file sol.hpp.

template<typename T >
std::pair<T, int> sol::stack::stack_detail::get_as_upvalues ( lua_State L,
int  index = 2 
)
inline

Definition at line 14994 of file sol.hpp.

template<typename T >
std::pair<T, int> sol::stack::stack_detail::get_as_upvalues_using_function ( lua_State L,
int  function_index = -1 
)
inline

Definition at line 15005 of file sol.hpp.

template<typename Function >
Function * sol::stack::stack_detail::get_function_pointer ( lua_State L,
int  index,
record tracking 
)
noexcept

Definition at line 18858 of file sol.hpp.

template<typename BaseCh , typename S >
S sol::stack::stack_detail::get_into ( lua_State L,
int  index,
record tracking 
)
inline

Definition at line 12229 of file sol.hpp.

template<typename C >
static int sol::stack::stack_detail::get_size_hint ( C &  c)
static

Definition at line 10432 of file sol.hpp.

template<typename V , typename Al >
static int sol::stack::stack_detail::get_size_hint ( const std::forward_list< V, Al > &  )
static

Definition at line 10437 of file sol.hpp.

bool sol::stack::stack_detail::impl_check_metatable ( lua_State L,
int  index,
const std::string metakey,
bool  poptable 
)
inline

Definition at line 11175 of file sol.hpp.

template<typename T >
bool sol::stack::stack_detail::integer_value_fits ( const T &  value)
inline

Definition at line 13422 of file sol.hpp.

template<typename T , typename Handler >
bool sol::stack::stack_detail::interop_check ( lua_State L,
int  index,
type  index_type,
Handler &&  handler,
record tracking 
)

Definition at line 10510 of file sol.hpp.

template<typename T >
decltype(auto) sol::stack::stack_detail::interop_get ( lua_State L,
int  index,
void *  unadjusted_pointer,
record tracking 
)

Definition at line 10484 of file sol.hpp.

template<typename T >
int sol::stack::stack_detail::msvc_is_ass_with_if_constexpr_push_enum ( std::true_type  ,
lua_State L,
const T &  value 
)

Definition at line 13437 of file sol.hpp.

template<typename T >
int sol::stack::stack_detail::msvc_is_ass_with_if_constexpr_push_enum ( std::false_type  ,
lua_State ,
const T &   
)

Definition at line 13452 of file sol.hpp.

template<typename T >
int sol::stack::stack_detail::push_as_upvalues ( lua_State L,
T &  item 
)
inline

Definition at line 14975 of file sol.hpp.

template<typename T , typename Arg , typename... Args>
int sol::stack::stack_detail::push_reference ( lua_State L,
Arg &&  arg,
Args &&...  args 
)

Definition at line 10653 of file sol.hpp.

template<typename T >
void sol::stack::stack_detail::set_undefined_methods_on ( stack_reference  t)

Definition at line 21678 of file sol.hpp.

template<typename T >
decltype(auto) sol::stack::stack_detail::unchecked_get ( lua_State L,
int  index,
record tracking 
)

Definition at line 10456 of file sol.hpp.

template<typename T >
decltype(auto) sol::stack::stack_detail::unchecked_unqualified_get ( lua_State L,
int  index,
record tracking 
)

Definition at line 10443 of file sol.hpp.

template<typename T , typename Handler >
bool sol::stack::stack_detail::unqualified_interop_check ( lua_State L,
int  index,
type  index_type,
Handler &&  handler,
record tracking 
)

Definition at line 10494 of file sol.hpp.

template<typename T >
decltype(auto) sol::stack::stack_detail::unqualified_interop_get ( lua_State L,
int  index,
void *  unadjusted_pointer,
record tracking 
)

Definition at line 10468 of file sol.hpp.

Variable Documentation

constexpr const char* sol::stack::stack_detail::not_enough_stack_space = "not enough space left on Lua stack"

Definition at line 10403 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_environment = "not enough space left on Lua stack to retrieve environment"

Definition at line 10410 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_floating = "not enough space left on Lua stack for a floating point number"

Definition at line 10404 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_generic = "not enough space left on Lua stack to push valuees"

Definition at line 10409 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_integral = "not enough space left on Lua stack for an integral number"

Definition at line 10405 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_meta_function_name = "not enough space left on Lua stack for the name of a meta_function"

Definition at line 10407 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_string = "not enough space left on Lua stack for a string"

Definition at line 10406 of file sol.hpp.

constexpr const char* sol::stack::stack_detail::not_enough_stack_space_userdata = "not enough space left on Lua stack to create a sol3 userdata"

Definition at line 10408 of file sol.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:53