Public Types | Static Public Member Functions | List of all members
sol::stack::unqualified_check_getter< std::variant< Tn... >, C > Struct Template Reference

#include <sol.hpp>

Public Types

typedef std::variant< Tn... > V
 
typedef std::integral_constant< bool, V_size::value==0 > V_is_empty
 
typedef std::variant_size< VV_size
 

Static Public Member Functions

template<typename Handler >
static optional< Vget (lua_State *L, int index, Handler &&handler, record &tracking)
 
template<typename Handler >
static optional< Vget_empty (std::true_type, lua_State *, int, Handler &&, record &)
 
template<typename Handler >
static optional< Vget_empty (std::false_type, lua_State *L, int index, Handler &&handler, record &)
 
template<typename Handler >
static optional< Vget_one (std::integral_constant< std::size_t, 0 >, lua_State *L, int index, Handler &&handler, record &tracking)
 
template<std::size_t I, typename Handler >
static optional< Vget_one (std::integral_constant< std::size_t, I >, lua_State *L, int index, Handler &&handler, record &tracking)
 

Detailed Description

template<typename... Tn, typename C>
struct sol::stack::unqualified_check_getter< std::variant< Tn... >, C >

Definition at line 13301 of file sol.hpp.

Member Typedef Documentation

template<typename... Tn, typename C >
typedef std::variant<Tn...> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::V

Definition at line 13302 of file sol.hpp.

template<typename... Tn, typename C >
typedef std::integral_constant<bool, V_size::value == 0> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::V_is_empty

Definition at line 13304 of file sol.hpp.

template<typename... Tn, typename C >
typedef std::variant_size<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::V_size

Definition at line 13303 of file sol.hpp.

Member Function Documentation

template<typename... Tn, typename C >
template<typename Handler >
static optional<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::get ( lua_State L,
int  index,
Handler &&  handler,
record tracking 
)
inlinestatic

Definition at line 13336 of file sol.hpp.

template<typename... Tn, typename C >
template<typename Handler >
static optional<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::get_empty ( std::true_type  ,
lua_State ,
int  ,
Handler &&  ,
record  
)
inlinestatic

Definition at line 13307 of file sol.hpp.

template<typename... Tn, typename C >
template<typename Handler >
static optional<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::get_empty ( std::false_type  ,
lua_State L,
int  index,
Handler &&  handler,
record  
)
inlinestatic

Definition at line 13312 of file sol.hpp.

template<typename... Tn, typename C >
template<typename Handler >
static optional<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::get_one ( std::integral_constant< std::size_t, 0 >  ,
lua_State L,
int  index,
Handler &&  handler,
record tracking 
)
inlinestatic

Definition at line 13322 of file sol.hpp.

template<typename... Tn, typename C >
template<std::size_t I, typename Handler >
static optional<V> sol::stack::unqualified_check_getter< std::variant< Tn... >, C >::get_one ( std::integral_constant< std::size_t, I >  ,
lua_State L,
int  index,
Handler &&  handler,
record tracking 
)
inlinestatic

Definition at line 13327 of file sol.hpp.


The documentation for this struct was generated from the following file:


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