Public Member Functions | Static Public Attributes | List of all members
sol::stack::field_getter< T, global, raw, typename > Struct Template Reference

#include <sol.hpp>

Public Member Functions

template<typename Key >
void get (lua_State *L, Key &&key, int tableindex=default_table_index)
 

Static Public Attributes

static constexpr int default_table_index
 

Detailed Description

template<typename T, bool global, bool raw, typename>
struct sol::stack::field_getter< T, global, raw, typename >

Definition at line 10287 of file sol.hpp.

Member Function Documentation

template<typename T, bool global, bool raw, typename >
template<typename Key >
void sol::stack::field_getter< T, global, raw, typename >::get ( lua_State L,
Key &&  key,
int  tableindex = default_table_index 
)
inline

Definition at line 14644 of file sol.hpp.

Member Data Documentation

template<typename T, bool global, bool raw, typename >
constexpr int sol::stack::field_getter< T, global, raw, typename >::default_table_index
static
Initial value:
= meta::conditional_t < meta::is_c_str_v<T>
|| (raw && std::is_void_v<std::remove_pointer_t<T>>),
std::integral_constant<int, -1>, std::integral_constant<int, -2> > ::value

Definition at line 14636 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